summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornumberZero <silverunicorn2011@yandex.ru>2017-06-05 17:51:24 +0300
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-06-05 10:51:24 -0400
commit83a4bb60ca56a3e789aef4d91e747d2d6978eccd (patch)
tree75b5af55d721b1dc9607f1645211a13886dc182e
parent97e1c8b7f2bd3de0dfb343c2c875630d2313dc5f (diff)
Fix flowing corium textures (#364)
-rw-r--r--technic/radiation.lua24
1 files changed, 23 insertions, 1 deletions
diff --git a/technic/radiation.lua b/technic/radiation.lua
index 67fee96..722b0ac 100644
--- a/technic/radiation.lua
+++ b/technic/radiation.lua
@@ -384,7 +384,7 @@ for _, state in pairs({"flowing", "source"}) do
minetest.register_node("technic:corium_"..state, {
description = S(state == "source" and "Corium Source" or "Flowing Corium"),
drawtype = (state == "source" and "liquid" or "flowingliquid"),
- [state == "source" and "tiles" or "special_tiles"] = {{
+ tiles = {{
name = "technic_corium_"..state.."_animated.png",
animation = {
type = "vertical_frames",
@@ -393,6 +393,28 @@ for _, state in pairs({"flowing", "source"}) do
length = 3.0,
},
}},
+ special_tiles = {
+ {
+ name = "technic_corium_"..state.."_animated.png",
+ backface_culling = false,
+ animation = {
+ type = "vertical_frames",
+ aspect_w = 16,
+ aspect_h = 16,
+ length = 3.0,
+ },
+ },
+ {
+ name = "technic_corium_"..state.."_animated.png",
+ backface_culling = true,
+ animation = {
+ type = "vertical_frames",
+ aspect_w = 16,
+ aspect_h = 16,
+ length = 3.0,
+ },
+ },
+ },
paramtype = "light",
paramtype2 = (state == "flowing" and "flowingliquid" or nil),
light_source = (state == "source" and 8 or 5),