From ca84bd7de27d1c6cd41ad1059c494d34b349cc58 Mon Sep 17 00:00:00 2001 From: Peptide90 Date: Mon, 13 Jan 2025 14:13:23 +0000 Subject: [PATCH 01/10] ghoul max age is now 250 from 120 --- Resources/Prototypes/_Nuclear14/Species/ghoul.yml | 2 ++ Resources/Prototypes/_Nuclear14/Species/ghoulglowing.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Resources/Prototypes/_Nuclear14/Species/ghoul.yml b/Resources/Prototypes/_Nuclear14/Species/ghoul.yml index 6734a7009b1..7551e69a071 100644 --- a/Resources/Prototypes/_Nuclear14/Species/ghoul.yml +++ b/Resources/Prototypes/_Nuclear14/Species/ghoul.yml @@ -13,6 +13,8 @@ minWidth: 0.7 defaultWidth: 0.8 maxWidth: 0.9 + oldAge: 100 + maxAge: 250 # The lack of a layer means that # this person cannot have round-start anything diff --git a/Resources/Prototypes/_Nuclear14/Species/ghoulglowing.yml b/Resources/Prototypes/_Nuclear14/Species/ghoulglowing.yml index d289f22afaf..7211e1ef03b 100644 --- a/Resources/Prototypes/_Nuclear14/Species/ghoulglowing.yml +++ b/Resources/Prototypes/_Nuclear14/Species/ghoulglowing.yml @@ -13,6 +13,8 @@ minWidth: 0.7 defaultWidth: 0.8 maxWidth: 0.9 + oldAge: 100 + maxAge: 250 # The lack of a layer means that # this person cannot have round-start anything From 98fab4271e64a6c82ba3a0d44d8d9e469434f6cf Mon Sep 17 00:00:00 2001 From: Peptide90 Date: Mon, 13 Jan 2025 14:15:05 +0000 Subject: [PATCH 02/10] disable scavenger and musician, use loadouts. --- .../Prototypes/_Nuclear14/Entities/Markers/Spawners/jobs.yml | 2 ++ .../Prototypes/_Nuclear14/Roles/Jobs/Wastelanders/musician.yml | 2 +- .../Prototypes/_Nuclear14/Roles/Jobs/Wastelanders/scavenger.yml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Resources/Prototypes/_Nuclear14/Entities/Markers/Spawners/jobs.yml b/Resources/Prototypes/_Nuclear14/Entities/Markers/Spawners/jobs.yml index ae456d62c9d..6ae8784678a 100644 --- a/Resources/Prototypes/_Nuclear14/Entities/Markers/Spawners/jobs.yml +++ b/Resources/Prototypes/_Nuclear14/Entities/Markers/Spawners/jobs.yml @@ -476,6 +476,7 @@ id: N14SpawnPointWastelandMusician parent: N14SpawnPointWastelander name: wasteland musician + categories: [ HideSpawnMenu ] # disabled, use loadouts components: - type: SpawnPoint job_id: WastelandMusician @@ -500,6 +501,7 @@ id: N14SpawnPointWastelandScavenger parent: N14SpawnPointWastelander name: wasteland scavenger + categories: [ HideSpawnMenu ] # disabled, use loadouts components: - type: SpawnPoint job_id: WastelandScavenger diff --git a/Resources/Prototypes/_Nuclear14/Roles/Jobs/Wastelanders/musician.yml b/Resources/Prototypes/_Nuclear14/Roles/Jobs/Wastelanders/musician.yml index 67440192f19..6a05cea9903 100644 --- a/Resources/Prototypes/_Nuclear14/Roles/Jobs/Wastelanders/musician.yml +++ b/Resources/Prototypes/_Nuclear14/Roles/Jobs/Wastelanders/musician.yml @@ -1,6 +1,6 @@ - type: job id: WastelandMusician - setPreference: true + setPreference: false # disabled, use loadouts. name: job-name-waste-musician description: job-description-waste-musician playTimeTracker: WastelandMusician diff --git a/Resources/Prototypes/_Nuclear14/Roles/Jobs/Wastelanders/scavenger.yml b/Resources/Prototypes/_Nuclear14/Roles/Jobs/Wastelanders/scavenger.yml index a4aa774f378..3e6dc962ae9 100644 --- a/Resources/Prototypes/_Nuclear14/Roles/Jobs/Wastelanders/scavenger.yml +++ b/Resources/Prototypes/_Nuclear14/Roles/Jobs/Wastelanders/scavenger.yml @@ -1,6 +1,6 @@ - type: job id: WastelandScavenger - setPreference: true + setPreference: false # disabled, use loadouts. name: job-name-scavenger description: job-description-scavenger playTimeTracker: WastelandScavenger From 64259f7c185f6114672331d9e63a768ae16d91d9 Mon Sep 17 00:00:00 2001 From: Peptide90 Date: Mon, 13 Jan 2025 14:55:24 +0000 Subject: [PATCH 03/10] tribal elder can be telepathic --- Resources/Prototypes/Traits/skills.yml | 191 ++++++++++++------------- 1 file changed, 95 insertions(+), 96 deletions(-) diff --git a/Resources/Prototypes/Traits/skills.yml b/Resources/Prototypes/Traits/skills.yml index 8a035d24f6d..76c2f478243 100644 --- a/Resources/Prototypes/Traits/skills.yml +++ b/Resources/Prototypes/Traits/skills.yml @@ -182,82 +182,82 @@ - type: Singer proto: NormalSinger -- type: trait - id: LatentPsychic - category: Mental - points: -4 - functions: - - !type:TraitAddComponent - components: - - type: Psionic - requirements: - - !type:CharacterJobRequirement - inverted: true - jobs: - - Borg - - MedicalBorg - - ResearchDirector - - ForensicMantis - - Chaplain - - Librarian - - !type:CharacterLogicOrRequirement - requirements: - - !type:CharacterSpeciesRequirement - inverted: true - species: - - IPC - - !type:CharacterTraitRequirement - traits: - - AnomalousPositronics - - !type:CharacterLogicOrRequirement - requirements: - - !type:CharacterSpeciesRequirement - inverted: true - species: - - Shadowkin - - !type:CharacterTraitRequirement - inverted: true - traits: - - PsionicInsulation +# - type: trait + # id: LatentPsychic + # category: Mental + # points: -4 + # functions: + # - !type:TraitAddComponent + # components: + # - type: Psionic + # requirements: + # - !type:CharacterJobRequirement + # inverted: true + # jobs: + # - Borg + # - MedicalBorg + # - ResearchDirector + # - ForensicMantis + # - Chaplain + # - Librarian + # - !type:CharacterLogicOrRequirement + # requirements: + # - !type:CharacterSpeciesRequirement + # inverted: true + # species: + # - IPC + # - !type:CharacterTraitRequirement + # traits: + # - AnomalousPositronics + # - !type:CharacterLogicOrRequirement + # requirements: + # - !type:CharacterSpeciesRequirement + # inverted: true + # species: + # - Shadowkin + # - !type:CharacterTraitRequirement + # inverted: true + # traits: + # - PsionicInsulation -- type: trait - id: PsionicInsulation - category: Mental - points: -10 #Buy a significant disability to get this. - functions: - - !type:TraitAddComponent - components: - - type: PsionicInsulation - - type: Mindbroken - requirements: - - !type:CharacterJobRequirement - inverted: true - jobs: - - Borg - - MedicalBorg - - ResearchDirector - - ForensicMantis - - Chaplain - - Librarian - - !type:CharacterLogicOrRequirement - requirements: - - !type:CharacterSpeciesRequirement - inverted: true - species: - - IPC - - !type:CharacterTraitRequirement - traits: - - AnomalousPositronics - - !type:CharacterTraitRequirement - inverted: true - traits: - - LatentPsychic - - !type:CharacterLogicOrRequirement - requirements: - - !type:CharacterSpeciesRequirement - inverted: true - species: - - Shadowkin +# - type: trait + # id: PsionicInsulation + # category: Mental + # points: -10 #Buy a significant disability to get this. + # functions: + # - !type:TraitAddComponent + # components: + # - type: PsionicInsulation + # - type: Mindbroken + # requirements: + # - !type:CharacterJobRequirement + # inverted: true + # jobs: + # - Borg + # - MedicalBorg + # - ResearchDirector + # - ForensicMantis + # - Chaplain + # - Librarian + # - !type:CharacterLogicOrRequirement + # requirements: + # - !type:CharacterSpeciesRequirement + # inverted: true + # species: + # - IPC + # - !type:CharacterTraitRequirement + # traits: + # - AnomalousPositronics + # - !type:CharacterTraitRequirement + # inverted: true + # traits: + # - LatentPsychic + # - !type:CharacterLogicOrRequirement + # requirements: + # - !type:CharacterSpeciesRequirement + # inverted: true + # species: + # - Shadowkin - type: trait id: NaturalTelepath @@ -268,29 +268,28 @@ psionicPowers: - TelepathyPower requirements: - - !type:CharacterJobRequirement - inverted: true - jobs: - - ResearchDirector - - ForensicMantis - - !type:CharacterLogicOrRequirement - requirements: - - !type:CharacterTraitRequirement - traits: - - LatentPsychic + # - !type:CharacterJobRequirement + # inverted: true + # jobs: + # - ResearchDirector + # - ForensicMantis + # - !type:CharacterLogicOrRequirement + # requirements: + # - !type:CharacterTraitRequirement + # traits: + # - LatentPsychic - !type:CharacterJobRequirement jobs: - - Chaplain - - Librarian - - !type:CharacterLogicOrRequirement - requirements: - - !type:CharacterSpeciesRequirement - inverted: true - species: - - IPC - - !type:CharacterTraitRequirement - traits: - - AnomalousPositronics + - TribalElder + # - !type:CharacterLogicOrRequirement + # requirements: + # - !type:CharacterSpeciesRequirement + # inverted: true + # species: + # - IPC + # - !type:CharacterTraitRequirement + # traits: + # - AnomalousPositronics - type: trait id: TrapAvoider From d0a3a90f7e90bc8633639ae908d2e7668f9a009b Mon Sep 17 00:00:00 2001 From: Peptide90 Date: Mon, 13 Jan 2025 15:07:25 +0000 Subject: [PATCH 04/10] disable christmas music --- Resources/Prototypes/_Nuclear14/SoundCollections/lobby.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Resources/Prototypes/_Nuclear14/SoundCollections/lobby.yml b/Resources/Prototypes/_Nuclear14/SoundCollections/lobby.yml index de18fe1263e..81f71332b9d 100644 --- a/Resources/Prototypes/_Nuclear14/SoundCollections/lobby.yml +++ b/Resources/Prototypes/_Nuclear14/SoundCollections/lobby.yml @@ -13,4 +13,5 @@ - /Audio/_Nuclear14/Lobby/MUS_Joe_Cool_CAS.ogg - /Audio/_Nuclear14/Lobby/MUS_Johnny_Guitar.ogg - /Audio/_Nuclear14/Lobby/MUS_Somethings_Gotta_Give.ogg - - /Audio/_Nuclear14/Lobby/Frank-Sinatra-Jingle-Bells.ogg + # Happy Holidays + # - /Audio/_Nuclear14/Lobby/Frank-Sinatra-Jingle-Bells.ogg \ No newline at end of file From 1cf4f6218bbe19ddc12c9aa4cd86626884ba62a8 Mon Sep 17 00:00:00 2001 From: Peptide90 Date: Mon, 13 Jan 2025 20:09:17 +0000 Subject: [PATCH 05/10] disable unused traits --- .../IgnoredPrototypes/ignoredPrototypes.yml | 2 + Resources/Prototypes/Traits/languages.yml | 178 +++++++++--------- 2 files changed, 91 insertions(+), 89 deletions(-) diff --git a/Resources/IgnoredPrototypes/ignoredPrototypes.yml b/Resources/IgnoredPrototypes/ignoredPrototypes.yml index b12d300f94a..68fcb869a14 100644 --- a/Resources/IgnoredPrototypes/ignoredPrototypes.yml +++ b/Resources/IgnoredPrototypes/ignoredPrototypes.yml @@ -28,6 +28,8 @@ - /Prototypes/Catalog/Jukebox - /Prototypes/DeltaV/Catalog/Jukebox - /Prototypes/WhiteDream/Entities/Objects/Runes/cult.yml +- /Prototypes/Traits/species.yml +- /Prototypes/Traits/mental.yml # Loadouts - /Prototypes/Loadouts/eyes.yml - /Prototypes/Loadouts/hands.yml diff --git a/Resources/Prototypes/Traits/languages.yml b/Resources/Prototypes/Traits/languages.yml index 44a487cecdd..79a1aea4956 100644 --- a/Resources/Prototypes/Traits/languages.yml +++ b/Resources/Prototypes/Traits/languages.yml @@ -12,97 +12,97 @@ languagesUnderstood: - Sign -- type: trait - id: SolCommon - category: TraitsSpeechLanguages - points: 0 - requirements: - - !type:CharacterItemGroupRequirement - group: TraitsLanguagesBasic - - !type:CharacterSpeciesRequirement - inverted: true - species: - - Human - functions: - - !type:TraitModifyLanguages - languagesSpoken: - - SolCommon - languagesUnderstood: - - SolCommon +# - type: trait + # id: SolCommon + # category: TraitsSpeechLanguages + # points: 0 + # requirements: + # - !type:CharacterItemGroupRequirement + # group: TraitsLanguagesBasic + # - !type:CharacterSpeciesRequirement + # inverted: true + # species: + # - Human + # functions: + # - !type:TraitModifyLanguages + # languagesSpoken: + # - SolCommon + # languagesUnderstood: + # - SolCommon -- type: trait - id: Tradeband - category: TraitsSpeechLanguages - points: 0 - requirements: - - !type:CharacterItemGroupRequirement - group: TraitsLanguagesBasic - - !type:CharacterSpeciesRequirement - inverted: true - species: - - Harpy - functions: - - !type:TraitModifyLanguages - languagesSpoken: - - Tradeband - languagesUnderstood: - - Tradeband +# - type: trait + # id: Tradeband + # category: TraitsSpeechLanguages + # points: 0 + # requirements: + # - !type:CharacterItemGroupRequirement + # group: TraitsLanguagesBasic + # - !type:CharacterSpeciesRequirement + # inverted: true + # species: + # - Harpy + # functions: + # - !type:TraitModifyLanguages + # languagesSpoken: + # - Tradeband + # languagesUnderstood: + # - Tradeband -- type: trait - id: Freespeak - category: TraitsSpeechLanguages - points: 0 - requirements: - - !type:CharacterItemGroupRequirement - group: TraitsLanguagesBasic - functions: - - !type:TraitModifyLanguages - languagesSpoken: - - Freespeak - languagesUnderstood: - - Freespeak +# - type: trait + # id: Freespeak + # category: TraitsSpeechLanguages + # points: 0 + # requirements: + # - !type:CharacterItemGroupRequirement + # group: TraitsLanguagesBasic + # functions: + # - !type:TraitModifyLanguages + # languagesSpoken: + # - Freespeak + # languagesUnderstood: + # - Freespeak -- type: trait - id: Elyran - category: TraitsSpeechLanguages - points: 0 - requirements: - - !type:CharacterItemGroupRequirement - group: TraitsLanguagesBasic - functions: - - !type:TraitModifyLanguages - languagesSpoken: - - Elyran - languagesUnderstood: - - Elyran +# - type: trait + # id: Elyran + # category: TraitsSpeechLanguages + # points: 0 + # requirements: + # - !type:CharacterItemGroupRequirement + # group: TraitsLanguagesBasic + # functions: + # - !type:TraitModifyLanguages + # languagesSpoken: + # - Elyran + # languagesUnderstood: + # - Elyran -- type: trait - id: ValyrianStandard - category: TraitsSpeechLanguages - points: -1 - requirements: - - !type:CharacterItemGroupRequirement - group: TraitsLanguagesBasic - functions: - - !type:TraitModifyLanguages - languagesSpoken: - - ValyrianStandard - languagesUnderstood: - - ValyrianStandard +# - type: trait + # id: ValyrianStandard + # category: TraitsSpeechLanguages + # points: -1 + # requirements: + # - !type:CharacterItemGroupRequirement + # group: TraitsLanguagesBasic + # functions: + # - !type:TraitModifyLanguages + # languagesSpoken: + # - ValyrianStandard + # languagesUnderstood: + # - ValyrianStandard -- type: trait - id: Azaziba - category: TraitsSpeechLanguages - points: -1 - requirements: - - !type:CharacterSpeciesRequirement - species: - - Reptilian - - !type:CharacterItemGroupRequirement - group: TraitsLanguagesBasic - functions: - - !type:TraitModifyLanguages - languagesSpoken: - - Azaziba - languagesUnderstood: - - Azaziba +# - type: trait + # id: Azaziba + # category: TraitsSpeechLanguages + # points: -1 + # requirements: + # - !type:CharacterSpeciesRequirement + # species: + # - Reptilian + # - !type:CharacterItemGroupRequirement + # group: TraitsLanguagesBasic + # functions: + # - !type:TraitModifyLanguages + # languagesSpoken: + # - Azaziba + # languagesUnderstood: + # - Azaziba From 6134dc20524d627192bee75b069100df3ca0657f Mon Sep 17 00:00:00 2001 From: Peptide90 Date: Mon, 13 Jan 2025 20:20:00 +0000 Subject: [PATCH 06/10] adds new language traits and a new special job datafield for giving traits to jobs. --- Content.Server/Jobs/AddTraitSpecial.cs | 30 +++++++++++++++++++ .../Entities/Mobs/Species/human.yml | 6 ++-- .../_Nuclear14/Roles/Jobs/Tribal/tribal.yml | 2 ++ .../Roles/Jobs/Tribal/tribalelder.yml | 2 ++ .../Roles/Jobs/Tribal/tribalfarmer.yml | 2 ++ .../Roles/Jobs/Tribal/tribalhealer.yml | 2 ++ .../_Nuclear14/Traits/languages.yml | 27 +++++++++++++++++ 7 files changed, 67 insertions(+), 4 deletions(-) create mode 100644 Content.Server/Jobs/AddTraitSpecial.cs create mode 100644 Resources/Prototypes/_Nuclear14/Traits/languages.yml diff --git a/Content.Server/Jobs/AddTraitSpecial.cs b/Content.Server/Jobs/AddTraitSpecial.cs new file mode 100644 index 00000000000..1bbc531705b --- /dev/null +++ b/Content.Server/Jobs/AddTraitSpecial.cs @@ -0,0 +1,30 @@ +using Content.Server.Traits; +using Content.Shared.Roles; +using Content.Shared.Traits; +using JetBrains.Annotations; +using Robust.Shared.Prototypes; + +namespace Content.Server.Jobs; + + +[UsedImplicitly] +public sealed partial class AddTraitSpecial : JobSpecial +{ + // Datafield for storing multiple trait prototype IDs as strings + [DataField(required: true)] + public HashSet Traits { get; private set; } = new(); + + public override void AfterEquip(EntityUid mob) + { + // Resolve the necessary systems + var entityManager = IoCManager.Resolve(); + var prototypeManager = IoCManager.Resolve(); + var traitSystem = entityManager.System(); + + // Iterate through each trait and add it to the entity + foreach (var traitId in Traits) + if (prototypeManager.TryIndex(traitId, out var traitPrototype)) + + traitSystem.AddTrait(mob, traitPrototype); + } +} diff --git a/Resources/Prototypes/Entities/Mobs/Species/human.yml b/Resources/Prototypes/Entities/Mobs/Species/human.yml index 45b14248c8c..208f2a933ce 100644 --- a/Resources/Prototypes/Entities/Mobs/Species/human.yml +++ b/Resources/Prototypes/Entities/Mobs/Species/human.yml @@ -27,11 +27,9 @@ - Snout - type: LanguageKnowledge speaks: - - TauCetiBasic - - SolCommon + - English understands: - - TauCetiBasic - - SolCommon + - English - type: FootPrints - type: PsionicInsulation diff --git a/Resources/Prototypes/_Nuclear14/Roles/Jobs/Tribal/tribal.yml b/Resources/Prototypes/_Nuclear14/Roles/Jobs/Tribal/tribal.yml index c310a293430..06b7d7e1d05 100644 --- a/Resources/Prototypes/_Nuclear14/Roles/Jobs/Tribal/tribal.yml +++ b/Resources/Prototypes/_Nuclear14/Roles/Jobs/Tribal/tribal.yml @@ -22,6 +22,8 @@ - type: NpcFactionMember factions: - Tribal + - !type:AddTraitSpecial + traits: [ LanguageTribal ] - type: startingGear id: TribalGear diff --git a/Resources/Prototypes/_Nuclear14/Roles/Jobs/Tribal/tribalelder.yml b/Resources/Prototypes/_Nuclear14/Roles/Jobs/Tribal/tribalelder.yml index 431d029ff97..74f1aa54283 100644 --- a/Resources/Prototypes/_Nuclear14/Roles/Jobs/Tribal/tribalelder.yml +++ b/Resources/Prototypes/_Nuclear14/Roles/Jobs/Tribal/tribalelder.yml @@ -24,6 +24,8 @@ - type: NpcFactionMember factions: - Tribal + - !type:AddTraitSpecial + traits: [ LanguageTribal ] - type: startingGear id: TribalElderGear diff --git a/Resources/Prototypes/_Nuclear14/Roles/Jobs/Tribal/tribalfarmer.yml b/Resources/Prototypes/_Nuclear14/Roles/Jobs/Tribal/tribalfarmer.yml index caccb8281e6..64fb8dcbee3 100644 --- a/Resources/Prototypes/_Nuclear14/Roles/Jobs/Tribal/tribalfarmer.yml +++ b/Resources/Prototypes/_Nuclear14/Roles/Jobs/Tribal/tribalfarmer.yml @@ -23,6 +23,8 @@ - type: NpcFactionMember factions: - Tribal + - !type:AddTraitSpecial + traits: [ LanguageTribal ] - type: startingGear id: TribalFarmerGear diff --git a/Resources/Prototypes/_Nuclear14/Roles/Jobs/Tribal/tribalhealer.yml b/Resources/Prototypes/_Nuclear14/Roles/Jobs/Tribal/tribalhealer.yml index 2672d00a0a9..64e725701a5 100644 --- a/Resources/Prototypes/_Nuclear14/Roles/Jobs/Tribal/tribalhealer.yml +++ b/Resources/Prototypes/_Nuclear14/Roles/Jobs/Tribal/tribalhealer.yml @@ -24,6 +24,8 @@ factions: - Tribal - type: CPRTraining + - !type:AddTraitSpecial + traits: [ LanguageTribal ] - type: startingGear id: TribalHealerGear diff --git a/Resources/Prototypes/_Nuclear14/Traits/languages.yml b/Resources/Prototypes/_Nuclear14/Traits/languages.yml new file mode 100644 index 00000000000..40e69d65529 --- /dev/null +++ b/Resources/Prototypes/_Nuclear14/Traits/languages.yml @@ -0,0 +1,27 @@ +- type: trait + id: LanguageChinese + category: TraitsSpeechLanguages + points: -5 + requirements: + - !type:CharacterItemGroupRequirement + group: TraitsLanguagesBasic + functions: + - !type:TraitModifyLanguages + languagesSpoken: + - Chinese + languagesUnderstood: + - Chinese + +- type: trait + id: LanguageTribal + category: TraitsSpeechLanguages + points: -3 + requirements: + - !type:CharacterItemGroupRequirement + group: TraitsLanguagesBasic + functions: + - !type:TraitModifyLanguages + languagesSpoken: + - Tribal + languagesUnderstood: + - Tribal \ No newline at end of file From 0e6aa3823b314b9ea1ff7d5ed69275c95684ecee Mon Sep 17 00:00:00 2001 From: Peptide90 Date: Mon, 13 Jan 2025 20:31:12 +0000 Subject: [PATCH 07/10] adds the language and trait localisations --- Resources/Locale/en-US/_Nuclear14/traits.ftl | 11 +++++++++++ .../_Nuclear14/Roles/Jobs/Tribal/tribal_entity.yml | 7 +++++++ 2 files changed, 18 insertions(+) create mode 100644 Resources/Locale/en-US/_Nuclear14/traits.ftl diff --git a/Resources/Locale/en-US/_Nuclear14/traits.ftl b/Resources/Locale/en-US/_Nuclear14/traits.ftl new file mode 100644 index 00000000000..ffa39794852 --- /dev/null +++ b/Resources/Locale/en-US/_Nuclear14/traits.ftl @@ -0,0 +1,11 @@ +trait-name-LanguageTribal = Tribal Language +trait-description-LanguageTribal = You can understand and speak the local Tribal language. Whether through learning or backstory. +trait-name-LanguageChinese = Chinese Language +trait-description-Chinese = You can understand and speak the Chinese language. Whether through learning or backstory. + +language-English-name = English +language-English-description = The common language of the Wasteland. +language-Chinese-name = Chinese +language-Chinese-description = You can understand and speak the Chinese language. Whether through learning or backstory. +language-Tribal-name = Tribal +language-Tribal-description = You can understand and speak the local Tribal language. Whether through learning or backstory. \ No newline at end of file diff --git a/Resources/Prototypes/_Nuclear14/Roles/Jobs/Tribal/tribal_entity.yml b/Resources/Prototypes/_Nuclear14/Roles/Jobs/Tribal/tribal_entity.yml index f38a7490036..d70a07e21e6 100644 --- a/Resources/Prototypes/_Nuclear14/Roles/Jobs/Tribal/tribal_entity.yml +++ b/Resources/Prototypes/_Nuclear14/Roles/Jobs/Tribal/tribal_entity.yml @@ -13,6 +13,13 @@ - type: NpcFactionMember factions: - Tribal + - type: LanguageKnowledge + speaks: + - English + - Tribal + understands: + - English + - Tribal - type: entity parent: N14MobHumanTribal From f067cd74dae399be9e61ef04443d92f0502a0e14 Mon Sep 17 00:00:00 2001 From: Peptide90 Date: Mon, 13 Jan 2025 20:32:49 +0000 Subject: [PATCH 08/10] disable more traits --- .../Prototypes/Traits/inconveniences.yml | 78 +++++++++---------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/Resources/Prototypes/Traits/inconveniences.yml b/Resources/Prototypes/Traits/inconveniences.yml index 62e13c2533f..035db6e53da 100644 --- a/Resources/Prototypes/Traits/inconveniences.yml +++ b/Resources/Prototypes/Traits/inconveniences.yml @@ -43,43 +43,43 @@ threeRandomProb: 0 cutRandomProb: 0 -- type: trait - id: ForeignerLight - category: TraitsSpeechLanguages - points: 2 - requirements: - - !type:CharacterTraitRequirement - inverted: true - traits: - - Foreigner - - Muted - - !type:CharacterJobRequirement - inverted: true - jobs: - - Mime - functions: - - !type:TraitAddComponent - components: - - type: ForeignerTrait - cantUnderstand: false - baseTranslator: TranslatorForeigner +# - type: trait + # id: ForeignerLight + # category: TraitsSpeechLanguages + # points: 2 + # requirements: + # - !type:CharacterTraitRequirement + # inverted: true + # traits: + # - Foreigner + # - Muted + # - !type:CharacterJobRequirement + # inverted: true + # jobs: + # - Mime + # functions: + # - !type:TraitAddComponent + # components: + # - type: ForeignerTrait + # cantUnderstand: false + # baseTranslator: TranslatorForeigner -- type: trait - id: Foreigner - category: TraitsSpeechLanguages - points: 4 - requirements: # TODO: Add a requirement to know at least 1 non-gc language - - !type:CharacterTraitRequirement - inverted: true - traits: - - ForeignerLight - - Muted - - !type:CharacterJobRequirement - inverted: true - jobs: - - Mime - functions: - - !type:TraitAddComponent - components: - - type: ForeignerTrait - baseTranslator: TranslatorForeigner +# - type: trait + # id: Foreigner + # category: TraitsSpeechLanguages + # points: 4 + # requirements: # TODO: Add a requirement to know at least 1 non-gc language + # - !type:CharacterTraitRequirement + # inverted: true + # traits: + # - ForeignerLight + # - Muted + # - !type:CharacterJobRequirement + # inverted: true + # jobs: + # - Mime + # functions: + # - !type:TraitAddComponent + # components: + # - type: ForeignerTrait + # baseTranslator: TranslatorForeigner \ No newline at end of file From ec980594d82943cd577c06b19602b4fbcddee684 Mon Sep 17 00:00:00 2001 From: Peptide90 Date: Mon, 13 Jan 2025 20:38:48 +0000 Subject: [PATCH 09/10] hide more unused antags --- Resources/Prototypes/Roles/Antags/traitor.yml | 4 ++-- .../Prototypes/WhiteDream/Roles/Antags/blood-cultist.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Resources/Prototypes/Roles/Antags/traitor.yml b/Resources/Prototypes/Roles/Antags/traitor.yml index 504b6384835..2bbf979c9e2 100644 --- a/Resources/Prototypes/Roles/Antags/traitor.yml +++ b/Resources/Prototypes/Roles/Antags/traitor.yml @@ -2,14 +2,14 @@ id: Traitor name: roles-antag-syndicate-agent-name antagonist: true - setPreference: true + setPreference: false objective: roles-antag-syndicate-agent-objective - type: antag id: TraitorSleeper name: roles-antag-syndicate-agent-sleeper-name antagonist: true - setPreference: true + setPreference: false objective: roles-antag-syndicate-agent-sleeper-objective # Syndicate Operative Outfit - Monkey diff --git a/Resources/Prototypes/WhiteDream/Roles/Antags/blood-cultist.yml b/Resources/Prototypes/WhiteDream/Roles/Antags/blood-cultist.yml index 0e0e9b59438..60afb8c3e15 100644 --- a/Resources/Prototypes/WhiteDream/Roles/Antags/blood-cultist.yml +++ b/Resources/Prototypes/WhiteDream/Roles/Antags/blood-cultist.yml @@ -2,7 +2,7 @@ id: BloodCultist name: roles-antag-blood-cultist-name antagonist: true - setPreference: true + setPreference: false objective: roles-antag-blood-cultist-objective requirements: - !type:CharacterOverallTimeRequirement From 49513f2cd7716b7bf33be0ec8a164c0ecfdc1c10 Mon Sep 17 00:00:00 2001 From: Peptide90 Date: Mon, 13 Jan 2025 20:48:08 +0000 Subject: [PATCH 10/10] disable more traits to fix lint --- Resources/Prototypes/Traits/mental.yml | 750 ++++++++++++------------- 1 file changed, 375 insertions(+), 375 deletions(-) diff --git a/Resources/Prototypes/Traits/mental.yml b/Resources/Prototypes/Traits/mental.yml index 172872a6cdc..afe5a1437d8 100644 --- a/Resources/Prototypes/Traits/mental.yml +++ b/Resources/Prototypes/Traits/mental.yml @@ -1,385 +1,385 @@ -- type: trait - id: HighPotential - category: Mental - points: -5 - requirements: - - !type:CharacterLogicOrRequirement - requirements: - - !type:CharacterTraitRequirement - traits: - - LatentPsychic - - !type:CharacterJobRequirement - jobs: - - Chaplain - - Librarian - - ResearchDirector - - ForensicMantis - - !type:CharacterLogicOrRequirement - requirements: - - !type:CharacterSpeciesRequirement - inverted: true - species: - - IPC - - !type:CharacterTraitRequirement - traits: - - AnomalousPositronics - - !type:CharacterSpeciesRequirement - inverted: true - species: - - Oni - - !type:CharacterTraitRequirement - inverted: true - traits: - - LowPotential - functions: - - !type:TraitReplaceComponent - components: - - type: PotentiaModifier - potentiaMultiplier: 1.25 +# - type: trait + # id: HighPotential + # category: Mental + # points: -5 + # requirements: + # - !type:CharacterLogicOrRequirement + # requirements: + # - !type:CharacterTraitRequirement + # traits: + # - LatentPsychic + # - !type:CharacterJobRequirement + # jobs: + # - Chaplain + # - Librarian + # - ResearchDirector + # - ForensicMantis + # - !type:CharacterLogicOrRequirement + # requirements: + # - !type:CharacterSpeciesRequirement + # inverted: true + # species: + # - IPC + # - !type:CharacterTraitRequirement + # traits: + # - AnomalousPositronics + # - !type:CharacterSpeciesRequirement + # inverted: true + # species: + # - Oni + # - !type:CharacterTraitRequirement + # inverted: true + # traits: + # - LowPotential + # functions: + # - !type:TraitReplaceComponent + # components: + # - type: PotentiaModifier + # potentiaMultiplier: 1.25 -- type: trait - id: LowPotential - category: Mental - points: 4 - requirements: - - !type:CharacterLogicOrRequirement - requirements: - - !type:CharacterTraitRequirement - traits: - - LatentPsychic - - !type:CharacterJobRequirement - jobs: - - Chaplain - - Librarian - - ResearchDirector - - ForensicMantis - - !type:CharacterLogicOrRequirement - requirements: - - !type:CharacterSpeciesRequirement - inverted: true - species: - - IPC - - !type:CharacterTraitRequirement - traits: - - AnomalousPositronics - - !type:CharacterSpeciesRequirement - inverted: true - species: - - Oni - - !type:CharacterTraitRequirement - inverted: true - traits: - - HighPotential - functions: - - !type:TraitReplaceComponent - components: - - type: PotentiaModifier - potentiaMultiplier: 0.75 +# - type: trait + # id: LowPotential + # category: Mental + # points: 4 + # requirements: + # - !type:CharacterLogicOrRequirement + # requirements: + # - !type:CharacterTraitRequirement + # traits: + # - LatentPsychic + # - !type:CharacterJobRequirement + # jobs: + # - Chaplain + # - Librarian + # - ResearchDirector + # - ForensicMantis + # - !type:CharacterLogicOrRequirement + # requirements: + # - !type:CharacterSpeciesRequirement + # inverted: true + # species: + # - IPC + # - !type:CharacterTraitRequirement + # traits: + # - AnomalousPositronics + # - !type:CharacterSpeciesRequirement + # inverted: true + # species: + # - Oni + # - !type:CharacterTraitRequirement + # inverted: true + # traits: + # - HighPotential + # functions: + # - !type:TraitReplaceComponent + # components: + # - type: PotentiaModifier + # potentiaMultiplier: 0.75 -- type: trait - id: LowAmplification - category: Mental - points: 3 - requirements: - - !type:CharacterLogicOrRequirement - requirements: - - !type:CharacterTraitRequirement - traits: - - LatentPsychic - - !type:CharacterJobRequirement - jobs: - - Chaplain - - Librarian - - ResearchDirector - - ForensicMantis - - !type:CharacterLogicOrRequirement - requirements: - - !type:CharacterSpeciesRequirement - inverted: true - species: - - IPC - - !type:CharacterTraitRequirement - traits: - - AnomalousPositronics - - !type:CharacterSpeciesRequirement - inverted: true - species: - - Shadowkin - - !type:CharacterTraitRequirement - inverted: true - traits: - - HighAmplification - - PowerOverwhelming - functions: - - !type:TraitAddPsionics - psionicPowers: - - LowAmplification +# - type: trait + # id: LowAmplification + # category: Mental + # points: 3 + # requirements: + # - !type:CharacterLogicOrRequirement + # requirements: + # - !type:CharacterTraitRequirement + # traits: + # - LatentPsychic + # - !type:CharacterJobRequirement + # jobs: + # - Chaplain + # - Librarian + # - ResearchDirector + # - ForensicMantis + # - !type:CharacterLogicOrRequirement + # requirements: + # - !type:CharacterSpeciesRequirement + # inverted: true + # species: + # - IPC + # - !type:CharacterTraitRequirement + # traits: + # - AnomalousPositronics + # - !type:CharacterSpeciesRequirement + # inverted: true + # species: + # - Shadowkin + # - !type:CharacterTraitRequirement + # inverted: true + # traits: + # - HighAmplification + # - PowerOverwhelming + # functions: + # - !type:TraitAddPsionics + # psionicPowers: + # - LowAmplification -- type: trait - id: HighAmplification - category: Mental - points: -3 - requirements: - - !type:CharacterLogicOrRequirement - requirements: - - !type:CharacterTraitRequirement - traits: - - LatentPsychic - - !type:CharacterJobRequirement - jobs: - - Chaplain - - Librarian - - ResearchDirector - - ForensicMantis - - !type:CharacterLogicOrRequirement - requirements: - - !type:CharacterSpeciesRequirement - inverted: true - species: - - IPC - - !type:CharacterTraitRequirement - traits: - - AnomalousPositronics - - !type:CharacterTraitRequirement - inverted: true - traits: - - LowAmplification - - PowerOverwhelming - functions: - - !type:TraitAddPsionics - psionicPowers: - - HighAmplification +# - type: trait + # id: HighAmplification + # category: Mental + # points: -3 + # requirements: + # - !type:CharacterLogicOrRequirement + # requirements: + # - !type:CharacterTraitRequirement + # traits: + # - LatentPsychic + # - !type:CharacterJobRequirement + # jobs: + # - Chaplain + # - Librarian + # - ResearchDirector + # - ForensicMantis + # - !type:CharacterLogicOrRequirement + # requirements: + # - !type:CharacterSpeciesRequirement + # inverted: true + # species: + # - IPC + # - !type:CharacterTraitRequirement + # traits: + # - AnomalousPositronics + # - !type:CharacterTraitRequirement + # inverted: true + # traits: + # - LowAmplification + # - PowerOverwhelming + # functions: + # - !type:TraitAddPsionics + # psionicPowers: + # - HighAmplification -- type: trait - id: PowerOverwhelming - category: Mental - points: -10 - requirements: - - !type:CharacterLogicOrRequirement - requirements: - - !type:CharacterTraitRequirement - traits: - - LatentPsychic - - !type:CharacterJobRequirement - jobs: - - Chaplain - - Librarian - - ResearchDirector - - ForensicMantis - - !type:CharacterLogicOrRequirement - requirements: - - !type:CharacterSpeciesRequirement - inverted: true - species: - - IPC - - !type:CharacterTraitRequirement - traits: - - AnomalousPositronics - - !type:CharacterTraitRequirement - inverted: true - traits: - - LowAmplification - - HighAmplification - functions: - - !type:TraitAddPsionics - psionicPowers: - - PowerOverwhelming +# - type: trait + # id: PowerOverwhelming + # category: Mental + # points: -10 + # requirements: + # - !type:CharacterLogicOrRequirement + # requirements: + # - !type:CharacterTraitRequirement + # traits: + # - LatentPsychic + # - !type:CharacterJobRequirement + # jobs: + # - Chaplain + # - Librarian + # - ResearchDirector + # - ForensicMantis + # - !type:CharacterLogicOrRequirement + # requirements: + # - !type:CharacterSpeciesRequirement + # inverted: true + # species: + # - IPC + # - !type:CharacterTraitRequirement + # traits: + # - AnomalousPositronics + # - !type:CharacterTraitRequirement + # inverted: true + # traits: + # - LowAmplification + # - HighAmplification + # functions: + # - !type:TraitAddPsionics + # psionicPowers: + # - PowerOverwhelming -- type: trait - id: LowDampening - category: Mental - points: 3 - requirements: - - !type:CharacterLogicOrRequirement - requirements: - - !type:CharacterTraitRequirement - traits: - - LatentPsychic - - !type:CharacterJobRequirement - jobs: - - Chaplain - - Librarian - - ResearchDirector - - ForensicMantis - - !type:CharacterLogicOrRequirement - requirements: - - !type:CharacterSpeciesRequirement - inverted: true - species: - - IPC - - !type:CharacterTraitRequirement - traits: - - AnomalousPositronics - - !type:CharacterTraitRequirement - inverted: true - traits: - - HighDampening - functions: - - !type:TraitAddPsionics - psionicPowers: - - LowDampening +# - type: trait + # id: LowDampening + # category: Mental + # points: 3 + # requirements: + # - !type:CharacterLogicOrRequirement + # requirements: + # - !type:CharacterTraitRequirement + # traits: + # - LatentPsychic + # - !type:CharacterJobRequirement + # jobs: + # - Chaplain + # - Librarian + # - ResearchDirector + # - ForensicMantis + # - !type:CharacterLogicOrRequirement + # requirements: + # - !type:CharacterSpeciesRequirement + # inverted: true + # species: + # - IPC + # - !type:CharacterTraitRequirement + # traits: + # - AnomalousPositronics + # - !type:CharacterTraitRequirement + # inverted: true + # traits: + # - HighDampening + # functions: + # - !type:TraitAddPsionics + # psionicPowers: + # - LowDampening -- type: trait - id: HighDampening - category: Mental - points: -3 - requirements: - - !type:CharacterLogicOrRequirement - requirements: - - !type:CharacterTraitRequirement - traits: - - LatentPsychic - - !type:CharacterJobRequirement - jobs: - - Chaplain - - Librarian - - ResearchDirector - - ForensicMantis - - !type:CharacterLogicOrRequirement - requirements: - - !type:CharacterSpeciesRequirement - inverted: true - species: - - IPC - - !type:CharacterTraitRequirement - traits: - - AnomalousPositronics - - !type:CharacterTraitRequirement - inverted: true - traits: - - LowDampening - functions: - - !type:TraitAddPsionics - psionicPowers: - - HighDampening +# - type: trait + # id: HighDampening + # category: Mental + # points: -3 + # requirements: + # - !type:CharacterLogicOrRequirement + # requirements: + # - !type:CharacterTraitRequirement + # traits: + # - LatentPsychic + # - !type:CharacterJobRequirement + # jobs: + # - Chaplain + # - Librarian + # - ResearchDirector + # - ForensicMantis + # - !type:CharacterLogicOrRequirement + # requirements: + # - !type:CharacterSpeciesRequirement + # inverted: true + # species: + # - IPC + # - !type:CharacterTraitRequirement + # traits: + # - AnomalousPositronics + # - !type:CharacterTraitRequirement + # inverted: true + # traits: + # - LowDampening + # functions: + # - !type:TraitAddPsionics + # psionicPowers: + # - HighDampening -- type: trait - id: DispelPower - category: Mental - points: -6 - requirements: - - !type:CharacterLogicOrRequirement - requirements: - - !type:CharacterTraitRequirement - traits: - - LatentPsychic - - !type:CharacterJobRequirement - jobs: - - Chaplain - - Librarian - - ForensicMantis - - !type:CharacterLogicOrRequirement - requirements: - - !type:CharacterSpeciesRequirement - inverted: true - species: - - IPC - - !type:CharacterTraitRequirement - traits: - - AnomalousPositronics - - !type:CharacterJobRequirement - inverted: true - jobs: - - ResearchDirector - functions: - - !type:TraitAddPsionics - psionicPowers: - - DispelPower +# - type: trait + # id: DispelPower + # category: Mental + # points: -6 + # requirements: + # - !type:CharacterLogicOrRequirement + # requirements: + # - !type:CharacterTraitRequirement + # traits: + # - LatentPsychic + # - !type:CharacterJobRequirement + # jobs: + # - Chaplain + # - Librarian + # - ForensicMantis + # - !type:CharacterLogicOrRequirement + # requirements: + # - !type:CharacterSpeciesRequirement + # inverted: true + # species: + # - IPC + # - !type:CharacterTraitRequirement + # traits: + # - AnomalousPositronics + # - !type:CharacterJobRequirement + # inverted: true + # jobs: + # - ResearchDirector + # functions: + # - !type:TraitAddPsionics + # psionicPowers: + # - DispelPower -- type: trait - id: MetapsionicPower - category: Mental - points: -4 - requirements: - - !type:CharacterLogicOrRequirement - requirements: - - !type:CharacterTraitRequirement - traits: - - LatentPsychic - - !type:CharacterJobRequirement - jobs: - - Chaplain - - Librarian - - !type:CharacterLogicOrRequirement - requirements: - - !type:CharacterSpeciesRequirement - inverted: true - species: - - IPC - - !type:CharacterTraitRequirement - traits: - - AnomalousPositronics - - !type:CharacterJobRequirement - inverted: true - jobs: - - ResearchDirector - - ForensicMantis - functions: - - !type:TraitAddPsionics - psionicPowers: - - MetapsionicPower +# - type: trait + # id: MetapsionicPower + # category: Mental + # points: -4 + # requirements: + # - !type:CharacterLogicOrRequirement + # requirements: + # - !type:CharacterTraitRequirement + # traits: + # - LatentPsychic + # - !type:CharacterJobRequirement + # jobs: + # - Chaplain + # - Librarian + # - !type:CharacterLogicOrRequirement + # requirements: + # - !type:CharacterSpeciesRequirement + # inverted: true + # species: + # - IPC + # - !type:CharacterTraitRequirement + # traits: + # - AnomalousPositronics + # - !type:CharacterJobRequirement + # inverted: true + # jobs: + # - ResearchDirector + # - ForensicMantis + # functions: + # - !type:TraitAddPsionics + # psionicPowers: + # - MetapsionicPower -- type: trait - id: XenoglossyPower - category: Mental - points: -10 - requirements: - - !type:CharacterLogicOrRequirement - requirements: - - !type:CharacterTraitRequirement - traits: - - LatentPsychic - - NaturalTelepath - - !type:CharacterJobRequirement - jobs: - - Chaplain - - ResearchDirector - - ForensicMantis - - !type:CharacterLogicOrRequirement - requirements: - - !type:CharacterSpeciesRequirement - inverted: true - species: - - IPC - - !type:CharacterTraitRequirement - traits: - - AnomalousPositronics - - !type:CharacterJobRequirement - inverted: true - jobs: - - Librarian - functions: - - !type:TraitAddPsionics - psionicPowers: - - XenoglossyPower +# - type: trait + # id: XenoglossyPower + # category: Mental + # points: -10 + # requirements: + # - !type:CharacterLogicOrRequirement + # requirements: + # - !type:CharacterTraitRequirement + # traits: + # - LatentPsychic + # - NaturalTelepath + # - !type:CharacterJobRequirement + # jobs: + # - Chaplain + # - ResearchDirector + # - ForensicMantis + # - !type:CharacterLogicOrRequirement + # requirements: + # - !type:CharacterSpeciesRequirement + # inverted: true + # species: + # - IPC + # - !type:CharacterTraitRequirement + # traits: + # - AnomalousPositronics + # - !type:CharacterJobRequirement + # inverted: true + # jobs: + # - Librarian + # functions: + # - !type:TraitAddPsionics + # psionicPowers: + # - XenoglossyPower -- type: trait - id: PsychognomyPower - category: Mental - points: -3 - requirements: - - !type:CharacterLogicOrRequirement - requirements: - - !type:CharacterTraitRequirement - traits: - - LatentPsychic - - NaturalTelepath - - !type:CharacterJobRequirement - jobs: - - Chaplain - - ResearchDirector - - ForensicMantis - - Librarian - - !type:CharacterLogicOrRequirement - requirements: - - !type:CharacterSpeciesRequirement - inverted: true - species: - - IPC - - !type:CharacterTraitRequirement - traits: - - AnomalousPositronics - functions: - - !type:TraitAddPsionics - psionicPowers: - - PsychognomyPower +# - type: trait + # id: PsychognomyPower + # category: Mental + # points: -3 + # requirements: + # - !type:CharacterLogicOrRequirement + # requirements: + # - !type:CharacterTraitRequirement + # traits: + # - LatentPsychic + # - NaturalTelepath + # - !type:CharacterJobRequirement + # jobs: + # - Chaplain + # - ResearchDirector + # - ForensicMantis + # - Librarian + # - !type:CharacterLogicOrRequirement + # requirements: + # - !type:CharacterSpeciesRequirement + # inverted: true + # species: + # - IPC + # - !type:CharacterTraitRequirement + # traits: + # - AnomalousPositronics + # functions: + # - !type:TraitAddPsionics + # psionicPowers: + # - PsychognomyPower