InverseGift

版本 v1.1.5·更新於 2026-05-15

Present a gift to the employee who uses Inverse Teleport

模組介紹 作者原文

InverseGift 逆傳禮物

Only Server-Side Install

僅房主需要安裝

Present a gift to the employee who used Inverse Teleport (tools, scrap materials, enemies, or even traps!)

爲使用逆向傳送的員工送上一份禮物(工具,廢料,敵人,甚至陷阱!)

The items will be generated at the location where they were teleported

物品將會生成在他們傳送後的地點

hope they like this gift!

希望他們喜歡這份禮物!

InverseGift Config Guide(配置說明)

📂 Config Location(配置文件位置)

Find the file:

找到配置文件:

BepInEx/config/chuxia.InverseGift.yml

All changes apply instantly after saving.

Save the file and it works in-game — no restart required.

修改並保存後 實時生效,無需重啓遊戲。

📦 Items

Items are always given when using Inverse Teleport.

Items 是每次逆向傳送都會獲得的物品。

Example:

Items:

  • Name: proflashlight

Count: "1"

  • Name: Shovel

Count: "1"

  • Name: giftbox

Count: "1"

🔍 How to find item names(如何查找物品名稱)

Use Inverse Teleport once in single-player.

單人模式使用一次逆向傳送。

This file will be generated:

會生成文件:

BepInEx/config/chuxia.InverseGiftItems.txt

Example content:

ProFlashlight:FlashlightItem

Shovel:ShovelItem

Use the name before:.

使用: 前面的名稱。

🎲 Gift (禮物盒配置)

Opening a gift box (including naturally spawned ones) will generate the items configured under Items, selected according to the Rarity weight.

打開禮物盒(包括自然生成的)時從配置中根據 Rarity 權重生成 Items 中配置的物品

Example:

Gift:

  • Rarity: 5

Items:

  • Name: GoldBar

Value: "200"

Count: "3-8"

Message: "{player}:銀行金庫!({counts})"

📊 Rarity (權重)

Higher number = higher chance.

數值越大,概率越高。

💰 Value & Count (價值 & 數量)

Supports fixed or random range:

支持固定值或隨機範圍:

Value: "100"

Value: "100-300"

Count: "1"

Count: "3-8"

Radius (生成半徑)

When spawning multiple objects, they will be evenly distributed in a circle around the spawn position.

當生成多個物品 / 敵人 / 陷阱時,它們會在生成點周圍以圓形分佈。

Items:

  • Name: HoarderBug

Count: "5-10"

Radius: 2

If Radius is not set, the default value is: 0.5

如果未配置 Radius,默認值爲:0.5

💬 Message Variables (消息變量)

You can use:

可使用變量:

| Variable | Description |

| ------------------ | ---------------------- |

| {player} | Player name(玩家名稱) |

| {result} | Spawned object name(物品名稱) |

| {values} | All values(總價值) |

| {counts} | All counts(總數量) |

| {value:ItemName} | Value of specific item(指定物品的價值) |

| {count:ItemName} | Count of specific item(指定物品的數量) |

Example:

Message: "{player} 獲得 {count:GoldBar} 根金條 (價值 {value:GoldBar})"

⭐ Special Names(特殊名稱)

These names are built-in (case insensitive):

以下爲內置名稱(不區分大小寫):

Null = Empty box(空盒子)

Meteor = Meteor shower(流星雨)

RandomTool = Random store item(隨機工具)

RandomScrap = Random scrap(隨機廢料)

RandomEnemy = Random enemy(隨機敵人)

RandomObject = Random trap(隨機陷阱)

MaskEvent = Masked event(生化危機)

🧩 Scrap Value(廢料價值)

If generating scrap, set Value.

Only Host can see scrap value.

生成廢料時可設置 Value(僅主機可見)。

  • If both the host and the client have AdditionalNetworking installed, scrap values can be synchronized.
  • 主機和客戶端都安裝 AdditionalNetworking 的情況下廢料價值可以同步

Support 支持

  • The thread in the LC Modding Discord Server

QQ羣:1060993887,找羣主反饋

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

BepInEx-BepInExPack

檔案與校驗

檔案名稱
InverseGift-1.1.5.zip
檔案大小
240.8 KiB