Makes wrist item sprites contained (#19210)
The main reason for this was because Bulwark wrist icon states were not working as intended and I wasn't able to figure out why. There aren't that many wrist items to begin with so hopefully it is okay.
@@ -4,9 +4,6 @@
|
||||
desc_extended = "For those who want too much time on their wrists instead."
|
||||
icon_state = "watch"
|
||||
item_state = "watch"
|
||||
sprite_sheets = list(
|
||||
BODYTYPE_VAURCA_BULWARK = 'icons/mob/species/bulwark/wrist.dmi'
|
||||
)
|
||||
var/wired = TRUE
|
||||
var/screwed = TRUE
|
||||
|
||||
|
||||
@@ -2,11 +2,7 @@
|
||||
/obj/item/clothing/wrists
|
||||
name = "wrists"
|
||||
w_class = ITEMSIZE_TINY
|
||||
icon = 'icons/obj/clothing/wrists.dmi'
|
||||
item_icons = list(
|
||||
slot_l_hand_str = 'icons/mob/items/clothing/lefthand_wrists.dmi',
|
||||
slot_r_hand_str = 'icons/mob/items/clothing/righthand_wrists.dmi'
|
||||
)
|
||||
icon = 'icons/obj/item/clothing/wrists/wrist.dmi'
|
||||
sprite_sheets = list(
|
||||
BODYTYPE_VAURCA_BULWARK = 'icons/mob/species/bulwark/wrist.dmi'
|
||||
)
|
||||
@@ -16,6 +12,7 @@
|
||||
siemens_coefficient = 1.0
|
||||
var/flipped = 0
|
||||
var/mob_wear_layer = WRISTS_LAYER_OVER
|
||||
contained_sprite = TRUE
|
||||
|
||||
/obj/item/clothing/wrists/update_clothing_icon()
|
||||
if (ismob(src.loc))
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
################################
|
||||
# Example Changelog File
|
||||
#
|
||||
# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb.
|
||||
#
|
||||
# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.)
|
||||
# When it is, any changes listed below will disappear.
|
||||
#
|
||||
# Valid Prefixes:
|
||||
# bugfix
|
||||
# - (fixes bugs)
|
||||
# wip
|
||||
# - (work in progress)
|
||||
# qol
|
||||
# - (quality of life)
|
||||
# soundadd
|
||||
# - (adds a sound)
|
||||
# sounddel
|
||||
# - (removes a sound)
|
||||
# rscadd
|
||||
# - (adds a feature)
|
||||
# rscdel
|
||||
# - (removes a feature)
|
||||
# imageadd
|
||||
# - (adds an image or sprite)
|
||||
# imagedel
|
||||
# - (removes an image or sprite)
|
||||
# spellcheck
|
||||
# - (fixes spelling or grammar)
|
||||
# experiment
|
||||
# - (experimental change)
|
||||
# balance
|
||||
# - (balance changes)
|
||||
# code_imp
|
||||
# - (misc internal code change)
|
||||
# refactor
|
||||
# - (refactors code)
|
||||
# config
|
||||
# - (makes a change to the config files)
|
||||
# admin
|
||||
# - (makes changes to administrator tools)
|
||||
# server
|
||||
# - (miscellaneous changes to server)
|
||||
#################################
|
||||
|
||||
# Your name.
|
||||
author: SimpleMaroon
|
||||
|
||||
# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again.
|
||||
delete-after: True
|
||||
|
||||
# Any changes you've made. See valid prefix list above.
|
||||
# INDENT WITH TWO SPACES. NOT TABS. SPACES.
|
||||
# SCREW THIS UP AND IT WON'T WORK.
|
||||
# Also, this gets changed to [] after reading. Just remove the brackets when you add new shit.
|
||||
# Please surround your changes in double quotes ("). It works without them, but if you use certain characters it screws up compiling. The quotes will not show up in the changelog.
|
||||
changes:
|
||||
- refactor: "Made wrist item sprites into contained sprites."
|
||||
- bugfix: "Bulwark wrist item sprites now work as intended."
|
||||
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 7.5 KiB |
|
After Width: | Height: | Size: 18 KiB |