Skip to content

Commit d38fe50

Browse files
committed
Minor change to costMultiplierSellerProfitMargin
1 parent 4115c54 commit d38fe50

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This mod makes the following changes to the campaign layer of Starsector:
44

5-
1. Weapons and combat ships are scarce and highly regulated and more expensive. Access to these is regulated with a standing system, with the standing affected by your reputation, your best contact (contact reputation and quality) and your commission status (if possible). Buying larger hulls or high tier weapons is next to impossible without the right connections.
5+
1. Weapons and combat ships are scarce and highly regulated and more expensive (2x by default). Access to these is regulated with a standing system, with the standing affected by your reputation, your best contact (contact reputation and quality) and your commission status (if possible). Buying larger hulls or high tier weapons is next to impossible without the right connections.
66
1. If you dont have a high enough standing you wont be getting combat ships and weapons equipment from them. If they hate you enough they may even not sell you civilian ships. Can be configured using the config and csv files mentioned in it.
77
2. You can only buy combat ships and weapons on the black market if your contact has a high enough importance. Can be configured in the config.
88

assets/starpocalypse.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"costMultiplierWeapon": 2, # Vanilla 1
6969
"costMultiplierShips": 2, # Vanilla 1
7070
"costMultiplierProduction": 3, # Multiplier for pruduction volume Vanilla 1
71-
"costMultiplierSellerProfitMargin": 0.5, # Sets profit margin for Markets. Basically how much of the value the player looses by selling. 0 means vanilla values are used. Max value: 1 (You sell everything for 0) Min value: 0 (Sell price = buy price)
71+
"costMultiplierSellerProfitMargin": 0.5, # Sets profit margin for Markets. Basically how much of the value the player looses by selling. -1 means vanilla values are used. Max value: 1 (You sell everything for 0) Min value: 0 (Sell price = buy price)
7272
"costMultiplierOverrideDmods": 0.5, # Multiplier for pruduction volume Vanilla 0.3
7373

7474

src/starpocalypse/StarpocalypseMod.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ private void applyCostModifiers() {
226226
Global.getSettings().setFloat("productionCostMult", ConfigHelper.getCostMultiplierProduction() * (float)original_vanilla_setting.get("productionCostMult"));
227227
Global.getSettings().setFloat("productionCapacityPerSWUnit", ConfigHelper.getCostMultiplierProduction() * (float)original_vanilla_setting.get("productionCapacityPerSWUnit"));
228228

229-
if(ConfigHelper.getCostMultiplierSellerProfitMargin() == 0)
229+
if(ConfigHelper.getCostMultiplierSellerProfitMargin() < 0)
230230
{
231231
Global.getSettings().setFloat("shipSellPriceMult", ConfigHelper.getCostMultiplierShips() * (float)original_vanilla_setting.get("shipSellPriceMult"));
232232
Global.getSettings().setFloat("shipWeaponSellPriceMult", ConfigHelper.getCostMultiplierWeapon() * (float)original_vanilla_setting.get("shipWeaponSellPriceMult"));

0 commit comments

Comments
 (0)