ID:177888
Jul 19 2002, 11:17 am
|
|
I need a code for adding other skills like mining and fishing.I will give you credit in the game.
|
Jul 19 2002, 11:18 am
|
|
Oh come on, it's not that hard to code something like that. Man, do I hate cut & pasters.
|
In response to Mertek
|
|
Just for you i'll try. I may be able to get it. But I only have had this program fo 1 week. Tell you how it turns.
I'm still looking fo the code though |
In response to Mertek
|
|
Mertek wrote:
Oh come on, it's not that hard to code something like that. Man, do I hate cut & pasters. Mertrek, I see your point and I dis like copy and pasters too, but seeing as though he is asking for help in the newbie section then give the man some help. |
In response to Codesterz
|
|
*removes "the" and puts in "a"*
|
In response to Mertek
|
|
I think it is going well! But I'm not 100% sure.
I got the expeirence and leveling set up. But how would I make the experience rise and only work with a pickaxe? |
In response to Codesterz
|
|
try something like when you get the pickaxe it will add pickaxe += 1 and on the mining ting do:
if(pickaxe -= 1) usr << "sorry you cant mine without pickaxe" if(pickaxe += 1) usr << "you swing at the rock..." var/mining = rand(1-5) that would work without a leveling system i think. try and see what you think. ~Aleis~ |
Codesterz wrote:
I need a code for adding other skills like mining and fishing.I will give you credit in the game. Stop copying runescape and do something original. |
In response to Mrhat99au
|
|
Mrhat99au wrote:
Codesterz wrote: I agree! Fishing and mining are most certainly original concepts, developed by the highly advanced programmers of Runescape. Alathon\\ |
In response to Mrhat99au
|
|
I've been playing runescape for a few years now, and I had seen a few other games before that one with mining/fishing, Tibia, Dransik, Temples of Evil, Nethack, ADOM, and a few others, mining and fishing aren't runescape based. Agriculture is one that is rarely done.
|
In response to Codesterz
|
|
var/obj/item/pickaxe/P
if(usr.contents.Find(P)!=0) //put code here return 1 //always return a true value if the code did the right thing. (remove this if you are putting more code below this if/else switch) else usr << "You can't really do this without a pickaxe!" return 0 //always return a false value if the code did not execute properly. |
In response to Ter13
|
|
what the hell is agriculture?? is it like when you gorw a fish farm? i think a teacher told me once... but i wasn't really paying attention :)
~Starwarspower~ |
In response to Starwarspower
|
|
Agriculture is farming. You plant seeds, wait for seeds to grow into plants, harvest it all.
|