mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-27 14:06:43 +01:00
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:
@@ -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)
|
||||
Reference in New Issue
Block a user