Adds a unit test to check for any missing initial icon states (#8332)

This commit is contained in:
mikomyazaki
2020-02-23 02:43:12 -03:00
committed by GitHub
parent bc7286647e
commit 21f348ec57
106 changed files with 214 additions and 304 deletions
@@ -3,7 +3,7 @@
name = "alien"
desc = "What IS that?"
icon = 'icons/mob/npc/alien.dmi'
icon_state = "alien"
icon_state = "alien_s"
pass_flags = PASSTABLE
health = 100
maxHealth = 100
@@ -7,7 +7,7 @@
var/alert = null
use_me = 0 //Can't use the me verb, it's a freaking immobile brain
icon = 'icons/obj/surgery.dmi'
icon_state = "brain1"
icon_state = "brain"
/mob/living/carbon/brain/Destroy()
if(key) //If there is a mob connected to this thing. Have to check key twice to avoid false death reporting.
@@ -14,7 +14,7 @@ var/global/list/robot_modules = list(
/obj/item/robot_module
name = "robot module"
icon = 'icons/obj/module.dmi'
icon_state = "std_module"
icon_state = "std_mod"
w_class = 100.0
item_state = "electronic"
flags = CONDUCT
@@ -168,9 +168,9 @@
name = "\improper chicken"
desc = "Hopefully the eggs are good this season."
icon = 'icons/mob/npc/livestock.dmi'
icon_state = "chicken"
icon_living = "chicken"
icon_dead = "chicken_dead"
icon_state = null
icon_living = null
icon_dead = null
speak = list("Cluck!","BWAAAAARK BWAK BWAK BWAK!","Bwaak bwak.")
speak_emote = list("clucks","croons")
emote_hear = list("clucks")
@@ -1,6 +1,7 @@
/mob/living/simple_animal/hostile/retaliate/clown
name = "clown"
desc = "A denizen of clown planet"
icon = 'icons/mob/npc/human.dmi'
icon_state = "clown"
icon_living = "clown"
icon_dead = "clown_dead"
@@ -12,7 +12,7 @@
name = "great worm maw"
desc = "Hop in, the gastrointestinal juices are just fine."
icon = 'icons/mob/npc/cavern.dmi'
icon_state = "blank"
icon_state = null
mouse_opacity = 0
throwforce = 0
anchored = 1
@@ -2,9 +2,9 @@
name = "space worm segment"
desc = "A part of a space worm."
icon = 'icons/mob/npc/animal.dmi'
icon_state = "spaceworm"
icon_living = "spaceworm"
icon_dead = "spacewormdead"
icon_state = null
icon_living = null
icon_dead = null
status_flags = 0
speak_emote = list("transmits") //not supposed to be used under AI control
@@ -48,9 +48,9 @@
head
name = "space worm head"
icon_state = "spacewormhead"
icon_living = "spacewormhead"
icon_dead = "spacewormdead"
icon_state = "spacewormhead0"
icon_living = "spacewormhead0"
icon_dead = "spacewormheaddead"
maxHealth = 20
health = 20
@@ -123,7 +123,7 @@
eatingDuration = 0
update_icon() //only for the sake of consistency with the other update icon procs
if(stat == CONSCIOUS || stat == UNCONSCIOUS)
if(stat != DEAD)
if(previous) //midsection
icon_state = "spaceworm[get_dir(src,previous) | get_dir(src,next)]" //see 3 lines below
else //tail