mirror of
https://notabug.org/TenPlus1/lucky_block.git
synced 2024-12-05 03:13:45 +01:00
add handlebar moustache helmet
This commit is contained in:
parent
ae4edffcc5
commit
02dd16c2bc
@ -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)
|
||||
|
16
blocks.lua
16
blocks.lua
@ -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?
|
||||
|
2
mod.conf
2
mod.conf
@ -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 :)
|
||||
|
BIN
textures/lucky_handlebar_helmet.png
Normal file
BIN
textures/lucky_handlebar_helmet.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 342 B |
BIN
textures/lucky_handlebar_helmet.png_
Normal file
BIN
textures/lucky_handlebar_helmet.png_
Normal file
Binary file not shown.
After Width: | Height: | Size: 309 B |
BIN
textures/lucky_handlebar_helmet_inv.png
Normal file
BIN
textures/lucky_handlebar_helmet_inv.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 170 B |
BIN
textures/lucky_handlebar_helmet_preview.png
Normal file
BIN
textures/lucky_handlebar_helmet_preview.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 212 B |
Loading…
Reference in New Issue
Block a user