CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.65k stars 4.18k forks source link

Expand u_forget capabilities #77689

Closed Maleclypse closed 56 minutes ago

Maleclypse commented 1 week ago

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

I would like for u_forget_recipe to be expanded with a u_forget_recipe_category. That way we could reduce line count when recipes have to vanish because a trait is removed. "type": "recipe_category", "id": "CC_XEDRA", "recipe_subcategories": [ "CSC_ALL", "CSC_XEDRA_RESEARCH", "CSC_XEDRA_WEAPONS", "CSC_XEDRA_ARMOR", "CSC_XEDRA_TOOLS", "CSC_XEDRA_ROBOTS", "CSC_XEDRA_MISC", "CSC_XEDRA_ALCHEMY", "CSC_XEDRA_GRACKEN", "CSC_XEDRA_ELEMENTAL"

Solution you would like.

To remove a whole recipe subcategory in one go. This would also benefit future changes to recipes not having to add individual recipes to the eoc's here. #77685

Describe alternatives you have considered.

I dunno there are lots of people smarter than me

Additional context

No response

Procyonae commented 1 week ago

Would the same support for learn recipe be useful?

Maleclypse commented 1 week ago

Would the same support for learn recipe be useful?

Yes I think it would be.