summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--advtrains_train_industrial/init.lua4
-rw-r--r--advtrains_train_japan/init.lua2
-rwxr-xr-xadvtrains_train_steam/init.lua5
-rw-r--r--advtrains_train_subway/init.lua1
4 files changed, 0 insertions, 12 deletions
diff --git a/advtrains_train_industrial/init.lua b/advtrains_train_industrial/init.lua
index fcd85d1..ed6c370 100644
--- a/advtrains_train_industrial/init.lua
+++ b/advtrains_train_industrial/init.lua
@@ -41,7 +41,6 @@ advtrains.register_wagon("engine_industrial", {
collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0},
drops={"default:steelblock 4"},
horn_sound = "advtrains_industrial_horn",
- glow = -1, --supposed to disable effect of light to texture color, so that the entity always appears as full-bright
}, S("Industrial Train Engine"), "advtrains_engine_industrial_inv.png")
--big--
advtrains.register_wagon("engine_industrial_big", {
@@ -79,7 +78,6 @@ advtrains.register_wagon("engine_industrial_big", {
collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0},
drops={"default:steelblock 4"},
horn_sound = "advtrains_industrial_horn",
- glow = -1, --supposed to disable effect of light to texture color, so that the entity always appears as full-bright
}, S("Big Industrial Train Engine"), "advtrains_engine_industrial_inv.png")
advtrains.register_wagon("wagon_tank", {
mesh="advtrains_wagon_tank.b3d",
@@ -101,7 +99,6 @@ advtrains.register_wagon("wagon_tank", {
inventory_list_sizes = {
box=8*3,
},
- glow = -1, --supposed to disable effect of light to texture color, so that the entity always appears as full-bright
}, S("Industrial tank wagon"), "advtrains_wagon_tank_inv.png")
advtrains.register_wagon("wagon_wood", {
mesh="advtrains_wagon_wood.b3d",
@@ -123,5 +120,4 @@ advtrains.register_wagon("wagon_wood", {
inventory_list_sizes = {
box=8*3,
},
- glow = -1, --supposed to disable effect of light to texture color, so that the entity always appears as full-bright
}, S("Industrial wood wagon"), "advtrains_wagon_wood_inv.png")
diff --git a/advtrains_train_japan/init.lua b/advtrains_train_japan/init.lua
index 97c7817..27e1005 100644
--- a/advtrains_train_japan/init.lua
+++ b/advtrains_train_japan/init.lua
@@ -73,7 +73,6 @@ advtrains.register_wagon("engine_japan", {
collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0},
drops={"default:steelblock 4"},
horn_sound = "advtrains_japan_horn",
- glow = -1, --supposed to disable effect of light to texture color, so that the entity always appears as full-bright
}, S("Japanese Train Engine"), "advtrains_engine_japan_inv.png")
advtrains.register_wagon("wagon_japan", {
@@ -142,6 +141,5 @@ advtrains.register_wagon("wagon_japan", {
wagon_span=2.3,
collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0},
drops={"default:steelblock 4"},
- glow = -1, --supposed to disable effect of light to texture color, so that the entity always appears as full-bright
}, S("Japanese Train Wagon"), "advtrains_wagon_japan_inv.png")
diff --git a/advtrains_train_steam/init.lua b/advtrains_train_steam/init.lua
index 5d6955c..468fefa 100755
--- a/advtrains_train_steam/init.lua
+++ b/advtrains_train_steam/init.lua
@@ -75,7 +75,6 @@ advtrains.register_wagon("newlocomotive", {
end,
drops={"default:steelblock 1"},
horn_sound = "advtrains_steam_whistle",
- glow = -1, --supposed to disable effect of light to texture color, so that the entity always appears as full-bright
}, S("Steam Engine"), "advtrains_engine_steam_inv.png")
advtrains.register_wagon("detailed_steam_engine", {
@@ -158,8 +157,6 @@ advtrains.register_wagon("detailed_steam_engine", {
end,
drops={"default:steelblock 1"},
horn_sound = "advtrains_steam_whistle",
- glow = -1, --supposed to disable effect of light to texture color, so that the entity always appears as full-bright
-
}, S("Detailed Steam Engine"), "advtrains_detailed_engine_steam_inv.png")
advtrains.register_wagon("wagon_default", {
@@ -205,7 +202,6 @@ advtrains.register_wagon("wagon_default", {
wagon_span=2.634,
collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0},
drops={"default:steelblock 1"},
- glow = -1, --supposed to disable effect of light to texture color, so that the entity always appears as full-bright
}, S("Passenger Wagon"), "advtrains_wagon_inv.png")
@@ -229,7 +225,6 @@ advtrains.register_wagon("wagon_box", {
inventory_list_sizes = {
box=8*3,
},
- glow = -1, --supposed to disable effect of light to texture color, so that the entity always appears as full-bright
}, S("Box Wagon"), "advtrains_wagon_box_inv.png")
minetest.register_craft({
diff --git a/advtrains_train_subway/init.lua b/advtrains_train_subway/init.lua
index 864fa2f..82601fa 100644
--- a/advtrains_train_subway/init.lua
+++ b/advtrains_train_subway/init.lua
@@ -76,7 +76,6 @@ advtrains.register_wagon("subway_wagon", {
is_locomotive=true,
drops={"default:steelblock 4"},
horn_sound = "advtrains_subway_horn",
- glow = -1, --supposed to disable effect of light to texture color, so that the entity always appears as full-bright
custom_on_velocity_change = function(self, velocity, old_velocity, dtime)
if not velocity or not old_velocity then return end
if old_velocity == 0 and velocity > 0 then