mirror of
https://github.com/pyrollo/display_modpack.git
synced 2025-10-15 16:45:35 +02:00
Add mcl groups, _mcl_hardness, _mcl_blast_resistance params (#15)
* MineClonia/MineClone2 _mcl_hardness and _mcl_blast_resistance params * _mcl_hardness and _mcl_blast_resistance to signs mod * _mcl_hardness and _mcl_blast_resistance to clocks mod
This commit is contained in:
committed by
GitHub
parent
c315900c24
commit
4dc2bb661c
@@ -46,7 +46,9 @@ minetest.register_node("ontime_clocks:green_digital", {
|
|||||||
wall_top = {-7/16, 0.5, -7/32, 7/16, 13/32, 3/16}
|
wall_top = {-7/16, 0.5, -7/32, 7/16, 13/32, 3/16}
|
||||||
},
|
},
|
||||||
tiles = {"ontime_clocks_digital.png"},
|
tiles = {"ontime_clocks_digital.png"},
|
||||||
groups = {oddly_breakable_by_hand=1, not_blocking_trains=1, display_api=1},
|
groups = {oddly_breakable_by_hand=1, not_blocking_trains=1, display_api=1, handy = 1},
|
||||||
|
_mcl_hardness = 0.8,
|
||||||
|
_mcl_blast_resistance = 1,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
display_entities = {
|
display_entities = {
|
||||||
["ontime_clocks:display"] = {
|
["ontime_clocks:display"] = {
|
||||||
@@ -81,7 +83,9 @@ minetest.register_node("ontime_clocks:red_digital", {
|
|||||||
wall_top = {-7/16, 0.5, -7/32, 7/16, 13/32, 3/16}
|
wall_top = {-7/16, 0.5, -7/32, 7/16, 13/32, 3/16}
|
||||||
},
|
},
|
||||||
tiles = {"ontime_clocks_digital.png"},
|
tiles = {"ontime_clocks_digital.png"},
|
||||||
groups = {oddly_breakable_by_hand=1, not_blocking_trains=1, display_api=1},
|
groups = {oddly_breakable_by_hand=1, not_blocking_trains=1, display_api=1, handy = 1},
|
||||||
|
_mcl_hardness = 0.8,
|
||||||
|
_mcl_blast_resistance = 1,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
display_entities = {
|
display_entities = {
|
||||||
["ontime_clocks:display"] = {
|
["ontime_clocks:display"] = {
|
||||||
@@ -115,7 +119,9 @@ minetest.register_node("ontime_clocks:white", {
|
|||||||
wall_top = { -7/16, 0.5, -7/16, 7/16, 7/16, 7/16},
|
wall_top = { -7/16, 0.5, -7/16, 7/16, 7/16, 7/16},
|
||||||
},
|
},
|
||||||
tiles = {"ontime_clocks_white.png"},
|
tiles = {"ontime_clocks_white.png"},
|
||||||
groups = {oddly_breakable_by_hand=1, not_blocking_trains=1, display_api=1},
|
groups = {oddly_breakable_by_hand=1, not_blocking_trains=1, display_api=1, handy = 1},
|
||||||
|
_mcl_hardness = 0.8,
|
||||||
|
_mcl_blast_resistance = 1,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
display_entities = {
|
display_entities = {
|
||||||
["ontime_clocks:display"] = {
|
["ontime_clocks:display"] = {
|
||||||
@@ -150,7 +156,9 @@ minetest.register_node("ontime_clocks:frameless_black", {
|
|||||||
wall_top = { -0.5, -0.5, -0.5, 0.5, 0.5, 0.5 }
|
wall_top = { -0.5, -0.5, -0.5, 0.5, 0.5, 0.5 }
|
||||||
},
|
},
|
||||||
tiles = {"ontime_clocks_frameless.png"},
|
tiles = {"ontime_clocks_frameless.png"},
|
||||||
groups = {oddly_breakable_by_hand=1, not_blocking_trains=1, display_api=1},
|
groups = {oddly_breakable_by_hand=1, not_blocking_trains=1, display_api=1, handy = 1},
|
||||||
|
_mcl_hardness = 0.8,
|
||||||
|
_mcl_blast_resistance = 1,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
display_entities = {
|
display_entities = {
|
||||||
["ontime_clocks:display"] = {
|
["ontime_clocks:display"] = {
|
||||||
@@ -185,7 +193,9 @@ minetest.register_node("ontime_clocks:frameless_gold", {
|
|||||||
wall_top = { -0.5, -0.5, -0.5, 0.5, 0.5, 0.5 }
|
wall_top = { -0.5, -0.5, -0.5, 0.5, 0.5, 0.5 }
|
||||||
},
|
},
|
||||||
tiles = {"ontime_clocks_frameless.png^[colorize:#FF0"},
|
tiles = {"ontime_clocks_frameless.png^[colorize:#FF0"},
|
||||||
groups = {oddly_breakable_by_hand=1, not_blocking_trains=1, display_api=1},
|
groups = {oddly_breakable_by_hand=1, not_blocking_trains=1, display_api=1, handy = 1},
|
||||||
|
_mcl_hardness = 0.8,
|
||||||
|
_mcl_blast_resistance = 1,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
display_entities = {
|
display_entities = {
|
||||||
["ontime_clocks:display"] = {
|
["ontime_clocks:display"] = {
|
||||||
@@ -220,7 +230,9 @@ minetest.register_node("ontime_clocks:frameless_white", {
|
|||||||
wall_top = { -0.5, -0.5, -0.5, 0.5, 0.5, 0.5 }
|
wall_top = { -0.5, -0.5, -0.5, 0.5, 0.5, 0.5 }
|
||||||
},
|
},
|
||||||
tiles = {"ontime_clocks_frameless.png^[colorize:#FFF"},
|
tiles = {"ontime_clocks_frameless.png^[colorize:#FFF"},
|
||||||
groups = {oddly_breakable_by_hand=1, not_blocking_trains=1, display_api=1},
|
groups = {oddly_breakable_by_hand=1, not_blocking_trains=1, display_api=1, handy = 1},
|
||||||
|
_mcl_hardness = 0.8,
|
||||||
|
_mcl_blast_resistance = 1,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
display_entities = {
|
display_entities = {
|
||||||
["ontime_clocks:display"] = {
|
["ontime_clocks:display"] = {
|
||||||
|
@@ -131,6 +131,8 @@ local models = {
|
|||||||
tiles = { "signs_wooden.png" },
|
tiles = { "signs_wooden.png" },
|
||||||
inventory_image = "signs_wooden_inventory.png",
|
inventory_image = "signs_wooden_inventory.png",
|
||||||
groups= { dig_immediate = 2 },
|
groups= { dig_immediate = 2 },
|
||||||
|
_mcl_hardness = 0.8,
|
||||||
|
_mcl_blast_resistance = 1,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
wooden_long_sign = {
|
wooden_long_sign = {
|
||||||
@@ -149,6 +151,8 @@ local models = {
|
|||||||
},
|
},
|
||||||
inventory_image = "signs_wooden_long_inventory.png",
|
inventory_image = "signs_wooden_long_inventory.png",
|
||||||
groups= { dig_immediate = 2 },
|
groups= { dig_immediate = 2 },
|
||||||
|
_mcl_hardness = 0.8,
|
||||||
|
_mcl_blast_resistance = 1,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
wooden_right_sign = {
|
wooden_right_sign = {
|
||||||
@@ -170,6 +174,8 @@ local models = {
|
|||||||
selection_box = { type="fixed", fixed = {-0.5, -7/32, 0.5, 7/16, 7/32, 7/16}},
|
selection_box = { type="fixed", fixed = {-0.5, -7/32, 0.5, 7/16, 7/32, 7/16}},
|
||||||
collision_box = { type="fixed", fixed = {-7/16, -7/32, 0.5, 0.5, 7/32, 7/16}},
|
collision_box = { type="fixed", fixed = {-7/16, -7/32, 0.5, 0.5, 7/32, 7/16}},
|
||||||
groups= { dig_immediate = 2 },
|
groups= { dig_immediate = 2 },
|
||||||
|
_mcl_hardness = 0.8,
|
||||||
|
_mcl_blast_resistance = 1,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
wooden_left_sign = {
|
wooden_left_sign = {
|
||||||
@@ -190,6 +196,8 @@ local models = {
|
|||||||
selection_box = { type="fixed", fixed = {-7/16, -7/32, 0.5, 0.5, 7/32, 7/16}},
|
selection_box = { type="fixed", fixed = {-7/16, -7/32, 0.5, 0.5, 7/32, 7/16}},
|
||||||
collision_box = { type="fixed", fixed = {-7/16, -7/32, 0.5, 0.5, 7/32, 7/16}},
|
collision_box = { type="fixed", fixed = {-7/16, -7/32, 0.5, 0.5, 7/32, 7/16}},
|
||||||
groups = { not_in_creative_inventory = 1, dig_immediate = 2 },
|
groups = { not_in_creative_inventory = 1, dig_immediate = 2 },
|
||||||
|
_mcl_hardness = 0.8,
|
||||||
|
_mcl_blast_resistance = 1,
|
||||||
drop = "signs:wooden_right_sign",
|
drop = "signs:wooden_right_sign",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -209,6 +217,8 @@ local models = {
|
|||||||
inventory_image = "signs_poster_inventory.png",
|
inventory_image = "signs_poster_inventory.png",
|
||||||
use_texture_alpha = "clip",
|
use_texture_alpha = "clip",
|
||||||
groups= { dig_immediate = 3 },
|
groups= { dig_immediate = 3 },
|
||||||
|
_mcl_hardness = 0.8,
|
||||||
|
_mcl_blast_resistance = 1,
|
||||||
on_construct = display_api.on_construct,
|
on_construct = display_api.on_construct,
|
||||||
on_rightclick = display_poster,
|
on_rightclick = display_poster,
|
||||||
on_receive_fields = on_receive_fields_poster,
|
on_receive_fields = on_receive_fields_poster,
|
||||||
@@ -229,6 +239,8 @@ local models = {
|
|||||||
tiles = { "signs_label.png" },
|
tiles = { "signs_label.png" },
|
||||||
inventory_image = "signs_label_small_inventory.png",
|
inventory_image = "signs_label_small_inventory.png",
|
||||||
groups= { dig_immediate = 3 },
|
groups= { dig_immediate = 3 },
|
||||||
|
_mcl_hardness = 0.8,
|
||||||
|
_mcl_blast_resistance = 1,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
label_medium = {
|
label_medium = {
|
||||||
@@ -243,6 +255,8 @@ local models = {
|
|||||||
tiles = { "signs_label.png" },
|
tiles = { "signs_label.png" },
|
||||||
inventory_image = "signs_label_medium_inventory.png",
|
inventory_image = "signs_label_medium_inventory.png",
|
||||||
groups= { dig_immediate = 3 },
|
groups= { dig_immediate = 3 },
|
||||||
|
_mcl_hardness = 0.8,
|
||||||
|
_mcl_blast_resistance = 1,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@@ -59,6 +59,8 @@ for i, material in ipairs(steles.materials) do
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
groups = groups,
|
groups = groups,
|
||||||
|
_mcl_hardness = 1,
|
||||||
|
_mcl_blast_resistance = 2,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
display_entities = {
|
display_entities = {
|
||||||
["steles:text"] = {
|
["steles:text"] = {
|
||||||
|
Reference in New Issue
Block a user