Stationeers

Stationeers

Not enough ratings
StationeersOreYieldConfig
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
399.431 KB
15 Sep @ 12:49pm
22 Sep @ 8:51am
3 Change Notes ( view )

Subscribe to download
StationeersOreYieldConfig

Description
WARNING: This is a plugin mod. It requires BepInEx to be installed with the StationeersLaunchPad plugin.
See: https://github.com/StationeersLaunchPad/StationeersLaunchPad

Use at your own discretion since it changes the resource gathering aspect of the game.

Stationeers Ore Yield Config
Allows you to change the amount you get when you mine an ore.
In addition, you can also set yield multipliers.
The amount you get is fixed i.e. consistent amount drops per mine. Toggleable in the settings.

In-game config is available through workshop settings menu.
No need to modify XML. All my homies escaped the angle bracket gulag.

This is only applicable for tool-mined/hand-mined ores.
Deep miners are not affected.

Enabling or disabling the mod requires a game restart to take effect.




Notes
Few side effects of this mod that you may want to be aware of.

  • This mod bypasses the stack size limitations which means you can end up with lots of ores in a single inventory slot even without a stack size mod.
  • Trying to combine both mined items whose stacks are beyond the stack limit will split it into two stacks: one that is limited by stack size and one with no stack limits.
    • You could potentially end up with crazy amount of ores in a single slot if you keep combining in the way as mentioned above. I don't know what repercussions it may bring.




Code repository[gitlab.com]


10 Comments
Gariot 22 Sep @ 1:30pm 
Awesome update, thank you! :)
Thunderbolt 22 Sep @ 1:01pm 
@Luminiel thanks for the help. Think I found the right files to fiddle with.
Luminiel  [author] 22 Sep @ 9:05am 
@Thunderbolt

That's controlled by the game's world generation system, which is outside the scope of this mod (mod only modifies what happens when you mine existing ore nodes)

I do think it's possible though. You may want to look in the game's config files (configs are located at: <Stationeers_Game_Directory>/rocketStation_Data/StreamingAssets/Data) or if you're comfortable with modding, you could poke around in the game's code to see how ore generation works and you can tweak it from there
Luminiel  [author] 22 Sep @ 8:54am 
Mod updated. Added yield multipliers as per suggestion of (@Gariot).

Also added toggles for enabling/disabling consistent ore yields and yield multipliers. For people who like the vanilla randomness but want boosted amounts.

Also updated tooltip descriptions on how to make the sliders an entry box (thanks @Tallinu for the info)
Tallinu 22 Sep @ 1:52am 
@Funky You should be able to control-click on the sliders to get a text entry box.
Thunderbolt 21 Sep @ 9:12am 
Is it possible to make ore spawn less frequently? Ive never liked how the surface is just covered in ore, even more than ever with the new beautiful terrain.
Gariot 21 Sep @ 2:56am 
@Luminiel
Thank you! I go and check that.

I thought about this yesterday too an wondered if it would be possible, instead of fix values you now do, to use a multiplier? How it would be handlet internally is something different, but i think this would be a nice idea too to implement.
Funky 21 Sep @ 2:38am 
Would i be possible to make the options for the yields a type field? The sliders are erratic and cant be dialled in!
Luminiel  [author] 20 Sep @ 5:35am 
I'd recommend using the vanilla maximum drop as base, then setting your value slightly above it. For reference, you can find the min and max drops of different ores in

<Stationeers_Game_Directory>/rocketStation_Data/StreamingAssets/Data/mineables.xml

You'll see words like MinQuantityDrop and MaxQuantityDrop, which tell you the range of ore drops. They're also lined up with what ore they are describing e.g. Type="Iron"

To use iron ore as an example (max drop: 6):

for a slight increase, i'd suggest a value of 8 (+2 from max)
if you want to reduce the grind further, bump the value to 12 or 15 (+6 and +9 from max, respectively)

Feel free to tweak it to whatever feels right for you
Gariot 20 Sep @ 12:51am 
If i want to increase the yield just a little bit, what settings would you recommend?