ID:267544
 
Hi,
I am making a simple game where you have to try and survive on a planet by planting plants and building things.

What i need is a plant code, so when you plant it it slowly grows and when it gets to a the max growth stage you can pick seeds off it and either eat the seeds or replant them. But you have to eat them for energy and it will take 10 energy to plant them and when you plant say 20 plants you get a planting advance so you can plant differnt kinds of plants.

I also need a building code, in the same way as the plants when you build one it takes 20 energy and when you buiild so many things you will be able to build more.

Thanks in advance.
Mouse
You can try a demo for 1 thing and plant isn't a proc so dont put this "plant()" now for the code...

You should be able to code it after looking at a few good tutorials, it shouldn't be too hard about 90% newbish, 10% intermidiate.
In response to Crashed
Well if i were you id just use icon states make a proic Plant_Flower() then just have icon state 1 or soewmhtign then sleep for a minutee or soemhtign and then be icon state 2 sleep 2 min then 3
In response to Cloud54367
Thanks guys,
I am gonna try and make it so when it gets to icon state 3 or what ever it might have more, it will have a "pick" verb.
Thanks :-)