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>
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
# traits
|
||||
- BlackAndWhiteOverlay
|
||||
- Clumsy
|
||||
- ImpairedMobility
|
||||
# - LegsParalyzed (you get healed)
|
||||
- LightweightDrunk
|
||||
- Muted
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
size: Normal
|
||||
sprite: Objects/Weapons/Melee/cane.rsi
|
||||
- type: Appearance
|
||||
- type: MobilityAid
|
||||
- type: MeleeWeapon
|
||||
wideAnimationRotation: 45
|
||||
damage:
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
- type: Item
|
||||
size: Normal
|
||||
sprite: Objects/Weapons/Melee/offset_canes/standard.rsi
|
||||
- type: MobilityAid
|
||||
# - type: RandomSprite # Ideally I'd rather these be their own selectable item instead of randomly picked.
|
||||
# available:
|
||||
# - color: "#91949C" # standard gray
|
||||
|
||||
@@ -24,4 +24,3 @@
|
||||
Blunt: 3
|
||||
- type: UseDelay
|
||||
delay: 1
|
||||
|
||||
|
||||
@@ -83,3 +83,12 @@
|
||||
category: Disabilities
|
||||
components:
|
||||
- type: PainNumbness
|
||||
|
||||
- type: trait
|
||||
id: ImpairedMobility
|
||||
name: trait-impaired-mobility-name
|
||||
description: trait-impaired-mobility-desc
|
||||
traitGear: OffsetCane
|
||||
category: Disabilities
|
||||
components:
|
||||
- type: ImpairedMobility
|
||||
|
||||
Reference in New Issue
Block a user