SMES mimics

Additionally wrote a proc to properly handle size changing for these grubs specifically expand_size() following the naming scheme of expand_grub()

expand_dong() soon to come! ~~not really~~
This commit is contained in:
Sharkmare
2019-03-04 09:18:23 +01:00
committed by GitHub
parent fe743db52b
commit 6fb913bab8
@@ -0,0 +1,30 @@
//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()
/mob/living/simple_animal/retaliate/solargrub/smes/death()
..()
var/location = get_turf(src)
new /obj/machinery/power/smes(location)
qdel(src)