mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-18 19:53:35 +01:00
[MIRROR] adds animation flicks to robots (#10489)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
f251351e62
commit
4e30b4fe99
@@ -159,6 +159,12 @@ SUBSYSTEM_DEF(robot_sprites)
|
||||
decals -= "decals"
|
||||
RS.sprite_decals |= decals
|
||||
continue
|
||||
// special overlays that also can be used as animations, as some names have - in them, seperated by _
|
||||
if(findtext(icon, regex("^animations")))
|
||||
var/list/animations = splittext(icon, "_")
|
||||
animations -= "animations"
|
||||
RS.sprite_animations |= animations
|
||||
continue
|
||||
// Check for all the possible overlays
|
||||
if(findtext(icon, regex("-roll")))
|
||||
RS.sprite_flags |= ROBOT_HAS_SPEED_SPRITE
|
||||
|
||||
Reference in New Issue
Block a user