Fix door api and sprites.
This commit is contained in:
parent
960d89276e
commit
0e779204f8
15
init.lua
15
init.lua
@ -2,14 +2,15 @@
|
||||
--Todo make lift go up and down!
|
||||
|
||||
doors.register_door("lifter:door", {
|
||||
tiles = {{ name = "lifter_door.png", backface_culling = true }},
|
||||
description = "Lift Door",
|
||||
inventory_image = "lifter_door_inv.png",
|
||||
groups = {choppy=3, cracky=3, oddly_breakable_by_hand=1, flammable=2, door=1},
|
||||
tiles_bottom = {"lifter_door_b.png", "lifter_door.png"},
|
||||
tiles_top = {"lifter_door_a.png", "lifter.png"},
|
||||
only_placer_can_open = false,
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
sunlight = false
|
||||
inventory_image = "lifter_item_door.png",
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
||||
recipe = {
|
||||
{"group:stick", "group:stick", "group:stick"},
|
||||
{"group:stick", "doors:door_wood", "group:stick"},
|
||||
{"group:stick", "group:stick", "group:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
-- should only be ignore if there's not generated map
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 109 B After Width: | Height: | Size: 1.7 KiB |
Binary file not shown.
Before Width: | Height: | Size: 452 B |
Binary file not shown.
Before Width: | Height: | Size: 683 B |
Binary file not shown.
Before Width: | Height: | Size: 216 B |
BIN
textures/lifter_item_door.png
Normal file
BIN
textures/lifter_item_door.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 216 B |
Loading…
x
Reference in New Issue
Block a user