Ticket #3930: 3930.5.diff
File 3930.5.diff, 45.0 KB (added by , 8 years ago) |
---|
-
binaries/data/mods/public/gui/session/selection_panels.js
g_SelectionPanels.Research = { 800 800 data.entType = data.item.pair ? [data.item.top, data.item.bottom] : [data.item]; 801 801 data.template = data.entType.map(GetTechnologyData); 802 802 // abort if no template found for any of the techs 803 803 if (data.template.some(v => !v)) 804 804 return false; 805 806 for (let template of data.template) 807 for (let res in template.cost) 808 template.cost[res] *= data.unitEntState.production.techCostMultiplier[res]; 809 805 810 // index one row below 806 811 var shiftedIndex = data.i + data.rowLength; 807 812 data.positions = data.item.pair ? [data.i, shiftedIndex] : [shiftedIndex]; 808 813 data.positionsToHide = data.item.pair ? [] : [data.i]; 809 814 -
binaries/data/mods/public/simulation/components/GuiInterface.js
GuiInterface.prototype.GetEntityState = 291 291 292 292 let cmpMarket = Engine.QueryInterface(ent, IID_Market); 293 293 if (cmpMarket) 294 294 ret.market = { 295 295 "land": cmpMarket.HasType("land"), 296 "naval": cmpMarket.HasType("naval") ,296 "naval": cmpMarket.HasType("naval") 297 297 }; 298 298 299 299 let cmpPack = Engine.QueryInterface(ent, IID_Pack); 300 300 if (cmpPack) 301 301 ret.pack = { 302 302 "packed": cmpPack.IsPacked(), 303 "progress": cmpPack.GetProgress() ,303 "progress": cmpPack.GetProgress() 304 304 }; 305 305 306 306 let cmpProductionQueue = Engine.QueryInterface(ent, IID_ProductionQueue); 307 307 if (cmpProductionQueue) 308 308 ret.production = { 309 309 "entities": cmpProductionQueue.GetEntitiesList(), 310 310 "technologies": cmpProductionQueue.GetTechnologiesList(), 311 "queue": cmpProductionQueue.GetQueue(), 311 "techCostMultiplier": cmpProductionQueue.GetTechCostMultiplier(), 312 "queue": cmpProductionQueue.GetQueue() 312 313 }; 313 314 314 315 let cmpTrader = Engine.QueryInterface(ent, IID_Trader); 315 316 if (cmpTrader) 316 317 ret.trader = { -
binaries/data/mods/public/simulation/components/ProductionQueue.js
ProductionQueue.prototype.Schema = 27 27 "<attribute name='datatype'>" + 28 28 "<value>tokens</value>" + 29 29 "</attribute>" + 30 30 "<text/>" + 31 31 "</element>" + 32 "</optional>"; 32 "</optional>" + 33 "<element name='TechCostMultiplier' a:help='Multiplier to modify ressources cost and research time of technologies searched in this building.'>" + 34 "<interleave>" + 35 "<element name='food'><ref name='nonNegativeDecimal'/></element>" + 36 "<element name='wood'><ref name='nonNegativeDecimal'/></element>" + 37 "<element name='stone'><ref name='nonNegativeDecimal'/></element>" + 38 "<element name='metal'><ref name='nonNegativeDecimal'/></element>" + 39 "<element name='time'><ref name='nonNegativeDecimal'/></element>" + 40 "</interleave>" + 41 "</element>"; 33 42 34 43 ProductionQueue.prototype.Init = function() 35 44 { 36 45 this.nextID = 1; 37 46 … … ProductionQueue.prototype.GetTechnologie 214 223 } 215 224 216 225 return ret; 217 226 }; 218 227 228 ProductionQueue.prototype.GetTechCostMultiplier = function() 229 { 230 let techCostMultiplier = {} 231 for (let res in this.template.TechCostMultiplier) 232 techCostMultiplier[res] = ApplyValueModificationsToEntity("ProductionQueue/TechCostMultiplier/"+res, +this.template.TechCostMultiplier[res], this.entity); 233 return techCostMultiplier; 234 }; 235 219 236 ProductionQueue.prototype.IsTechnologyResearchedOrInProgress = function(tech) 220 237 { 221 238 if (!tech) 222 239 return false; 223 240 … … ProductionQueue.prototype.AddBatch = fun 319 336 var cmpDataTemplateManager = Engine.QueryInterface(SYSTEM_ENTITY, IID_DataTemplateManager); 320 337 var template = cmpDataTemplateManager.GetTechnologyTemplate(templateName); 321 338 if (!template) 322 339 return; 323 340 var cmpPlayer = QueryOwnerInterface(this.entity); 324 var time = template.researchTime * cmpPlayer.GetCheatTimeMultiplier(); 341 let techCostMultiplier = this.GetTechCostMultiplier(); 342 let time = techCostMultiplier.time * template.researchTime * cmpPlayer.GetCheatTimeMultiplier(); 325 343 326 344 var cost = {}; 327 for each (var r in ["food", "wood", "stone", "metal"])328 cost[r ] = Math.floor(template.cost[r]);329 345 for (let res in template.cost) 346 cost[res] = Math.floor(techCostMultiplier[res] * template.cost[res]); 347 330 348 // TrySubtractResources should report error to player (they ran out of resources) 331 349 if (!cmpPlayer.TrySubtractResources(cost)) 332 350 return; 333 351 334 352 // Tell the technology manager that we have started researching this so that people can't research the same -
binaries/data/mods/public/simulation/templates/other/maur_palace.xml
23 23 units/maur_champion_maiden_archer 24 24 units/maur_hero_chanakya 25 25 units/maur_hero_maurya 26 26 units/maur_hero_ashoka 27 27 </Entities> 28 <TechCostMultiplier> 29 <food>1.0</food> 30 <wood>1.0</wood> 31 <stone>1.0</stone> 32 <metal>1.0</metal> 33 <time>1.0</time> 34 </TechCostMultiplier> 28 35 </ProductionQueue> 29 36 <TerritoryInfluence> 30 37 <Root>false</Root> 31 38 <Radius>38</Radius> 32 39 <Weight>65535</Weight> -
binaries/data/mods/public/simulation/templates/structures/athen_gymnasion.xml
37 37 <BatchTimeModifier>0.7</BatchTimeModifier> 38 38 <Entities datatype="tokens"> 39 39 units/{civ}_champion_infantry 40 40 units/{civ}_champion_ranged 41 41 </Entities> 42 <TechCostMultiplier> 43 <food>1.0</food> 44 <wood>1.0</wood> 45 <stone>1.0</stone> 46 <metal>1.0</metal> 47 <time>1.0</time> 48 </TechCostMultiplier> 42 49 </ProductionQueue> 43 50 <VisualActor> 44 51 <Actor>structures/athenians/gymnasion.xml</Actor> 45 52 <FoundationActor>structures/fndn_6x6.xml</FoundationActor> 46 53 </VisualActor> -
binaries/data/mods/public/simulation/templates/structures/athen_prytaneion.xml
42 42 <Entities datatype="tokens"> 43 43 units/{civ}_hero_themistocles 44 44 units/{civ}_hero_pericles 45 45 units/{civ}_hero_iphicrates 46 46 </Entities> 47 <TechCostMultiplier> 48 <food>1.0</food> 49 <wood>1.0</wood> 50 <stone>1.0</stone> 51 <metal>1.0</metal> 52 <time>1.0</time> 53 </TechCostMultiplier> 47 54 <Technologies datatype="tokens"> 48 55 hellenes/special_long_walls 49 56 hellenes/special_iphicratean_reforms 50 57 </Technologies> 51 58 </ProductionQueue> -
binaries/data/mods/public/simulation/templates/structures/brit_kennel.xml
56 56 <ProductionQueue> 57 57 <BatchTimeModifier>0.7</BatchTimeModifier> 58 58 <Entities datatype="tokens"> 59 59 units/brit_war_dog_b 60 60 </Entities> 61 <TechCostMultiplier> 62 <food>1.0</food> 63 <wood>1.0</wood> 64 <stone>1.0</stone> 65 <metal>1.0</metal> 66 <time>1.0</time> 67 </TechCostMultiplier> 61 68 </ProductionQueue> 62 69 <VisualActor> 63 70 <Actor>structures/celts/kennel.xml</Actor> 64 71 <FoundationActor>structures/fndn_2x2.xml</FoundationActor> 65 72 </VisualActor> -
binaries/data/mods/public/simulation/templates/structures/cart_super_dock.xml
44 44 <Static width="42.0" depth="58.0"/> 45 45 </Obstruction> 46 46 <Position> 47 47 <Floating>true</Floating> 48 48 </Position> 49 <ProductionQueue> 50 <BatchTimeModifier>0.7</BatchTimeModifier> 51 <Entities datatype="tokens"> 52 units/{civ}_ship_bireme 53 units/{civ}_ship_trireme 54 units/{civ}_ship_quinquereme 55 </Entities> 56 <TechCostMultiplier> 57 <food>1.0</food> 58 <wood>1.0</wood> 59 <stone>1.0</stone> 60 <metal>1.0</metal> 61 <time>1.0</time> 62 </TechCostMultiplier> 63 <Technologies datatype="tokens"> 64 carthaginians/training_phoenician_naval_architects 65 carthaginians/special_exploration 66 </Technologies> 67 </ProductionQueue> 49 68 <RallyPointRenderer> 50 69 <LinePassabilityClass>ship</LinePassabilityClass> 51 70 </RallyPointRenderer> 52 71 <Sound> 53 72 <SoundGroups> … … 60 79 <TerritoryInfluence> 61 80 <Root>true</Root> 62 81 <Radius>200</Radius> 63 82 <Weight>25000</Weight> 64 83 </TerritoryInfluence> 65 <ProductionQueue>66 <BatchTimeModifier>0.7</BatchTimeModifier>67 <Entities datatype="tokens">68 units/{civ}_ship_bireme69 units/{civ}_ship_trireme70 units/{civ}_ship_quinquereme71 </Entities>72 <Technologies datatype="tokens">73 carthaginians/training_phoenician_naval_architects74 carthaginians/special_exploration75 </Technologies>76 </ProductionQueue>77 84 <Vision> 78 85 <Range>100</Range> 79 86 </Vision> 80 87 <VisualActor> 81 88 <Actor>structures/carthaginians/super_dock.xml</Actor> -
binaries/data/mods/public/simulation/templates/structures/mace_library.xml
22 22 <Obstruction> 23 23 <Static width="25.0" depth="30.0"/> 24 24 </Obstruction> 25 25 <ProductionQueue> 26 26 <BatchTimeModifier>0.7</BatchTimeModifier> 27 <TechCostMultiplier> 28 <food>1.0</food> 29 <wood>1.0</wood> 30 <stone>1.0</stone> 31 <metal>1.0</metal> 32 <time>1.0</time> 33 </TechCostMultiplier> 27 34 <Technologies datatype="tokens"> 28 35 successors/special_hellenistic_metropolis 29 36 </Technologies> 30 37 </ProductionQueue> 31 38 <Sound> -
binaries/data/mods/public/simulation/templates/structures/mace_siege_workshop.xml
29 29 units/{civ}_mechanical_siege_oxybeles_packed 30 30 units/{civ}_mechanical_siege_lithobolos_packed 31 31 units/{civ}_mechanical_siege_ram 32 32 units/{civ}_mechanical_siege_tower 33 33 </Entities> 34 <TechCostMultiplier> 35 <food>1.0</food> 36 <wood>1.0</wood> 37 <stone>1.0</stone> 38 <metal>1.0</metal> 39 <time>1.0</time> 40 </TechCostMultiplier> 34 41 <Technologies datatype="tokens"> 35 42 siege_attack 36 43 siege_armor 37 44 siege_cost_metal 38 45 siege_cost_wood -
binaries/data/mods/public/simulation/templates/structures/maur_elephant_stables.xml
36 36 <Entities datatype="tokens"> 37 37 units/{civ}_support_elephant 38 38 units/{civ}_elephant_archer_b 39 39 units/{civ}_champion_elephant 40 40 </Entities> 41 <TechCostMultiplier> 42 <food>1.0</food> 43 <wood>1.0</wood> 44 <stone>1.0</stone> 45 <metal>1.0</metal> 46 <time>1.0</time> 47 </TechCostMultiplier> 41 48 </ProductionQueue> 42 49 <Sound> 43 50 <SoundGroups> 44 51 <select>interface/select/building/sel_elephant_stables.xml</select> 45 52 <constructed>interface/complete/building/complete_elephant_stables.xml</constructed> -
binaries/data/mods/public/simulation/templates/structures/pers_apadana.xml
34 34 <Tooltip>"Satrapy Tribute": Gain a trickle of food, wood, stone, and metal resources. Train Persian heroes and their "Immortals" bodyguards.</Tooltip> 35 35 </Identity> 36 36 <Obstruction> 37 37 <Static width="30.0" depth="30.0"/> 38 38 </Obstruction> 39 <TerritoryInfluence>40 <Root>true</Root>41 <Radius>48</Radius>42 </TerritoryInfluence>43 39 <ProductionQueue> 44 40 <BatchTimeModifier>0.8</BatchTimeModifier> 45 41 <Entities datatype="tokens"> 46 42 units/{civ}_hero_cyrus 47 43 units/{civ}_hero_darius 48 44 units/{civ}_hero_xerxes 49 45 units/{civ}_champion_infantry 50 46 </Entities> 47 <TechCostMultiplier> 48 <food>1.0</food> 49 <wood>1.0</wood> 50 <stone>1.0</stone> 51 <metal>1.0</metal> 52 <time>1.0</time> 53 </TechCostMultiplier> 51 54 <Technologies datatype="tokens"> 52 55 persians/immortals 53 56 </Technologies> 54 57 </ProductionQueue> 58 <TerritoryInfluence> 59 <Root>true</Root> 60 <Radius>48</Radius> 61 </TerritoryInfluence> 55 62 <ResourceTrickle> 56 63 <Rates> 57 64 <food>1.0</food> 58 65 <wood>1.0</wood> 59 66 <stone>0.75</stone> -
binaries/data/mods/public/simulation/templates/structures/pers_hall.xml
29 29 Train War Elephants and Kardakes mercenaries.</Tooltip> 30 30 </Identity> 31 31 <Obstruction> 32 32 <Static width="25.0" depth="25.0"/> 33 33 </Obstruction> 34 <ProductionQueue> 35 <BatchTimeModifier>0.7</BatchTimeModifier> 36 <Entities datatype="tokens"> 37 units/{civ}_kardakes_hoplite 38 units/{civ}_kardakes_skirmisher 39 units/{civ}_champion_elephant 40 </Entities> 41 <TechCostMultiplier> 42 <food>1.0</food> 43 <wood>1.0</wood> 44 <stone>1.0</stone> 45 <metal>1.0</metal> 46 <time>1.0</time> 47 </TechCostMultiplier> 48 </ProductionQueue> 34 49 <Sound> 35 50 <SoundGroups> 36 51 <select>interface/select/building/sel_broch.xml</select> 37 52 <constructed>interface/complete/building/complete_broch.xml</constructed> 38 53 <death>attack/destruction/building_collapse_large.xml</death> … … Train War Elephants and Kardakes mercena 41 56 <TerritoryDecay disable=""/> 42 57 <TerritoryInfluence> 43 58 <Root>false</Root> 44 59 <Radius>38</Radius> 45 60 </TerritoryInfluence> 46 <ProductionQueue>47 <BatchTimeModifier>0.7</BatchTimeModifier>48 <Entities datatype="tokens">49 units/{civ}_kardakes_hoplite50 units/{civ}_kardakes_skirmisher51 units/{civ}_champion_elephant52 </Entities>53 </ProductionQueue>54 61 <VisualActor> 55 62 <Actor>structures/persians/sb2.xml</Actor> 56 63 <FoundationActor>structures/fndn_6x6.xml</FoundationActor> 57 64 </VisualActor> 58 65 </Entity> -
binaries/data/mods/public/simulation/templates/structures/ptol_library.xml
22 22 <Obstruction> 23 23 <Static width="25.0" depth="30.0"/> 24 24 </Obstruction> 25 25 <ProductionQueue> 26 26 <BatchTimeModifier>0.7</BatchTimeModifier> 27 <TechCostMultiplier> 28 <food>1.0</food> 29 <wood>1.0</wood> 30 <stone>1.0</stone> 31 <metal>1.0</metal> 32 <time>1.0</time> 33 </TechCostMultiplier> 27 34 <Technologies datatype="tokens"> 28 35 successors/special_hellenistic_metropolis 29 36 </Technologies> 30 37 </ProductionQueue> 31 38 <Sound> -
binaries/data/mods/public/simulation/templates/structures/rome_army_camp.xml
66 66 <History>Sometimes it was a temporary camp built facing the route by which the army is to march, other times a defensive or offensive (for sieges) structure. Within this gate the tents of the first centuries or cohorts are pitched, and the dragons (ensigns of cohorts) and other ensigns planted. The Decumane gate is directly opposite to the Praetorian in the rear of the camp, and through this the soldiers are conducted to the place appointed for punishment or execution.</History> 67 67 </Identity> 68 68 <Obstruction> 69 69 <Static width="36.0" depth="36.0"/> 70 70 </Obstruction> 71 <Sound>72 <SoundGroups>73 <select>interface/select/building/sel_broch.xml</select>74 <constructed>interface/complete/building/complete_broch.xml</constructed>75 <death>attack/destruction/building_collapse_large.xml</death>76 </SoundGroups>77 </Sound>78 <TerritoryDecay>79 <DecayRate>37.5</DecayRate>80 </TerritoryDecay>81 <TerritoryInfluence disable=""/>82 71 <ProductionQueue> 83 72 <BatchTimeModifier>0.7</BatchTimeModifier> 84 73 <Entities datatype="tokens"> 85 74 units/{civ}_infantry_swordsman_b 86 75 units/{civ}_infantry_spearman_a … … 91 80 units/{civ}_mechanical_siege_oxybeles_packed 92 81 units/{civ}_mechanical_siege_lithobolos_packed 93 82 units/{civ}_mechanical_siege_ram 94 83 units/{civ}_mechanical_siege_tower 95 84 </Entities> 85 <TechCostMultiplier> 86 <food>1.0</food> 87 <wood>1.0</wood> 88 <stone>1.0</stone> 89 <metal>1.0</metal> 90 <time>1.0</time> 91 </TechCostMultiplier> 96 92 </ProductionQueue> 93 <Sound> 94 <SoundGroups> 95 <select>interface/select/building/sel_broch.xml</select> 96 <constructed>interface/complete/building/complete_broch.xml</constructed> 97 <death>attack/destruction/building_collapse_large.xml</death> 98 </SoundGroups> 99 </Sound> 100 <TerritoryDecay> 101 <DecayRate>37.5</DecayRate> 102 </TerritoryDecay> 103 <TerritoryInfluence disable=""/> 97 104 <Vision> 98 105 <Range>60</Range> 99 106 </Vision> 100 107 <VisualActor> 101 108 <Actor>structures/romans/camp.xml</Actor> -
binaries/data/mods/public/simulation/templates/structures/sele_library.xml
22 22 <Obstruction> 23 23 <Static width="25.0" depth="30.0"/> 24 24 </Obstruction> 25 25 <ProductionQueue> 26 26 <BatchTimeModifier>0.7</BatchTimeModifier> 27 <TechCostMultiplier> 28 <food>1.0</food> 29 <wood>1.0</wood> 30 <stone>1.0</stone> 31 <metal>1.0</metal> 32 <time>1.0</time> 33 </TechCostMultiplier> 27 34 <Technologies datatype="tokens"> 28 35 successors/special_hellenistic_metropolis 29 36 </Technologies> 30 37 </ProductionQueue> 31 38 <Sound> -
binaries/data/mods/public/simulation/templates/structures/spart_gerousia.xml
25 25 <Icon>structures/tholos.png</Icon> 26 26 </Identity> 27 27 <Obstruction> 28 28 <Static width="20.0" depth="20.0"/> 29 29 </Obstruction> 30 <ProductionQueue> 31 <BatchTimeModifier>0.7</BatchTimeModifier> 32 <Entities datatype="tokens"> 33 units/{civ}_hero_leonidas 34 </Entities> 35 <TechCostMultiplier> 36 <food>1.0</food> 37 <wood>1.0</wood> 38 <stone>1.0</stone> 39 <metal>1.0</metal> 40 <time>1.0</time> 41 </TechCostMultiplier> 42 </ProductionQueue> 30 43 <Sound> 31 44 <SoundGroups> 32 45 <select>interface/select/building/sel_tholos.xml</select> 33 46 <constructed>interface/complete/building/complete_tholos.xml</constructed> 34 47 <death>attack/destruction/building_collapse_large.xml</death> 35 48 </SoundGroups> 36 49 </Sound> 37 <ProductionQueue>38 <BatchTimeModifier>0.7</BatchTimeModifier>39 <Entities datatype="tokens">40 units/{civ}_hero_leonidas41 </Entities>42 </ProductionQueue>43 50 <VisualActor> 44 51 <Actor>structures/hellenes/tholos.xml</Actor> 45 52 </VisualActor> 46 53 </Entity> -
binaries/data/mods/public/simulation/templates/structures/spart_syssiton.xml
28 28 <Icon>structures/gymnasion.png</Icon> 29 29 </Identity> 30 30 <Obstruction> 31 31 <Static width="16.0" depth="26.0"/> 32 32 </Obstruction> 33 <Sound>34 <SoundGroups>35 <select>interface/select/building/sel_gymnasium.xml</select>36 <constructed>interface/complete/building/complete_gymnasium.xml</constructed>37 <death>attack/destruction/building_collapse_large.xml</death>38 </SoundGroups>39 </Sound>40 33 <ProductionQueue> 41 34 <BatchTimeModifier>0.7</BatchTimeModifier> 42 35 <Entities datatype="tokens"> 43 36 units/{civ}_hero_leonidas 44 37 units/{civ}_hero_brasidas 45 38 units/{civ}_hero_agis 46 39 units/{civ}_champion_infantry_spear 47 40 </Entities> 41 <TechCostMultiplier> 42 <food>1.0</food> 43 <wood>1.0</wood> 44 <stone>1.0</stone> 45 <metal>1.0</metal> 46 <time>1.0</time> 47 </TechCostMultiplier> 48 48 <Technologies datatype="tokens"> 49 49 hellenes/spartans_agoge 50 50 </Technologies> 51 51 </ProductionQueue> 52 <Sound> 53 <SoundGroups> 54 <select>interface/select/building/sel_gymnasium.xml</select> 55 <constructed>interface/complete/building/complete_gymnasium.xml</constructed> 56 <death>attack/destruction/building_collapse_large.xml</death> 57 </SoundGroups> 58 </Sound> 52 59 <VisualActor> 53 60 <Actor>structures/spartans/syssiton.xml</Actor> 54 61 <FoundationActor>structures/fndn_4x6.xml</FoundationActor> 55 62 </VisualActor> 56 63 </Entity> -
binaries/data/mods/public/simulation/templates/template_structure_civic_civil_centre.xml
84 84 <ProductionQueue> 85 85 <BatchTimeModifier>0.8</BatchTimeModifier> 86 86 <Entities datatype="tokens"> 87 87 units/{civ}_support_female_citizen 88 88 </Entities> 89 <TechCostMultiplier> 90 <food>1.0</food> 91 <wood>1.0</wood> 92 <stone>1.0</stone> 93 <metal>1.0</metal> 94 <time>1.0</time> 95 </TechCostMultiplier> 89 96 <Technologies datatype="tokens"> 90 97 phase_town 91 98 phase_city 92 99 </Technologies> 93 100 </ProductionQueue> -
binaries/data/mods/public/simulation/templates/template_structure_civic_hellenic_royal_stoa.xml
49 49 <Entities datatype="tokens"> 50 50 units/thrace_black_cloak 51 51 units/mace_thureophoros 52 52 units/mace_thorakites 53 53 </Entities> 54 <TechCostMultiplier> 55 <food>1.0</food> 56 <wood>1.0</wood> 57 <stone>1.0</stone> 58 <metal>1.0</metal> 59 <time>1.0</time> 60 </TechCostMultiplier> 54 61 </ProductionQueue> 55 62 <Vision> 56 63 <Range>40</Range> 57 64 </Vision> 58 65 <VisualActor> -
binaries/data/mods/public/simulation/templates/template_structure_civic_house.xml
49 49 <ProductionQueue> 50 50 <BatchTimeModifier>1.0</BatchTimeModifier> 51 51 <Entities datatype="tokens"> 52 52 units/{civ}_support_female_citizen_house 53 53 </Entities> 54 <TechCostMultiplier> 55 <food>1.0</food> 56 <wood>1.0</wood> 57 <stone>1.0</stone> 58 <metal>1.0</metal> 59 <time>1.0</time> 60 </TechCostMultiplier> 54 61 <Technologies datatype="tokens"> 55 62 health_females_01 56 63 pop_house_01 57 64 unlock_females_house 58 65 </Technologies> -
binaries/data/mods/public/simulation/templates/template_structure_civic_temple.xml
59 59 <ProductionQueue> 60 60 <BatchTimeModifier>0.8</BatchTimeModifier> 61 61 <Entities datatype="tokens"> 62 62 units/{civ}_support_healer_b 63 63 </Entities> 64 <TechCostMultiplier> 65 <food>1.0</food> 66 <wood>1.0</wood> 67 <stone>1.0</stone> 68 <metal>1.0</metal> 69 <time>1.0</time> 70 </TechCostMultiplier> 64 71 <Technologies datatype="tokens"> 65 72 heal_range 66 73 heal_range_2 67 74 heal_rate 68 75 heal_rate_2 -
binaries/data/mods/public/simulation/templates/template_structure_defense_defense_tower.xml
68 68 <Obstruction> 69 69 <Static width="7.0" depth="7.0"/> 70 70 </Obstruction> 71 71 <ProductionQueue> 72 72 <BatchTimeModifier>0.7</BatchTimeModifier> 73 <TechCostMultiplier> 74 <food>1.0</food> 75 <wood>1.0</wood> 76 <stone>1.0</stone> 77 <metal>1.0</metal> 78 <time>1.0</time> 79 </TechCostMultiplier> 73 80 <Technologies datatype="tokens"> 74 81 attack_tower_watch 75 82 attack_tower_crenellations 76 83 attack_tower_range 77 84 attack_tower_murderholes -
binaries/data/mods/public/simulation/templates/template_structure_defense_outpost.xml
70 70 <Obstruction> 71 71 <Static width="6.5" depth="6.5"/> 72 72 </Obstruction> 73 73 <ProductionQueue> 74 74 <BatchTimeModifier>0.7</BatchTimeModifier> 75 <TechCostMultiplier> 76 <food>1.0</food> 77 <wood>1.0</wood> 78 <stone>1.0</stone> 79 <metal>1.0</metal> 80 <time>1.0</time> 81 </TechCostMultiplier> 75 82 <Technologies datatype="tokens"> 76 83 vision_outpost 77 84 decay_outpost 78 85 </Technologies> 79 86 </ProductionQueue> -
binaries/data/mods/public/simulation/templates/template_structure_defense_wall_tower.xml
67 67 <Static width="6.0" depth="6.0"/> 68 68 <ControlPersist/> 69 69 </Obstruction> 70 70 <ProductionQueue> 71 71 <BatchTimeModifier>0.8</BatchTimeModifier> 72 <TechCostMultiplier> 73 <food>1.0</food> 74 <wood>1.0</wood> 75 <stone>1.0</stone> 76 <metal>1.0</metal> 77 <time>1.0</time> 78 </TechCostMultiplier> 72 79 <Technologies datatype="tokens"> 73 80 pair_walls_01 74 81 </Technologies> 75 82 </ProductionQueue> 76 83 <Sound> -
binaries/data/mods/public/simulation/templates/template_structure_economic_farmstead.xml
37 37 <Obstruction> 38 38 <Static width="12.0" depth="12.0"/> 39 39 </Obstruction> 40 40 <ProductionQueue> 41 41 <BatchTimeModifier>0.7</BatchTimeModifier> 42 <TechCostMultiplier> 43 <food>1.0</food> 44 <wood>1.0</wood> 45 <stone>1.0</stone> 46 <metal>1.0</metal> 47 <time>1.0</time> 48 </TechCostMultiplier> 42 49 <Technologies datatype="tokens"> 43 50 gather_wicker_baskets 44 51 gather_farming_plows 45 52 gather_farming_training 46 53 gather_farming_fertilizer -
binaries/data/mods/public/simulation/templates/template_structure_economic_market.xml
51 51 <Radius>40</Radius> 52 52 <Weight>30000</Weight> 53 53 </TerritoryInfluence> 54 54 <ProductionQueue> 55 55 <BatchTimeModifier>0.7</BatchTimeModifier> 56 <TechCostMultiplier> 57 <food>1.0</food> 58 <wood>1.0</wood> 59 <stone>1.0</stone> 60 <metal>1.0</metal> 61 <time>1.0</time> 62 </TechCostMultiplier> 56 63 <Technologies datatype="tokens"> 57 64 unlock_shared_los 58 65 unlock_shared_dropsites 59 66 trade_convoys_speed 60 67 trade_convoys_armor -
binaries/data/mods/public/simulation/templates/template_structure_economic_storehouse.xml
37 37 <Obstruction> 38 38 <Static width="13.0" depth="13.0"/> 39 39 </Obstruction> 40 40 <ProductionQueue> 41 41 <BatchTimeModifier>0.7</BatchTimeModifier> 42 <TechCostMultiplier> 43 <food>1.0</food> 44 <wood>1.0</wood> 45 <stone>1.0</stone> 46 <metal>1.0</metal> 47 <time>1.0</time> 48 </TechCostMultiplier> 42 49 <Technologies datatype="tokens"> 43 50 gather_lumbering_ironaxes 44 51 gather_lumbering_strongeraxes 45 52 gather_lumbering_sharpaxes 46 53 gather_mining_servants -
binaries/data/mods/public/simulation/templates/template_structure_military_barracks.xml
54 54 units/{civ}_cavalry_swordsman_b 55 55 units/{civ}_cavalry_spearman_b 56 56 units/{civ}_cavalry_javelinist_b 57 57 units/{civ}_cavalry_archer_b 58 58 </Entities> 59 <TechCostMultiplier> 60 <food>1.0</food> 61 <wood>1.0</wood> 62 <stone>1.0</stone> 63 <metal>1.0</metal> 64 <time>1.0</time> 65 </TechCostMultiplier> 59 66 <Technologies datatype="tokens"> 60 67 heal_barracks 61 68 training_conscription 62 69 </Technologies> 63 70 </ProductionQueue> -
binaries/data/mods/public/simulation/templates/template_structure_military_blacksmith.xml
15 15 </Footprint> 16 16 <GarrisonHolder> 17 17 <Max>1</Max> 18 18 <EjectHealth>0.1</EjectHealth> 19 19 <EjectClassesOnDestroy datatype="tokens">Unit</EjectClassesOnDestroy> 20 <List datatype="tokens">Infantry </List>20 <List datatype="tokens">Infantry Healer</List> 21 21 <BuffHeal>0</BuffHeal> 22 22 <LoadingRange>2</LoadingRange> 23 23 </GarrisonHolder> 24 24 <Health> 25 25 <Max>2000</Max> … … 43 43 <Obstruction> 44 44 <Static width="17.0" depth="17.0"/> 45 45 </Obstruction> 46 46 <ProductionQueue> 47 47 <BatchTimeModifier>0.8</BatchTimeModifier> 48 <TechCostMultiplier> 49 <food>1.0</food> 50 <wood>1.0</wood> 51 <stone>1.0</stone> 52 <metal>1.0</metal> 53 <time>1.0</time> 54 </TechCostMultiplier> 48 55 <Technologies datatype="tokens"> 49 56 attack_infantry_melee_01 50 57 attack_infantry_melee_02 51 58 attack_infantry_ranged_01 52 59 attack_infantry_ranged_02 -
binaries/data/mods/public/simulation/templates/template_structure_military_dock.xml
42 42 <Static width="18.0" depth="18.0"/> 43 43 </Obstruction> 44 44 <Position> 45 45 <Floating>true</Floating> 46 46 </Position> 47 <RallyPointRenderer>48 <LinePassabilityClass>ship</LinePassabilityClass>49 </RallyPointRenderer>50 <ResourceDropsite>51 <Types>food wood stone metal</Types>52 <Sharable>true</Sharable>53 </ResourceDropsite>54 <Sound>55 <SoundGroups>56 <select>interface/select/building/sel_dock.xml</select>57 <constructed>interface/complete/building/complete_dock.xml</constructed>58 <death>attack/destruction/building_collapse_large.xml</death>59 </SoundGroups>60 </Sound>61 <TerritoryDecay disable=""/>62 47 <ProductionQueue> 63 48 <BatchTimeModifier>0.8</BatchTimeModifier> 64 49 <Entities datatype="tokens"> 65 50 units/{civ}_ship_fishing 66 51 units/{civ}_ship_merchant 67 52 units/{civ}_ship_bireme 68 53 units/{civ}_ship_trireme 69 54 </Entities> 55 <TechCostMultiplier> 56 <food>1.0</food> 57 <wood>1.0</wood> 58 <stone>1.0</stone> 59 <metal>1.0</metal> 60 <time>1.0</time> 61 </TechCostMultiplier> 70 62 <Technologies datatype="tokens"> 71 63 gather_capacity_fishing 72 64 gather_fishing_net 73 65 training_naval_architects 74 66 armor_ship_reinforcedhull 75 67 armor_ship_hypozomata 76 68 armor_ship_hullsheathing 77 69 </Technologies> 78 70 </ProductionQueue> 79 <Vision> 71 <RallyPointRenderer> 72 <LinePassabilityClass>ship</LinePassabilityClass> 73 </RallyPointRenderer> 74 <ResourceDropsite> 75 <Types>food wood stone metal</Types> 76 <Sharable>true</Sharable> 77 </ResourceDropsite> 78 <Sound> 79 <SoundGroups> 80 <select>interface/select/building/sel_dock.xml</select> 81 <constructed>interface/complete/building/complete_dock.xml</constructed> 82 <death>attack/destruction/building_collapse_large.xml</death> 83 </SoundGroups> 84 </Sound> 85 <TerritoryDecay disable=""/> 86 <Vision> 80 87 <Range>40</Range> 81 88 </Vision> 82 89 <VisualActor> 83 90 <FoundationActor>structures/fndn_4x4_dock.xml</FoundationActor> 84 91 </VisualActor> -
binaries/data/mods/public/simulation/templates/template_structure_military_embassy.xml
35 35 <Obstruction> 36 36 <Static width="16.0" depth="16.0"/> 37 37 </Obstruction> 38 38 <ProductionQueue> 39 39 <BatchTimeModifier>0.8</BatchTimeModifier> 40 <TechCostMultiplier> 41 <food>1.0</food> 42 <wood>1.0</wood> 43 <stone>1.0</stone> 44 <metal>1.0</metal> 45 <time>1.0</time> 46 </TechCostMultiplier> 40 47 </ProductionQueue> 41 48 <Sound> 42 49 <SoundGroups> 43 50 <select>interface/select/building/sel_gymnasium.xml</select> 44 51 <constructed>interface/complete/building/complete_gymnasium.xml</constructed> -
binaries/data/mods/public/simulation/templates/template_structure_military_fortress.xml
85 85 units/{civ}_mechanical_siege_oxybeles_packed 86 86 units/{civ}_mechanical_siege_lithobolos_packed 87 87 units/{civ}_mechanical_siege_ram 88 88 units/{civ}_mechanical_siege_tower 89 89 </Entities> 90 <TechCostMultiplier> 91 <food>1.0</food> 92 <wood>1.0</wood> 93 <stone>1.0</stone> 94 <metal>1.0</metal> 95 <time>1.0</time> 96 </TechCostMultiplier> 90 97 <Technologies datatype="tokens"> 91 98 attack_soldiers_will 92 99 </Technologies> 93 100 </ProductionQueue> 94 101 <Sound> -
binaries/data/mods/public/simulation/templates/template_structure_resource_corral.xml
33 33 <ProductionQueue> 34 34 <BatchTimeModifier>0.7</BatchTimeModifier> 35 35 <Entities datatype="tokens"> 36 36 gaia/fauna_sheep 37 37 </Entities> 38 <TechCostMultiplier> 39 <food>1.0</food> 40 <wood>1.0</wood> 41 <stone>1.0</stone> 42 <metal>1.0</metal> 43 <time>1.0</time> 44 </TechCostMultiplier> 38 45 <Technologies datatype="tokens"> 39 46 gather_animals_stockbreeding 40 47 speed_cavalry_01 41 48 speed_cavalry_02 42 49 </Technologies> -
binaries/data/mods/public/simulation/templates/template_structure_wonder.xml
60 60 <Obstruction> 61 61 <Static width="30.0" depth="30.0"/> 62 62 </Obstruction> 63 63 <ProductionQueue> 64 64 <BatchTimeModifier>0.7</BatchTimeModifier> 65 <TechCostMultiplier> 66 <food>1.0</food> 67 <wood>1.0</wood> 68 <stone>1.0</stone> 69 <metal>1.0</metal> 70 <time>1.0</time> 71 </TechCostMultiplier> 65 72 <Technologies datatype="tokens"> 66 73 pop_wonder 67 74 </Technologies> 68 75 </ProductionQueue> 69 76 <RallyPoint disable=""/> -
binaries/data/mods/public/simulation/templates/units/athen_ship_trireme.xml
11 11 <BatchTimeModifier>0.7</BatchTimeModifier> 12 12 <Entities datatype="tokens"> 13 13 units/athen_infantry_marine_archer_b 14 14 units/athen_champion_marine 15 15 </Entities> 16 <TechCostMultiplier> 17 <food>1.0</food> 18 <wood>1.0</wood> 19 <stone>1.0</stone> 20 <metal>1.0</metal> 21 <time>1.0</time> 22 </TechCostMultiplier> 16 23 </ProductionQueue> 17 24 <VisualActor> 18 25 <Actor>structures/athenians/trireme.xml</Actor> 19 26 </VisualActor> 20 27 </Entity> -
binaries/data/mods/public/simulation/templates/units/maur_hero_ashoka.xml
1 1 <?xml version="1.0" encoding="utf-8"?> 2 2 <Entity parent="template_unit_hero_cavalry_archer"> 3 <Auras datatype="tokens">maur_hero_ashoka</Auras> 3 4 <Footprint replace=""> 4 5 <Square width="6.0" depth="12.0"/> 5 6 <Height>5.0</Height> 6 7 </Footprint> 7 8 <Identity> -
binaries/data/mods/public/simulation/templates/units/maur_hero_chanakya.xml
3 3 <Armour> 4 4 <Hack>4.0</Hack> 5 5 <Pierce>8.0</Pierce> 6 6 <Crush>4.0</Crush> 7 7 </Armour> 8 <Heal> 9 <Range>20</Range> 10 <HP>12</HP> 11 <Rate>2000</Rate> 12 <UnhealableClasses datatype="tokens"/> 13 <HealableClasses datatype="tokens">Human</HealableClasses> 14 </Heal> 8 <Auras datatype="tokens">maur_hero_chanakya</Auras> 15 9 <Cost> 16 10 <Population>2</Population> 17 11 <BuildTime>60</BuildTime> 18 12 <Resources> 19 13 <food>100</food> 20 14 <metal>250</metal> 21 15 </Resources> 22 16 </Cost> 17 <Heal> 18 <Range>20</Range> 19 <HP>12</HP> 20 <Rate>2000</Rate> 21 <UnhealableClasses datatype="tokens"/> 22 <HealableClasses datatype="tokens">Human</HealableClasses> 23 </Heal> 23 24 <Health> 24 25 <Max>600</Max> 25 26 </Health> 26 27 <Identity> 27 28 <Civ>maur</Civ> 28 <Classes datatype="tokens">Human Organic </Classes>29 <Classes datatype="tokens">Human Organic Support</Classes> 29 30 <VisibleClasses datatype="tokens">Hero Healer</VisibleClasses> 30 31 <GenericName>Acharya Chanakya</GenericName> 31 32 <SpecificName>Acharya Chāṇakya</SpecificName> 32 33 <Icon>units/maur_hero_chanakya.png</Icon> 33 34 <Tooltip>Hero Special: "Healer" - Heal units at an accelerated rate. 34 Hero Special: "Teacher" - Empower a building to research and train +50% faster.35 35 Hero Special: "Philosopher" - Research 4 special technologies only available to Chanakya.</Tooltip> 36 36 <RequiredTechnology>phase_city</RequiredTechnology> 37 37 </Identity> 38 38 <Minimap> 39 39 <Type>hero</Type> -
binaries/data/mods/public/simulation/templates/units/maur_hero_maurya.xml
9 9 <ProductionQueue> 10 10 <BatchTimeModifier>0.7</BatchTimeModifier> 11 11 <Entities datatype="tokens"> 12 12 units/maur_champion_maiden_archer 13 13 </Entities> 14 <TechCostMultiplier> 15 <food>1.0</food> 16 <wood>1.0</wood> 17 <stone>1.0</stone> 18 <metal>1.0</metal> 19 <time>1.0</time> 20 </TechCostMultiplier> 14 21 </ProductionQueue> 15 22 <VisualActor> 16 23 <Actor>units/mauryans/elephant_hero.xml</Actor> 17 24 </VisualActor> 18 25 </Entity> -
binaries/data/mods/public/simulation/templates/units/pers_hero_cyrus.xml
11 11 <ProductionQueue> 12 12 <BatchTimeModifier>0.7</BatchTimeModifier> 13 13 <Entities datatype="tokens"> 14 14 units/pers_champion_infantry 15 15 </Entities> 16 <TechCostMultiplier> 17 <food>1.0</food> 18 <wood>1.0</wood> 19 <stone>1.0</stone> 20 <metal>1.0</metal> 21 <time>1.0</time> 22 </TechCostMultiplier> 16 23 </ProductionQueue> 17 24 <VisualActor> 18 25 <Actor>units/persians/hero_cyrus.xml</Actor> 19 26 </VisualActor> 20 27 </Entity> -
binaries/data/mods/public/simulation/templates/units/pers_ship_trireme.xml
15 15 <BatchTimeModifier>0.8</BatchTimeModifier> 16 16 <Entities datatype="tokens"> 17 17 units/pers_cavalry_swordsman_b_trireme 18 18 units/pers_cavalry_javelinist_b_trireme 19 19 </Entities> 20 <TechCostMultiplier> 21 <food>1.0</food> 22 <wood>1.0</wood> 23 <stone>1.0</stone> 24 <metal>1.0</metal> 25 <time>1.0</time> 26 </TechCostMultiplier> 20 27 </ProductionQueue> 21 28 <VisualActor> 22 29 <Actor>structures/persians/trireme.xml</Actor> 23 30 </VisualActor> 24 31 </Entity>