LC GiftBox Config

v1.2.0·Updated 2025-04-23

Configure gift boxes / presents, such as having store items / scrap / another present / nothing, weighting of item selection, spawn rates, etc.

About this mod Author’s original text

LC_GiftBox_Config

Configure gift boxes / presents, such as having store items / scrap / another present / nothing, weighting of item selection, spawn rates, etc.

Config Options

Contained Item Type

  • Store Item Chance (Selection Weight)
  • Scrap Item Chance (Selection Weight)
  • Gift Box Chance (Selection Weight)
  • Empty Chance (Selection Weight)
  • Unmodified Chance (Selection Weight)

Contained Scrap Item

  • Scrap Value Minimum
  • Scrap Value Maximum
  • Scrap Value Influence (%)
  • Spawn Weight Minimum
  • Spawn Weight Maximum
  • Spawn Weight Influence (%)
  • Spawn Weight Can Be Zero

Contained Store Item

  • Price Minimum
  • Price Maximum
  • Price Influence (%)

Contained Scrap Value

  • Inherit Gift Box Value Chance (%)
  • Addition Chance (%)
  • Addition Minimum
  • Addition Maximum
  • Multiplier Chance (%)
  • Multiplier Minimum
  • Multiplier Maximum

Gift Box Spawn Weight

  • Addition Chance (%)
  • Addition Minimum
  • Addition Maximum
  • Multiplier Chance (%)
  • Multiplier Minimum
  • Multiplier Maximum

Gift Box Spawn Anomaly

(An anomaly that causes additional gift boxes to spawn into a level, separately from the standard scrap pool mechanics)

  • Anomalous Spawning Chance (%)
  • Minimum Gift Boxes
  • Maximum Gift Boxes

Gift Box Behaviors

  • Empty Gift Box Eggsplosion Chance (%)
  • Position-Based Randomness Influence (%)

Compatibility / Debugging

  • Disable All Mod Mechanics
  • Disable Gift Box Duplicate Sounds Bugfix
  • Disable Gift Box Setting Tool Scrap Value Bugfix

Credits

  • Mom_Llama (@mamallama on LC Modding Discord) for creating this LC Modding Template & Tutorial
  • malco (@Malcolm-Q on GitHub) for creating this IL Transpiler Helper, which inspired the design for the ILStepper class I created for this mod + future mods
  • RedCrowbar (@landonk89 on GitHub) for creating this Reflection Access Helper, from which I learned how to use reflections and implement it within the ILStepper class

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPackxilophor-StaticNetcodeLibEvaisa-FixPluginTypesSerializationDBJ-ILUtilsDBJ-LCUtils

File & checksum

Filename
LC_GiftBox_Config-1.2.0.zip
File size
78.9 KiB