* Height from 65% of model height to 80%
* Width from 100% of model width to 150%
+ Stops a single SG from being able to completely block the flag, though you can still make it difficult to grab
* See fortressforever/fortressforever#166
Flag model bounds: 26.254800796509 x 69.179306283593
Flag bounds before this change: 26.254800796509 x 45.048884835839
Flag bounds after this change: 39.382202148438 x 55.155250549316
File local variables frustrated me to no end in the Don't Starve codebase; they have no real reason for existing and they only serve to limit mod-ability (their implementation would have to be copy+pasted for any other file to use it and the implementation can't be modified by other files), so they should be generally avoided.
Added DEFENDERS_OBJECTIVE_ONCAP, _ONFLAG, AND _ONCARRIER globals to allow for different objectives on D
Added UpdateDefendersObjective() function
- makes it easier to change objective and removes some redundancy
Added UpdateDefendersObjective() function
- makes it easier to change objective and removes some redundancy
- also fixes some old issues with _onflag and _oncarrier code
#58
DEFENDERS_OBJECTIVE_ONCARRIER plus code
Changed DEFENDERS_OBJECTIVE_ONFLAG and
DEFENDERS_OBJECTIVE_ONCARRIER to false
Modified/Added if statements to keep old code and still see only
the cap and to include the UpdateTeamObjectiveIcon() for D so
that it only gets called when necessary
* Add built-in support for trigger-based buttons (blue_security_trigger/red_security_trigger)
* Add built-in support for Lua-defined security shutdown length (SECURITY_LENGTH)
* Add built-in support for turning on/off lights, brushes, trigger_ff_clips, and trigger_hurts
* Add some helpful team-oriented trigger definitions in base_teamplay.lua