summaryrefslogtreecommitdiffstats
path: root/cwd/assets/altcraft/scripts
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2022-12-15 16:41:06 +0100
committerGitHub <noreply@github.com>2022-12-15 16:41:06 +0100
commitd2b2f223cc62a1cc6e9d41d32020ef94d229a581 (patch)
treede0685c59a55557893d8d6d64bad01e9c98d206a /cwd/assets/altcraft/scripts
parentMerge pull request #82 from LaG1924/fix/sdl-wayland-build (diff)
parentAdded liquid rendering pass (diff)
downloadAltCraft-d2b2f223cc62a1cc6e9d41d32020ef94d229a581.tar
AltCraft-d2b2f223cc62a1cc6e9d41d32020ef94d229a581.tar.gz
AltCraft-d2b2f223cc62a1cc6e9d41d32020ef94d229a581.tar.bz2
AltCraft-d2b2f223cc62a1cc6e9d41d32020ef94d229a581.tar.lz
AltCraft-d2b2f223cc62a1cc6e9d41d32020ef94d229a581.tar.xz
AltCraft-d2b2f223cc62a1cc6e9d41d32020ef94d229a581.tar.zst
AltCraft-d2b2f223cc62a1cc6e9d41d32020ef94d229a581.zip
Diffstat (limited to 'cwd/assets/altcraft/scripts')
-rw-r--r--cwd/assets/altcraft/scripts/blocks.lua10
1 files changed, 4 insertions, 6 deletions
diff --git a/cwd/assets/altcraft/scripts/blocks.lua b/cwd/assets/altcraft/scripts/blocks.lua
index 5678677..dde4b57 100644
--- a/cwd/assets/altcraft/scripts/blocks.lua
+++ b/cwd/assets/altcraft/scripts/blocks.lua
@@ -33,13 +33,11 @@ local function RegisterBlocks()
AC.RegisterBlock(BlockId.new(7,0), true, "bedrock", "normal")
- AC.RegisterBlock(BlockId.new(8,0), true, "water", "normal")
+ AC.RegisterLiquid(BlockId.new(8,0), "blocks/water_flow", "blocks/water_still")
+ AC.RegisterLiquid(BlockId.new(9,0), "blocks/water_flow", "blocks/water_still")
- AC.RegisterBlock(BlockId.new(9,0), true, "water", "normal")
-
- AC.RegisterBlock(BlockId.new(10,0), true, "lava", "normal")
-
- AC.RegisterBlock(BlockId.new(11,0), true, "lava", "normal")
+ AC.RegisterLiquid(BlockId.new(10,0), "blocks/lava_flow", "blocks/lava_still")
+ AC.RegisterLiquid(BlockId.new(11,0), "blocks/lava_flow", "blocks/lava_still")
AC.RegisterBlock(BlockId.new(12,0), true, "sand", "normal")
AC.RegisterBlock(BlockId.new(12,1), true, "red_sand", "normal")