Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
functionality for mission objectives
allows for tile types _other than_ alien brains to count towards objectives unifying alien base control modules, synomium devices and alien brain handling into a common set of functions. using "objectiveType" in the deployment section for a missionSite will define which type of MCD to check for when tallying mission objectives. using "objectivesRequired" allows definition of how many of said tile types must be destroyed in order for the mission to be considered a success note that this is a MAXIMUM value, and for practical reasons we will use the lower between this number and the number of actual objects on the map, assuming this is non-zero. "objectivePopup" will define the message that will appear between turns, after the objective requirements have been fulfilled. "objectiveComplete" and "objectiveFailed" are both in the form [string, int] and represent the string and score adjustment to be shown on the debriefing screen when one or the other of the appropriate condition is met. "despawnPenalty" represents how many points the aliens will receive when this site despawns due to XCom negligence. "points" defines how many points the aliens will receive each half hour that the mission site stays active. this does not stack with the despawn penalty. if someone wants to add this all to the wiki i'd be most grateful.
- Loading branch information
1 parent
50f32d3
commit 0d75384
Showing
14 changed files
with
309 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.