Concrete mixing (#4096)
Adds a block handler for concrete powder and implements hardening to concrete. Concrete powder turns into concrete when: * It is next to water when it receives a block update * It falls onto a water block (even with Physics SandInstantFall=1)
This commit is contained in:
@@ -319,6 +319,11 @@ void cSandSimulator::DoInstantFall(cChunk * a_Chunk, int a_RelX, int a_RelY, int
|
||||
{
|
||||
BlockY = y + 1;
|
||||
}
|
||||
else if ((FallingBlockType == E_BLOCK_CONCRETE_POWDER) && IsBlockWater(BlockType))
|
||||
{
|
||||
FallingBlockType = E_BLOCK_CONCRETE;
|
||||
BlockY = y;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Can fall further down
|
||||
|
||||
Reference in New Issue
Block a user