Hi Everyone,
I'm working on a C++/lua based Mud that's progressing nicely. It's using a C++ engine, XML files for area/room/mob/item definitions and lua scripts for the dynamic stuff.
I'm currently working on Drop/Loot Tables. There are several options:
* specify in xml files, like
<drop_table id='goblin_rare'>
<item id='sword' chance='80' />
<item id='gem' chance='10' />
</drop_table>
* or use lua drop scripts on a mob.
The first solution would be static, but easy to use for
builders; the second one would be more dynamic but more
work for simple drops.
Any ideas on this? or other solutions?
I'm working on a C++/lua based Mud that's progressing nicely. It's using a C++ engine, XML files for area/room/mob/item definitions and lua scripts for the dynamic stuff.
I'm currently working on Drop/Loot Tables. There are several options:
* specify in xml files, like
<drop_table id='goblin_rare'>
<item id='sword' chance='80' />
<item id='gem' chance='10' />
</drop_table>
* or use lua drop scripts on a mob.
The first solution would be static, but easy to use for
builders; the second one would be more dynamic but more
work for simple drops.
Any ideas on this? or other solutions?