as we all know, there is not any sort of Planting System mission in Epoch. Because of this i designed a Suggestion how to Implement such a System and wrote a tiny prototype. The following post ist split into two parts, in the first part i explain the idea and in the second i show my Question.
News
expanted Harvesting Script (see Screenshots)
Explanation
The planting system bases on the Idea, that the plant needs an server restart to grow.
To grow the plant you need an ItemWaterbottle. Watering the Plant adds an Variable isWatered = True and changes the classname in the database to the next Stage.
After Server restart the grown Plant will Spawn and can be watered or harvested.
First you find a Seed, Fertilizer and ItemWaterbottle.
With this you Craft a Plant, which you can plant.
When you plant the plant it has the Variable isWatered = True and connot be watered
Server Restart -> isWatered = Nil, Plant can be Watered
If the last Stage is reached, you can harvest the Plant, if DZE_PlantingreUsePlant = true the plan will become first stage, else it will be deleted.
Question
My first prototype showed, that using an attached action via "addAction" works for large plants like the Hemp (fiberplant) but not for Pumpkin (MAP_pumpkin). Any Idea how to Resolve this? - I could you use action menu of the item, but i wanted to water a plant via action menu.
Question
L3G0
Dear Forum Members,
as we all know, there is not any sort of Planting System mission in Epoch. Because of this i designed a Suggestion how to Implement such a System and wrote a tiny prototype. The following post ist split into two parts, in the first part i explain the idea and in the second i show my Question.
News
Explanation
The planting system bases on the Idea, that the plant needs an server restart to grow.
To grow the plant you need an ItemWaterbottle. Watering the Plant adds an Variable isWatered = True and changes the classname in the database to the next Stage.
After Server restart the grown Plant will Spawn and can be watered or harvested.
Question
Screenshots
Current planting stages of Hemp, Pumpkins and Poppy.
Harvesting Messages Harvesting Success and Harvesting Failed.
Working Features
- Craft the Plant using an Fertilizer from Seed
- Build the Plant
- Grow up the Plant (works again but you can water a plant directy after you planted it)
- Harvesting of multiple Plants with multiple OutputItems
- Deleting/Downgrading an harvested Plant
- added two Plant classes (Poppy and Wheat) including the new Items
Edited by L3G0Link to comment
Share on other sites
Top Posters For This Question
19
8
7
7
Popular Days
Sep 18
8
Aug 8
6
Aug 19
6
Aug 15
6
Top Posters For This Question
L3G0 19 posts
Nakama Mind 8 posts
blad00x 7 posts
raymix 7 posts
Popular Days
Sep 18 2014
8 posts
Aug 8 2014
6 posts
Aug 19 2014
6 posts
Aug 15 2014
6 posts
Popular Posts
Havoc302
Well if you were doing things properly fresh food would be a serious commodity. I run a Overpoch server and I've specifically changes the whole economic system around this fact. Guns are near wort
L3G0
Dear Forum Members, as we all know, there is not any sort of Planting System mission in Epoch. Because of this i designed a Suggestion how to Implement such a System and wrote a tiny prototype. Th
Havoc302
This is something sorely missing in Epoch. In a real global emergency after survivors have got somewhere safe their first priorities would be securing a fresh water supply and stable food supply, so f
53 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now