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 10-25-2001, 03:53 PM
Mithica_GP6 Mithica_GP6 is offline
Registered User
Join Date: Aug 2001
Location: Newzealand
Posts: 13
Mithica_GP6 is on a distinguished road
Send a message via AIM to Mithica_GP6
Unhappy Chicken Mining

Ok i made this script in like 20-30 mins
and its got one bug i know of so far it's when u reconnect or leave the level and come back in it resets ur rock count which
i can figure out whats wrong heh should i use this.
or server.rocks sorta stuff;,And i need some help making a
crafting thing like on g2k1 and Un like u get 10 rocks and u can make them into a blue rupee or if u get 130 rocks u can carve it into a axe And the onwall is really really shabby
And i do not give anyone the rights to use this
on there server or trading it for other scripts notice the-----> ©
Ohh and if u can help me on this post a reply or my aim is
HChckn
and email is
[email protected]

// Npc Made by ~¤â€*Chickenâ€*¤~
if (playerenters) {
rocknumber=strtofloat(#s(rock));
toweapons Pick Axe;
show;
}
if (playertouchsme) {
toweapons Pick Axe;
blockagain;
drawunderplayer;
show;
}
if (weaponfired&&onwall(players[0].x+1,players[0].y-.5)||onwater(players[0].x,players[0].y+1)||onwater(players[0].x+3,players[0].y+1)||onwater(players[0].x+1,players[0].y+3.5&&(strequals(#L,dark-realms_mine.graal)))){

freezeplayer 3;
playersprite=0;
mining=random(0,100);
timeout=.5;
}

if (mining>40&&mining<59&&timeout) {
mining();

sleep .1;
play chest.wav;
setplayerprop #c,I Got a Rock!!;setani dark-realms_rockfind,;playerdir=2;freezeplayer2;
rocknumber=strtofloat(#s(mining));
rock+=1;
}
if (mining>20&&mining<39&&timeout) {
mining();

sleep .1;
setplayerprop #c,No Rock's Around aye;
}
if (mining>0&&mining<19&&timeout) {
mining();
sleep .1;
setplayerprop #c,..!Show Me The Rock's!..;
}
if (mining>60&&mining<79&&timeout) {
mining();

sleep .1;
setplayerprop #c,"Scratches Arm Pits";
}
if (mining>80&&mining<100&&timeout) {
mining();

sleep .1;
setplayerprop #c,Hmm Im Only Getting Dirt!..;
}
function mining() {
putleaps2,playerx,playery;
playersprite=33;
sleep .5;
play arrowon.wav;
sleep 1;
play lift.wav;
sleep .1;
play arrowon.wav;
}
if (playerchats&&strequals(#c,Show Rocks)) {
setplayerprop #c,I have #v(rock) Rocks!;
}
//© To Chicken's Graal 2001 Scripts

__________________
Howard James Campbell
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 09:40 AM.


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