Stellaris

Stellaris

103 ratings
~Utility: clear_deposits Replacement
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
4.450 KB
Mar 30, 2019 @ 10:47am
Jun 21, 2019 @ 12:44am
7 Change Notes ( view )

Subscribe to download
~Utility: clear_deposits Replacement

In 1 collection by Vaeringjar
Vaeringjar's Mods
10 items
Description
2.3 compatible

This modding utility is a substitute for vanilla indiscriminate "clear_deposits" effect, giving more control over what deposits to clear.
The most straightforward example use-case is as a solution to unwanted loss of modded deposits upon terraforming into ecumenopolis, which is included in the mod, making more complicated workarounds unnecessary.

Technicalities

> Scripted_effects included:
clear_standard_deposits clear_sr_deposits # sr = special resources clear_special_deposits # such as from anomalies and events clear_all_deposits # simply calls the above 3, along with any additional equivalent scripted_effects from other mods for compatibility clear_all_vanilla_deposits # as above, but excluding any added by mods
> You can mod what specific deposits are cleared or not, by directly editing a scripted_effect.
> You can mod which scripted effects are used, for example this mod includes swapping vanilla "clear_deposits" for "clear_all_deposits" in the ecumenopolis decision and in the hive/machine -worlds terraforming on_action event.
> Keep in mind this only relates to "clear_deposits", not "reroll_deposits" (which is used by "reset_planet" and "reroll_planet" vanilla scripted effects).

Overwrites & Compatibility

This utility is compatible with everything, as other mods' overwrites take priority.

> Terraforming on_action event "action.68" (Hive & Machine -worlds terraforming event) @ 02_special_decisions.txt
> Decision "decision_arcology_project". Note: related event "mega.200" is not affected by this mod. @ on_action_events.txt

This mod uses "000_" as the naming prefix for "overwritten" FIOS files, and "b_" for LIOS files. ("First/Last in only served")

Acknowledgements:
This mod is a result of fixing a feature/deposit-loss bug in my Mastery of Districts mod. Thank you Astral, ホールドタイト and starchitect for your feedback.
35 Comments
Shoff Jun 20, 2023 @ 11:55pm 
Also, yes, the "debugtooltip" console command shows the ID in my experience doing GUI modding. I should be able to use it to quickly find the ID of the strategic resource deposits I'm trying to apply
Shoff Jun 20, 2023 @ 11:49pm 
Oh, it's that easy? Dang, I'm glad I asked then. I assumed I was going to have to manually add support in the mod files (well, I'm sure I could technically do that anyways if I wanted to forego the console every time at game launch). Thank you!
Vaeringjar  [author] Jun 20, 2023 @ 4:47pm 
if you mean deposits then IIRC you can add/remove them with console commands. You'll have to look up what their ID is, unless debug mode makes the ID show up in the tooltips like in HoI4
Shoff Jun 20, 2023 @ 10:07am 
Ah, man I would love to play Master of Districts, but I think I have to manually add the strategic resources somehow. Could you possibly brief me on a howto, or is it too complex for an internet comment?
Bald Apr 8, 2021 @ 5:08am 
Hello Boss
I play Mastery of Districts without this and look like work...
Like a player with thousand of hour played but withouth technical knowledge... what do this mod for me? I dont get it
Regards,
Celtic-Soul Feb 5, 2021 @ 6:17am 
I've been playing with it for a while, can't say if it adds anything or if deposits are missing, but I can say it doesn't crash the game ;) I guess it just stil works.
Vaeringjar  [author] Feb 4, 2021 @ 10:55pm 
it should work, though it will be missing any deposits added to the game since the last mod update

idk if vanilla has changed things related to this, it might, I'd have to go through all the patch notes, which I won't be doing until I play again
Celtic-Soul Jan 30, 2021 @ 12:47pm 
Does it still work ? I need it for another mod but it's not been updated since a while. thx
nasrudin May 3, 2020 @ 10:07pm 
Any idea if this is still needed in v2.6? = is this a problem that's a result of vanilla game code and that vanilla-game updates would plausibly fix?
Vaeringjar  [author] Mar 18, 2020 @ 1:55am 
@petrovytsh
Yeah I didn't update it for Ancient Relics as I barely played that version, and only bought the DLC after some time too. I'll have a look at it in the coming weeks.