Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
| Date uploaded | 5 days ago |
| Version | 1.1.5 |
| Download link | chuxiaaaa-InverseGift-1.1.5.zip |
| Downloads | 477 |
| Dependency string | chuxiaaaa-InverseGift-1.1.5 |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
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: "<color=yellow>{player}:银行金库!(<color=green>{counts}</color>)</color>"
📊 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,找群主反馈
CHANGELOG
InverseGift Changelog
1.1.5
English
- Fixed compatibility issues with other mods.
- Improved object name registration so repeated level entries that use the same prefab are not exported as duplicate aliases.
- When different prefabs share the same object name, InverseGift now keeps them available through numbered aliases in the exported item list.
- Refactored custom gift events and object registration to make future compatibility fixes easier.
中文
- 修复了与其他模组的兼容性问题。
- 优化物体名称注册逻辑:多个地图引用同一个 prefab 时,不再导出为重复别名。
- 当不同 prefab 使用相同物体名称时,现在会在导出的物品列表中生成带编号的别名,仍然可以手动指定。
- 重构了自定义礼物事件和物体注册逻辑,后续兼容性维护会更稳定。
1.1.4
English
- Changed the configuration file structure.
- Old configuration files are no longer supported. Please delete the old configuration file when upgrading to version 1.1.4 or later.
中文
- 修改了配置文件结构。
- 不再支持旧版配置文件。升级到 1.1.4 或更高版本时,请删除旧的配置文件后重新生成。
1.1.3
English
- Fixed several bugs.
中文
- 修复了一些问题。
1.1.2
English
- Fixed several bugs.
中文
- 修复了一些问题。
1.1.1
English
- Added compatibility fixes for Lethal Company v73.
中文
- 修复了与 Lethal Company v73 的兼容性问题。
1.1.0
English
- Fixed several bugs.
中文
- 修复了一些问题。
1.0.9
English
- Fixed several bugs.
中文
- 修复了一些问题。
1.0.8
English
- Fixed several bugs.
中文
- 修复了一些问题。
1.0.7
English
- Fixed several bugs.
中文
- 修复了一些问题。
1.0.6
English
- Fixed errors caused by generated scrap items without a configured value.
中文
- 修复了生成的废料物品没有设置价值时可能导致异常的问题。
1.0.5
English
- Fixed an issue where random items could not be included in reverse teleporter gift items.
中文
- 修复了逆向传送赠送物品中无法包含随机物品的问题。
1.0.4
English
- Fixed configuration file hot reload not taking effect.
- Fixed an error that could occur when leaving after no inverse teleporter had been used during the round.
- Fixed an issue where items generated from random names could become fixed.
- Scrap values now support random ranges. Use
Value1-Value2to randomize the value. Both values must be integers, andValue1must be less thanValue2.
中文
- 修复了配置文件热重载不生效的问题。
- 修复了整局游戏未使用逆向传送器时,离开游戏可能报错的问题。
- 修复了随机名称生成的物品可能被固定的问题。
- 废料价值现在支持随机范围。使用
Value1-Value2即可随机价值。两个值都必须是整数,并且Value1必须小于Value2。
1.0.3
English
- Fixed a bug where scrap items could be generated without a value.
中文
- 修复了废料物品可能没有价值的问题。
1.0.2
English
- Added four special names:
RandomTool,RandomScrap,RandomEnemy, andRandomObject.
中文
- 新增四个特殊名称:
RandomTool、RandomScrap、RandomEnemy、RandomObject。
1.0.1
English
- Fixed several bugs.
中文
- 修复了一些问题。
1.0.0
English
- Initial release.
中文
- 初始发布。