Tweak force.lua.

develop
expwnent 2014-07-03 16:33:26 -04:00
parent b817205fd6
commit e4c449c3c2
1 changed files with 23 additions and 1 deletions

@ -1,4 +1,4 @@
-- force.lua -- scripts/modtools/force.lua
-- author Putnam -- author Putnam
-- edited by expwnent -- edited by expwnent
-- Forces an event. -- Forces an event.
@ -24,6 +24,28 @@ validArgs = validArgs or utils.invert({
local args = utils.processArgs({...}, validArgs) local args = utils.processArgs({...}, validArgs)
if next(args) == nil or args.help then if next(args) == nil or args.help then
print([[force usage
arguments:
-eventType event
specify the type of the event to trigger
examples:
MegaBeast
Migrants
Caravan
Diplomat
WildlifeCurious
WildlifeMischievous
WildlifeFlier
CivAttack
NightCreature
-civ entity
specify the civ of the event, if applicable
examples:
player
MOUNTAIN
EVIL
28
]])
print('force: -eventType [Megabeast, Migrants, Caravan, Diplomat, WildlifeCurious, WildlifeMischievous, WildlifeFlier, CivAttack, NightCreature] -civ [player,ENTITY_ID]') print('force: -eventType [Megabeast, Migrants, Caravan, Diplomat, WildlifeCurious, WildlifeMischievous, WildlifeFlier, CivAttack, NightCreature] -civ [player,ENTITY_ID]')
return return
end end