|
|
|
@ -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
|
|
|
|
|
|
|
|
|
|