Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/maps/random/elephantine.js
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | |||||
const oElephantInfant = "gaia/fauna_elephant_african_infant"; | const oElephantInfant = "gaia/fauna_elephant_african_infant"; | ||||
const oLion = "gaia/fauna_lion"; | const oLion = "gaia/fauna_lion"; | ||||
const oLioness = "gaia/fauna_lioness"; | const oLioness = "gaia/fauna_lioness"; | ||||
const oCrocodile = "gaia/fauna_crocodile_nile"; | const oCrocodile = "gaia/fauna_crocodile_nile"; | ||||
const oFish = "gaia/fish/tilapia"; | const oFish = "gaia/fish/tilapia"; | ||||
const oHawk = "birds/buzzard"; | const oHawk = "birds/buzzard"; | ||||
// The main temple on elephantine was very similar looking (Greco-Roman-Egyptian): | // The main temple on elephantine was very similar looking (Greco-Roman-Egyptian): | ||||
const oWonder = "structures/ptol_wonder"; | const oWonder = "structures/ptol/wonder"; | ||||
const oTemples = ["structures/kush_temple_amun", "structures/kush_temple"]; | const oTemples = ["structures/kush/temple_amun", "structures/kush/temple"]; | ||||
const oPyramid = "structures/kush_pyramid_large"; | const oPyramid = "structures/kush/pyramid_large"; | ||||
const oTowers = new Array(2).fill("uncapturable|structures/kush_sentry_tower").concat(["uncapturable|structures/kush_defense_tower"]); | const oTowers = new Array(2).fill("uncapturable|structures/kush/sentry_tower").concat(["uncapturable|structures/kush/defense_tower"]); | ||||
const oHeroes = Engine.FindTemplates("units/", true).filter(templateName => templateName.startsWith("units/kush_hero_")); | const oHeroes = Engine.FindTemplates("units/", true).filter(templateName => templateName.startsWith("units/kush/hero_")); | ||||
const oUnits = Engine.FindTemplates("units/", false).filter(templateName => | const oUnits = Engine.FindTemplates("units/", false).filter(templateName => | ||||
templateName.startsWith("units/kush_") && | templateName.startsWith("units/kush/") && | ||||
oHeroes.every(heroTemplateName => heroTemplateName != templateName) && | oHeroes.every(heroTemplateName => heroTemplateName != templateName) && | ||||
Engine.GetTemplate(templateName).Identity.VisibleClasses._string.split(" ").some(type => ["Soldier", "Healer", "Female"].indexOf(type) != -1)); | Engine.GetTemplate(templateName).Identity.VisibleClasses._string.split(" ").some(type => ["Soldier", "Healer", "Female"].indexOf(type) != -1)); | ||||
const aRock = actorTemplate("geology/stone_savanna_med"); | const aRock = actorTemplate("geology/stone_savanna_med"); | ||||
const aStatues = [ | const aStatues = [ | ||||
"props/structures/kushites/statue_bird", | "props/structures/kushites/statue_bird", | ||||
"props/structures/kushites/statue_lion", | "props/structures/kushites/statue_lion", | ||||
▲ Show 20 Lines • Show All 519 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator