Change prices of goods in the shop. Improving game balance.
This script allows you to change the price of goods, configurations, or fill types. You can also hide an item from the shop using a single configuration file. It is designed for those who want to change/hide items.
When the mod runs for the first time, it creates the PriceFixing.xml file in the "modsSettings" directory, located in the same place as the "mods" directory.
To help you find the correct filename to make changes, the console command "priceList" will output all prices to log.txt.
Changelog 1.1.0.0:
- Now you can change the price of configurations (e.g., engine upgrade cost) (see Example
#5);
- Now you can remove map elements from your map if you know the node path (see Example
#6);
- Now you can change the capacity of trailers, silos, and other objects (see Example
#7).
The examples below show how you can add another XML element to the file to change item properties:
Adding elements to the PriceFixing.xml file can
EXAMPLE
#1: Change the price of an item from another mod ("~" is replaced by the path to your mod directory)
<change file = "~ / FS19_NOVACAT_varia_pack / PoettingerNovaCat301.xml" price = "12042" />
EXAMPLE
#2: Hide a standard item from the shop (base game items use the full path to their XML file)
<change hide = "true" file = "data / placeables / sheds / easyShed02.xml" />
EXAMPLE
#3: Change price, daily upkeep, and name
<change file = "data / placeables / sheds / easyShed01.xml">
<price> 42042 </price>
<upkeep> 42 </upkeep>
<name> Piti Shed
#1 </name>
</change>
EXAMPLE
#4: Change the base price of wheat (per liter):
<change_filltype id = "WHEAT" price = "0,347000" />
EXAMPLE
#5: Change the cost of the Guidance Steering mod configuration item to $3500:
(configuration IDs use the form config_name + "-" + index and are found in the mod’s XML file or mod source)
<change_config id = "buyableGPS-2" price = "3500" />
EXAMPLE
#6: Remove the garbage zone on the starting farm on the Ravenport map:
(Node path can be found in the Giants editor)
<delete map = "data / maps / mapUS.i3d" node = "17 | 0 | 23 | 4 | 1" />
EXAMPLE
#7: Change the capacity and price of the hayloft:
<change file = "data / placeables / hayLoft / hayLoft.xml" price = "50000" capacity = "1500000" />