TheMorningStar-McDonaldsFix icon

McDonaldsFix

Makes the usable McDonald's items actually work. Big Mac heals, the Happy Meal gives a random upgrade, Ice Cream gambles. By TheMorningStar.

Last updated an hour ago
Total downloads 5
Total rating 0 
Categories AI Generated
Dependency string TheMorningStar-McDonaldsFix-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
Lluciocc-McDonaldsValuables-1.0.3 icon
Lluciocc-McDonaldsValuables

Adding some mcdonalds valuables and items

Preferred version: 1.0.3

README

McDonald's Fix

The usable items from McDonald's Valuables (Big Mac, Happy Meal, Ice Cream) show a use prompt but do nothing, because their effects were never wired to the items. This wires them up so they actually work:

  • Big Mac: heals 75 HP
  • Happy Meal: gives one random stat upgrade
  • Ice Cream: a coin flip. Either every upgrade at once, or it kills you.

By TheMorningStar. Needs McDonald's Valuables installed, and everyone in the lobby should have both.

For developers - detailed breakdown

The original mod attaches its HappyMeal/IceCream behaviours to its own plugin GameObject instead of the item prefabs, never adds them as ItemToggle listeners, and never populates the gift list, so nothing fires. This is a separate Harmony patch that ships none of their code. It postfixes ItemToggle.ToggleItemLogic (the item-use path in both singleplayer and the ToggleItemRPC multiplayer route), matches the McDonald's item by name, and runs the intended effect through the game's own networked APIs: HealOther for the Big Mac, TesterUpgradeCommandRPC stat upgrades for the Happy Meal and Ice Cream, HurtOther for the Ice Cream's kill roll. Master-gated so it fires once, and each client self-applies to the target.