rlazarus / MUSS

Multi-User Shared Setting, a modern-day reimplementation of the multiuser text game.
8 stars 1 forks source link

Add equipment slots (based on the items, not the player) #111

Open relsqui opened 11 years ago

relsqui commented 11 years ago

Specifically:

This seems pretty straightforward to implement, in any of a couple of ways. Off the top of my head I think my favorite is putting a setter on equipped such that when it's set to False it changes position to None, and when it's set to True it changes position to the current value of slot. That way the position change would follow along with all the ways equipped can change (moving the item etc.) It'd be easy, too, to allow the player to say things like equip duck on head and set the position explicitly while equipping it. (The hard part would actually be parsing it.)