add handlebar moustache helmet

This commit is contained in:
tenplus1 2022-03-09 17:50:27 +00:00
parent ae4edffcc5
commit 02dd16c2bc
8 changed files with 19 additions and 4 deletions

@ -25,6 +25,6 @@ Changelog:
- 1.0 - Added ability for custom lucky blocks to use their own block list
- 1.1 - Spawning mobs can now select randomly from a table or single string
- 1.2 - Code tidy and fixed wishing well replacements
- 1.3 - Add lightning staff as rare drop, tidy code, lightning fire check
- 1.3 - Add lightning staff as rare drop, tidy code, lightning fire check, moustache helmet
Lucky Blocks: 260 (depending on mods enabled)
Lucky Blocks: 261 (depending on mods enabled)

@ -524,6 +524,19 @@ end
-- 3D Armor mod
if minetest.get_modpath("3d_armor") then
armor:register_armor("lucky_block:helmet_handlebar", {
description = "Handlebar Moustache",
inventory_image = "lucky_handlebar_helmet_inv.png",
groups = {
armor_head = 1, armor_heal = 12, armor_use = 200,
physics_speed = 0.2, physics_jump = 0.2
},
armor_groups = {fleshy = 10},
damage_groups = {cracky = 2, snappy = 2, choppy = 2, level = 2},
texture = "lucky_handlebar_helmet.png"
})
lucky_block:add_blocks({
{"dro", {"3d_armor:boots_wood"}},
{"dro", {"3d_armor:leggings_wood"}},
@ -548,6 +561,7 @@ lucky_block:add_blocks({
{"dro", {"3d_armor:chestplate_bronze"}},
{"dro", {"3d_armor:helmet_bronze"}},
{"lig"},
{"dro", {"3d_armor:helmet_handlebar"}}
})
end
@ -559,7 +573,7 @@ lucky_block:add_blocks({
{"dro", {"shields:shield_gold"}},
{"dro", {"shields:shield_cactus"}},
{"dro", {"shields:shield_bronze"}},
{"exp", 2},
{"exp", 2}
})
end

@ -2,3 +2,4 @@ default
tnt?
screwdriver?
intllib?
3d_armor?

@ -1,4 +1,4 @@
name = lucky_block
depends = default
optional_depends = tnt, screwdriver, intllib
optional_depends = tnt, screwdriver, intllib, 3d_armor
description = Adds lucky blocks into the game which may give good, bad, hurtful items when open :)

Binary file not shown.

After

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 B