
betterdoor
Break doors with shovels and lock intact closed doors with keys. 工具破门、钥匙锁门;成功后消耗钥匙,破坏的门锁不能重新上锁。For v81.betterdoor
Break doors with tools. Lock intact doors with keys.
工具破门,钥匙锁门。
破门 / Breaching
- 普通门默认 100生命值,普通铲子每击 20门伤害,默认5下破门。
- 破门后打开并解除锁定,保留正常开关交互。
- 损坏的门锁不能重新上锁。
- 铲子换皮或继承原版Shovel命中逻辑的武器可沿用;伤害按原生命中力度乘
DamagePerHitForce换算。 - 包含对 UsualScrap 撬棍和剪刀脚本的可选适配;不代表支持所有枪械、爆炸物或独立武器脚本。
Doors have 100 HP by default. A vanilla shovel deals 20 door damage per hit. Breaching opens the door, destroys the lock and preserves normal door interaction. A broken lock cannot be locked again.
钥匙 / Keys
- 手持钥匙,对完整且关闭的门左键上锁。
- 房主确认上锁后会显示“门已上锁”。锁定门不能直接打开。
- 对已上锁的门再次主动使用钥匙可解锁。
- 成功锁门或解锁后消耗一把钥匙,失败不消耗。
- 已破坏的锁或尚未关闭的门不会成功上锁。
Left-click an intact, closed door with a key to lock it. Use a key again on a locked door to unlock it. A key is consumed only after the host confirms a successful action.
配置 / Configuration
首次运行后生成 BepInEx/config/hjm.doortools.cfg:
[Doors]
Health = 100
DamagePerHitForce = 20
门血量和伤害以房主设置为准。只有普通可交互门属于支持范围;不保证支持飞船门、安全门或所有自定义地图门。
安装与兼容 / Installation
- 面向 Lethal Company v81。
- 房主和所有队员都需要安装,建议使用同一版本。
- 停用旧 DoorBreach、KeysLockDoors 等同类门功能,避免重复修改。
- 如果此前导入过本地
HJM-DoorTools测试包,安装此公开包前移除旧测试包。原配置路径与插件GUIDhjm.doortools保持一致。
验证范围 / Testing
用户已实测确认0.1.4核心锁门、破门以及损坏锁不能重新锁定正常。0.1.5只追加成功锁门后的钥匙消耗,已编译校验;该消耗变更和完整多人同步仍需更多实测。本包为早期版本,问题可提供BepInEx日志中的 Key use、Key request、Key server request 与 Key LOCK accepted 记录辅助排查。
Development / 开发说明
Independently implemented with substantial AI assistance. MIT license. Source is included under Source/. Does not bundle game assemblies or other mods.
本模组代码由AI辅助编写,源码随包提供,遵循MIT许可证。