Age4/object types/buyitem: Difference between revisions
< Age4 | object types
(Created page with "Allows the purchase of an item from a shop. Multiple items can be specified to buy at once. All normal restrictions such as full inventory, maximum items in a stack, etc are followed. '''Example Usage''' Buy a single item or equipment <nowiki>#type buyitem name=Sword</nowiki> Buy 5 of the same item <nowiki>#type buyitem name=Potion val=5</nowiki> '''Required Variables''' name '''Optional Variables''' val '''Alignment Restrictable''': Yes") |
(No difference)
|
Revision as of 20:05, 6 June 2025
Allows the purchase of an item from a shop. Multiple items can be specified to buy at once. All normal restrictions such as full inventory, maximum items in a stack, etc are followed.
Example Usage Buy a single item or equipment #type buyitem name=Sword
Buy 5 of the same item #type buyitem name=Potion val=5
Required Variables name
Optional Variables val
Alignment Restrictable: Yes