cataclysmbnteam / Cataclysm-BN

Cataclysm: Bright Nights, A fork/variant of Cataclysm:DDA by CleverRaven.
https://docs.cataclysmbn.org
Other
702 stars 273 forks source link

Modding requirements: requirements modding #4075

Open Lorith opened 10 months ago

Lorith commented 10 months ago

Is your feature request related to a problem? Please describe.

Sorry about the title, but I had to. Requirements such as welding standard, forging standard, etc, do not support copy-from and extends. This leads to incompatibilities between mods, as the only method is to completely override them.

Describe the solution you'd like

Requirements should be able to use copy-from and extends, allowing mods to add instead of override.

Additional context

No response

RoyalFox2140 commented 10 months ago

Seconded. I probably caused a ton of issues from overwriting soldering standard in Essence 2200 and I can confirm that camp blueprints explode if you touch crafting standards.

chaosvolt commented 10 months ago

The big one will be allowing extends to add to a list of components. Recipes support copy-from (though in the past they were crappy about not properly inheriting everything from a recipe, maybe still are I don't recall), but never seen a recipe do anything to its components field beyond full overrides.