~Utility: clear_deposits Replacement

If you liked this item, please rate it up on Steam Workshop page.

Author: Vaeringjar

Last revision: 21 Jun, 2019 at 07:44 UTC (4)

File size: 4.1 KB

On Steam Workshop

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.

Download
Revisions:

Old revisions of this mod are available below. Click the link to download.