One Hour One Life Forums

a multiplayer game of parenting and civilization building

You are not logged in.

#1 2018-12-29 09:21:16

Crumpaloo
Member
Registered: 2018-12-16
Posts: 371

Advice

so a while ago a i made a post about the implementation of irrigation systems. Only problem i really saw was the fact that other tiles would need to be reading other tiles so that pipes that were connected could act as though water were flowing through it. However i think i may of found a solution: by making pipes connected to any pipes, the system as a whole would perform as though it were one singular object, however there would be different animations at different pipes depending on the water levels. With some sort of reservoir that would act like a input/output system. This would allow for the removal of water in the pipes for watering other plants, and the ability to put the water back in when needed.

Thoughts?

Last edited by Crumpaloo (2018-12-29 09:23:52)


1,280 pips just by Making Pork Tacos, Possible 2,500 pips just by hunting turkeys, and yet, somehow, yall still eating berries, bruh.

Offline

#2 2018-12-29 12:00:28

betame
Member
Registered: 2018-08-04
Posts: 202

Re: Advice

I'm not sure I'm understanding the proposed solution.
-How will the pipes be connected without "reading" other tiles?
-What is the "system as a whole"?
-How will the engine know which different animation to play?

-How will it water plants without being part of their object?


Morality is the interpretation of what is best for the well-being of humankind.
List of Guides | Resources per Food | Yum? | Temperature | Crafting Info: https://onetech.info

Offline

#3 2018-12-29 21:03:11

Crumpaloo
Member
Registered: 2018-12-16
Posts: 371

Re: Advice

betame wrote:

I'm not sure I'm understanding the proposed solution.
-How will the pipes be connected without "reading" other tiles?
-What is the "system as a whole"?
-How will the engine know which different animation to play?

-How will it water plants without being part of their object?


For the first bit, depending on the direction of the pipe there will be a forced empty tile, when you combine on pipe with another it places the pipe you just combined in that empty tile, then creates empty tiles at the end of the pipe for the process to be repeated again.

The system as a whole is a place holder for the name of all the irrigation pipes that would be combined together and act as one object

Ideally there will be one reservoir to act as a input/output system, when water is added into it it will fill and play the water animation of whatever pipes it is connected to, then the more units of water you add, the more connected irrigation pipes will fill up and play a watering animation. After certain plants become watered the water in the pipes will slowly drain back into the reservoir until more water can be added.

For the last question, im thinking of a system where every 10 seconds all directly connected tiles are watered, whether there is a plant there or not, then if there was a plant there they will automatically be watered. Now that im thinking about it, maybe have it so that no matter if the plants were watered or not the irrigation pipe is always slowly losing water. That would prevent the need to have some sort of in-game water tally system thus elimanating the need for the reading of other tiles actions. Only problem i see with this is if a water bowl is nearby and it is constantly being refilled, but to combat that i would add some sort of special unit of water that isnt a bucket or a bowl and can only be interacted with domesticated plants.


The reddit post and subsequent forum post about it goes into alot more detail:


Reddit: https://www.reddit.com/r/OneLifeSuggest … g_recipes/

Forum: https://onehouronelife.com/forums/viewtopic.php?id=4836

Last edited by Crumpaloo (2018-12-29 21:08:45)


1,280 pips just by Making Pork Tacos, Possible 2,500 pips just by hunting turkeys, and yet, somehow, yall still eating berries, bruh.

Offline

Board footer

Powered by FluxBB