02-28-2016, 12:42 PM
02-28-2016, 03:50 PM
Ugh. Completely dislike the @(Item)Buy @(Item)Sell triggers. Try this. It is hard doing a custom currency with these triggers. This could be horribly wrong what I am adding in here. If so, sorry. The way these triggers work (or lack to work), deciding whether or not to rewrite a dialog system for vendors.
Code:
ON=@ItemBuy
if !<restest <local.totalcost> i_silver_coin>
smsg You do not have enough silver coins to buy all of this!
return 1
else
act.bounce <uid>
argo.say Thank you <name>.
smsg You have purchased the items.
return 1
endif