diff --git a/code/game/objects/structures/icemoon/cave_entrance.dm b/code/game/objects/structures/icemoon/cave_entrance.dm index 85e795b497f..f5d6115f86c 100644 --- a/code/game/objects/structures/icemoon/cave_entrance.dm +++ b/code/game/objects/structures/icemoon/cave_entrance.dm @@ -102,7 +102,7 @@ GLOBAL_LIST_INIT(ore_probability, list( mob_types = list(/mob/living/simple_animal/hostile/asteroid/ice_whelp) /obj/structure/spawner/ice_moon/demonic_portal/snowlegion - mob_types = list(/mob/living/simple_animal/hostile/asteroid/hivelord/legion/snow) + mob_types = list(/mob/living/simple_animal/hostile/asteroid/hivelord/legion/snow/portal) /obj/effect/collapsing_demonic_portal name = "collapsing demonic portal" diff --git a/code/modules/mob/living/simple_animal/hostile/mining_mobs/basilisk.dm b/code/modules/mob/living/simple_animal/hostile/mining_mobs/basilisk.dm index 765f18a1663..97a144f0477 100644 --- a/code/modules/mob/living/simple_animal/hostile/mining_mobs/basilisk.dm +++ b/code/modules/mob/living/simple_animal/hostile/mining_mobs/basilisk.dm @@ -217,4 +217,4 @@ L.apply_status_effect(/datum/status_effect/freon/watcher) /mob/living/simple_animal/hostile/asteroid/basilisk/watcher/tendril - fromtendril = TRUE + from_spawner = TRUE diff --git a/code/modules/mob/living/simple_animal/hostile/mining_mobs/goliath.dm b/code/modules/mob/living/simple_animal/hostile/mining_mobs/goliath.dm index 78679006d52..091ffacf315 100644 --- a/code/modules/mob/living/simple_animal/hostile/mining_mobs/goliath.dm +++ b/code/modules/mob/living/simple_animal/hostile/mining_mobs/goliath.dm @@ -178,7 +178,7 @@ cached_tentacle_turfs -= t /mob/living/simple_animal/hostile/asteroid/goliath/beast/tendril - fromtendril = TRUE + from_spawner = TRUE //tentacles /obj/effect/temp_visual/goliath_tentacle diff --git a/code/modules/mob/living/simple_animal/hostile/mining_mobs/hivelord.dm b/code/modules/mob/living/simple_animal/hostile/mining_mobs/hivelord.dm index 57202315d05..696f06809c5 100644 --- a/code/modules/mob/living/simple_animal/hostile/mining_mobs/hivelord.dm +++ b/code/modules/mob/living/simple_animal/hostile/mining_mobs/hivelord.dm @@ -154,7 +154,7 @@ if(stored_mob) stored_mob.forceMove(get_turf(src)) stored_mob = null - else if(fromtendril) + else if(from_spawner) new /obj/effect/mob_spawn/corpse/human/charredskeleton(T) else if(dwarf_mob) new /obj/effect/mob_spawn/corpse/human/legioninfested/dwarf(T) @@ -163,7 +163,7 @@ ..(gibbed) /mob/living/simple_animal/hostile/asteroid/hivelord/legion/tendril - fromtendril = TRUE + from_spawner = TRUE //Legion skull /mob/living/simple_animal/hostile/asteroid/hivelordbrood/legion @@ -308,6 +308,9 @@ /mob/living/simple_animal/hostile/asteroid/hivelordbrood/legion/snow/make_legion(mob/living/carbon/human/H) return new /mob/living/simple_animal/hostile/asteroid/hivelord/legion/snow(H.loc) +/mob/living/simple_animal/hostile/asteroid/hivelord/legion/snow/portal + from_spawner = TRUE + // Snow Legion skull /mob/living/simple_animal/hostile/asteroid/hivelordbrood/legion/snow name = "snow legion" diff --git a/code/modules/mob/living/simple_animal/hostile/mining_mobs/mining_mobs.dm b/code/modules/mob/living/simple_animal/hostile/mining_mobs/mining_mobs.dm index afc46b24134..968928b2e71 100644 --- a/code/modules/mob/living/simple_animal/hostile/mining_mobs/mining_mobs.dm +++ b/code/modules/mob/living/simple_animal/hostile/mining_mobs/mining_mobs.dm @@ -14,7 +14,8 @@ status_flags = 0 combat_mode = TRUE var/throw_message = "bounces off of" - var/fromtendril = FALSE + /// Is this mob subtype from a spawner (e.g. necropolis tendril, demonic portal)? Can be used to affect what it drops (e.g. legions force-dropping ashen skeletons). + var/from_spawner = FALSE // Pale purple, should be red enough to see stuff on lavaland lighting_cutoff_red = 25 lighting_cutoff_green = 15 diff --git a/code/modules/unit_tests/simple_animal_freeze.dm b/code/modules/unit_tests/simple_animal_freeze.dm index a666233d0b8..1d6823dc1ba 100644 --- a/code/modules/unit_tests/simple_animal_freeze.dm +++ b/code/modules/unit_tests/simple_animal_freeze.dm @@ -91,6 +91,7 @@ /mob/living/simple_animal/hostile/asteroid/hivelord/legion/dwarf, /mob/living/simple_animal/hostile/asteroid/hivelord/legion/random, /mob/living/simple_animal/hostile/asteroid/hivelord/legion/snow, + /mob/living/simple_animal/hostile/asteroid/hivelord/legion/snow/portal, /mob/living/simple_animal/hostile/asteroid/hivelord/legion/tendril, /mob/living/simple_animal/hostile/asteroid/hivelordbrood, /mob/living/simple_animal/hostile/asteroid/hivelordbrood/legion,