Remove fullbright (H#140)

This commit is contained in:
orwell96 2019-12-18 10:08:03 +01:00
parent 50a81dd1f3
commit b905a8bf6d
4 changed files with 0 additions and 12 deletions

View File

@ -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")

View File

@ -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")

View File

@ -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({

View File

@ -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