1

Closed

Per-command scopes

description

From the forums: http://www.axeuk.com/phpBB3/viewtopic.php?t=2559&p=18890#p18890

"A way to change the scope for a command when matching #object#.

And example to illustrate would be the "buy" command. Set this to look only in player.parent.stock (checking if it exists first). Goods for sale go in the stock object, where they are not available for "get", "look at", etc. When you buy something, the item in stock gets cloned, and added to the player. If the player drops and then takes the object, the game will know he is talking about the clone, and not the original."
Closed Jul 6, 2014 at 11:53 AM by alexwarren
All open Quest issues have now been migrated to GitHub: https://github.com/textadventures/quest/issues?state=open

comments