Installer Steam
log på
|
sprog
简体中文 (forenklet kinesisk)
繁體中文 (traditionelt kinesisk)
日本語 (japansk)
한국어 (koreansk)
ไทย (thai)
Български (bulgarsk)
Čeština (tjekkisk)
Deutsch (tysk)
English (engelsk)
Español – España (spansk – Spanien)
Español – Latinoamérica (spansk – Latinamerika)
Ελληνικά (græsk)
Français (fransk)
Italiano (italiensk)
Bahasa indonesia (indonesisk)
Magyar (ungarsk)
Nederlands (hollandsk)
Norsk
Polski (polsk)
Português (portugisisk – Portugal)
Português – Brasil (portugisisk – Brasilien)
Română (rumænsk)
Русский (russisk)
Suomi (finsk)
Svenska (svensk)
Türkçe (tyrkisk)
Tiếng Việt (Vietnamesisk)
Українська (ukrainsk)
Rapporter et oversættelsesproblem
It is also important that the name of the resource you need coincides with how it is called not in the game, but in the files. The error is hidden somewhere here.
Here are the Recipes_Mining.xml & Buildings_Mines.xml file location. (The steam library is not exactly the same for everyone, if you do not know where it is, you can search on Youtube to see where to locate it.)
G:\SteamLibrary\steamapps\workshop\content\294100\1545681321\Defs\RecipeDefs\Recipes_Mining.xml
G:\SteamLibrary\steamapps\workshop\content\294100\1545681321\Defs\ThingDefs_Buildings\Buildings_Mines.xml
1. In Recipes_Mining.xml, copy and paste the below code above or below the original one.
<RecipeDef ParentName="MiningWork">
<defName>Excavate_ Steel </defName>
<label>mining Steel </label>
<description>mining Steel .</description>
<jobString>Mining Steel .</jobString>
<!--
Steel is worth 1.37 silver/unit
1.37 x 332 ticks/silver = 455 ticks
-->
<workAmount>655</workAmount>
<products>
< Steel >10< /Steel >
</products>
</RecipeDef>
Then edit all the "Steel" to the item you want, for example, I used copper from Project RimFactory - Materials. (Steel -> copper)
<RecipeDef ParentName="MiningWork">
<defName>Excavate_copper</defName>
<label>mining copper</label>
<description>mining copper.</description>
<jobString>Mining copper.</jobString>
<!--
copper is worth 1.37 silver/unit
1.37 x 332 ticks/silver = 455 ticks
-->
<workAmount>555</workAmount>
<products>
<PRF_Copper>10</PRF_Copper>
</products>
</RecipeDef>
You should pay attention from the below phrase
<products>
<PRF_Copper>10</PRF_Copper>
</products>
the PRF_Copper is the ore ID from the ProjectFactory - Materials mod, you should find this ID from that mod folder and scrool through all .xml file to find it.
2. As for Buildings_Mines.xml, it will be simple. Just copy the below and paste it above or below the code again.
<li>Excavate_Steel</li>
Then edit the <li>Excavate_Steel</li> to what you typed in Recipes_Mining.xml. The example from below is copy from the above example.
<li>Excavate_copper</li>
3. Once you have edited all the variable, click save in notepad++, and try it out in the game.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
4. If you could not get the result of of your expectation, JUST LET IT GO!!!
You don't want to waste 1 day just to get the code work correctly. Trust me, it's not worth it. Play 1 day rim world is much better then wasting a day to get half-cheated ore from coding Rimworld mod.
.
.
.
5. Hope you all stay safe in 2021.
How would you add Sky steel?