mirror of
https://github.com/minetest/minetest_game.git
synced 2024-11-19 16:20:15 +01:00
Changes to API
This commit is contained in:
parent
f1f0604f9a
commit
f44f2fe498
@ -213,8 +213,8 @@ The doors mod allows modders to register custom doors and trapdoors.
|
|||||||
description = "Door description",
|
description = "Door description",
|
||||||
inventory_image = "mod_door_inv.png",
|
inventory_image = "mod_door_inv.png",
|
||||||
groups = {choppy = 2},
|
groups = {choppy = 2},
|
||||||
model = "NAME", -- (optional)
|
model = "mod_door", -- (optional)
|
||||||
-- Model name without prefix ("big_door" not "big_door_a.obj", "big_door_b.obj")
|
-- Model name without a suffix ("big_door" not "big_door_a.obj", "big_door_b.obj")
|
||||||
tiles = {"mod_door.png"}, -- UV map.
|
tiles = {"mod_door.png"}, -- UV map.
|
||||||
-- The front and back of the door must be identical in appearence as they swap on
|
-- The front and back of the door must be identical in appearence as they swap on
|
||||||
-- open/close.
|
-- open/close.
|
||||||
|
Loading…
Reference in New Issue
Block a user