Quote:
Originally posted by Huggles
Lets say we have a forge and we have supplies what kind of script would we make let say it takes 100 swings to make armor?
|
I'll warn you now. Many people around here want to do a trade skill without having to click their S button 10,000 times and get carpal tunnel syndrome.
But, anyways, here:
NPC Code:
if(washit){
this.swings ++;
play swordon.wav;
}
if(this.swings == 100){
putnpc blahblahblahblahetc.;
play chest.wav;
this.swings = 0;
}
Pretty basic, hope you find it useful.