1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-07-08 09:10:19 +02:00

Edit api; Fix indentation and code

This commit is contained in:
An0n3m0us
2019-05-31 10:47:36 +01:00
parent f44f2fe498
commit bf1ff35480
2 changed files with 8 additions and 13 deletions

View File

@ -230,8 +230,9 @@ The doors mod allows modders to register custom doors and trapdoors.
description = "Trapdoor description",
inventory_image = "mod_trapdoor_inv.png",
closed = {} -- Nodebox for closed model
opened = {} -- Nodebox for opened model
nodebox_closed = {} -- Nodebox for closed model
nodebox_opened = {} -- Nodebox for opened model
-- (optional) both nodeboxes must be used, not one only
groups = {choppy = 2},
tile_front = "doors_trapdoor.png", -- the texture for the front and back of the trapdoor
tile_side = "doors_trapdoor_side.png",