R.E.P.O.
Install

Details

Last Updated
First Uploaded
Downloads
1.8K
Likes
1
Size
6.8KB
Dependency string
TheMorningStar-McDonaldsFix-1.0.0
Dependants

Categories

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.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.