Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-15-2002, 07:22 AM
lordhelmut lordhelmut is offline
Registered User
lordhelmut's Avatar
Join Date: Aug 2001
Posts: 710
lordhelmut is on a distinguished road
Send a message via ICQ to lordhelmut Send a message via AIM to lordhelmut Send a message via Yahoo to lordhelmut
Mushrooms Picking

Umm I scripted mushroom picking a while back as a way for players new to the server to make money. Its like 20 mushrooms for 1g so its not the best route to go lol. Anyways, my mushrooms dont grow back very well with more than one player in the level...If someone can help I would appreciate it

if(playerenters){
timeout=3;
}
if(created){
this.power=3;
}
if (actionfreeze&&this.power>0) {
playersprite=19;
this.power-=1;
message Keep Pulling!;
}
if (actionfreeze&&this.power<=0&&(strtofloat(#s(mushr ooms))<50)) {
hide;
freezeplayer .9;
setani gotmushroom,;
message ;
setstring mushrooms,#v(strtofloat(#s(mushrooms))+1);
timeout=10;
}
if (actionfreeze&&(strtofloat(#s(mushrooms))>=50)) {
say2 You cant carry anymore!;
}
if(timeout){
this.power=6;
show;
}
__________________

Check out the development at:
http://razza.org/lordhelmut/FantasyTales/index
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:02 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.