Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Chicken Mining (https://forums.graalonline.com/forums/showthread.php?t=15445)

Mithica_GP6 10-25-2001 03:53 PM

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

http://members.9cy.com/darkrealms/Space_Chicken.gif

toad1413 10-25-2001 04:02 PM

Re: Chicken Mining
 
Quote:

Originally posted by Mithica_GP6
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

http://members.9cy.com/darkrealms/Space_Chicken.gif

Well, I don't know waht to do to fix it, but I'm glad that it's normal mining. I kinda was wondering how you could mine chickens... but nevermind.

Slaktmaster 10-25-2001 04:06 PM

Re: Chicken Mining
 
Quote:

Originally posted by Mithica_GP6
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

http://members.9cy.com/darkrealms/Space_Chicken.gif

lel chicken mining

just whack them chickens wit joo axe and they be dead@#!

Shard_IceFire 10-25-2001 08:36 PM

:(
I clicked this thread hoping to see some l33t new activity called 'chicken mining' but *sigh* ... nevermind.

Xaviar 10-25-2001 10:15 PM

Dang...Now I've got to think up some way to make chicken mining...That would be so fun!!

Mithica_GP6 10-27-2001 03:26 AM

Bah u guy's/Gal's come on help me out wit dah script lol's
 
Hmm i post a script that semi works and all i get is chicken mining
lol's Chicken is mah Graal nick = ) but thanxs for the Chicken
Mining idea ill make chicken pop out of the wall on a new script
but first some one help on that script the mining one of mine
it dont save ur rocks if you leave = ( and i gotta think how to make a lil carving machine = ).................


All times are GMT +2. The time now is 01:40 PM.

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