you cant roll appendicitis if youre a bitrunner avatar or deathmatch player (#87212)

## About The Pull Request

fixes #87206

## Changelog
🆑
fix: you may no longer roll appendicitis in deathmatch or as a bitrunner
avatar
/🆑
This commit is contained in:
jimmyl
2024-10-15 20:00:20 +02:00
committed by lessthanthree
parent 32d412f206
commit 134e2dcff3
2 changed files with 2 additions and 2 deletions

View File

@@ -139,7 +139,7 @@
observer.client?.prefs.safe_transfer_prefs_to(new_player)
new_player.dna.update_dna_identity()
new_player.updateappearance(icon_update = TRUE, mutcolor_update = TRUE, mutations_overlay_update = TRUE)
new_player.add_traits(list(TRAIT_CANNOT_CRYSTALIZE, TRAIT_PERMANENTLY_MORTAL), INNATE_TRAIT)
new_player.add_traits(list(TRAIT_CANNOT_CRYSTALIZE, TRAIT_PERMANENTLY_MORTAL, TRAIT_TEMPORARY_BODY), INNATE_TRAIT)
if(!isnull(observer.mind) && observer.mind?.current)
new_player.AddComponent( \
/datum/component/temporary_body, \

View File

@@ -37,7 +37,7 @@
owner.adjustToxLoss(2 * seconds_per_tick, forced = TRUE)
else if(inflamation_stage)
inflamation(seconds_per_tick)
else if(SPT_PROB(APPENDICITIS_PROB, seconds_per_tick))
else if(SPT_PROB(APPENDICITIS_PROB, seconds_per_tick) && !HAS_TRAIT(owner, TRAIT_TEMPORARY_BODY))
become_inflamed()
/obj/item/organ/internal/appendix/proc/become_inflamed()