Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/ai/petra/chatHelper.js
var PETRA = function(m) | (function(m) | ||||
{ | { | ||||
m.launchAttackMessages = { | m.launchAttackMessages = { | ||||
"hugeAttack": [ | "hugeAttack": [ | ||||
markForTranslation("I am starting a massive military campaign against %(_player_)s, come and join me."), | markForTranslation("I am starting a massive military campaign against %(_player_)s, come and join me."), | ||||
markForTranslation("I have set up a huge army to crush %(_player_)s. Join me and you will have your share of the loot.") | markForTranslation("I have set up a huge army to crush %(_player_)s. Join me and you will have your share of the loot.") | ||||
], | ], | ||||
"other": [ | "other": [ | ||||
▲ Show 20 Lines • Show All 223 Lines • ▼ Show 20 Lines | Engine.PostCommand(PlayerID, { | ||||
"message": "/msg " + gameState.sharedScript.playersData[player].name + " " + | "message": "/msg " + gameState.sharedScript.playersData[player].name + " " + | ||||
pickRandom(this.sendDiplomacyRequestMessages[requestType][status]), | pickRandom(this.sendDiplomacyRequestMessages[requestType][status]), | ||||
"translateMessage": true, | "translateMessage": true, | ||||
"translateParameters": ["_player_"], | "translateParameters": ["_player_"], | ||||
"parameters": { "_player_": player } | "parameters": { "_player_": player } | ||||
}); | }); | ||||
}; | }; | ||||
return m; | }(PETRA)); | ||||
}(PETRA); |
Wildfire Games · Phabricator