Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/maps/random/extinct_volcano_triggers.js
Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | var waterWarningTexts = [ | ||||
markForTranslation("The rivers are standing high, we need to find a safe place!"), | markForTranslation("The rivers are standing high, we need to find a safe place!"), | ||||
markForTranslation("We have to find dry ground, our lands will drown soon!"), | markForTranslation("We have to find dry ground, our lands will drown soon!"), | ||||
markForTranslation("The lakes start swallowing the land, we have to find shelter!") | markForTranslation("The lakes start swallowing the land, we have to find shelter!") | ||||
]; | ]; | ||||
/** | /** | ||||
* Units to be garrisoned in the wooden towers. | * Units to be garrisoned in the wooden towers. | ||||
*/ | */ | ||||
var garrisonedUnits = "units/rome_legionnaire_marian"; | var garrisonedUnits = "units/rome_champion_infantry_swordsman_2"; | ||||
Trigger.prototype.RaisingWaterNotification = function() | Trigger.prototype.RaisingWaterNotification = function() | ||||
{ | { | ||||
Engine.QueryInterface(SYSTEM_ENTITY, IID_GuiInterface).AddTimeNotification({ | Engine.QueryInterface(SYSTEM_ENTITY, IID_GuiInterface).AddTimeNotification({ | ||||
"message": pickRandom(waterWarningTexts), | "message": pickRandom(waterWarningTexts), | ||||
"translateMessage": true | "translateMessage": true | ||||
}, waterRiseNotificationDuration * 60 * 1000); | }, waterRiseNotificationDuration * 60 * 1000); | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 116 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator