From 6c16f9f9c09957c7ffd5b4ec1d31d867c6fea590 Mon Sep 17 00:00:00 2001 From: Sharkmare <34294231+Sharkmare@users.noreply.github.com> Date: Thu, 28 Feb 2019 16:40:14 +0100 Subject: [PATCH 1/3] A new Solargrub type This one is a SMESgrub if you kill it you get an SMES... yup --- .../mob/living/simple_animal/vore/solargrub.dm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/code/modules/mob/living/simple_animal/vore/solargrub.dm b/code/modules/mob/living/simple_animal/vore/solargrub.dm index 6e34a1c2d1..d8b57629f7 100644 --- a/code/modules/mob/living/simple_animal/vore/solargrub.dm +++ b/code/modules/mob/living/simple_animal/vore/solargrub.dm @@ -117,3 +117,17 @@ List of things solar grubs should be able to do: if(. == 0 && !is_dead()) set_light(2.5, 1, COLOR_YELLOW) return 1 + +//CHOMPEDIT SMESgrubs +/mob/living/simple_animal/retaliate/solargrub/smes + name = "juvenile SMESgrub" + desc = "A young sparkling SMESgrub" + icon = 'icons/obj/power.dmi' + icon_state = "smes" + icon_living = "smes" + icon_dead = "smes" + +/mob/living/simple_animal/retaliate/solargrub/smes/death() + ..() + new /obj/machinery/power/smes(location) + qdel(src) From f0b44b40dbfece651ea53d3507b9d7787dce5168 Mon Sep 17 00:00:00 2001 From: Sharkmare <34294231+Sharkmare@users.noreply.github.com> Date: Thu, 28 Feb 2019 16:53:43 +0100 Subject: [PATCH 2/3] Update solargrub.dm --- code/modules/mob/living/simple_animal/vore/solargrub.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/simple_animal/vore/solargrub.dm b/code/modules/mob/living/simple_animal/vore/solargrub.dm index d8b57629f7..6bba9fcf1a 100644 --- a/code/modules/mob/living/simple_animal/vore/solargrub.dm +++ b/code/modules/mob/living/simple_animal/vore/solargrub.dm @@ -128,6 +128,6 @@ List of things solar grubs should be able to do: icon_dead = "smes" /mob/living/simple_animal/retaliate/solargrub/smes/death() - ..() + . = ..() new /obj/machinery/power/smes(location) qdel(src) From 3569c19710cd50e3ff0031ae3d215d389af6ed4c Mon Sep 17 00:00:00 2001 From: Sharkmare <34294231+Sharkmare@users.noreply.github.com> Date: Thu, 28 Feb 2019 17:02:52 +0100 Subject: [PATCH 3/3] Update solargrub.dm --- code/modules/mob/living/simple_animal/vore/solargrub.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/simple_animal/vore/solargrub.dm b/code/modules/mob/living/simple_animal/vore/solargrub.dm index 6bba9fcf1a..e61c701b96 100644 --- a/code/modules/mob/living/simple_animal/vore/solargrub.dm +++ b/code/modules/mob/living/simple_animal/vore/solargrub.dm @@ -128,6 +128,7 @@ List of things solar grubs should be able to do: icon_dead = "smes" /mob/living/simple_animal/retaliate/solargrub/smes/death() - . = ..() + ..() + var/location = get_turf(src) new /obj/machinery/power/smes(location) qdel(src)