Events ported, now for cleanup if needed.

This commit is contained in:
Neerti
2020-03-26 03:20:16 -04:00
parent dd2edef196
commit f5383410ea
51 changed files with 2325 additions and 312 deletions
+7
View File
@@ -441,6 +441,13 @@
//this way it will only update full-tile ones
overlays.Cut()
if(!is_fulltile())
// Rotate the sprite somewhat so non-fulltiled windows can be seen as needing repair.
var/full_tilt_degrees = 15
var/tilt_to_apply = abs((health / maxhealth) - 1)
if(tilt_to_apply && prob(50))
tilt_to_apply = -tilt_to_apply
adjust_rotation(LERP(0, full_tilt_degrees, tilt_to_apply))
icon_state = "[basestate]"
return
var/list/dirs = list()