Stationeers

Stationeers

评价数不足
StationeersOreYieldConfig
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
399.431 KB
9 月 15 日 下午 12:49
9 月 22 日 上午 8:51
3 项改动说明 ( 查看 )

订阅以下载
StationeersOreYieldConfig

描述
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]


11 条留言
Anwaan 10 月 29 日 下午 2:38 
Awesome mod that just works! Thanks!
Gariot 9 月 22 日 下午 1:30 
Awesome update, thank you! :)
Thunderbolt 9 月 22 日 下午 1:01 
@Luminiel thanks for the help. Think I found the right files to fiddle with.
Luminiel  [作者] 9 月 22 日 上午 9:05 
@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  [作者] 9 月 22 日 上午 8:54 
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 9 月 22 日 上午 1:52 
@Funky You should be able to control-click on the sliders to get a text entry box.
Thunderbolt 9 月 21 日 上午 9:12 
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 9 月 21 日 上午 2:56 
@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 9 月 21 日 上午 2:38 
Would i be possible to make the options for the yields a type field? The sliders are erratic and cant be dialled in!
Luminiel  [作者] 9 月 20 日 上午 5:35 
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