Skip to content

Commit

Permalink
Teshari offsets and simple redraw of sabres for them. (#25712)
Browse files Browse the repository at this point in the history
* Just one pixel! Sorry!

Simple redraw in belt.dmi for sabres.

* Also teshari offsets
  • Loading branch information
RaShCAt authored and FFMirrorBot committed Dec 20, 2023
1 parent db8b7c9 commit 1905ea3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
Binary file not shown.
19 changes: 18 additions & 1 deletion modular_skyrat/modules/bodyparts/code/teshari_bodyparts.dm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
worn_head_offset = new(
attached_part = src,
feature_key = OFFSET_HEAD,
offset_x = list("north" = 1, "south" = 1, "east" = 1, "west" = -1, "northwest" = -1, "southwest" = -1),
offset_x = list("north" = 1, "south" = 1, "east" = 1, "west" = -1, "northwest" = -1, "southwest" = -1, "northeast" = 1, "southeast" = 1),
offset_y = list("north" = -4, "south" = -4, "east" = -4, "west" = -4),
)
worn_mask_offset = new(
Expand Down Expand Up @@ -52,6 +52,23 @@
)
return ..()

/obj/item/bodypart/arm/left/mutant/teshari/Initialize(mapload)
held_hand_offset = new(
attached_part = src,
feature_key = OFFSET_HELD,
offset_x = list("north" = 0, "south" = 0, "east" = 0, "west" = -6, "northwest" = -6, "southwest" = -6, "northeast" = 0, "southeast" = 0),
offset_y = list("north" = -3, "south" = -3, "east" = -3, "west" = -3),
)
return ..()

/obj/item/bodypart/arm/right/mutant/teshari/Initialize(mapload)
held_hand_offset = new(
attached_part = src,
feature_key = OFFSET_HELD,
offset_x = list("north" = 0, "south" = 0, "east" = 6, "west" = 0, "northwest" = 0, "southwest" = 0, "northeast" = 6, "southeast" = 6),
offset_y = list("north" = -3, "south" = -3, "east" = -3, "west" = -3),
)
return ..()

/obj/item/bodypart/arm/left/mutant/teshari
icon_greyscale = BODYPART_ICON_TESHARI
Expand Down

0 comments on commit 1905ea3

Please sign in to comment.