Adds some chilling hallucinations (#70253)

Adds some new ice-based hallucinations
This commit is contained in:
Wallem
2022-10-06 01:54:10 -04:00
committed by GitHub
parent 25ee589446
commit 2e6d27b81f
9 changed files with 113 additions and 3 deletions
@@ -60,6 +60,12 @@
Fail("Hallucination image holder [image_holder] had an invalid / missing icon state for the icon [icon].")
// Test ice hallucination for if the ice cube icon state exists
var/datum/hallucination/ice/ice_hallucination = /datum/hallucination/ice
var/ice_hallucination_icon = initial(ice_hallucination.ice_icon)
var/ice_hallucination_icon_state = initial(ice_hallucination.ice_icon_state)
check_hallucination_icon(ice_hallucination, ice_hallucination_icon, ice_hallucination_icon_state)
/datum/unit_test/hallucination_icons/proc/check_hallucination_icon(hallucination, icon, icon_state)
if(!icon)
Fail("Hallucination [hallucination] forgot to set its icon file.")