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 | 12 months ago |
| Version | 1.0.2 |
| Download link | chuxiaaaa-InverseGift-1.0.2.zip |
| Downloads | 94 |
| Dependency string | chuxiaaaa-InverseGift-1.0.2 |
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!
希望他们喜欢这份礼物!
Config 配置
Find the chuxia.InverseGift.yml file in BepInEx\config
在 BepInEx\config 中找到 chuxia.InverseGift.yml 文件
Items are the gifts given to players who use Inverse Teleport
Items是玩家使用逆传之后,赠送的物品
Which items can be gifted?
可以赠送哪些物品?
Using Inverse Teleport once in single-player mode will generate a chuxia.InverseGiftItems.txt file in BepInEx\config
在单人模式下使用一次逆向传送,会在 BepInEx\config 生成一个 chuxia.InverseGiftItems.txt 文件
Open the file and find the item you want to spawn, for example: ProFlashlight:FlashlightItem, then fill in the name before : in Items
打开文件,找到你想要生成的物品,例如:ProFlashlight:FlashlightItem,在Items内填入:前面的名称
Items:
- ItemName: ProFlashlight
Count: 1
If you want to also gift a shovel, write it like this:
如果你还想多送一把铲子,那么这样编写
Items:
- ItemName: ProFlashlight
Count: 1
- ItemName: Shovel
Count: 1
If you want to give a real gift
如果你想赠送一份真正的礼物
Items:
- ItemName: ProFlashlight
Count: 1
- ItemName: Shovel
Count: 1
- ItemName: GiftBox
Count: 1
What's inside the gift? It's up to you to decide!
礼物里面有什么?由你自己决定!
For example, a meteor shower?
例如一场流星雨
Gift:
- Name: Meteor
Rarity: 2
Value: 0
Message: <color=yellow>{player}: Ladies and gentlemen! Let's take a look at the </color><color=red>meteor shower</color> together!
#Message: <color=yellow>{player}:女士们先生们!一起来看</color><color=red>流星雨</color>!
The name can be filled in with the content contained in chuxia.IverseGiftItems.txt and 6 special names
名称可以填写chuxia.InverseGiftItems.txt包含的内容以及五个特殊名称
Null = Empty box
Null = 空盒子
Meteor = Meteor Shower
Meteor = 流星雨
RandomTool = random item from a store
RandomTool = 来自商店的随机物品
RandomScrap = random scrap
RandomScrap = 随机废料
RandomEnemy = random enemy
RandomEnemy = 随机敌人
RandomObject = Random trap
RandomObject = 随机陷阱
If you are generating scrap, set the scrap value in the Value(Only Host can see scrap value)
如果你生成的是废料,在Value里面设置废料价值(仅主机可见)
Gift:
- Name: GoldBar
Rarity: 5
Value: 200
Rarity represents probability. When your Gift configuration contains many, many gifts, you will randomly select one from them as a gift!
Rarity 代表概率,当你Gift配置中包含很多很多礼物,将会从里面随机抽选一个作为礼物!
This is a default configuration example
这是一份默认的配置示例
Items:
- ItemName: GiftBox
Count: 1
- ItemName: Shovel
Count: 1
- ItemName: ProFlashlight
Count: 1
Gift:
- Name: Meteor
Rarity: 2
Value: 0
Message: <color=yellow>{player}:女士们先生们!一起来看</color><color=red>流星雨</color>!
- Name: GoldBar
Rarity: 5
Value: 200
- Name: Candy
Rarity: 1
Value: 999
- Name: Key
Rarity: 10
Value: 0
- Name: Turret
Rarity: 5
Value: 0
- Name: Landmine
Rarity: 5
Value: 0
- Name: Nutcracker
Rarity: 10
Value: 0
- Name: HoarderBug
Rarity: 10
Value: 0
- Name: Null
Rarity: 30
Value: 0
Every time you make changes and save YAML, it will take effect in real-time within the game, without the need to restart the game!
每当你改动并保存yaml后,游戏内都会实时生效,不需要重启游戏!
Support 支持
-
The thread in the LC Modding Discord Server
QQ群:263868521,找群主反馈
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.
中文
- 初始发布。