Age4/object types/buyitem: Difference between revisions
< Age4 | object types
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
'''Example Usage''' | '''Example Usage''' | ||
Buy a single item or equipment | Buy a single item or equipment | ||
Revision as of 20:06, 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