mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
Origin Trait Changes + Vaurca Language Traits (#18912)
Origin traits, as well as species natural armor, will correctly remove themselves when culture/origin/species is changed. Vaurca primary language processors (K'lax Sinta'Unathi and C'thur Nral'malic) are now culture traits rather than loadout items. This means that they can be added/removed from ghostroles automatically without having to copypaste the same code 200 times. Secondary language processors (Sinta'Azaziba, Freespeak, Tradeband) have stayed as loadout items as some of them do not have distinct cultures or origins they can be added to.
This commit is contained in:
@@ -177,22 +177,6 @@
|
||||
sort_category = "Xenowear - Vaurca"
|
||||
flags = GEAR_HAS_NAME_SELECTION | GEAR_HAS_DESC_SELECTION | GEAR_HAS_COLOR_SELECTION | GEAR_HAS_ACCENT_COLOR_SELECTION
|
||||
|
||||
/datum/gear/augment/language_processor
|
||||
display_name = "language processor"
|
||||
description = "An augment that allows a vaurca to speak and understand a related language. These are only used by their respective Hives."
|
||||
path = /obj/item/organ/internal/augment/language/klax
|
||||
cost = 1
|
||||
sort_category = "Xenowear - Vaurca"
|
||||
whitelisted = list(SPECIES_VAURCA_WORKER, SPECIES_VAURCA_WARRIOR, SPECIES_VAURCA_BREEDER, SPECIES_VAURCA_BULWARK)
|
||||
flags = GEAR_NO_SELECTION
|
||||
|
||||
/datum/gear/augment/language_processor/New()
|
||||
..()
|
||||
var/list/language_processors = list()
|
||||
language_processors["K'laxan [LANGUAGE_UNATHI] language processor"] = /obj/item/organ/internal/augment/language/klax
|
||||
language_processors["C'thur [LANGUAGE_SKRELLIAN] language processor"] = /obj/item/organ/internal/augment/language/cthur
|
||||
gear_tweaks += new /datum/gear_tweak/path(language_processors)
|
||||
|
||||
/datum/gear/augment/auxiliary_processor
|
||||
display_name = "secondary language processor"
|
||||
description = "An augment that allows a vaurca to speak and understand a related language. These are only used by their respective groups, and act as an auxiliary to the hive's main language processor."
|
||||
|
||||
Reference in New Issue
Block a user