Message2092

Author salimiles
Recipients
Date 2011-12-05.21:39:18
Content
The relevant function that would need modification is DropRandomItem() in
src/items.c. Items drop 10% of the time (ITEM_DROP_PERCENTAGE), so all that
would be needed would be a modifier to this number. Which looks like this would
be fairly easy to implement.

(We'd also update src/charcter.c to show the current level, keep track of it in
src/struct.h by to tux{}, initialize it in init_tux() in src/infu.c, and modify
the lua interface to include it by adding it to lua_event_improve_skill() and
lua_event_get_skill() in src/lua.c, and then modify whatever dialogs/etc... )


----


I'm not entirely certain the current (0.15-rc1 / r5223 ) drop balance is done
all that well, and it is really hard to check what is actually going on, so I
think that a number of functions are needed, probably either for the level
editor or website, to show:

For each item drop class, what are the available items, as specified per item in
map/item_archtypes.dat or calculated from (class > ItemMap[].min_drop_class && 
class < ItemMap[].max_drop_class) ?


It might be also nice to show:
What the actual bot item drop class, is for each bot type (specified in
map/droid_archtypes.dat and Druidmap[].drop_class),
For items that stack (e.g. ammo, what the multiplicity range is), and for
customizable items, the % for getting a certain number of sockets pre-installed.
History
Date User Action Args
2011-12-05 21:39:18salimilessetmessageid: <1323121159.0.0.0193327339746.issue548@freedroid.org>
2011-12-05 21:39:18salimileslinkissue548 messages
2011-12-05 21:39:18salimilescreate