diff --git a/src/main/java/vazkii/botania/common/block/subtile/generating/SubTileDandelifeon.java b/src/main/java/vazkii/botania/common/block/subtile/generating/SubTileDandelifeon.java index 05d16bfac..cb2cb0df9 100644 --- a/src/main/java/vazkii/botania/common/block/subtile/generating/SubTileDandelifeon.java +++ b/src/main/java/vazkii/botania/common/block/subtile/generating/SubTileDandelifeon.java @@ -29,7 +29,8 @@ public class SubTileDandelifeon extends SubTileGenerating { private static final int RANGE = 12; private static final int SPEED = 10; - private static final int MAX_GENERATIONS = 40; + private static final int MAX_GENERATIONS = 100; + private static final int MAX_MANA_GENERATIONS = 40; private static final int MANA_PER_GEN = 150; private static final int[][] ADJACENT_BLOCKS = new int[][] { @@ -164,7 +165,7 @@ public class SubTileDandelifeon extends SubTileGenerating { Block blockAt = stateAt.getBlock(); TileEntity tile = world.getTileEntity(pos); if(gen == -2) { - int val = prevGen * MANA_PER_GEN; + int val = Math.min(MAX_MANA_GENERATIONS, prevGen) * MANA_PER_GEN; mana = Math.min(getMaxMana(), mana + val); //world.setBlockToAir(x, y, z); } else if(blockAt == ModBlocks.cellBlock) { diff --git a/src/main/resources/assets/botania/lang/en_US.lang b/src/main/resources/assets/botania/lang/en_US.lang index cb287dd73..6b74851dc 100644 --- a/src/main/resources/assets/botania/lang/en_US.lang +++ b/src/main/resources/assets/botania/lang/en_US.lang @@ -2548,8 +2548,8 @@ botania.page.dandelifeon1=This flower makes use of a cellular automata known as botania.page.dandelifeon2=The game is executed with the concept of &4Cells&0. The 25x25 area can be seen as a grid of 25 by 25 cells
Cells may be live or dead, live if the block in that position is a &1Cellular Block&0 (read on) or dead if it's anything else. &4Neighbours&0 are the eight blocks in the same plane around any one cell. botania.page.dandelifeon3=Every step of the game, the following transitions might happen: &41)&0 Any live cell with fewer than two or more than three live neighbours dies. &42)&0 Any live cell with exactly two or three live neigbours lives on. &43)&0 Any dead cell with exactly three live neigbours becomes a live cell. botania.page.dandelifeon4=All of the transitions happen at the same time.
Aside from those, a few additional rules not present in a typical simulation of &4Conway's Game of Life&0 are also present in the &1Dandelifeon&0 procedures, listed in the following pages. -botania.page.dandelifeon5=All cells have an age, starting at zero. Whenever a cell lives on, by having two or three neighbours, its age inreases by one. Whenever a dead cell becomes a live cell, the age of the new live cell is equal to the age of the oldest neighbour, plus one. Any cells older than 40 generations will die during the next step. -botania.page.dandelifeon6=Second off, the 3x3 zone centered around the &1Dandelifeon&0 itself is not habitable by cells. Any live cells that would exist in that area are turned into &4Mana&0 instead. The older the cell that would be created, the more &4Mana&0 it makes. Age zero cells produce no &4Mana&0. +botania.page.dandelifeon5=All cells have an age, starting at zero. Whenever a cell lives on, by having two or three neighbours, its age inreases by one. Whenever a dead cell becomes a live cell, the age of the new live cell is equal to the age of the oldest neighbour, plus one. +botania.page.dandelifeon6=Second off, the 3x3 zone centered around the &1Dandelifeon&0 itself is not habitable by cells. Any live cells that would exist in that area are turned into &4Mana&0 instead. The older the cell that would be created, the more &4Mana&0 it makes. Age zero cells produce no &4Mana&0. Any cells older than 40 generations will produce mana as if they were age 40. botania.page.dandelifeon10=Whenever any live cells are absorbed by the 3x3 zone in the center, all other cells in the board die.
A few other restrictions apply to cells, such as having two different &1Dandelifeon&0 flowers affect the same cell will kill it. Lastly, any cell will die if moved by any other means than the &1Dandelifeon&0 itself. botania.page.dandelifeon7=&1Cellular Blocks&0 are crafted with &1Cactus&0, &1Carrots&0, &1Potatoes&0, and &1Beetroots&0, and are extremely fragile, they may not be picked once placed down or moved by &1Pistons&0 and may not be created (through having 3 live neighbours on a dead cell) on any block that isn't air.
If not within the range of a &1Dandelifeon&0 they work as normal building blocks. botania.page.dandelifeon8=&oCellCraft^2&r.