Quote:
Originally posted by Kaimetsu
Horrible coding.
NPC Code:
if(playerenters&&isleader) setcharani licookie-normal,;
if(actionSprikels){
this.percent++;
message #v(this.percent) %;
if(this.percent==100){
playerrupees++;
setcharani licookie-sprinkels,;
x = 26; y = 25;
this.percent=0;
}
}
NPC Code:
if(playerenters){
if(isweapon) timeout=1000000;
else toweapons Sprikels;
}
if(timeout){
say2 You ran out of#bsprinkels!;
destroy;
}
if(weaponfired){
triggeraction playerx,playery,Sprikels,;
}
Stupid parts removed and in some cases replaced. Still don't know what it's supposed to do, though.
|
It doesnt make the % go up on the cookie with the weapon hiting it and when it gets 100 it give the player a gralat