Tweak outside-only.lua.

develop
expwnent 2014-07-03 17:38:40 -04:00
parent 72a0a9acf2
commit 1815b09f19
1 changed files with 14 additions and 2 deletions

@ -1,4 +1,4 @@
--outsideOnly.lua
--scripts/modtools/outsideOnly.lua
--author expwnent
--enables outside only and inside only buildings
@ -88,7 +88,19 @@ validArgs = validArgs or utils.invert({
})
local args = utils.processArgs({...}, validArgs)
if args.help then
--print help message
print([[scripts/modtools/outside-only
arguments
-help
print this help message
-clear
clears the list of registered buildings
-checkEvery n
set how often existing buildings are checked for whether they are in the appropriate location to n ticks
-type [EITHER, OUTSIDE_ONLY, INSIDE_ONLY]
specify what sort of restriction to put on the building
-building name
specify the id of the building
]])
return
end