mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-18 06:13:55 -07:00
reaffect → reassign
Reported by GunChleoc on Transifex. This was SVN commit r21825.
This commit is contained in:
parent
44ec2e324e
commit
51afc72886
5 changed files with 5 additions and 5 deletions
|
|
@ -202,7 +202,7 @@ Trigger.prototype.tutorialGoals = [
|
|||
}
|
||||
},
|
||||
{
|
||||
"instructions": markForTranslation("While waiting for the phasing up, you may reaffect your idle workers to gathering the resources you are short of."),
|
||||
"instructions": markForTranslation("While waiting for the phasing up, you may reassign your idle workers to gathering the resources you are short of."),
|
||||
"IsDone": function()
|
||||
{
|
||||
let cmpPlayerManager = Engine.QueryInterface(SYSTEM_ENTITY, IID_PlayerManager);
|
||||
|
|
|
|||
|
|
@ -1468,7 +1468,7 @@ m.AttackPlan.prototype.update = function(gameState, events)
|
|||
let ent = gameState.getEntityById(this.unitCollUpdateArray[check]);
|
||||
if (!ent || !ent.position())
|
||||
continue;
|
||||
// Do not reaffect units which have reacted to an attack in that same turn
|
||||
// Do not reassign units which have reacted to an attack in that same turn
|
||||
if (ent.getMetadata(PlayerID, "lastAttackPlanUpdateTime") == time)
|
||||
continue;
|
||||
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ m.BaseManager.prototype.setAnchor = function(gameState, anchorEntity)
|
|||
return true;
|
||||
};
|
||||
|
||||
/* we lost our anchor. Let's reaffect our units and buildings */
|
||||
/* we lost our anchor. Let's reassign our units and buildings */
|
||||
m.BaseManager.prototype.anchorLost = function(gameState, ent)
|
||||
{
|
||||
this.anchor = undefined;
|
||||
|
|
|
|||
|
|
@ -2436,7 +2436,7 @@ m.HQ.prototype.resetBaseCache = function()
|
|||
|
||||
/**
|
||||
* Count gatherers returning resources in the number of gatherers of resourceSupplies
|
||||
* to prevent the AI always reaffecting idle workers to these resourceSupplies (specially in naval maps).
|
||||
* to prevent the AI always reassigning idle workers to these resourceSupplies (specially in naval maps).
|
||||
*/
|
||||
m.HQ.prototype.assignGatherers = function()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ m.TradeManager.prototype.trainMoreTraders = function(gameState, queues)
|
|||
let metadata = { "role": "trader" };
|
||||
if (this.tradeRoute.sea)
|
||||
{
|
||||
// if we have some merchand ships affected to transport, try first to reaffect them
|
||||
// if we have some merchand ships assigned to transport, try first to reassign them
|
||||
// May-be, there were produced at an early stage when no other ship were available
|
||||
// and the naval manager will train now more appropriate ships.
|
||||
let already = false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue