1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-09-14 18:45:22 +02:00

Compare commits

..

3 Commits

Author SHA1 Message Date
Vanessa Dannenberg
e289e79aea add intllib as optdepend in homedecor_common
should fix #17 ?
2019-06-07 00:36:05 -04:00
Vanessa Dannenberg
80ab12710b add "light" to a couple of descriptions, for easier searching 2019-06-06 04:38:13 -04:00
Vanessa Dannenberg
1b94c940d7 fix wrong light value on standing lamps 2019-06-06 04:37:26 -04:00
2 changed files with 4 additions and 4 deletions

View File

@@ -1,3 +1,3 @@
default default
creative creative
intllib?

View File

@@ -724,7 +724,7 @@ for brightness_level = 0, 14 do
paramtype2 = "color", paramtype2 = "color",
palette = "unifieddyes_palette_extended.png", palette = "unifieddyes_palette_extended.png",
walkable = false, walkable = false,
light_source = word_to_bright[light_brightn_name], light_source = brightness_level,
groups = {cracky=2,oddly_breakable_by_hand=1, ud_param2_colorable = 1, not_in_creative_inventory=nici }, groups = {cracky=2,oddly_breakable_by_hand=1, ud_param2_colorable = 1, not_in_creative_inventory=nici },
selection_box = slamp_cbox, selection_box = slamp_cbox,
sounds = default.node_sound_wood_defaults(), sounds = default.node_sound_wood_defaults(),
@@ -765,7 +765,7 @@ for _, light_brightn_name in ipairs({"off", "on"}) do
end end
homedecor.register("plasma_ball_"..light_brightn_name, { homedecor.register("plasma_ball_"..light_brightn_name, {
description = S("Plasma Ball"), description = S("Plasma Ball/light"),
mesh = "homedecor_plasma_ball.obj", mesh = "homedecor_plasma_ball.obj",
tiles = { tiles = {
{ name = "homedecor_generic_plastic.png", color = homedecor.color_black }, { name = "homedecor_generic_plastic.png", color = homedecor.color_black },
@@ -894,7 +894,7 @@ for _, light_brightn_name in ipairs({"off", "on"}) do
}) })
homedecor.register("wall_lamp_"..light_brightn_name, { homedecor.register("wall_lamp_"..light_brightn_name, {
description = S("Wall Lamp"), description = S("Wall Lamp/light"),
mesh = "homedecor_wall_lamp.obj", mesh = "homedecor_wall_lamp.obj",
tiles = { tiles = {
{ name = "homedecor_generic_metal.png", color = homedecor.color_med_grey }, { name = "homedecor_generic_metal.png", color = homedecor.color_med_grey },