Welcome to CWG Project Home
Search
Home · Topics · Downloads · Your Account · Forums · Top 10
 
 


 
 
Who is Online

There are currently, 168 guest(s) and 43 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
 
 

 
 
Modules

· Home
· Content
· Downloads
· FAQ
· Feedback
· Forums
· Journal
· Members List
· Private Messages
· Recommend Us
· Reviews
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Top 10
· Topics
· Web Links
· Your Account
 
 

 
 
Search



 
 

 
  cwg.lazuras.org :: View topic - Mining trigger - wanted to share
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Mining trigger - wanted to share

 
Post new topic   Reply to topic    cwg.lazuras.org Forum Index -> Builder Lounge
View previous topic :: View next topic  
Author Message
MysticNerian
CWG - Member


Joined: Sep 10, 2009
Posts: 86

PostPosted: Wed Jul 20, 2011 10:27 pm    Post subject: Mining trigger - wanted to share Reply with quote

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


The 1029 is a pick axe
Back to top
View user's profile Send private message
MysticNerian
CWG - Member


Joined: Sep 10, 2009
Posts: 86

PostPosted: Wed Jul 20, 2011 10:31 pm    Post subject: Reply with quote

Eventually I want to add a mining skill that gets better the more the PC uses it...which means better ore can be harvested
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    cwg.lazuras.org Forum Index -> Builder Lounge All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
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

Powered by phpBB © 2001, 2005 phpBB Group
 
 


 
 


All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest ? 2002 by me
You can syndicate our news using the file backend.php or ultramode.txt
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.23 Seconds