World of Banished

MODS Garage => Mod Talk => Topic started by: Emton on November 25, 2015, 05:04:25 AM

Title: Want to change the value of logs and firewood
Post by: Emton on November 25, 2015, 05:04:25 AM
Which file do I look in to change the value of logs and firewood. I want to make logs worth 1 and firewood worth 2.
Title: Re: Want to change the value of logs and firewood
Post by: RedKetchup on November 25, 2015, 10:46:19 AM
Quote from: Emton on November 25, 2015, 05:04:25 AM
Which file do I look in to change the value of logs and firewood. I want to make logs worth 1 and firewood worth 2.

RawMaterialWood.rsc and RawMaterialFirewood.rsc

they are in the Resource/Template folder
Title: Re: Want to change the value of logs and firewood
Post by: Emton on November 25, 2015, 02:44:36 PM
How about the package file should the ExternalList look like this?

ExternalList list
{
   External _resources
   [
      "Template/RawMaterialFirewood.rsc:resource"
      "Template/RawMaterialHerb.rsc:resource"
      "Template/RawMaterialWood.rsc:resource"
   ]
}


I tried it and it worked but was wondering about the part after ".rsc:",   "resource" .... "citizen"... etc, if I make a change to a file how do I know which one to use and what are all the types.
Title: Re: Want to change the value of logs and firewood
Post by: RedKetchup on November 25, 2015, 07:12:32 PM
the " : " after the .rsc like "Template/RawMaterialFirewood.rsc:resource" means : "shortcut" , or "paragraph" or "function". you are asking to go jump directly to the 'paragraph' named 'resource' without reading everything else