0ad/binaries/data/mods/public/simulation/components
Freagarach 5fba65e97d Don't lose trade gain when ordering a trader.
Introduced in 8f04d2ee90 due to overeagerly stopping trade when leaving
the trading-state.
Noticed in:
https://wildfiregames.com/forum/topic/41264-alpha-25-pre-releaserelease-candidate-build-testing/page/9/?tab=comments#comment-437888.

Differential revision: https://code.wildfiregames.com/D4197
Comment by: @Stan
This was SVN commit r25835.
2021-07-23 05:24:41 +00:00
..
interfaces TreasureCollecter -> TreasureCollector. 2021-05-18 16:51:44 +00:00
tests Improvement to autoqueue usability 2021-06-12 09:43:57 +00:00
AIInterface.js Move PopulationBonus from cmpCost to new cmpPopulation. 2020-12-14 18:17:59 +00:00
AIProxy.js Let PetraAI use the GarrisonHolder from cmpGarrisonable instead of UnitAI. 2021-03-12 19:47:31 +00:00
AlertRaiser.js Fix raising alert. 2021-04-02 17:01:59 +00:00
Attack.js Require 'Resistance' in CanAttack 2021-05-19 12:36:22 +00:00
AttackDetection.js Fix cosmetic ESLint warnings in JS components (and their tests). 2021-03-20 09:02:22 +00:00
Auras.js Technically seperate Turrets from GarrisonHolder. 2021-03-26 10:18:30 +00:00
AutoBuildable.js Remove duplication from cmpAutoBuildable init. 2021-01-10 07:25:52 +00:00
Barter.js Make PlayerHasMarket event-based. 2020-10-29 09:22:48 +00:00
BattleDetection.js
Builder.js Allow toggling repairability. 2021-05-06 14:25:33 +00:00
BuildingAI.js Use a map for the weighted list. 2021-04-16 07:02:58 +00:00
BuildRestrictions.js Fix cosmetic ESLint warnings in JS components (and their tests). 2021-03-20 09:02:22 +00:00
Capturable.js Move Mirage information to respective components. 2021-03-20 16:01:11 +00:00
CeasefireManager.js Fix cosmetic ESLint warnings in JS components (and their tests). 2021-03-20 09:02:22 +00:00
Cost.js Don't pass owner to initialise a foundation. 2021-04-04 06:38:16 +00:00
DeathDamage.js Rename Attacking.js-helper to Attack.js and its global to AttackHelper. 2021-04-16 06:55:23 +00:00
DelayedDamage.js Rename Attacking.js-helper to Attack.js and its global to AttackHelper. 2021-04-16 06:55:23 +00:00
EndGameManager.js Fix cosmetic ESLint warnings in JS components (and their tests). 2021-03-20 09:02:22 +00:00
EntityLimits.js Fix cosmetic ESLint warnings in JS components (and their tests). 2021-03-20 09:02:22 +00:00
Fogging.js Fix CanAttack for mirages following 88549e77e1 2021-05-22 10:56:40 +00:00
Formation.js Better fix for formation waltzing, revert 5d96346ac5. 2021-02-10 09:59:39 +00:00
FormationAttack.js Fix cosmetic ESLint warnings in JS components (and their tests). 2021-03-20 09:02:22 +00:00
Foundation.js Fix foundation and corpses phenotypes being different than the source entity. 2021-07-20 22:04:19 +00:00
Garrisonable.js Fix garrison rally point when unloading. 2021-04-04 05:57:42 +00:00
GarrisonHolder.js Use interval instead of timeout for healing in GarrisonHolder. 2021-04-04 06:32:53 +00:00
Gate.js Fix foundation committing following 592453c62f (pushing) 2021-04-06 12:28:53 +00:00
Guard.js
GuiInterface.js Don't show turreted entities as idle. 2021-06-29 08:51:21 +00:00
Heal.js Attack using cmpAttack instead of UnitAI. 2021-04-12 06:51:39 +00:00
Health.js Fix foundation and corpses phenotypes being different than the source entity. 2021-07-20 22:04:19 +00:00
Identity.js Fix foundation and corpses phenotypes being different than the source entity. 2021-07-20 22:04:19 +00:00
Loot.js
Looter.js Add safeguards for all queryOwnerInterface calls 2020-09-19 17:55:34 +00:00
Market.js Move trader gain to cmpMarket. 2021-04-07 06:58:36 +00:00
Mirage.js Store components to be miraged in cmpFogging. 2021-03-20 16:14:35 +00:00
ModifiersManager.js Fix VisualActor tech changes for mirages 2020-11-28 08:57:15 +00:00
MotionBall.js
Pack.js Move Can*-function implementations from UnitAI to their respective components. 2021-03-27 11:22:34 +00:00
Player.js Convert InitAttributes disabled techs/templates & starting tech to triggers. 2021-03-20 09:36:56 +00:00
PlayerManager.js Do not process commands sent by observers. 2020-09-22 18:28:21 +00:00
Population.js Move PopulationBonus from cmpCost to new cmpPopulation. 2020-12-14 18:17:59 +00:00
ProductionQueue.js Disable autoqueue when changing ownership. 2021-07-05 06:18:26 +00:00
Promotion.js Fix duplicating promoting entities in XP trickling structures. 2021-05-15 05:40:13 +00:00
RallyPoint.js Use transform to finish construction. 2021-04-06 12:54:33 +00:00
RangeOverlayManager.js Fix cosmetic ESLint warnings in JS components (and their tests). 2021-03-20 09:02:22 +00:00
Repairable.js Mirage unrepairable in cmpRepairable. 2021-06-15 08:46:14 +00:00
Resistance.js Fix CanAttack for mirages following 88549e77e1 2021-05-22 10:56:40 +00:00
ResourceDropsite.js Commit resources at dropsite and add tests. 2021-01-11 11:59:07 +00:00
ResourceGatherer.js Count resource gatherers also when returning their resources. 2021-04-30 06:24:13 +00:00
ResourceSupply.js Move Mirage information to respective components. 2021-03-20 16:01:11 +00:00
ResourceTrickle.js Allow the interval to be changed in the templates for the Resource Trickle component. 2020-07-24 18:39:51 +00:00
Settlement.js
SkirmishReplacer.js Use seperate message to handle skirmish replacements. 2021-03-08 07:01:17 +00:00
Sound.js Replace {gender} by {phenotype} and support this tag in VisualActor. 2019-08-01 19:14:40 +00:00
StatisticsTracker.js Add resource and population counts to the summary screen. 2021-01-20 09:24:26 +00:00
StatusBars.js cp => CapturePoints 2020-12-23 17:26:36 +00:00
StatusEffectsReceiver.js Rename Attacking.js-helper to Attack.js and its global to AttackHelper. 2021-04-16 06:55:23 +00:00
TechnologyManager.js Fix cosmetic ESLint warnings in JS components (and their tests). 2021-03-20 09:02:22 +00:00
TerritoryDecay.js Allow decaying only in enemy territory. 2021-05-18 12:43:01 +00:00
TerritoryDecayManager.js
Timer.js Allow timers to update their interval. 2020-05-19 15:42:57 +00:00
Trader.js Don't store origin market in this.goods in cmpTrader. 2021-04-07 07:04:57 +00:00
TrainingRestrictions.js Allow to limit unit count per match. 2020-12-29 11:00:54 +00:00
Treasure.js Fix treasure in statistics 2021-07-13 16:46:32 +00:00
TreasureCollector.js TreasureCollecter -> TreasureCollector. 2021-05-18 16:51:44 +00:00
Trigger.js Triggers: prevent event names from conflicting with added methods 2021-05-20 08:26:04 +00:00
TriggerPoint.js Allow registering custom data for triggers 2021-05-09 16:55:36 +00:00
Turretable.js Allow to specify subunits on creation. 2021-04-05 05:22:25 +00:00
TurretHolder.js Allow to specify subunits on creation. 2021-04-05 05:22:25 +00:00
UnitAI.js Don't lose trade gain when ordering a trader. 2021-07-23 05:24:41 +00:00
UnitMotionFlying.js Further Pushing tweaks: more customisable, longer ranges. 2021-06-06 15:25:52 +00:00
Upgrade.js Do not allow upgrading when entity is producing and vice versa. 2020-10-04 10:20:20 +00:00
Upkeep.js Add Upkeep component. 2021-04-04 06:52:20 +00:00
ValueModificationManager.js
Visibility.js
VisionSharing.js
WallPiece.js Correct WallPiece schema help comments 2020-05-21 19:11:00 +00:00
WallSet.js Add help comments to WallPiece component schema 2020-05-21 04:34:13 +00:00
Wonder.js