Mrbysco / Spoiled

Spoiling the end of your food supply since 2020
https://www.curseforge.com/minecraft/mc-mods/spoiled
MIT License
7 stars 5 forks source link

[Suggestion]: Different spoilage categories for different types of food #40

Open SamJBarney opened 11 months ago

SamJBarney commented 11 months ago

General Info

Suggestion Description

Meat spoils at a different rate than eggs or veggies. It would be nice to have the ability to create different categories that have different spoiling rates and then be able to add items to the categories. There would still be a generic spoilage rate that would be applied to food items that don't have a value specified.

Derpford commented 10 months ago

This would also be useful for implementing different spoilage results for different food types, i.e., making the meat category spoil into rotten flesh and the veggie category spoil into dirt(?). And, being able to use tags for spoilage rates would reduce the amount of work that goes into configuring modded content.

blueridger commented 8 months ago

Tags are already usable like this. For example, there are compatibility tags that already exist like forge:crops that you can use when creating recipes. You can install CraftTweaker and run /ct dump tag to see available tags.

I've also just submitted a PR that adds a priority attribute to resolve cases where multiple recipes/tags apply to an item.