Project Zomboid

Project Zomboid

Rick's MLC Concussion
正在显示第 1 - 10 项,共 29 项条目
< 1  2  3 >
更新于:11 月 9 日 上午 4:27
作者:RicksMLC

Fixed Accidental Discharge to not have an error due to the vanilla code removing the startMuzzleFlash() function since version 42.12. Removed the call to startMuzzleFlash() as it is not really my code, but a copy of the vanilla ISReloadWeaponAction.attackHook. Look, it wasn't my idea. It's how the vanilla code did it, and I just went along with it. And now it has changed, which is the way of things. What can one do but roll with the punches, put the shoulder to the wheel, nose to the grindstone, and with one ear to the ground and an eye for the future.... development can be very uncomfortable.

In any case... it now works, and you can shoot yourself when you have accidents, which is how it should be.

更新于:8 月 20 日 上午 1:43
作者:RicksMLC

Added ModOption for Enable/Disable ear damage so if the player is experiencing Spamming Deafness, they can turn off the hearing damage using the Options | Mods | Rick's MLC Concussion -> Enable Ear Damage checkbox.

更新于:8 月 5 日 上午 5:05
作者:RicksMLC

Fixed issue with B42.11 update which added some functionality that changed the key bind function. The Concussion control scrambling uses key binding to temporarily change the WASD binds, so the code needed an update. No change to functionality.

更新于:6 月 12 日 上午 3:50
作者:RicksMLC

Updated to work the B42.9 change to ISReloadWeaponAction.canShoot() which now takes two arguments instead of 1.

更新于:2024 年 12 月 22 日 下午 4:55
作者:RicksMLC

Updated for B42. Note there is an issue in vanilla B42 where the Hard of Hearing Trait does not reduce and muffle the audio. This means wearing ear protectors (which gives the wearer hard of hearing) does not have an audible difference until they fix it.
Tripping and falling seems to no longer cause injuries. In B41 falling would almost always give scratches or some such. B42 may have moved that automatic injuries to another code call which I don't know about.

更新于:2024 年 4 月 10 日 上午 5:57
作者:RicksMLC

Updated the sandbox options so now concussion from car crashes is ON by default. The default chance to get concussed when you crash your car is 40%.

更新于:2024 年 3 月 29 日 上午 2:29
作者:RicksMLC

Updated the WorkplaceHealthAndSafety to recognise if the Ear Protectors are worn on the Ears (Compatibility with MufflesEarsSlot mod)

更新于:2024 年 3 月 29 日 上午 1:43
作者:RicksMLC

Added Concussion if you crash your car.
It is disable by default for now while we are trying to get the balance right. It is disabled by the Sandbox option "Car Crash Concussion Effect Time (seconds) = 0" Set this to a non-zero value to turn it on. Maybe 10 seconds to start with.
Driving while brandishing a firearm is probably bad if you have a crash... so give it a go :)

更新于:2024 年 2 月 8 日 下午 7:57
作者:RicksMLC

Updated moodles function calls to the new MoodleFramework 1.1. Thanks to Tchernobill for the heads up on the change.

更新于:2024 年 1 月 4 日 下午 11:57
作者:RicksMLC

Small change to Drunk handler to check if the eat action item exists. Someone reported an error which looks like the item is not populated for the ISEatFoodAction. I don't know how that was possible, but this change will handle it.