mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
[MODULARIZING] Removes Our Tongue Modifications for a Better Solution! (#17470)
Yeet!
This commit is contained in:
@@ -22,10 +22,7 @@
|
||||
/datum/language/draconic,
|
||||
/datum/language/codespeak,
|
||||
/datum/language/monkey,
|
||||
/datum/language/skrell, //SKYRAT EDIT - I forgot to push the commit!!
|
||||
/datum/language/narsie,
|
||||
/datum/language/machine, //SKYRAT EDIT - Gives synths the abiltiy to speak EAL
|
||||
/datum/language/slime, //SKYRAT EDIT - Gives slimes the ability to speak slime once more.
|
||||
/datum/language/beachbum,
|
||||
/datum/language/aphasia,
|
||||
/datum/language/piratespeak,
|
||||
@@ -33,15 +30,7 @@
|
||||
/datum/language/sylvan,
|
||||
/datum/language/shadowtongue,
|
||||
/datum/language/terrum,
|
||||
/datum/language/vox, //SKYRAT EDIT - customization - extra languages
|
||||
/datum/language/nekomimetic,
|
||||
/datum/language/xerxian, //SKYRAT EDIT - customization - extra languages
|
||||
/datum/language/panslavic, //SKYRAT EDIT - customization - extra languages
|
||||
/datum/language/spacer, //SKYRAT EDIT - customization - extra languages
|
||||
/datum/language/gutter, //SKYRAT EDIT - customization - extra languages
|
||||
/datum/language/yangyu, // SKYRAT EDIT - customization - extra languages
|
||||
/datum/language/schechi, // SKYRAT EDIT - customization - extra languages
|
||||
/datum/language/ashtongue, // SKYRAT EDIT - customization - extra languages
|
||||
))
|
||||
|
||||
/obj/item/organ/internal/tongue/Initialize(mapload)
|
||||
|
||||
@@ -41,7 +41,6 @@
|
||||
/datum/preference_middleware/languages/apply_to_human(mob/living/carbon/human/target, datum/preferences/preferences) // SKYRAT EDIT CHANGE
|
||||
var/datum/language_holder/language_holder = target.get_language_holder()
|
||||
language_holder.remove_all_languages()
|
||||
language_holder.omnitongue = TRUE // a crappy hack but it works
|
||||
for(var/lang_path in preferences.languages)
|
||||
language_holder.grant_language(lang_path)
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
// Remove the could_speak_language check from the tongue code. This is a much better solution than trying to grant omnitongue on prefs load, and prevents any funny breakages.
|
||||
/obj/item/organ/internal/tongue/could_speak_language(language)
|
||||
return TRUE
|
||||
@@ -5072,6 +5072,7 @@
|
||||
#include "modular_skyrat\master_files\code\modules\research\techweb\all_nodes.dm"
|
||||
#include "modular_skyrat\master_files\code\modules\shuttle\shuttle.dm"
|
||||
#include "modular_skyrat\master_files\code\modules\surgery\surgery.dm"
|
||||
#include "modular_skyrat\master_files\code\modules\surgery\organs\tongue.dm"
|
||||
#include "modular_skyrat\master_files\code\modules\uplink\uplink_implant.dm"
|
||||
#include "modular_skyrat\master_files\code\modules\uplink\uplink_items.dm"
|
||||
#include "modular_skyrat\master_files\code\modules\vehicles\snowmobile.dm"
|
||||
|
||||
Reference in New Issue
Block a user