mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-22 20:56:33 +01:00
Events ported, now for cleanup if needed.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user