VedVid / RAWIG

RAWIG (Roguelike Architecture, Written In Go) is ready to modify and expand roguelike architecture.
BSD 2-Clause "Simplified" License
16 stars 3 forks source link

Equipping in inventory -> weapon -> is still "dequip" instead of "equip" #74

Closed VedVid closed 5 years ago

VedVid commented 5 years ago

The problem is that it's the same function that works with equipment in inventory (so, not equipped) and in equipment slot.

VedVid commented 5 years ago

So, I'm not able, without mass of ugly hacks, to keep "equip" in inventory and "dequip" in equipment.

But I could do mass of ugly hacks.

Another option is changing (d)equipping system. Pressing EQUIPPED_ITEM would just dequip it, then, in inventory, player could press THIS_PREVIOUSLY_EQUIPPED_ITEM to choose to drop or equip. Like in ADOM (ascii r81, at least)

VedVid commented 5 years ago

Implemented as described in previous comment. Commit: 24f178a90354085edbcd249da1164fe28139c4dc