Somewhat related to my other PR #410, but is an independent change for a different issue, so I made a new one rather than put everything in the same PR.
There were some issues I noticed with the fuse menu concerning Zonai devices:
Each device is counted twice, once under Environment and then again under Zonai devices. The editor will pick the first one it sees when loading a save file, which will always be the one under Environment
The Zonai capsule objects were identified as fusible objects when they shouldn't be, as trying to fuse a capsule to a shield/weapon will result in the actual Zonai device being fused instead of the capsule itself. Editing the file to have a capsule fuse and then equipping it in-game will result in the capsule just being dropped at Link's feet.
Big Wheels, Hydrants, and Portable Pots don't follow the same naming convention as the other devices in that their actor name isn't the same as the capsule name with just _Capsule removed.
Also, roasted and frozen food are valid fuse materials (e.g. Icy Meat Shields) but weren't being counted.
Changes
This fixes those issues by:
Removing Zonai devices and their capsules from the Environment fusible objects
The non-standard variants such as the infinite durability minigame Wing or Tarrey Town steering stick are kept though, as they seem to be valid fuses.
Mapping the capsule name to device name so that wheels, hydrants, and pots will be properly counted, and the text can still be localized in the UI.
Adding roasted and frozen food items to the list of fusible items
Notes
Somewhat related to my other PR #410, but is an independent change for a different issue, so I made a new one rather than put everything in the same PR.
There were some issues I noticed with the fuse menu concerning Zonai devices:
Environment
and then again underZonai devices
. The editor will pick the first one it sees when loading a save file, which will always be the one underEnvironment
_Capsule
removed.Also, roasted and frozen food are valid fuse materials (e.g. Icy Meat Shields) but weren't being counted.
Changes
This fixes those issues by:
Environment
fusible objects