Cooking: Difference between revisions
imported>Leoetlino (→Boost) |
(→CookData.byml: System section) |
||
Line 22: | Line 22: | ||
{{resloc|path=Cooking/CookData.byml|locations=[[Bootup.pack]]}} | {{resloc|path=Cooking/CookData.byml|locations=[[Bootup.pack]]}} | ||
'''CookData.byml''' is the configuration file for the CookingMgr (which implements cooking functionality). | '''CookData.byml''' is the configuration file for the CookingMgr (which implements cooking functionality). | ||
=== System === | |||
The System header, located at the bottom of CookData.byml, contains parameters that define how the cooking system functions. | |||
==== CEI ==== | |||
CEI contains the parameters for each effect type available when cooking. | |||
{| class="wikitable" | |||
!Key | |||
!Name (unofficial) | |||
!Description | |||
|- | |||
|BT | |||
|Base Time | |||
|Minimum amount of time a recipe effect will be active for, before additions/multipliers from ingredients. | |||
|- | |||
|MR | |||
|Material Rate | |||
|Multiplier on the EffectLevel of ingredients used to obtain the final effect amount. | |||
|- | |||
|Ma | |||
|Maximum | |||
|Maximum effect level. For stamina, in 1/5s of a wheel. For hearts, in 1/4s of a heart. | |||
|- | |||
|Mi | |||
|Minimum | |||
|Minimum effect level. For stamina, in 1/5s of a wheel. For hearts, in 1/4s of a heart. | |||
|- | |||
|SSA | |||
|unknown | |||
|- | |||
|- | |||
|T | |||
|Type | |||
|Effect Type, as un/signed hash of string. Valid types are hashes of the following: LifeRecover, LifeMaxUp, ResistHot, ResistCold, ResistElectric, AllSpeed, AttackUp, DefenseUp, Quietness, Fireproof. (GutsRecover and GutsMaxUp are the two unlisted types, but their unhashed string values are currently unknown) | |||
|} | |||
[[Category:Game mechanics]] | [[Category:Game mechanics]] |
Revision as of 23:31, 7 December 2020
This article is a stub. You can help ZeldaMods (Breath of the Wild) by expanding it. (For a list of non-stub pages, see Project:Pages.) |
Concepts
Recipes
SingleRecipes
Boost
Cooked items sometimes receive bonuses (improved effect duration, potency, health recovery, etc.). This random process is internally called a "boost". When this happens, the player is said to have gotten a "critical success".
The probability of getting a boost is calculated based on what ingredients the player is using.
However, boosts are guaranteed during a blood moon. More exactly:
- The current day must be a "Bloody Day" (see WorldMgr for more information).
- The "blood moon time range progress" must be strictly greater than 0.1%.
- This value starts increasing linearly from 0% at 23:30 and reaches 100% at 00:00, then starts decreasing and reaches 0% at 00:15.
- Effectively, this means the time range is roughly 23:30-00:15.
Fail
Tag
Tags (in the context of the cooking subsystem) are exactly the same thing as regular actor tags (see bxml). However, they are stored as CRC32 hashes in the configuration file.
CookData.byml
This resource is found in Bootup.pack.
Its canonical resource path is "Cooking/CookData.byml".
CookData.byml is the configuration file for the CookingMgr (which implements cooking functionality).
System
The System header, located at the bottom of CookData.byml, contains parameters that define how the cooking system functions.
CEI
CEI contains the parameters for each effect type available when cooking.
Key | Name (unofficial) | Description |
---|---|---|
BT | Base Time | Minimum amount of time a recipe effect will be active for, before additions/multipliers from ingredients. |
MR | Material Rate | Multiplier on the EffectLevel of ingredients used to obtain the final effect amount. |
Ma | Maximum | Maximum effect level. For stamina, in 1/5s of a wheel. For hearts, in 1/4s of a heart. |
Mi | Minimum | Minimum effect level. For stamina, in 1/5s of a wheel. For hearts, in 1/4s of a heart. |
SSA | unknown | |
T | Type | Effect Type, as un/signed hash of string. Valid types are hashes of the following: LifeRecover, LifeMaxUp, ResistHot, ResistCold, ResistElectric, AllSpeed, AttackUp, DefenseUp, Quietness, Fireproof. (GutsRecover and GutsMaxUp are the two unlisted types, but their unhashed string values are currently unknown) |