Editing Modding Tutorials/Items

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 12: Line 12:
 
If you haven't already created a ThingDef folder as taught in the [[Modding Tutorials/Getting Started|Getting Started]] tutorial, you will need to create a new folder in which will contain your new item xml. Inside your <code>Defs</code> folder create a new subfolder called <code>ThingDefs</code>. You're now done as far as creating folders go.
 
If you haven't already created a ThingDef folder as taught in the [[Modding Tutorials/Getting Started|Getting Started]] tutorial, you will need to create a new folder in which will contain your new item xml. Inside your <code>Defs</code> folder create a new subfolder called <code>ThingDefs</code>. You're now done as far as creating folders go.
  
== Creating the new resource item (Titanium example) ==
+
== Creating the new resource item (Wooden example) ==
  
In this example, we'll be making a new resource called Titanium. This will be a resource in the game that can be used to make and build other things.
+
In this example, we'll be making a new resource called wood. This will be a resource in the game that can be used to make and build other things.
  
 
First of all we need to make it so the game will read this xml and let it know it's requesting new resources be added to the game.
 
First of all we need to make it so the game will read this xml and let it know it's requesting new resources be added to the game.

Please note that all contributions to RimWorld Wiki are considered to be released under the CC BY-SA 3.0 (see RimWorld Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

This page is a member of 1 hidden category: