Init
interesting, punch sound with creative hand is now sometimes cracky, and sometimes oddly hand
This commit is contained in:
commit
190e059289
52
init.lua
Normal file
52
init.lua
Normal file
@ -0,0 +1,52 @@
|
||||
|
||||
beds.register_bed("bed_rock:bed_rock", {
|
||||
description = "Bed-Rock",
|
||||
inventory_image = "beds_bed.png", --TODO
|
||||
wield_image = "beds_bed.png", --TODO
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
tiles = {
|
||||
bottom = {
|
||||
"default_stone.png",
|
||||
"default_stone.png",
|
||||
"default_stone.png",
|
||||
"default_stone.png",
|
||||
"beds_transparent.png",
|
||||
"default_stone.png"
|
||||
},
|
||||
top = {
|
||||
"default_stone.png^(beds_bed_top_top.png^[mask:bed_rock_pillowmask_top.png^[transformR90)",
|
||||
"default_stone.png",
|
||||
"default_stone.png^(beds_bed_side_top_r.png^[mask:bed_rock_pillowmask_side_r.png)",
|
||||
"default_stone.png^(beds_bed_side_top_r.png^[mask:bed_rock_pillowmask_side_r.png^[transformfx)",
|
||||
"default_stone.png^(beds_bed_side_top.png^[mask:bed_rock_pillowmask_side_top.png)",
|
||||
"beds_bed_side_top.png^[mask:bed_rock_pillowmask_side_top.png^[transformfx",
|
||||
},
|
||||
},
|
||||
nodebox = {
|
||||
bottom = {-0.5, -0.5, -0.5, 0.5, -3/16, 0.5},
|
||||
top = {
|
||||
{-0.5, -0.5, -0.5, 0.5, -3/16, 0.5},
|
||||
{-7/16, -3/16, 0, 7/16, 1/16, 7/16},
|
||||
},
|
||||
},
|
||||
selectionbox = {
|
||||
{-0.5, -0.5, -0.5, 0.5, -3/16, 1.5},
|
||||
{-7/16, -3/16, 1, 7/16, 1/16, 7/16+1},
|
||||
},
|
||||
recipe = {
|
||||
{"group:wool", "", ""},
|
||||
{"default:stone", "default:stone", "default:stone"}
|
||||
}
|
||||
})
|
||||
|
||||
core.override_item("bed_rock:bed_rock_bottom", {
|
||||
groups = {cracky = 3, oddly_breakable_by_hand = 2, bed = 1},
|
||||
})
|
||||
|
||||
core.override_item("bed_rock:bed_rock_top", {
|
||||
groups = {cracky = 3, oddly_breakable_by_hand = 2, bed = 2,
|
||||
not_in_creative_inventory = 1},
|
||||
})
|
||||
|
||||
-- TODO: hurt
|
||||
-- TODO: player animation lower, and/or diagonal
|
3
mod.conf
Normal file
3
mod.conf
Normal file
@ -0,0 +1,3 @@
|
||||
name = bed_rock
|
||||
description = Adds a bed-rock, for sleeping
|
||||
depends = beds, wool, default
|
BIN
textures/bed_rock_pillowmask_side_r.png
Normal file
BIN
textures/bed_rock_pillowmask_side_r.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 85 B |
BIN
textures/bed_rock_pillowmask_side_top.png
Normal file
BIN
textures/bed_rock_pillowmask_side_top.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 209 B |
BIN
textures/bed_rock_pillowmask_top.png
Normal file
BIN
textures/bed_rock_pillowmask_top.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 91 B |
Loading…
x
Reference in New Issue
Block a user