jrs0ul / nes_survival

A survival game for the NES
19 stars 2 forks source link

Limit weapons/items usage #17

Closed jrs0ul closed 1 year ago

jrs0ul commented 1 year ago

The weapons should break after some amount of hits, for example 10 hits for a knife, the spear would be one-off weapon. The item could be stored as 2 bytes instead of just an index, so the second byte could be used as an item's HP. Food could also lose HP after a day or so, until it would turn into some unusable item(e.g. poop :-))

jrs0ul commented 1 year ago

will be good enough for now