World of Banished

Conversations => Suggestions and Mod Ideas => Topic started by: Gatherer on May 09, 2017, 10:30:39 AM

Title: Mod Request: Override mod for Firewood and Lumber trade value
Post by: Gatherer on May 09, 2017, 10:30:39 AM
Hello kind moddlers

Would anyone be interested in creating a standalone override mod that changes firewood and lumber trade value? Currently both are valued 4. I'd like to see them revalued at 2 and 3 trade values respectively. @Tom Sawyer has revalued firewood to 2 in his North mod so it shouldn't be a problem codewise, would it?

As always, time is not an issue here.

Cheers
:)
Title: Re: Mod Request: Override mod for Firewood and Lumber trade value
Post by: embx61 on May 09, 2017, 12:21:38 PM
@Gatherer

Wood (Logs) have a value of 2 in Vanilla.

I made a override Mod but it won't add RawMaterialWood to the packing list because Vanilla Value is also 2.

Never seen this before but my guess is that the compiler sees no difference between my RawMateralWood _value part and the Vanilla value part and so skippes it.

So I set the stackcount from 200 to 201 and then it adds it to the PKM as the compiler notice a change. :)

Download (https://drive.google.com/file/d/0B1Pi5G-4I06jYkxkRGFVbDNPbUU/view?usp=sharing)



Title: Re: Mod Request: Override mod for Firewood and Lumber trade value
Post by: Gatherer on May 09, 2017, 12:39:32 PM
Well that was fast. Thanks. Will check it out later.
Title: Re: Mod Request: Override mod for Firewood and Lumber trade value
Post by: embx61 on May 09, 2017, 12:49:29 PM
LOL

Little override mods are easy to do. :)

Just put on top of your mod list and it should work.