mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 10:11:09 +00:00
* Fixes taste not existing for mobs without having their tongue changed (#74665) ## About The Pull Request Fixes #74571 Init order memes. All carbons innately gained the trait `TRAIT_AGEUSIA` in initialize due to not having a tongue Then, their organs would be created and their initial tongue would remove this trait But at some point init order changed, unsure when This caused this trait to be applied at an inappropriate time, causing all spawned carbons to be tastebud-less until their tongue was changed ## Why It's Good For The Game mmmm ## Changelog 🆑 Melbert fix: You can now taste once again, without requiring your tongue be surgically replaced or reattached /🆑 * Fixes taste not existing for mobs without having their tongue changed --------- Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
16 lines
780 B
Plaintext
16 lines
780 B
Plaintext
/datum/unit_test/spawn_humans/Run()
|
|
var/locs = block(run_loc_floor_bottom_left, run_loc_floor_top_right)
|
|
|
|
for(var/I in 1 to 5)
|
|
new /mob/living/carbon/human/consistent(pick(locs))
|
|
|
|
sleep(5 SECONDS)
|
|
|
|
/// Tests [/mob/living/carbon/human/proc/setup_organless_effects], specifically that they aren't applied when init is done
|
|
/datum/unit_test/human_default_traits
|
|
|
|
/datum/unit_test/human_default_traits/Run()
|
|
var/mob/living/carbon/human/consistent/dummy = allocate(/mob/living/carbon/human/consistent)
|
|
TEST_ASSERT(!HAS_TRAIT_FROM(dummy, TRAIT_AGEUSIA, NO_TONGUE_TRAIT), "Dummy has ageusia on init, when it should've been removed by its default tongue.")
|
|
TEST_ASSERT(!dummy.is_blind_from(NO_EYES), "Dummy is blind on init, when it should've been removed by its default eyes.")
|