Find
You are looking at a command called water
water {object} with {object
}
You can water one object with another for example:
water the flower with the watering can
or
water the crops with the bucket
If the object you are watering and the object being watered are is built for that purpose then good things will happen.
so
water the rock with the radio
will perform that action but nothing special will happen.
Created by
wolis
, last updated 03 Jul 2009
Code
get $target,$rel,$second in $loc,$loc;
if $target > 0 then trysecond else tryinv;
##tryinv:
get $target,$rel,$second in $actor,$loc;
if $target > 0 then trysecond else fail1;
##trysecond:
if $second > 0 then continue else fail2;
##continue:
say 'waters',"[$actor] waters [$target] with [$second]";
rem look $loc;
msg $loc,$actor,0,0,'force',"force:look";
runsub end;
##fail1:
var $click_cmd to 'water';
var $click_mid to 'to zzzzz';
var $desc_intro to 'Click on the object you want to water with something:
';
look $actor,list;
msg $loc,$actor,$actor,0,'force',"force:look $loc,list";
##fail2:
var $click_cmd to "water $target with ";
var $desc_intro to 'Click on the object you want to water it with:
';
look $loc,list;
msg $loc,$actor,$actor,0,'force',"force:look $loc,list";