elnelson
Lunaria World Dev
Well basically its a talkaction that creates a physical personal store below the player: a box that can not be moved and have items inside, those items are bought if any customer moves that item and the owner will receive the money to bank, onLook will show price, owner can close the shop to move the box to other site, all stores will be closed on SS
Example of usage:
!store add mace, 30, 1 -- this adds 1 mace for 30 gp
!store remove mace, 1 -- this remove 1 mace
!store on -- enables store (place a box with sellable items inside)
!store off -- closes store, enabling adding or removing items
im using OTX 2.X v7.72 which has this function: onMoveItem(moveItem, frompos, position, cid). Could someone help me to achieve this script?
Example of usage:
!store add mace, 30, 1 -- this adds 1 mace for 30 gp
!store remove mace, 1 -- this remove 1 mace
!store on -- enables store (place a box with sellable items inside)
!store off -- closes store, enabling adding or removing items
im using OTX 2.X v7.72 which has this function: onMoveItem(moveItem, frompos, position, cid). Could someone help me to achieve this script?
Last edited: