Skip to content

Commit 5bcad56

Browse files
authored
Add files via upload
1 parent 110eba0 commit 5bcad56

27 files changed

+545
-0
lines changed

About/About.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<ModMetaData>
4+
<name>Roads of the Rim</name>
5+
<author>Loconeko</author>
6+
<targetVersion>1.0.2026</targetVersion>
7+
<description>V0.1
8+
This mod adds the ability to build roads on the world map
9+
</description>
10+
</ModMetaData>

About/Preview.png

1.8 KB
Loading

Assemblies/0Harmony.dll

104 KB
Binary file not shown.

Assemblies/RoadsOfTheRim.dll

12 KB
Binary file not shown.

Assemblies/RoadsOfTheRim.pdb

2.57 KB
Binary file not shown.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Defs>
3+
<RoadsOfTheRim.RoadBuildableDef>
4+
<defName>RoadsOfTheRim_DirtPath</defName>
5+
<label>Dirt path</label>
6+
<movementCostMultiplier>0.75</movementCostMultiplier>
7+
<workNeeded>60000</workNeeded>
8+
</RoadsOfTheRim.RoadBuildableDef>
9+
10+
<RoadsOfTheRim.RoadBuildableDef>
11+
<defName>RoadsOfTheRim_DirtRoad</defName>
12+
<label>Dirt road</label>
13+
<movementCostMultiplier>0.6</movementCostMultiplier>
14+
<workNeeded>120000</workNeeded>
15+
</RoadsOfTheRim.RoadBuildableDef>
16+
17+
<RoadsOfTheRim.RoadBuildableDef>
18+
<defName>RoadsOfTheRim_StoneRoad</defName>
19+
<label>Stone road</label>
20+
<movementCostMultiplier>0.5</movementCostMultiplier>
21+
<workNeeded>180000</workNeeded>
22+
</RoadsOfTheRim.RoadBuildableDef>
23+
24+
<RoadsOfTheRim.RoadBuildableDef>
25+
<defName>RoadsOfTheRim_AsphaltRoad</defName>
26+
<label>Asphalt road</label>
27+
<movementCostMultiplier>0.4</movementCostMultiplier>
28+
<workNeeded>360000</workNeeded>
29+
</RoadsOfTheRim.RoadBuildableDef>
30+
31+
</Defs>

Defs/WorldObjectDefs/WorldObjects.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Defs>
3+
<WorldObjectDef>
4+
<defName>RoadConstructionSite</defName>
5+
<label>road construction site</label>
6+
<description>The site of a road under construction</description>
7+
<worldObjectClass>RoadsOfTheRim.RoadConstructionSite</worldObjectClass>
8+
<texture>World/WorldObjects/ConstructionSite</texture>
9+
<useDynamicDrawer>true</useDynamicDrawer>
10+
<expandingIcon>true</expandingIcon>
11+
<expandingIconTexture>World/WorldObjects/Expanding/ConstructionSite</expandingIconTexture>
12+
<expandingIconPriority>200</expandingIconPriority>
13+
<!--
14+
<comps>
15+
<li Class="RoadsOfTheRim.CompProperties_RoadsOfTheRimConstructionSite" />
16+
</comps>
17+
-->
18+
<!--
19+
<inspectorTabs>
20+
<li>RoadsOfTheRim.WITab_RoadConstructionSite</li>
21+
</inspectorTabs>
22+
-->
23+
</WorldObjectDef>
24+
</Defs>

Languages/English/Keyed/settings.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<LanguageData>
3+
4+
<RoadsOfTheRim>Roads of the Rim</RoadsOfTheRim>
5+
<RoadsOfTheRimAddConstructionSite>Construct</RoadsOfTheRimAddConstructionSite>
6+
<RoadsOfTheRimAddConstructionSiteDescription>Create road construction site</RoadsOfTheRimAddConstructionSiteDescription>
7+
<RoadsOfTheRimRemoveConstructionSite>Cancel construction</RoadsOfTheRimRemoveConstructionSite>
8+
<RoadsOfTheRimRemoveConstructionSiteDescription>Remove road construction site</RoadsOfTheRimRemoveConstructionSiteDescription>
9+
<RoadsOfTheRimSettingsCategoryLabel>Roads of the Rim</RoadsOfTheRimSettingsCategoryLabel>
10+
<RoadsOfTheRimSettingsBaseEffort>Base multiplier to road building costs</RoadsOfTheRimSettingsBaseEffort>
11+
<RoadsOfTheRimSettingsOverrideCosts>Override standard movement multipliers [NOT IMPLEMENTED]</RoadsOfTheRimSettingsOverrideCosts>
12+
<RoadsOfTheRimBuildConstructionSiteAlreadyHere>There is already a construction site here</RoadsOfTheRimBuildConstructionSiteAlreadyHere>
13+
<RoadsOfTheRimBuildConstructionSiteNotAlreadyHere>There is no construction site here</RoadsOfTheRimBuildConstructionSiteNotAlreadyHere>
14+
</LanguageData>

Patches/patches.xml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<Patch>
3+
<Operation Class="PatchOperationReplace">
4+
<xpath>*/RoadDef[defName = "DirtPath"]/movementCostMultiplier</xpath>
5+
<value>
6+
<movementCostMultiplier>0.75</movementCostMultiplier>
7+
</value>
8+
</Operation>
9+
10+
<Operation Class="PatchOperationReplace">
11+
<xpath>*/RoadDef[defName = "DirtRoad"]/movementCostMultiplier</xpath>
12+
<value>
13+
<movementCostMultiplier>0.6</movementCostMultiplier>
14+
</value>
15+
</Operation>
16+
17+
<Operation Class="PatchOperationReplace">
18+
<xpath>*/RoadDef[defName = "StoneRoad"]/movementCostMultiplier</xpath>
19+
<value>
20+
<movementCostMultiplier>0.5</movementCostMultiplier>
21+
</value>
22+
</Operation>
23+
24+
<Operation Class="PatchOperationReplace">
25+
<xpath>*/RoadDef[defName = "AncientAsphaltRoad"]/movementCostMultiplier</xpath>
26+
<value>
27+
<movementCostMultiplier>0.4</movementCostMultiplier>
28+
</value>
29+
</Operation>
30+
31+
<Operation Class="PatchOperationReplace">
32+
<xpath>*/RoadDef[defName = "AncientAsphaltHighway"]/movementCostMultiplier</xpath>
33+
<value>
34+
<movementCostMultiplier>0.4</movementCostMultiplier>
35+
</value>
36+
</Operation>
37+
38+
39+
</Patch>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 15
4+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RoadsOfTheRim", "RoadsOfTheRim\RoadsOfTheRim.csproj", "{6EB5555F-F9BD-4955-A180-82BE2ECB5ED7}"
5+
EndProject
6+
Global
7+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
8+
Debug|Any CPU = Debug|Any CPU
9+
Release|Any CPU = Release|Any CPU
10+
EndGlobalSection
11+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
12+
{6EB5555F-F9BD-4955-A180-82BE2ECB5ED7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13+
{6EB5555F-F9BD-4955-A180-82BE2ECB5ED7}.Debug|Any CPU.Build.0 = Debug|Any CPU
14+
{6EB5555F-F9BD-4955-A180-82BE2ECB5ED7}.Release|Any CPU.ActiveCfg = Release|Any CPU
15+
{6EB5555F-F9BD-4955-A180-82BE2ECB5ED7}.Release|Any CPU.Build.0 = Release|Any CPU
16+
EndGlobalSection
17+
EndGlobal

0 commit comments

Comments
 (0)