From 688a46f9032d9537750629945cff5c580c95e4f7 Mon Sep 17 00:00:00 2001 From: Killerqu00 <47712032+Killerqu00@users.noreply.github.com> Date: Wed, 24 Jul 2024 12:50:19 +0200 Subject: [PATCH] Move some disabilities traits into a new category (#30102) split traits into disabilities and quirks --- .../ui/humanoid-profile-editor.ftl | 3 ++- Resources/Prototypes/Traits/categories.yml | 4 +++ Resources/Prototypes/Traits/disabilities.yml | 25 ------------------- Resources/Prototypes/Traits/quirks.yml | 24 ++++++++++++++++++ 4 files changed, 30 insertions(+), 26 deletions(-) create mode 100644 Resources/Prototypes/Traits/quirks.yml diff --git a/Resources/Locale/en-US/preferences/ui/humanoid-profile-editor.ftl b/Resources/Locale/en-US/preferences/ui/humanoid-profile-editor.ftl index bfdbeb2f14..f75a21c5ff 100644 --- a/Resources/Locale/en-US/preferences/ui/humanoid-profile-editor.ftl +++ b/Resources/Locale/en-US/preferences/ui/humanoid-profile-editor.ftl @@ -58,4 +58,5 @@ humanoid-profile-editor-no-traits = No traits available humanoid-profile-editor-trait-count-hint = Points available: [{$current}/{$max}] trait-category-disabilities = Disabilities -trait-category-speech = Speech traits \ No newline at end of file +trait-category-speech = Speech traits +trait-category-quirks = Quirks diff --git a/Resources/Prototypes/Traits/categories.yml b/Resources/Prototypes/Traits/categories.yml index a3621648a4..d024b3fcff 100644 --- a/Resources/Prototypes/Traits/categories.yml +++ b/Resources/Prototypes/Traits/categories.yml @@ -6,3 +6,7 @@ id: SpeechTraits name: trait-category-speech maxTraitPoints: 2 + +- type: traitCategory + id: Quirks + name: trait-category-quirks diff --git a/Resources/Prototypes/Traits/disabilities.yml b/Resources/Prototypes/Traits/disabilities.yml index 6e0026e44e..c562c2fec0 100644 --- a/Resources/Prototypes/Traits/disabilities.yml +++ b/Resources/Prototypes/Traits/disabilities.yml @@ -33,14 +33,6 @@ timeBetweenIncidents: 300, 600 durationOfIncident: 10, 30 -- type: trait - id: Pacifist - name: trait-pacifist-name - description: trait-pacifist-desc - category: Disabilities - components: - - type: Pacified - - type: trait id: Unrevivable name: trait-unrevivable-name @@ -60,15 +52,6 @@ components: - type: Muted -- type: trait - id: LightweightDrunk - name: trait-lightweight-name - description: trait-lightweight-desc - category: Disabilities - components: - - type: LightweightDrunk - boozeStrengthMultiplier: 2 - - type: trait id: Paracusia name: trait-paracusia-name @@ -81,11 +64,3 @@ maxSoundDistance: 7 sounds: collection: Paracusia - -- type: trait - id: Snoring - name: trait-snoring-name - description: trait-snoring-desc - category: Disabilities - components: - - type: Snoring diff --git a/Resources/Prototypes/Traits/quirks.yml b/Resources/Prototypes/Traits/quirks.yml new file mode 100644 index 0000000000..d01bf6218a --- /dev/null +++ b/Resources/Prototypes/Traits/quirks.yml @@ -0,0 +1,24 @@ +- type: trait + id: Pacifist + name: trait-pacifist-name + description: trait-pacifist-desc + category: Quirks + components: + - type: Pacified + +- type: trait + id: LightweightDrunk + name: trait-lightweight-name + description: trait-lightweight-desc + category: Quirks + components: + - type: LightweightDrunk + boozeStrengthMultiplier: 2 + +- type: trait + id: Snoring + name: trait-snoring-name + description: trait-snoring-desc + category: Quirks + components: + - type: Snoring -- 2.52.0