From 765a3be112e3e4d45651865cfcade78fc894e3bb Mon Sep 17 00:00:00 2001 From: Erik Darkpaws Date: Sun, 20 Jan 2019 21:34:08 -0800 Subject: [PATCH] =?UTF-8?q?Mobs=20on=20the=20asteroid=20now=20have=2015=20?= =?UTF-8?q?second=20escape=20time=20for=20vore=20bellies,=20not=2060=20sec?= =?UTF-8?q?onds.=20Now=20you=20can=20get=20ate=20by=20mobs=20without=20bei?= =?UTF-8?q?ng=20punished=20with=20critical=20damage!=20(Does=20not=20affec?= =?UTF-8?q?t=20Admemed=E2=84=A2=20mobs)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/game/objects/mob_spawner_chomp.dm | 14 ++++++++++++++ .../mob/living/simple_animal/simple_animal_vr.dm | 2 ++ 2 files changed, 16 insertions(+) diff --git a/code/game/objects/mob_spawner_chomp.dm b/code/game/objects/mob_spawner_chomp.dm index 64c0532492..9f02e1662e 100644 --- a/code/game/objects/mob_spawner_chomp.dm +++ b/code/game/objects/mob_spawner_chomp.dm @@ -20,3 +20,17 @@ /mob/living/simple_animal/hostile/goose = 60, /mob/living/simple_animal/retaliate/bee = 50, ) + + /obj/structure/mob_spawner/scanner/mining_animals/do_spawn(var/mob_path) + if(!ispath(mob_path)) + return 0 + var/mob/living/L = new mob_path(get_turf(src)) + L/simple_animal.vore_escape_time = 15 SECONDS + L.source_spawner = src + spawned_mobs.Add(L) + last_spawn = world.time + if(total_spawns > 0) + total_spawns-- + if(mob_faction) + L.faction = mob_faction + return L \ No newline at end of file diff --git a/code/modules/mob/living/simple_animal/simple_animal_vr.dm b/code/modules/mob/living/simple_animal/simple_animal_vr.dm index 883c43e30f..ee4c462a48 100644 --- a/code/modules/mob/living/simple_animal/simple_animal_vr.dm +++ b/code/modules/mob/living/simple_animal/simple_animal_vr.dm @@ -20,6 +20,7 @@ var/vore_digest_chance = 25 // Chance to switch to digest mode if resisted var/vore_absorb_chance = 0 // Chance to switch to absorb mode if resisted var/vore_escape_chance = 25 // Chance of resisting out of mob + var/vore_escape_time = 60 SECONDS // This didn't exist before. Why? I don't know. Modifies the escape time of a belly. -Erik var/vore_stomach_name // The name for the first belly if not "stomach" var/vore_stomach_flavor // The flavortext for the first belly if not the default @@ -151,6 +152,7 @@ B.mode_flags = vore_default_flags B.escapable = vore_escape_chance > 0 B.escapechance = vore_escape_chance + B.escapetime = vore_escape_time B.digestchance = vore_digest_chance B.absorbchance = vore_absorb_chance B.human_prey_swallow_time = swallowTime