Posted: Wed Jul 20, 2011 10:27 pm Post subject: Mining trigger - wanted to share
Code:
set ea %echoaround%
set sa %send% %actor%
set ore tin
if %actor.is_pc%
if %actor.inventory(1029)%
if %arg% = vein
%sa% You begin to pick at the vein and harvest some %ore%
%ea% %actor.name% pulls out a pick axe and starts to pick at the vein here. After a while of swining %actor.name% reaches into the hole and picks up a piece of %ore%.
%load% obj 1031 %actor%
%purge% vein
else
%sa% What are you trying to harvest?
end
end
end
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum