diff --git a/code/modules/mob/living/simple_animal/vore/solargrub_subtype.dm b/code/modules/mob/living/simple_animal/vore/solargrub_subtype.dm new file mode 100644 index 0000000000..ccdeb15fd7 --- /dev/null +++ b/code/modules/mob/living/simple_animal/vore/solargrub_subtype.dm @@ -0,0 +1,37 @@ +//What belongs here? all non grubs that reuse grub code, Let's start off with grub like SMES mimics + +/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/big + name = "Greater SMESgrub" + desc = "A big sparkling SMESgrub" + icon = 'icons/obj/power.dmi' + icon_state = "smes" + icon_living = "smes" + icon_dead = "smes" + +/mob/living/simple_animal/retaliate/solargrub/smes/big/New() + expand_size(2) + +/mob/living/simple_animal/retaliate/solargrub/smes/proc/expand_size(var/size=null) + size_multiplier = size + update_icons() + +/obj/machinery/power/smes/buildable/outpost_substation/grub/New() + ..(0) + component_parts += new /obj/item/weapon/smes_coil/weak(src) + RCon_tag = "Unidentified_Power_Storage" + recalc_coils() + charge = 600000 //Let's do this after recalc to avoid overload issues + +/mob/living/simple_animal/retaliate/solargrub/smes/death() + ..() + /*var/obj/machinery/power/drop = */new /obj/machinery/power/smes/buildable/outpost_substation/grub(location) + //drop.charge = charge //Solargrubs dont fucking keep track of charge wtf + qdel(src) diff --git a/vorestation.dme b/vorestation.dme index 3ff0c8b37f..c2a659d42b 100644 --- a/vorestation.dme +++ b/vorestation.dme @@ -2262,6 +2262,7 @@ #include "code\modules\mob\living\simple_animal\vore\snake.dm" #include "code\modules\mob\living\simple_animal\vore\solargrub.dm" #include "code\modules\mob\living\simple_animal\vore\solargrub_larva.dm" +#include "code\modules\mob\living\simple_animal\vore\solargrub_subtype.dm" #include "code\modules\mob\living\simple_animal\vore\wolf.dm" #include "code\modules\mob\living\simple_animal\vore\zz_vore_overrides.dm" #include "code\modules\mob\living\simple_animal\vore\shadekin\_defines.dm"