Cleaned up eventful.lua.eventType.

develop
expwnent 2014-06-30 03:16:45 -04:00
parent 8ab87b45d0
commit fe875f7c02
1 changed files with 16 additions and 1 deletions

@ -132,5 +132,20 @@ local function invertTable(tbl)
end
return ret
end
eventType=invertTable{[0]="TICK","JOB_INITIATED","JOB_COMPLETED","UNIT_DEATH","ITEM_CREATED", "BUILDING","CONSTRUCTION","SYNDROME","INVASION","INVENTORY_CHANGE","REPORT","UNIT_ATTACK","UNLOAD","EVENT_MAX"}
eventType=invertTable{
[0]="TICK",
"JOB_INITIATED",
"JOB_COMPLETED",
"UNIT_DEATH",
"ITEM_CREATED",
"BUILDING",
"CONSTRUCTION",
"SYNDROME",
"INVASION",
"INVENTORY_CHANGE",
"REPORT",
"UNIT_ATTACK",
"UNLOAD",
"EVENT_MAX"
}
return _ENV