Suggestion: Make ItemPrototype->SpoilResult Behave Like RecipePrototype->Results for Greater Flexibility
Posted: Wed Dec 04, 2024 2:09 pm
I made a post yesterday asking if it is possible for an item to spoil into multiple items based on probability. This feature aligns closely with the idea I’m working on for my mod, which revolves around a new type of ore called Probabilitium. This ore can be processed into basic resources like iron, copper, stone, or coal based on probabilistic outcomes.
While there were some helpful suggestions and hacks on how to achieve this, I believe the ItemPrototype->SpoilResult property would benefit greatly from more flexibility. In my mind, it seems conceptually similar to how RecipePrototype->Results behaves, allowing for more complex outcomes such as multiple possible results with assigned probabilities.
Expanding the functionality of SpoilResult would not only help my mod but could open up new possibilities for other mods as well.
Please let me know your thoughts on this suggestion.
Link to my post: viewtopic.php?f=25&t=123628
While there were some helpful suggestions and hacks on how to achieve this, I believe the ItemPrototype->SpoilResult property would benefit greatly from more flexibility. In my mind, it seems conceptually similar to how RecipePrototype->Results behaves, allowing for more complex outcomes such as multiple possible results with assigned probabilities.
Expanding the functionality of SpoilResult would not only help my mod but could open up new possibilities for other mods as well.
Please let me know your thoughts on this suggestion.
Link to my post: viewtopic.php?f=25&t=123628