mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 13:37:58 +01:00
Minor mask tweaks, adds alt_head mask refitting, adds fitted versions of unathi masks for the new alt head.
The alt_head mask refitting system works like this: If the player has an alt_head that's not "None", the system will look for an icon state in the most relevant mask icon file that has the mask's icon state and alt_head suffix ("[wear_mask.icon_state]_[alternate_head.suffix]") and, if it exists ([(alternate_head && ("[wear_mask.icon_state]_[alternate_head.suffix]" in mask_icon.IconStates())) ? "_[alternate_head.suffix]" : ""]") the mask sprite that will appear on the character will have that icon state. If it doesn't exist, the mask sprite that will appear on the character will have the default icon state for the mask object.
This commit is contained in:
@@ -2349,6 +2349,7 @@
|
||||
icon = null
|
||||
icon_state = null
|
||||
species_allowed = null
|
||||
var/suffix = null
|
||||
|
||||
/datum/sprite_accessory/alt_heads/none
|
||||
name = "None"
|
||||
@@ -2360,3 +2361,4 @@
|
||||
name = "Unathi Sharp Snout"
|
||||
species_allowed = list("Unathi")
|
||||
icon_state = "head_sharp"
|
||||
suffix = "sharp"
|
||||
|
||||
Reference in New Issue
Block a user