From f44f2fe4980928683629dce615fbb826b3f2f7d0 Mon Sep 17 00:00:00 2001 From: An0n3m0us Date: Thu, 30 May 2019 12:34:04 +0100 Subject: [PATCH] Changes to API --- game_api.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game_api.txt b/game_api.txt index 900cdacc..eb22e834 100644 --- a/game_api.txt +++ b/game_api.txt @@ -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.