Ideas for Stendhal/Containers: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>Kymara
Created page with "The idea is to be able to equip containers like bag, boxes, keyring, scroll wallets, to increase carrying capacity for players but in a more lifelike, interesting and extensib..."
imported>Kiheru
Functionality questions: Added answers and expected results
Line 4: Line 4:


===Functionality questions===
===Functionality questions===

''A note about implementation: the containers as they are implemented now, can not be equipped or dropped unless they are empty. Also they do
not have an user visible slot unless they are equipped by the user. This affects the behaviour regarding several of the questions below.
''

''add to this list and try them out''
''add to this list and try them out''
;how does they work with chests?
;how does they work with chests?
Expected: empty containers can be placed in chests.
;are there weight or size limits for stackability?
;are there weight or size limits for stackability?
There are no hard coded limits. Items do not have useful weights so they can't be used. Containers obey allowed slot limits like any other item.
;can they infinitely stack (bag in bag in bag, like we used to have when corpses were equippable?)
;can they infinitely stack (bag in bag in bag, like we used to have when corpses were equippable?)
Technically there is no practical limit, so slot restrictions should be used. That is, it's not a good idea to allow placing an item with a bag slot to a bag slot (or a mutual loop either). Putting a keyring to an item with a bag slot should work fine.
;is slot-to-slot item logging working?
;is slot-to-slot item logging working?
;if you die can a whole bag/keyring be dropped?
;if you die can a whole bag/keyring be dropped?
Expected: empty, non-bound containers can be dropped. Containers with items can not be dropped because it would be impossible to pick up the container, or take out any items. Items within containers can be dropped normally at death.
;can they be dropped into a corpse on the ground?
;can they be dropped into a corpse on the ground?
Expected: yes, when empty.
;are use actions working for the client for nested entities?
;are use actions working for the client for nested entities?
;if you put the container on the ground can someone else pick it up?
;if you put the container on the ground can someone else pick it up?
Expected: should obey the normal binding rules.
;can they be traded?
;can they be traded?
Expected: yes, but only if not bound and empty.
;do they expire if dropped?
;do they expire if dropped?
Expected: should expire normally.


===Convert keyring to container===
===Convert keyring to container===

Revision as of 16:37, 18 December 2012

The idea is to be able to equip containers like bag, boxes, keyring, scroll wallets, to increase carrying capacity for players but in a more lifelike, interesting and extensible way than simply making the bag or chests huge.

<player>kiheru</player> has done a lot of work to client and server code for containers., e.g. server side equip had to handle nested entities

Functionality questions

A note about implementation: the containers as they are implemented now, can not be equipped or dropped unless they are empty. Also they do not have an user visible slot unless they are equipped by the user. This affects the behaviour regarding several of the questions below.

add to this list and try them out

how does they work with chests?

Expected: empty containers can be placed in chests.

are there weight or size limits for stackability?

There are no hard coded limits. Items do not have useful weights so they can't be used. Containers obey allowed slot limits like any other item.

can they infinitely stack (bag in bag in bag, like we used to have when corpses were equippable?)

Technically there is no practical limit, so slot restrictions should be used. That is, it's not a good idea to allow placing an item with a bag slot to a bag slot (or a mutual loop either). Putting a keyring to an item with a bag slot should work fine.

is slot-to-slot item logging working?
if you die can a whole bag/keyring be dropped?

Expected: empty, non-bound containers can be dropped. Containers with items can not be dropped because it would be impossible to pick up the container, or take out any items. Items within containers can be dropped normally at death.

can they be dropped into a corpse on the ground?

Expected: yes, when empty.

are use actions working for the client for nested entities?
if you put the container on the ground can someone else pick it up?

Expected: should obey the normal binding rules.

can they be traded?

Expected: yes, but only if not bound and empty.

do they expire if dropped?

Expected: should expire normally.

Convert keyring to container

  • agree on layout of character window
  • picture of keyring?
  • not sure what else needs to be done for this

Add new boxes/bags to game

  • check bag graphic is suitable or make a new one
  • must be limited to start with unless all factors like weight limits are already in place (e.g. just one bigger bag/box per character)
  • to make it more fun it could be achieveable through a hard quest/chain of quests