Random cooking effects: Difference between revisions

m (Fix randomHighTier food search)
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:
Ingredients with these effects will not appear in recipes created while [[inspired]] from [[Carbide Chef]]; a random ingredient that provides the effect chosen will be picked instead.{{Code Reference | namespace = XRL.World.Parts | class = Campfire | method = CookFromIngredients}} However, they may still end up in other generated recipes, such as in village ovens.
Ingredients with these effects will not appear in recipes created while [[inspired]] from [[Carbide Chef]]; a random ingredient that provides the effect chosen will be picked instead.{{Code Reference | namespace = XRL.World.Parts | class = Campfire | method = CookFromIngredients}} However, they may still end up in other generated recipes, such as in village ovens.


== Random Effects {{File Reference | file = ObjectBlueprints/Data.xml | name = Weights | note = <code>ProceduralCookingIngredient_*</code> objects}} ==
== Random Effects {{File Reference | file = ObjectBlueprints/Data | name = Weights | note = <code>ProceduralCookingIngredient_*</code> objects}} ==
A notable inclusion on this list is {{CookEffect ID to page|attributes}}, the effect {{f|drop of nectar|plural}} provide, at a 1.47% chance of being picked. Including the 25% chance for the actual effect to activate, there is a 0.37% chance of every meal to gain +1 to all attributes.
A notable inclusion on this list is {{CookEffect ID to page|attributes}}, the effect {{f|drop of nectar|plural}} provide, at a 1.47% chance of being picked. Including the 25% chance for the actual effect to activate, there is a 0.37% chance of every meal to gain +1 to all attributes.


Line 91: Line 91:


== Random, usually powerful Effects <ref name="Weights" /> ==
== Random, usually powerful Effects <ref name="Weights" /> ==
A notable inclusion on this list is the {{CookEffect ID to page|density}}, the effect that {{f|neutron flux}} provides, with a 5.95% chance of being selected. Including the 10% chance of [[instant death]], this means that there is a 0.60% chance of every meal of death.  
A notable inclusion on this list is the {{CookEffect ID to page|density}}, the effect that {{f|neutron flux}} provides, with a 5.95% chance of being selected. Including the 10% chance of [[instant death]], this means that there is a 0.60% chance of death every meal.  


=== Unused Effects ===
=== Unused Effects ===