Skip to content

Commit

Permalink
Mod updated for 1.5 and passed autotests
Browse files Browse the repository at this point in the history
  • Loading branch information
emipa606 committed Mar 25, 2024
1 parent 029e110 commit a37406a
Show file tree
Hide file tree
Showing 55 changed files with 1,146 additions and 135 deletions.
Binary file added 1.5/Assemblies/RoadsOfTheRim.dll
Binary file not shown.
Binary file added 1.5/Assemblies/VersionFromManifest.dll
Binary file not shown.
8 changes: 8 additions & 0 deletions 1.5/Defs/MapGeneration/RotR_CleanBuiltRoads.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<GenStepDef>
<defName>RotR_CleanBuiltRoads</defName>
<order>250</order>
<genStep Class="RoadsOfTheRim.GenStep_CleanBuiltRoads" />
</GenStepDef>
</Defs>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<DesignatorDropdownGroupDef>
<defName>Bridge_Concrete</defName>
</DesignatorDropdownGroupDef>
</Defs>
9 changes: 9 additions & 0 deletions 1.5/Defs/Misc/TerrainAffordanceDefs/TerrainAffordances.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<!-- Concrete bridges can be built here -->
<TerrainAffordanceDef>
<defName>BridgeableAny</defName>
<label>bridgeable any</label>
<order>2600</order>
</TerrainAffordanceDef>
</Defs>
72 changes: 72 additions & 0 deletions 1.5/Defs/ResearchProjectDefs/ResearchProject_RotR.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<ResearchProjectDef>
<defName>ResearchProject_RotRStoneRoad</defName>
<label>Stone road building</label>
<description>Allows construction of Stone roads on the world map</description>
<baseCost>500</baseCost>
<techLevel>Medieval</techLevel>
<prerequisites>
<li>Stonecutting</li>
</prerequisites>
<tab>LocoNekoMods</tab>
<researchViewX>1</researchViewX>
<researchViewY>0</researchViewY>
</ResearchProjectDef>
<ResearchProjectDef>
<defName>ResearchProject_RotRAsphaltRoad</defName>
<label>Asphalt road building</label>
<description>Allows construction of Asphalt roads on the world map</description>
<baseCost>2000</baseCost>
<techLevel>Industrial</techLevel>
<prerequisites>
<li>ResearchProject_RotRStoneRoad</li>
</prerequisites>
<tab>LocoNekoMods</tab>
<researchViewX>2</researchViewX>
<researchViewY>0</researchViewY>
</ResearchProjectDef>
<ResearchProjectDef>
<defName>ResearchProject_RotRGlitterRoad</defName>
<label>Glitter road building</label>
<description>Allows construction of Glitter roads on the world map</description>
<baseCost>6000</baseCost>
<techLevel>Spacer</techLevel>
<requiredResearchBuilding>HiTechResearchBench</requiredResearchBuilding>
<prerequisites>
<li>ResearchProject_RotRAsphaltRoad</li>
</prerequisites>
<tab>LocoNekoMods</tab>
<researchViewX>3</researchViewX>
<researchViewY>0</researchViewY>
</ResearchProjectDef>
<ResearchProjectDef>
<defName>ResearchProject_RotRISR2G</defName>
<label>ISR2G</label>
<description>Allows construction of the In Situ Road Ressource Gatherer (ISR2G). Uses local resources when building roads, completely eliminating the need to bring wood and stone at the cost of 4 times the work.</description>
<baseCost>2000</baseCost>
<techLevel>Industrial</techLevel>
<prerequisites>
<li>ResearchProject_RotRStoneRoad</li>
<li>Machining</li>
</prerequisites>
<tab>LocoNekoMods</tab>
<researchViewX>2</researchViewX>
<researchViewY>1</researchViewY>
</ResearchProjectDef>
<ResearchProjectDef>
<defName>ResearchProject_RotRAISR2G</defName>
<label>AISR2G</label>
<description>Allows construction of the Advanced In Situ Road Ressource Gatherer (AISR2G). Uses local resources when building roads, completely eliminating the need to bring wood, stone , steel, Chemfuel , Plasteel and Uranium at the cost of twice the work.</description>
<baseCost>4000</baseCost>
<techLevel>Spacer</techLevel>
<requiredResearchBuilding>HiTechResearchBench</requiredResearchBuilding>
<prerequisites>
<li>ResearchProject_RotRAsphaltRoad</li>
<li>Fabrication</li>
</prerequisites>
<tab>LocoNekoMods</tab>
<researchViewX>3</researchViewX>
<researchViewY>1</researchViewY>
</ResearchProjectDef>
</Defs>
7 changes: 7 additions & 0 deletions 1.5/Defs/ResearchProjectDefs/ResearchTabs_LocoNekoMods.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<ResearchTabDef>
<defName>LocoNekoMods</defName>
<label>LocoNeko Mods</label>
</ResearchTabDef>
</Defs>
55 changes: 55 additions & 0 deletions 1.5/Defs/RoadBuildableDefs/RoadBuildableDefs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<RoadsOfTheRim.RoadBuildableDef>
<defName>RoadsOfTheRim_DirtPath</defName>
<label>Dirt path</label>
<movementCostMultiplier>0.75</movementCostMultiplier>
<roadDef>DirtPath</roadDef>
<biomeMovementDifficultyEffect>0</biomeMovementDifficultyEffect>
<work>600</work>
<wood>0</wood>
<stone>0</stone>
<steel>0</steel>
<chemfuel>0</chemfuel>
</RoadsOfTheRim.RoadBuildableDef>
<RoadsOfTheRim.RoadBuildableDef>
<defName>RoadsOfTheRim_DirtRoad</defName>
<label>Dirt road</label>
<movementCostMultiplier>0.6</movementCostMultiplier>
<roadDef>DirtRoad</roadDef>
<biomeMovementDifficultyEffect>0.25</biomeMovementDifficultyEffect>
<work>1200</work>
<wood>120</wood>
<stone>0</stone>
<steel>0</steel>
<chemfuel>0</chemfuel>
</RoadsOfTheRim.RoadBuildableDef>
<RoadsOfTheRim.RoadBuildableDef>
<defName>RoadsOfTheRim_StoneRoad</defName>
<label>Stone road</label>
<movementCostMultiplier>0.5</movementCostMultiplier>
<roadDef>StoneRoad</roadDef>
<biomeMovementDifficultyEffect>0.75</biomeMovementDifficultyEffect>
<work>3600</work>
<wood>240</wood>
<stone>1800</stone>
<steel>300</steel>
<chemfuel>0</chemfuel>
</RoadsOfTheRim.RoadBuildableDef>
<RoadsOfTheRim.RoadBuildableDef>
<defName>RoadsOfTheRim_AsphaltRoad</defName>
<label>Asphalt road</label>
<movementCostMultiplier>0.4</movementCostMultiplier>
<biomeMovementDifficultyEffect>1</biomeMovementDifficultyEffect>
<roadDef>AncientAsphaltRoad</roadDef>
<work>5400</work>
<wood>0</wood>
<stone>3600</stone>
<steel>600</steel>
<chemfuel>300</chemfuel>
</RoadsOfTheRim.RoadBuildableDef>
</Defs>
<!--
To add roads, look at RoadDefs
The layers are defined in RoadWorldLayersDefs and allow me to create custom layers (colours), must they must all be lines
-->
Loading

0 comments on commit a37406a

Please sign in to comment.