Find
You are looking at a command called buy
buy
buy {object} from {object}
Buy an object of worth from a trader object.
Use
list
or
inv
to find out how much things are worth and how much you can afford to buy and how much your worth will increase when you sell something.
Created by
wolis
, last updated 12 May 2007
Code
get $target,$rel,$second;
if $second > 0 then buytrader else chktarget;
##chktarget:
if $target > 0 then buytrader else listtraders;
##buytrader:
say 'buy',"[$actor] tries to buy something from [$second]";
##listtraders:
var $click_cmd to "buy something from ";
var $desc_intro to '
Who do you want to buy something from?:
';
rem look $loc,list;
msg $loc,$actor,$actor,0,'force',"force:look $loc,list";