Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Help with supply modding  (Read 1821 times)

Tynendir

  • Ensign
  • *
  • Posts: 1
    • View Profile
    • Email
Help with supply modding
« on: May 02, 2017, 03:30:08 PM »

Hi,

One aspect I don't really like in the game is how intensive the supply farm is. I feel like I never have enough credits to buy the supplies I need and all I do is farm credits not to buy ships but to buy supplies. So I'm probably doing something horribly wrong but I would like to mod that by multiplying by doing one or all of the followings:
- multiplying by X all supply drops and all supply available in shops
- reducing by X% the supply cost of everything
- reducing by X% the cost of supplies in shops

I'm fairly new at modding and I've only really modded xml stuff. So would someone tell me how you would approach that or if it is possible at all? Hopefully it is not hard coded...

Thank you guys!
Logged

Calodine

  • Lieutenant
  • **
  • Posts: 50
    • View Profile
    • Email
Re: Help with supply modding
« Reply #1 on: May 02, 2017, 04:51:00 PM »

If you just want it as a personal thing, go to starsector install, starsector-core/data/hulls, find ship_data.csv and make a backup. THen, on the right side of that, there's the supply cost of all the ships - how much it costs to deploy, how much they cost per month, etc etc. Just make sure you keep the original backed up.

To do it properly, you'd need to set up a basic mod structure (Just look at any other mod's folder), copy that csv file there, and set it to replace in mod_info.json.

But again, if you're just wanting to do it for yourself, it's easier to just edit the core file - just make sure you back up the original.
Logged

Histidine

  • Admiral
  • *****
  • Posts: 2800
    • View Profile
    • Bitbucket profile
    • Email
Re: Help with supply modding
« Reply #2 on: May 02, 2017, 05:47:45 PM »

As for supply cost in markets, look at data/campaign/commodities.csv (IIRC).
Logged

Blotted Mike

  • Ensign
  • *
  • Posts: 3
    • View Profile
Re: Help with supply modding
« Reply #3 on: August 16, 2019, 06:07:52 PM »

Hello guys!
I need help modding the supply usage per month.
I managed to get help in discord on halving the fuel usage per light year and i succeeded in doing so. But i failed miserably at halving the supply usage per month. Is there a really really simple way to do it?
I tried to edit csv files ship_data.csv but when i edited them i got an error "something something id not found" in the error log.
Can someone walk me through the correct process of editing the files?

Oh oh and i need to edit the supply usage in my current save.
Logged