mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 23:48:28 +01:00
Initialize hostile mobs (#18336)
* Initialize hostile mobs * Farie's review Co-authored-by: Farie82 <farie82@users.noreply.github.com> * staticify lists Co-authored-by: Farie82 <farie82@users.noreply.github.com>
This commit is contained in:
@@ -69,11 +69,11 @@
|
||||
return 1
|
||||
return ..()
|
||||
|
||||
/mob/living/simple_animal/hostile/blob/blobspore/New(loc, obj/structure/blob/factory/linked_node)
|
||||
/mob/living/simple_animal/hostile/blob/blobspore/Initialize(mapload, obj/structure/blob/factory/linked_node)
|
||||
. = ..()
|
||||
if(istype(linked_node))
|
||||
factory = linked_node
|
||||
factory.spores += src
|
||||
..()
|
||||
|
||||
/mob/living/simple_animal/hostile/blob/blobspore/Life(seconds, times_fired)
|
||||
|
||||
@@ -200,8 +200,8 @@
|
||||
adjustFireLoss(0.2)
|
||||
..()
|
||||
|
||||
/mob/living/simple_animal/hostile/blob/blobbernaut/New()
|
||||
..()
|
||||
/mob/living/simple_animal/hostile/blob/blobbernaut/Initialize(mapload)
|
||||
. = ..()
|
||||
if(name == "blobbernaut")
|
||||
name = text("blobbernaut ([rand(1, 1000)])")
|
||||
|
||||
|
||||
@@ -114,8 +114,8 @@
|
||||
to_chat(src, "3. Biological and sentient resources will be harvested at a later date, do not harm them.")
|
||||
to_chat(src, "<span class='motd'>For more information, check the wiki page: ([GLOB.configuration.url.wiki_url]/index.php/Swarmer)</span>")
|
||||
|
||||
/mob/living/simple_animal/hostile/swarmer/New()
|
||||
..()
|
||||
/mob/living/simple_animal/hostile/swarmer/Initialize(mapload)
|
||||
. = ..()
|
||||
add_language("Swarmer", 1)
|
||||
verbs -= /mob/living/verb/pulled
|
||||
for(var/datum/atom_hud/data/diagnostic/diag_hud in GLOB.huds)
|
||||
|
||||
@@ -29,8 +29,9 @@
|
||||
melee_damage_type = STAMINA
|
||||
admin_spawned = TRUE
|
||||
|
||||
/mob/living/simple_animal/hostile/guardian/healer/New()
|
||||
..()
|
||||
/mob/living/simple_animal/hostile/guardian/healer/Destroy()
|
||||
beacon = null
|
||||
return ..()
|
||||
|
||||
/mob/living/simple_animal/hostile/guardian/healer/Life(seconds, times_fired)
|
||||
..()
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
real_name = "magical morph"
|
||||
desc = "A revolting, pulsating pile of flesh. This one looks somewhat.. magical."
|
||||
|
||||
/mob/living/simple_animal/hostile/morph/wizard/New()
|
||||
/mob/living/simple_animal/hostile/morph/wizard/Initialize(mapload)
|
||||
. = ..()
|
||||
AddSpell(new /obj/effect/proc_holder/spell/smoke)
|
||||
AddSpell(new /obj/effect/proc_holder/spell/forcewall)
|
||||
|
||||
Reference in New Issue
Block a user