You can do it as a mod non-destrutively
1) Follow the instructions to make a mod (folder and mod info)
2) create your own Mod_Units.bp file (this is a text file with the .bp extension)
3) Override the costs using the data structure that can be found in your dgdata.zip's units\ug\b\ugbshopXX file (where XX is the specific shop number for each page of items in the store)
eg: In the Mod_Units.bp file of my Balmod mod here is the structure of the consumable price changes, and this is overwritng the values in the DGDATA.zip's units\ug\b\ugbshop05\UGBShop05Consumables_unit.bp file.
Code: c++
- UnitBlueprint {
- BlueprintId = "ugbshop05consumables",
- Merge = true,
- Shop = {
- Tree = {
- # Combat Health
- Item_Health_Potion_Art = {
- Cost = 375,
- ItemBP = 'Item_Health_Potion_Art',
- },
- # Large Health
- Item_Large_Health_Potion_Art = {
- Cost = 750,
- ItemBP = 'Item_Large_Health_Potion_Art',
- },
- # Combat Mana
- Item_Mana_Potion_Art = {
- Cost = 400,
- ItemBP = 'Item_Mana_Potion_Art',
- },
- # Large Mana
- Item_Large_Mana_Potion_Art = {
- Cost = 750,
- ItemBP = 'Item_Large_Mana_Potion_Art',
- },
- # Combat Rejuv
- Item_Rejuv_Elixir_Art = {
- Cost = 500,
- ItemBP = 'Item_Rejuv_Elixir_Art',
- },
- # Large Rejuv
- Item_Large_Rejuv_Elixir_Art = {
- Cost = 900,
- ItemBP = 'Item_Large_Rejuv_Elixir_Art',
- },
- },
- },
- }