]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Fix bypassing vaulting clumsy check with verb action. (#24977)
authorTayrtahn <tayrtahn@gmail.com>
Sat, 23 Mar 2024 19:29:43 +0000 (15:29 -0400)
committerGitHub <noreply@github.com>
Sat, 23 Mar 2024 19:29:43 +0000 (20:29 +0100)
commit225bc3c5aeffbef6286b607b02cd24a8ad75a437
tree4e336e29a70ce672f3a3d395ea443c2a659d3784
parent18b99ed8a29e1769e1b5e5cdb18c96ccc1956df8
Fix bypassing vaulting clumsy check with verb action. (#24977)

* Fix bypassing bonking with verb

* Revert "Fix bypassing bonking with verb"

This reverts commit efa0f0f5777b893bcee5a852994cfa1e3fda3e71.

* Properly refactored BonkSystem.

* Oh hey, this is redundant now

* Better solution

* Reduced default bonk chance from 75% to 50%

* Also do a little grammar fix

* Moved BonkChance from BonkableComponent to ClumsyComponent.

* Revert "Moved BonkChance from BonkableComponent to ClumsyComponent."

This reverts commit 0acbd9273f20ec478692603781adf15e06e5ed41.

* Another little grammar fix

* Matched default bonk doAfter length to default climb doAfter length

* Fixed duplicate popups

* Check CanVault with verb use too. Add granularity to ClimbingComponent and remove Leg/Foot requirement.

* Don't show verb if you can't climb

* Removed CanForceClimb

* byref record struct
Content.Shared/Climbing/Components/BonkableComponent.cs
Content.Shared/Climbing/Components/ClimbingComponent.cs
Content.Shared/Climbing/Events/AttemptClimbEvent.cs [new file with mode: 0644]
Content.Shared/Climbing/Systems/BonkSystem.cs
Content.Shared/Climbing/Systems/ClimbSystem.cs
Resources/Locale/en-US/bonk/components/bonkable-component.ftl
Resources/Locale/en-US/climbing/climbable-component.ftl