tg pai sprites

This commit is contained in:
Aronai Sieyes
2021-06-30 15:18:31 -04:00
parent b25ee3cf5d
commit c2fa88d649
3 changed files with 16 additions and 2 deletions
@@ -41,6 +41,11 @@
"Type Zero" = "pai-typezero",
"Raccoon" = "pai-raccoon",
"Raptor" = "pai-raptor",
"Corgi" = "pai-corgi",
"Bat" = "pai-bat",
"Butterfly" = "pai-butterfly",
"Hawk" = "pai-hawk",
"Duffel" = "pai-duffel",
"Rat" = "rat",
"Panther" = "panther"
//VOREStation Addition End
+11 -2
View File
@@ -26,14 +26,23 @@
/mob/living/silicon/pai/update_icon() //Some functions cause this to occur, such as resting
..()
update_fullness_pai()
if(!people_eaten && !resting)
icon_state = "[chassis]" //Using icon_state here resulted in quite a few bugs. Chassis is much less buggy.
else if(!people_eaten && resting)
icon_state = "[chassis]_rest"
// Unfortunately not all these states exist, ugh.
else if(people_eaten && !resting)
icon_state = "[chassis]_full"
if("[chassis]_full" in cached_icon_states(icon))
icon_state = "[chassis]_full"
else
icon_state = "[chassis]"
else if(people_eaten && resting)
icon_state = "[chassis]_rest_full"
if("[chassis]_rest_full" in cached_icon_states(icon))
icon_state = "[chassis]_rest_full"
else
icon_state = "[chassis]_rest"
if(chassis in wide_chassis)
icon = 'icons/mob/pai_vr64x64.dmi'
Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 KiB

After

Width:  |  Height:  |  Size: 154 KiB