0ad/binaries/data/mods/public/simulation/components
wraitii 54ffd9df94 Various Unit AI fixes following UM / UAI changes
- Garrisoning cleanup (return true in some cases in ENTER when we do
change the state)
- Fix animal walking speed until D1901 lands
- Fix trading behaviour which occasionally bugged out.

Differential Revision: https://code.wildfiregames.com/D2045
This was SVN commit r22440.
2019-07-08 18:06:37 +00:00
..
interfaces Allow entities to be affected by Status Effects from ranged attacks. 2019-05-26 12:44:46 +00:00
tests Fix ESLint semicolon-related warnings 2019-07-01 11:09:19 +00:00
AIInterface.js some cleanups of ai and petra 2017-10-02 17:49:27 +00:00
AIProxy.js no need to transfer the full entity to the ai when destroyed 2018-03-25 19:17:01 +00:00
AlertRaiser.js Town bell - use matching classes, add a market alert 2018-02-24 04:35:26 +00:00
Armour.js Make the ai aware of invulnerable entities 2018-01-28 19:53:29 +00:00
Attack.js Add damage container also in the examples, following f4babd9b34 2019-07-05 18:15:42 +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
AuraManager.js Fix AuraManager OOS on rejoin following c90d72deb5 / D1108. 2018-01-25 16:45:58 +00:00
Auras.js Stop some auras from being applied extra times, don't apply player auras to templates, and fix some linting errors 2018-04-26 00:35:24 +00:00
Barter.js Remove a warning about missing markets when the player has issued a barter command just before losing the market, fixes #3645. 2018-04-16 01:04:53 +00:00
BattleDetection.js Some JS component cleanup. 2015-11-28 08:27:38 +00:00
Builder.js Add a {native} civ replacement in buildable and trainable template names 2017-12-07 18:33:08 +00:00
BuildingAI.js Allow attack and attack_impact sounds for multiple attacks 2017-10-28 16:52:37 +00:00
BuildRestrictions.js Add a couple of string manipulation functions to globalscripts. 2018-02-02 01:37:39 +00:00
Capturable.js Don't send MT_PlayerDefeated and MT_PlayerWon to components of entities who subscribed locally but aren't the playerentity of the affected player, equal to D733. 2018-04-13 15:52:41 +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 Add a time multiplier for AI levels 2018-03-03 10:05:04 +00:00
Damage.js Allow techs to affect unit counters stats. 2019-06-06 20:44:30 +00:00
DeathDamage.js Add damage container also in the examples, following f4babd9b34 2019-07-05 18:15:42 +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 UnitMotion - improve variable names and reuse a duplicated function (cleanup def47cb7ae) 2019-05-13 16:47:51 +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 fix b0d14419ac for turrets directly garrisoned from OutWorld 2018-04-04 16:23:17 +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 Wrap damage types in a Damage element in XML templates to prepare for genericizing them. 2019-06-16 17:08:27 +00:00
Heal.js Fix ESLint semicolon-related warnings 2019-07-01 11:09:19 +00:00
Health.js Health.js cleanup: add tests, add an "IsInjured" function, use this.hitpoints everywhere 2019-05-25 13:11:46 +00:00
Identity.js Rename Stables class to Stable since we use the singular forms. 2019-05-31 20:47:57 +00:00
Loot.js Allow loot to be modified by technologies and auras 2017-11-15 22:56:04 +00:00
Looter.js Merge resource agnostic branch by s0600204, fixes #3934. 2016-11-19 14:29:45 +00:00
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
MotionBall.js
Pack.js Add a time multiplier for AI levels 2018-03-03 10:05:04 +00:00
Player.js Don't send MT_PlayerDefeated and MT_PlayerWon to components of entities who subscribed locally but aren't the playerentity of the affected player, equal to D733. 2018-04-13 15:52:41 +00:00
PlayerManager.js Fix gaia units ignoring players without CCs. 2018-04-24 12:46:59 +00:00
ProductionQueue.js Calculate entity limit counts correctly when SpawnUnits fails in ProductionQueue. 2019-06-15 17:27:24 +00:00
Promotion.js Add an experience status bar 2019-04-25 15:58:54 +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 Remove silencing of resource-not-found errors (that were introduced with an enabled property in the JSON resource files that got removed later). Refs #3934. 2016-11-21 17:32:17 +00:00
ResourceGatherer.js Fix cheatTimeMultiplier broken by 5b314fc0ac 2018-04-02 20:30:32 +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 Allow attack and attack_impact sounds for multiple attacks 2017-10-28 16:52:37 +00:00
StatisticsTracker.js Fix stats of peak percentage of map controlled 2018-04-14 09:43:14 +00:00
StatusBars.js Update the minimap, range overlay renderer, and status bars when a player's color is changed in Atlas. 2019-06-26 19:16:57 +00:00
StatusEffectsReceiver.js Allow entities to be affected by Status Effects from ranged attacks. 2019-05-26 12:44:46 +00:00
TechnologyManager.js Fix ESLint semicolon-related warnings 2019-07-01 11:09:19 +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 Unify trade gain computation between simulation and ai 2017-10-21 08:40:11 +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 Various Unit AI fixes following UM / UAI changes 2019-07-08 18:06:37 +00:00
UnitMotionFlying.js Fix ESLint semicolon-related warnings 2019-07-01 11:09:19 +00:00
Upgrade.js Add a time multiplier for AI levels 2018-03-03 10:05:04 +00:00
ValueModificationManager.js Actually remove trailing whitespace for non-header files as well. 2016-11-23 13:02:58 +00:00
Visibility.js Revert a wrongly committed WIP change. 2015-09-18 19:54:19 +00:00
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