LC GiftBox Config

版本 v1.2.0·更新於 2025-04-23

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

模組介紹 作者原文

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

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPackxilophor-StaticNetcodeLibEvaisa-FixPluginTypesSerializationDBJ-ILUtilsDBJ-LCUtils

檔案與校驗

檔案名稱
LC_GiftBox_Config-1.2.0.zip
檔案大小
78.9 KiB