gain {
msg < You stick your hand inside the wet, loamy soil. After digging around with your fingers, you pull up a long, glittering chain. It is a necklace.>
remove <Vestigian_Forest_0_-10_0_glitter>
hide <Vestigian_Forest_0_-10_0_glitter>
hide <Vestigian_Forest_0_-10_0_soil>
move <it_cl_necklace01; inventory>
show <it_cl_necklace01>
}You pick it up.
You stick your hand inside the wet, loamy soil. After digging around with your fingers, you pull up a long, glittering chain. It is a necklace.
Just check to make sure the object is not in the room Inventory?
I thought verb's might be slightly more intelligent and only prompt the user is more than one object has the verb
There's beforeturn.
Do you know if commands are executed before verbs?
verb <push; shove> msg < You can't push that.>
command <push> {
msg < Cmd push fired.>
}verb <push; shove> msg < You can't push that.>
command <shove> {
msg < Cmd push fired.>
}Are you testing for each object in #quest.currentroom#?
if ($left(#quest.command#; 4)$ = push) then {
for each object in <inventory> {
move <#quest.thing#; inventory-swapout>
}
property <PC; SwapInventory>
}if property <PC; SwapInventory> then {
for each object in <inventory-swapout> {
move <#quest.thing#; inventory>
}
property <PC; not SwapInventory>
}If that doesn't ignore objects in a player's inventory...