Commit Graph

8 Commits (master)

Author SHA1 Message Date
texmex c57fa04829 Typo 2017-07-28 00:14:24 +02:00
Yzel Junior 44e78b8527 Update init.lua
fixing tab identation
2017-06-07 12:59:48 -04:00
Yzel Junior 6f5064d79e Merge branch 'master' into master 2017-06-07 12:58:23 -04:00
texmex 17d3b1ea17 Let's make floodables global 👍 2017-06-07 18:16:35 +02:00
Yzel Junior 17fdc94b6a Rework and erosion added
In this first pr, the old loops used to override the nodes were replaced by functions, making the code more modularized and easier to understand and modify.
There's a function specially created to handle crop nodes, so we can easily add the flood funcion to all the crop variations and have different flood and drop chances too.
But the coolest thing is the soil erosion system. When a soil has space to erode, an abm will change its old position to a randon inferior position , and after making and nodeupdate to make it fall. Currently the abm is using the "air" neighbor but can be easily changed to erode only with flowing water.
2017-06-07 11:34:25 -04:00
texmex 68cc54d760 Create LICENSE.txt 2017-06-06 04:51:15 +02:00
tacotexmex 7727be547c Initial commit 2017-06-06 04:41:14 +02:00
tacotexmex f32feb0a22 Initial commit 2017-06-06 04:40:40 +02:00