1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-07-01 15:10:31 +02:00

Changes to API

This commit is contained in:
An0n3m0us 2019-05-30 12:34:04 +01:00
parent f1f0604f9a
commit f44f2fe498

View File

@ -213,8 +213,8 @@ The doors mod allows modders to register custom doors and trapdoors.
description = "Door description",
inventory_image = "mod_door_inv.png",
groups = {choppy = 2},
model = "NAME", -- (optional)
-- Model name without prefix ("big_door" not "big_door_a.obj", "big_door_b.obj")
model = "mod_door", -- (optional)
-- Model name without a suffix ("big_door" not "big_door_a.obj", "big_door_b.obj")
tiles = {"mod_door.png"}, -- UV map.
-- The front and back of the door must be identical in appearence as they swap on
-- open/close.