Skip to content

Commit

Permalink
Merge pull request #732 from RalseiDreemuurr/sprites
Browse files Browse the repository at this point in the history
Фикс моделей дрейкборгов
  • Loading branch information
MysticalFaceLesS authored Jun 15, 2024
2 parents a6a69c1 + c903a55 commit 070c118
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions mod_celadon/drakeborgs/code/newforrobots.dm
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,25 @@
if(body_position == LYING_DOWN)
if(sitting)
icon_state = "[module.cyborg_base_icon]-sit"
pixel_x = -16
base_pixel_x = -16
if(bellyup)
icon_state = "[module.cyborg_base_icon]-bellyup"
pixel_x = -16
base_pixel_x = -16
else if(!sitting && !bellyup)
icon_state = "[module.cyborg_base_icon]-rest"
pixel_x = -16
base_pixel_x = -16
cut_overlays()
else
icon_state = "[module.cyborg_base_icon]"
pixel_x = -16
base_pixel_x = -16
if(stat == DEAD && module.hasrest == TRUE)
icon_state = "[module.cyborg_base_icon]-wreck"
pixel_x = -16
base_pixel_x = -16

/mob/living/silicon/robot/set_resting()
. = ..()
Expand Down

0 comments on commit 070c118

Please sign in to comment.