aboutsummaryrefslogtreecommitdiff
path: root/signs
diff options
context:
space:
mode:
authorGithub is a non-free platform owned by Microsoft. Reasonable alternatives exist, such as Gitea, Sourcehut. We need a federated, mastodon-like forge based on ForgeFed. See: https://forgefed.org <project@gnuhacker.org>2024-03-21 21:47:31 +0100
committerGitHub <noreply@github.com>2024-03-21 21:47:31 +0100
commit4dc2bb661cc7e8d3a804b3200e4d35185ae0d9f0 (patch)
tree119e26583e978ab5b2c814289271aee9589120f4 /signs
parentc315900c24df6ee958a92e013463e36dfbeb5225 (diff)
downloaddisplay_modpack_no_craft-4dc2bb661cc7e8d3a804b3200e4d35185ae0d9f0.tar.gz
display_modpack_no_craft-4dc2bb661cc7e8d3a804b3200e4d35185ae0d9f0.zip
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
Diffstat (limited to 'signs')
-rw-r--r--signs/nodes.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/signs/nodes.lua b/signs/nodes.lua
index cb7ea28..0280ccd 100644
--- a/signs/nodes.lua
+++ b/signs/nodes.lua
@@ -131,6 +131,8 @@ local models = {
tiles = { "signs_wooden.png" },
inventory_image = "signs_wooden_inventory.png",
groups= { dig_immediate = 2 },
+ _mcl_hardness = 0.8,
+ _mcl_blast_resistance = 1,
},
},
wooden_long_sign = {
@@ -149,6 +151,8 @@ local models = {
},
inventory_image = "signs_wooden_long_inventory.png",
groups= { dig_immediate = 2 },
+ _mcl_hardness = 0.8,
+ _mcl_blast_resistance = 1,
},
},
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}},
collision_box = { type="fixed", fixed = {-7/16, -7/32, 0.5, 0.5, 7/32, 7/16}},
groups= { dig_immediate = 2 },
+ _mcl_hardness = 0.8,
+ _mcl_blast_resistance = 1,
},
},
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}},
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 },
+ _mcl_hardness = 0.8,
+ _mcl_blast_resistance = 1,
drop = "signs:wooden_right_sign",
},
},
@@ -209,6 +217,8 @@ local models = {
inventory_image = "signs_poster_inventory.png",
use_texture_alpha = "clip",
groups= { dig_immediate = 3 },
+ _mcl_hardness = 0.8,
+ _mcl_blast_resistance = 1,
on_construct = display_api.on_construct,
on_rightclick = display_poster,
on_receive_fields = on_receive_fields_poster,
@@ -229,6 +239,8 @@ local models = {
tiles = { "signs_label.png" },
inventory_image = "signs_label_small_inventory.png",
groups= { dig_immediate = 3 },
+ _mcl_hardness = 0.8,
+ _mcl_blast_resistance = 1,
},
},
label_medium = {
@@ -243,6 +255,8 @@ local models = {
tiles = { "signs_label.png" },
inventory_image = "signs_label_medium_inventory.png",
groups= { dig_immediate = 3 },
+ _mcl_hardness = 0.8,
+ _mcl_blast_resistance = 1,
},
},
}