smudge202 / clean-living

Walking a mile in the shoes of a game developer.
Apache License 2.0
4 stars 0 forks source link

Inventory #13

Open mattridgway opened 9 years ago

mattridgway commented 9 years ago

Requests to engine can:

Later:

herecydev commented 9 years ago

Might be worth thinking about consumable/durable/permanent and some sort of transformed items.

Fruit is consumable Torch is durable Axe is permanent Bottle of water transforms into empty bottle when consumed

Something like that

mattridgway commented 9 years ago

some items (like food) might need to be perishable too??

herecydev commented 9 years ago

Yep, which I guess makes it durable? Maybe chocolate bar is a better example, but you get where I'm going.

smudge202 commented 9 years ago

However, inventory shouldn't be responsible for any of the transforms listed above. The items/actors should handle this themselves? A bottle of water for example would subscribe for a consume event of itself and update accordingly?

herecydev commented 9 years ago

I'm not sure if hydration should tell of the transform, If anything that falls under inventory (to me at least)

mattridgway commented 9 years ago

updated initial comment to reflect more recent discussions

smudge202 commented 9 years ago

Given the OP edits, bear in mind we still haven't created any "Perspectives". We're aware of them being a structure we would like, but not where they belong and how they look.

mattridgway commented 9 years ago

Are we still considering that all items in the world should be actors?

smudge202 commented 9 years ago

They should probably all be something, yes. Actors? Maybe. Whatever makes sense.