Key ring
Key ring
Was thinking that having a key ring made would be a cool thing. It would be a container that you could put all of your keys in. And when you hold the ring and try to unlock a door it checks the keys on the ring to see if you have the right one. THis would be so much better then having 30 keys to go through one at a time.
Just a thought
jeff
Just a thought
jeff
Counting bodies like sheep...to the rhythm of the war drums. ~~~ Maynard
The idea of a key ring was brought up on the old boards three years ago, I'm not sure if it was every followed through and if any keyring is in the wings right now. I love the idea though.
Justice is not neccesarily honourable, it is a tolerable business, in essence you tolerate honour until it impedes justice, then you do what is right.
Spelling is not necessarily correct
Spelling is not necessarily correct
- Kelemvor
- Sword Grand Master
- Posts: 2295
- Joined: Mon Apr 11, 2005 6:14 pm
- Location: The Fugue Plain within the Crystal Spire
Just the right time to see if I've understood the builders lessons correctly. Feel free to steal this if you're building or adding. Play around with it, I couldn't work out how to change it to echo 'attaches <key> to' as opposed to 'put <key> in'
ring key brass~
{30}a brass keyring~
{30}A small ring of polished brass lies here.~
~
item_type_container
flag_inventory | flag_transparent
can_wear_take | can_wear_hold | can_wear_belt
quality_high material_brass condition_perfect size_small
40 0 -1 0 layer_over 0
E
ring key brass
{30}This is a brightly polished ring of brass with a hoop which whorls
twice to allow the bell of a key to be securely threaded on to it
~
A apply_sneak -5
~
|
ring key brass~
{30}a brass keyring~
{30}A small ring of polished brass lies here.~
~
item_type_container
flag_inventory | flag_transparent
can_wear_take | can_wear_hold | can_wear_belt
quality_high material_brass condition_perfect size_small
40 0 -1 0 layer_over 0
E
ring key brass
{30}This is a brightly polished ring of brass with a hoop which whorls
twice to allow the bell of a key to be securely threaded on to it
~
A apply_sneak -5
~
|
...never send to know for whom the bell tolls,
it tolls for thee.
it tolls for thee.
Does that code include the means where when someone tries unlock direction that it searches through the keys in the container?
In some stock codes there is an item that holds only itemtype key and it basically checks they whole inventory of the key ring against the door.
In some stock codes there is an item that holds only itemtype key and it basically checks they whole inventory of the key ring against the door.
AKA Tycho, Lamorak, Kayne, Uthric
- Kelemvor
- Sword Grand Master
- Posts: 2295
- Joined: Mon Apr 11, 2005 6:14 pm
- Location: The Fugue Plain within the Crystal Spire
The general rule of thumb with containers of the basic type is that they should not be stored inside other containers because that has been known to cause crashes in the passed. Hence, item_type_containers should be worn or inventory only.
...never send to know for whom the bell tolls,
it tolls for thee.
it tolls for thee.