Nexor-ControllableExplosiveEgg icon

ControllableExplosiveEgg

(1) Drop won't explode, throw will explode.(2) Modified the global Easter egg explosion probability. (3) Predict whether the easter eggs in your hand will be fried (1)G键丢下必不炸,左键丢出必炸。(2)修改全局彩蛋爆炸概率。(3)预测手中彩蛋是否会炸

Last updated 8 months ago
Total downloads 8832
Total rating 0 
Categories Mods Client-side Server-side Items
Dependency string Nexor-ControllableExplosiveEgg-0.0.7
Dependants 3 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100

README

Controllable Explosive Egg

(Features) 功能

  • This mod can make your easter eggs even better (i.e. G keys don't explode when dropped, left keys do explode) (server only & only works on yourself)

    这个mod可以让你的彩蛋变得更好 (即G键丢下不爆炸,左键丢出必爆炸) (仅对自己有效且自己必须是server)

  • This mod can allow you to modify the explosion probability of overall easter eggs (server only).

    这个mod可以允许你在配置文件中修改全局彩蛋的爆炸概率 (仅服务端时生效)

  • This mod can also predict whether the Easter egg in your hand will explode or not, provided you don't turn on the Better Easter Egg mode (only works on yourself, and if you are not a server, you may have false positives but no false negatives).

    这个mod还可以预测手中的复活节彩蛋是否会爆炸,前提是你没有开启更好的彩蛋模式 (仅对自己有效,且如果自己不是server则可能会误报但不会漏报)

(How Easter eggs explode) 彩蛋是如何爆炸的

Whenever the Easter egg is picked up or switched to, the game passes an event (EquipItem) to the server to pick up the egg. The server then randomly calculates whether the egg will explode based on the current egg's location and the map's seed, and sends information on whether it will explode to all clients.

每当彩蛋被拿到手上时(不论是捡起还是被切换到),游戏就会传递给服务器一个拿起彩蛋的事件(EquipItem),服务器则会根据彩蛋的位置和地图随机种子计算出这个彩蛋是否会发生爆炸,并且将是否会爆炸的信息发送给所有客户端。

Changelog

v 0.0.7

  • Limit the better Egg mode to only yourself and yourself as a server. Rewrote the prediction implementation and checked to see that predictions can be false positives but not false negatives when you are not a server, and modified the explosion hint to suit this feature.

    将更好的 Egg 模式限定在了只对自己且自己是 server 的情况。重写了预测的实现方法并且检查发现当你不是server时预测可能会误报但不会漏报,同时根据这样的特性修改了爆炸提示。

v 0.0.6

  • fixed a bug which could cause desynchronization while using better egg mode.

    修复了在使用更好的 Egg 模式时可能导致不同步的错误。