Merge pull request #473 from Sharkmare/patch-9

SMES mimics
This commit is contained in:
Vollybally
2019-03-04 23:14:34 -05:00
committed by GitHub
2 changed files with 38 additions and 0 deletions
@@ -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)
+1
View File
@@ -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"