ID:177464
 
Can anyone tell me how I make it so u buy seeds from a salesman then you plant them and it takes 5minutes for it to be fully done so u can pick fruit and sell it to someone buying them and you get about 30 gold for doing it. Does anyone know how to do this?
go to the demo's or libraries there they have a code to make tree's grow use that code to do it just edit it to your likeing
In response to UnderLord
cool thanx
In response to Frieza111
obj/seed
verb/Plant()
src.loc = usr.loc
sleep(3000)
new obj/Plant(src.loc)
del(src)

obj/Plant
var/Fruit = 4
verb
Pick()
set src in oview(1)
new obj/Fruit(usr)
src.Fruit--
if(src.Fruit <= 0) del(src)

obj/Fruit
Sellvalue = 30

obj
var/Sellvalue = 0

Work out the buying and selling on your own.
In response to Garthor
Ok thanx =D