summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--infrastructure/advanced_aircraft_warning_light.lua1
-rw-r--r--infrastructure/advanced_automatic_warning_device.lua8
-rw-r--r--infrastructure/advanced_boom_barrier.lua4
-rw-r--r--infrastructure/advanced_crosswalk_warning_light.lua2
-rw-r--r--infrastructure/advanced_road_signs.lua1
-rw-r--r--infrastructure/advanced_traffic_lights_pedestrians.lua3
-rw-r--r--infrastructure/advanced_warning_light.lua1
-rw-r--r--infrastructure/nodes.lua9
-rw-r--r--labels/init.lua1
9 files changed, 30 insertions, 0 deletions
diff --git a/infrastructure/advanced_aircraft_warning_light.lua b/infrastructure/advanced_aircraft_warning_light.lua
index 1361f7b..c07e8c0 100644
--- a/infrastructure/advanced_aircraft_warning_light.lua
+++ b/infrastructure/advanced_aircraft_warning_light.lua
@@ -9,6 +9,7 @@ minetest.register_node("infrastructure:aircraft_warning_light", {
{name="infrastructure_aircraft_warning_light_side_anim.png",animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=4}},
{name="infrastructure_aircraft_warning_light_side_anim.png",animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=4}}
},
+ use_texture_alpha = "clip",
drawtype = "nodebox",
paramtype = "light",
groups = {cracky = 1},
diff --git a/infrastructure/advanced_automatic_warning_device.lua b/infrastructure/advanced_automatic_warning_device.lua
index 1049c56..0365d07 100644
--- a/infrastructure/advanced_automatic_warning_device.lua
+++ b/infrastructure/advanced_automatic_warning_device.lua
@@ -201,6 +201,7 @@ minetest.register_node("infrastructure:automatic_warning_device_top", {
"infrastructure_automatic_warning_device_top_side.png",
"infrastructure_automatic_warning_device_top.png"
},
+ use_texture_alpha = "clip",
on_destruct = infrastructure.stop_bell,
drawtype = "nodebox",
paramtype = "light",
@@ -231,6 +232,7 @@ minetest.register_node("infrastructure:automatic_warning_device_middle_right_on"
"infrastructure_automatic_warning_device_middle_right_side.png",
{name="infrastructure_automatic_warning_device_middle_right_anim.png",animation={type="vertical_frames", aspect_w=64, aspect_h=64, length=1.5}}
},
+ use_texture_alpha = "clip",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
@@ -259,6 +261,7 @@ minetest.register_node("infrastructure:automatic_warning_device_middle_right_off
"infrastructure_automatic_warning_device_middle_right_side.png",
"infrastructure_automatic_warning_device_middle_right_off.png"
},
+ use_texture_alpha = "clip",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
@@ -286,6 +289,7 @@ minetest.register_node("infrastructure:automatic_warning_device_middle_left_on",
"infrastructure_automatic_warning_device_middle_left_side.png",
{name="infrastructure_automatic_warning_device_middle_left_anim.png",animation={type="vertical_frames", aspect_w=64, aspect_h=64, length=1.5}}
},
+ use_texture_alpha = "clip",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
@@ -314,6 +318,7 @@ minetest.register_node("infrastructure:automatic_warning_device_middle_left_off"
"infrastructure_automatic_warning_device_middle_left_side.png",
"infrastructure_automatic_warning_device_middle_left_off.png"
},
+ use_texture_alpha = "clip",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
@@ -341,6 +346,7 @@ minetest.register_node("infrastructure:automatic_warning_device_middle_center_on
"infrastructure_automatic_warning_device_middle_center_side.png",
{name="infrastructure_automatic_warning_device_middle_center_anim.png",animation={type="vertical_frames", aspect_w=64, aspect_h=64, length=1.5}}
},
+ use_texture_alpha = "clip",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
@@ -375,6 +381,7 @@ minetest.register_node("infrastructure:automatic_warning_device_middle_center_of
"infrastructure_automatic_warning_device_middle_center_side.png",
"infrastructure_automatic_warning_device_middle_center_off.png"
},
+ use_texture_alpha = "clip",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
@@ -408,6 +415,7 @@ minetest.register_node("infrastructure:automatic_warning_device_middle", {
"infrastructure_automatic_warning_device_middle_side.png",
"infrastructure_automatic_warning_device_middle.png"
},
+ use_texture_alpha = "clip",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
diff --git a/infrastructure/advanced_boom_barrier.lua b/infrastructure/advanced_boom_barrier.lua
index ffc04a6..2e15dda 100644
--- a/infrastructure/advanced_boom_barrier.lua
+++ b/infrastructure/advanced_boom_barrier.lua
@@ -383,6 +383,7 @@ minetest.register_node("infrastructure:boom_barrier_arm_h_lightfirst", {
"infrastructure_boom_barrier_arm_h_bottom_front_back.png",
"infrastructure_boom_barrier_arm_h_bottom_front_back.png"
},
+ use_texture_alpha = "clip",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
@@ -415,6 +416,7 @@ minetest.register_node("infrastructure:boom_barrier_arm_h_darkfirst", {
"infrastructure_boom_barrier_arm_h_bottom_front_back.png",
"infrastructure_boom_barrier_arm_h_bottom_front_back.png"
},
+ use_texture_alpha = "clip",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
@@ -447,6 +449,7 @@ minetest.register_node("infrastructure:boom_barrier_arm_h_end", {
"infrastructure_boom_barrier_arm_h_bottom_front_back.png",
"infrastructure_boom_barrier_arm_h_bottom_front_back.png"
},
+ use_texture_alpha = "clip",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
@@ -482,6 +485,7 @@ minetest.register_node("infrastructure:boom_barrier_arm_v", {
"infrastructure_boom_barrier_arm_h_top.png",
"infrastructure_boom_barrier_arm_h_bottom_front_back.png"
},
+ use_texture_alpha = "clip",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
diff --git a/infrastructure/advanced_crosswalk_warning_light.lua b/infrastructure/advanced_crosswalk_warning_light.lua
index 213223a..84fa7a4 100644
--- a/infrastructure/advanced_crosswalk_warning_light.lua
+++ b/infrastructure/advanced_crosswalk_warning_light.lua
@@ -19,6 +19,7 @@ minetest.register_node("infrastructure:crosswalk_warning_light_off", {
"infrastructure_crosswalk_warning_light_back.png",
"infrastructure_crosswalk_warning_light_front_dark.png"
},
+ use_texture_alpha = "clip",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
@@ -73,6 +74,7 @@ minetest.register_node("infrastructure:crosswalk_warning_light_on", {
"infrastructure_crosswalk_warning_light_back.png",
{name="infrastructure_crosswalk_warning_light_front_anim.png",animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=1.5}}
},
+ use_texture_alpha = "clip",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
diff --git a/infrastructure/advanced_road_signs.lua b/infrastructure/advanced_road_signs.lua
index b732bfd..3efeeee 100644
--- a/infrastructure/advanced_road_signs.lua
+++ b/infrastructure/advanced_road_signs.lua
@@ -12,6 +12,7 @@
"infrastructure_road_sign_"..sign_name.."_back.png",
"infrastructure_road_sign_"..sign_name.."_front.png"
},
+ use_texture_alpha = "clip",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
diff --git a/infrastructure/advanced_traffic_lights_pedestrians.lua b/infrastructure/advanced_traffic_lights_pedestrians.lua
index 02da804..1d8519e 100644
--- a/infrastructure/advanced_traffic_lights_pedestrians.lua
+++ b/infrastructure/advanced_traffic_lights_pedestrians.lua
@@ -60,6 +60,7 @@
"infrastructure_traffic_lights_pedestrians_top_back.png",
"infrastructure_traffic_lights_pedestrians_top_front_"..tostring(i)..".png"
},
+ use_texture_alpha = "clip",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
@@ -95,6 +96,7 @@
"infrastructure_traffic_lights_pedestrians_bottom_back.png",
"infrastructure_traffic_lights_pedestrians_bottom_front_"..tostring(i)..".png"
},
+ use_texture_alpha = "clip",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
@@ -179,6 +181,7 @@
"infrastructure_traffic_lights_pedestrians_bottom_back.png",
"infrastructure_traffic_lights_pedestrians_bottom_front_1.png"
},
+ use_texture_alpha = "clip",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
diff --git a/infrastructure/advanced_warning_light.lua b/infrastructure/advanced_warning_light.lua
index 0ed5b62..9abc33b 100644
--- a/infrastructure/advanced_warning_light.lua
+++ b/infrastructure/advanced_warning_light.lua
@@ -10,6 +10,7 @@ minetest.register_node("infrastructure:warning_light", {
"infrastructure_warning_light_back.png",
{name="infrastructure_warning_light_front_anim.png",animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=3}},
},
+ use_texture_alpha = "clip",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
diff --git a/infrastructure/nodes.lua b/infrastructure/nodes.lua
index 5b28f1a..27fe1bf 100644
--- a/infrastructure/nodes.lua
+++ b/infrastructure/nodes.lua
@@ -105,6 +105,7 @@
"infrastructure_concrete.png",
"infrastructure_concrete.png"
},
+ use_texture_alpha = "clip",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
@@ -150,6 +151,7 @@
"infrastructure_grid_paver_grass.png",
"infrastructure_grid_paver_grass.png"
},
+ use_texture_alpha = "clip",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
@@ -203,6 +205,7 @@
minetest.register_node("infrastructure:truss", {
description = "Truss",
tiles = {"infrastructure_truss.png"},
+ use_texture_alpha = "clip",
drawtype = "nodebox",
paramtype = "light",
groups = {cracky = 2},
@@ -227,6 +230,7 @@
minetest.register_node("infrastructure:wire_netting", {
description = "Wire netting",
tiles = {"infrastructure_wire_netting.png"},
+ use_texture_alpha = "clip",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
@@ -245,6 +249,7 @@
minetest.register_node("infrastructure:razor_wire", {
description = "Razor wire",
tiles = {"infrastructure_razor_wire.png"},
+ use_texture_alpha = "clip",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
@@ -278,6 +283,7 @@
"infrastructure_galvanized_steel.png",
"infrastructure_galvanized_steel.png"
},
+ use_texture_alpha = "clip",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
@@ -1212,6 +1218,7 @@
"infrastructure_crowd_control_barricade_back.png",
"infrastructure_crowd_control_barricade_front.png"
},
+ use_texture_alpha = "clip",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
@@ -1301,6 +1308,7 @@
"infrastructure_anti_dazzling_panel_side.png",
"infrastructure_anti_dazzling_panel_side.png"
},
+ use_texture_alpha = "clip",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
@@ -1336,6 +1344,7 @@
"[combine:32x32:0,"..tostring(i * 8).."=infrastructure_anti_dazzling_panel_side.png:0,"..tostring(i * 8 - 32).."=infrastructure_anti_dazzling_panel_side.png",
"[combine:32x32:0,"..tostring(i * 8).."=infrastructure_anti_dazzling_panel_side.png:0,"..tostring(i * 8 - 32).."=infrastructure_anti_dazzling_panel_side.png"
},
+ use_texture_alpha = "clip",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
diff --git a/labels/init.lua b/labels/init.lua
index e8d0624..36492c7 100644
--- a/labels/init.lua
+++ b/labels/init.lua
@@ -240,6 +240,7 @@ streets.register_label = function(friendlyname,name,tex,color,ink_needed,hide)
walkable = false,
inventory_image = tex,
wield_image = tex,
+ use_texture_alpha = "clip",
after_place_node = function(pos)
local node = minetest.get_node(pos)
local lower_pos = {x = pos.x, y = pos.y-1, z = pos.z}