]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Impaired Mobility Disability (#39398)
authorMora <46364955+TrixxedHeart@users.noreply.github.com>
Thu, 21 Aug 2025 00:43:06 +0000 (16:43 -0800)
committerGitHub <noreply@github.com>
Thu, 21 Aug 2025 00:43:06 +0000 (17:43 -0700)
commitcd0cc721576a6db7905b1c25709c002f9f1bc7ef
tree095149ccf7c808f7708d64abfa8dce1decec1125
parentd286a70d47bca6ea5c4835bd147f9b0bd97987e4
Impaired Mobility Disability (#39398)

* Implements mobility impairment

* Implements mobility impairment

* Implements mobility impairment

* Removed white cane related stuff (impaired cane replacement and removed mobility aid component)

* fix development.toml

* Implements slower standing

* Prevent speed stacking by checking if the entity is already holding a mobility aid

* Move all speed handling into ImpairedMobilitySystem, added comments, made it so wielding a mobility aid doesn't grant the recovery benefit

* Move all speed handling into ImpairedMobilitySystem, added comments, made it so wielding a mobility aid doesn't grant the recovery benefit

* remove unused file

* Shorten description

* Apply suggestions

Co-authored-by: Princess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com>
* Suggestion cleanup

* formatting fix and removed extra datafield stuff

* added comment, fixed slashes, yadda yadda

* summary comments

* removed a word

* Add trait to clone whitelist

* Fix clone.yml

* my own review

---------

Co-authored-by: Princess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com>
Co-authored-by: ScarKy0 <scarky0@onet.eu>
Content.Shared/Traits/Assorted/ImpairedMobilityComponent.cs [new file with mode: 0644]
Content.Shared/Traits/Assorted/ImpairedMobilitySystem.cs [new file with mode: 0644]
Content.Shared/Traits/Assorted/MobilityAidComponent.cs [new file with mode: 0644]
Content.Shared/Traits/Assorted/MobilityAidSystem.cs [new file with mode: 0644]
Resources/Locale/en-US/traits/traits.ftl
Resources/Prototypes/Entities/Mobs/Player/clone.yml
Resources/Prototypes/Entities/Objects/Weapons/Melee/cane.yml
Resources/Prototypes/Entities/Objects/Weapons/Melee/offset_cane.yml
Resources/Prototypes/Entities/Objects/Weapons/Melee/white_cane.yml
Resources/Prototypes/Traits/disabilities.yml