0ad/binaries/data/mods/public/simulation/components
Angen 21070a4592 Fix second tasked garrison holder to pickup not reacting properly
Move some pickup logic to Approaching state from parent Garrison state
to react to state changes among childrens of Garrison state properly.

Reported by: causative
Patch by: causative, Freagarach
Fixes: #5557
Differential Revision: https://code.wildfiregames.com/D2174
This was SVN commit r23268.
2019-12-20 20:05:19 +00:00
..
interfaces Show progress bar when upgrading entities 2019-12-07 13:40:40 +00:00
tests Remove hardcoding and quadruplication of the StatisticsTracker unit and building classes following 1d3ac14d35, refs #686. 2019-10-21 08:48:17 +00:00
AIInterface.js some cleanups of ai and petra 2017-10-02 17:49:27 +00:00
AIProxy.js Generalise Attack effects. All attacks, including death damage and splash, can deal any number of attack effects (damaging, capture, giving status effects.) 2019-08-22 18:00:33 +00:00
AlertRaiser.js Town bell - use matching classes, add a market alert 2018-02-24 04:35:26 +00:00
Armour.js Fix attack/armor techs not applying after 16b452cf91, and fix auras/techs affecting capture rate. 2019-08-25 18:03:32 +00:00
Attack.js Fix projectiles fired from sky / missing cast in Vector3D in b1659e7618. Removes a trailing .0 2019-09-24 14:21:06 +00:00
AttackDetection.js Expose INVALID_PLAYER to the JS simulation and use it instead of -1 for consistency with the C++ counterpart. 2018-01-22 01:02:29 +00:00
Auras.js Fix issue with D274/e16c4c4800 - modifications are a list of effects, not a single effect 2019-09-22 12:05:04 +00:00
Barter.js Adds a "properties"-property to resources and let mods be able to prevent resources from being bartered, traded and/or tributed. 2019-09-22 14:53:47 +00:00
BattleDetection.js
Builder.js Add a {native} civ replacement in buildable and trainable template names 2017-12-07 18:33:08 +00:00
BuildingAI.js Generalise Attack effects. All attacks, including death damage and splash, can deal any number of attack effects (damaging, capture, giving status effects.) 2019-08-22 18:00:33 +00:00
BuildRestrictions.js Add a couple of string manipulation functions to globalscripts. 2018-02-02 01:37:39 +00:00
Capturable.js Generalise Attack effects. All attacks, including death damage and splash, can deal any number of attack effects (damaging, capture, giving status effects.) 2019-08-22 18:00:33 +00:00
CeasefireManager.js Add a GUI notification when the ceasefire ended so that devs and modders can do fancy things with that event and 2017-03-02 18:02:59 +00:00
Cost.js Update the fast-actions cheat and AI bonuses to use the modifiers manager 2019-09-22 07:46:29 +00:00
DeathDamage.js Move "PlayersToDamage" from calling functions to "CauseDamageOverArea" and replace it with FriendlyFire. 2019-09-07 13:48:11 +00:00
DelayedDamage.js Move "PlayersToDamage" from calling functions to "CauseDamageOverArea" and replace it with FriendlyFire. 2019-09-07 13:48:11 +00:00
EndGameManager.js Spawn proportionately less gaia attackers when players become defeated. 2018-04-15 16:47:51 +00:00
EntityLimits.js Fix an issue with upgrade and entity limits. 2017-10-29 08:03:43 +00:00
Fogging.js Fix warning introduced in the mirage cleanup, 905763004a 2019-05-08 19:24:20 +00:00
Formation.js Fix units not reentering FORMATIONMEMBER.IDLE when they are promoted or stopped 2019-12-14 15:47:26 +00:00
FormationAttack.js Remove formation minimum range and stop formation when in member state 2018-04-12 00:27:03 +00:00
Foundation.js Set relative hitpoints for completed foundations 2018-04-09 03:02:48 +00:00
Garrisonable.js Option to disable garrisoning of heroes in regicide gamemode. 2017-05-22 01:18:51 +00:00
GarrisonHolder.js Make damage bonuses, attack preferred classes and garrisonHolder ejectable classes use MatchesClassList. 2019-08-24 08:52:15 +00:00
Gate.js Fix mirages (and any other entity that blocks something but not BlockConstruction) blocking foundation construction following 29492badb7 / D21. 2018-03-26 15:18:53 +00:00
Guard.js Expose INVALID_PLAYER to the JS simulation and use it instead of -1 for consistency with the C++ counterpart. 2018-01-22 01:02:29 +00:00
GuiInterface.js Apply modifications to template values based on entity owner instead watching player 2019-12-14 20:10:32 +00:00
Heal.js Fix ESLint semicolon-related warnings 2019-07-01 11:09:19 +00:00
Health.js Make health correctly recalculate its cached values when the entity changes owner. 2019-09-16 17:07:50 +00:00
Identity.js Match unit classes with templates names 2019-09-01 14:08:07 +00:00
Loot.js Allow loot to be modified by technologies and auras 2017-11-15 22:56:04 +00:00
Looter.js
Market.js Expose INVALID_PLAYER to the JS simulation and use it instead of -1 for consistency with the C++ counterpart. 2018-01-22 01:02:29 +00:00
Mirage.js Fix ESLint semicolon-related warnings 2019-07-01 11:09:19 +00:00
ModifiersManager.js Fix issue with D274/e16c4c4800 - modifications are a list of effects, not a single effect 2019-09-22 12:05:04 +00:00
MotionBall.js
Pack.js Update the fast-actions cheat and AI bonuses to use the modifiers manager 2019-09-22 07:46:29 +00:00
Player.js Adds a "properties"-property to resources and let mods be able to prevent resources from being bartered, traded and/or tributed. 2019-09-22 14:53:47 +00:00
PlayerManager.js Add a system component to handle stat modifiers, make technologies and auras use this common interface. 2019-08-24 07:37:07 +00:00
ProductionQueue.js Allow modders to play an animation when objects with production queues are researching techs. 2019-12-14 20:49:04 +00:00
Promotion.js Fix cc1ea7cca0 error in Promotion when promoting an entity that died on the same turn. 2019-08-31 12:38:38 +00:00
RallyPoint.js Spawn units in rally point direction 2018-02-07 20:58:07 +00:00
RangeOverlayManager.js Revert unintentional function rename in 40cc3aaa09. 2018-01-22 06:02:52 +00:00
Repairable.js Avoid NaN in Foundation and Repairable 2018-02-16 21:56:35 +00:00
ResourceDropsite.js
ResourceGatherer.js Update the fast-actions cheat and AI bonuses to use the modifiers manager 2019-09-22 07:46:29 +00:00
ResourceSupply.js Clean ResourceSupply up. 2019-03-06 16:44:24 +00:00
ResourceTrickle.js Actually remove trailing whitespace for non-header files as well. 2016-11-23 13:02:58 +00:00
Settlement.js
SkirmishReplacer.js Fix ESLint semicolon-related warnings 2019-07-01 11:09:19 +00:00
Sound.js Replace {gender} by {phenotype} and support this tag in VisualActor. 2019-08-01 19:14:40 +00:00
StatisticsTracker.js Remove hardcoding and quadruplication of the StatisticsTracker unit and building classes following 1d3ac14d35, refs #686. 2019-10-21 08:48:17 +00:00
StatusBars.js Show progress bar when upgrading entities 2019-12-07 13:40:40 +00:00
StatusEffectsReceiver.js GUI support for Status Effects and extend their functionality to all attack effects following 16b452cf91 2019-09-15 09:24:52 +00:00
TechnologyManager.js Fix phase notification accidentally deleted in e16c4c4800 2019-09-29 08:53:28 +00:00
TerritoryDecay.js Expose INVALID_PLAYER to the JS simulation and use it instead of -1 for consistency with the C++ counterpart. 2018-01-22 01:02:29 +00:00
TerritoryDecayManager.js Cache a list of TerritoryDecay components in the TerritoryDecayManager instead of retrieving it each time 2017-10-09 19:38:56 +00:00
Timer.js Timer component cleanup. Patch by Stan, fixes #4158. 2016-11-22 12:28:22 +00:00
Trader.js Move hardcoded gain per garrisoned trader on ship to template 2019-12-14 20:30:56 +00:00
TrainingRestrictions.js Calculate entity limit counts correctly when SpawnUnits fails in ProductionQueue. 2019-06-15 17:27:24 +00:00
Trigger.js Handle entity renames in regicide 2019-01-04 20:09:28 +00:00
TriggerPoint.js PlayerManager GetAllPlayers helper function to remove some duplication. 2017-12-08 20:39:40 +00:00
UnitAI.js Fix second tasked garrison holder to pickup not reacting properly 2019-12-20 20:05:19 +00:00
UnitMotionFlying.js Fix UnitmotionFlying and implement CMessageMotionUpdate::FromJSVal 2019-12-06 17:36:25 +00:00
Upgrade.js Show progress bar when upgrading entities 2019-12-07 13:40:40 +00:00
ValueModificationManager.js Actually remove trailing whitespace for non-header files as well. 2016-11-23 13:02:58 +00:00
Visibility.js
VisionSharing.js Expose INVALID_PLAYER to the JS simulation and use it instead of -1 for consistency with the C++ counterpart. 2018-01-22 01:02:29 +00:00
WallPiece.js Amend wallpiece lengths in preparation for D900. 2017-12-05 02:39:50 +00:00
WallSet.js Remove civ-specific hardcoding in rmgen wall-placement script. 2017-12-10 03:12:54 +00:00
Wonder.js Fix documentation of non system component. 2017-03-24 07:09:28 +00:00