1
0
mirror of https://github.com/Sokomine/cottages.git synced 2025-07-04 00:50:28 +02:00

took care of unregistered-globals-warnings

This commit is contained in:
Sokomine
2015-07-27 17:51:58 +02:00
parent 2d05ae5b7d
commit 9d5db547f0
11 changed files with 26 additions and 63 deletions

View File

@ -4,13 +4,7 @@
-- * straw mat - for animals and very poor NPC; also basis for other straw things
-- * straw bale - well, just a good source for building and decoration
-- Boilerplate to support localized strings if intllib mod is installed.
local S
if intllib then
S = intllib.Getter()
else
S = function(s) return s end
end
local S = cottages.S
-- an even simpler from of bed - usually for animals
-- it is a nodebox and not wallmounted because that makes it easier to replace beds with straw mats