Fix door api and sprites.

master
Quentin Quaadgras 2018-04-23 20:28:58 +12:00
parent 960d89276e
commit 0e779204f8
6 changed files with 8 additions and 7 deletions

View File

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 B