Dynamo-Softworks / RougeNebula

1 stars 0 forks source link

Engine-Inventory, Equipment, and Items #8

Open grafvonzan opened 8 years ago

grafvonzan commented 8 years ago

We need a way to let things carry other things around. Whether these be rings, railguns, or rat corpses, we need a place to store them on entities and interact with them. We also need an equipment system.

-The equipment system could be handled by attaching things to body parts. The entity has an arraylist that holds items that act as the entity's body parts. Body parts can hold other body parts, get damaged, dismembered, and disabled. You attach equipment to that body part to protect it, give your character buffs, etc.

-Items have stats and can be used by your character depending on what the item is. They can be picked off the floor, dropped, switched into different inventories, etc. Items can also hold other items. This could be used for item modification and crafting. In a crafting menu, you fit items into each other to create new items, or disassemble items into component parts.

-Items have a durability. Every time an item is used, it's durability has a chance to go down. The lower the durability, the less effective the item is, or the more likely it is to jam/fail/whatever.

grafvonzan commented 8 years ago

-Some Items might provide additional information or control to the player. Implanting a 'tactic feed' chip into your dog would let you control the dog in combat and get information on the dog's stats, for example.