Fix voidsuits and helmets having no icon (#13820)

This commit is contained in:
Wildkins
2022-05-07 10:05:59 -04:00
committed by GitHub
parent 7382b583cb
commit 276cf694a5
8 changed files with 39 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
/obj/item/clothing/head/helmet/space/deathsquad
name = "deathsquad helmet"
desc = "That's not red paint. That's real blood."
icon = 'icons/obj/clothing/hats.dmi'
icon_state = "deathsquad"
item_state_slots = list(
slot_l_hand_str = "syndicate-helm-black-red",
@@ -21,6 +22,7 @@
min_pressure_protection = 0
flags_inv = BLOCKHAIR
siemens_coefficient = 0.6
contained_sprite = FALSE
//how is this a space helmet?
/obj/item/clothing/head/helmet/space/deathsquad/beret
@@ -42,23 +44,28 @@
/obj/item/clothing/head/helmet/space/santahat
name = "Santa's hat"
desc = "Ho ho ho. Merrry X-mas!"
icon = 'icons/obj/clothing/hats.dmi'
icon_state = "santahat"
item_state = "santahat"
flags_inv = BLOCKHAIR
body_parts_covered = HEAD
contained_sprite = FALSE
/obj/item/clothing/suit/space/santa
name = "Santa's suit"
desc = "Festive!"
icon = 'icons/obj/clothing/suits.dmi'
icon_state = "santa"
item_state = "santa"
slowdown = 0
allowed = list(/obj/item) //for stuffing exta special presents
contained_sprite = FALSE
//Space pirate outfit
/obj/item/clothing/head/helmet/space/pirate
name = "pirate hat"
desc = "Yarr."
icon = 'icons/obj/clothing/hats.dmi'
icon_state = "pirate"
item_state = "pirate"
armor = list(
@@ -73,10 +80,12 @@
flags_inv = BLOCKHAIR
body_parts_covered = 0
siemens_coefficient = 0.4
contained_sprite = FALSE
/obj/item/clothing/suit/space/pirate
name = "pirate coat"
desc = "Yarr."
icon = 'icons/obj/clothing/suits.dmi'
icon_state = "pirate"
item_state = "pirate"
w_class = ITEMSIZE_NORMAL
@@ -92,4 +101,5 @@
rad = ARMOR_RAD_MINOR
)
siemens_coefficient = 0.4
body_parts_covered = UPPER_TORSO|ARMS
body_parts_covered = UPPER_TORSO|ARMS
contained_sprite = FALSE

View File

@@ -11,6 +11,8 @@
cold_protection = HEAD|FACE|EYES
brightness_on = 4
light_wedge = LIGHT_WIDE
icon = 'icons/obj/clothing/hats.dmi'
contained_sprite = FALSE
/obj/item/clothing/gloves/rig
name = "gauntlets"
@@ -45,6 +47,8 @@
breach_threshold = 38
resilience = 0.2
can_breach = 1
contained_sprite = FALSE
icon = 'icons/obj/clothing/suits.dmi'
supporting_limbs = list()

View File

@@ -1,6 +1,7 @@
//Regular syndicate space suit
/obj/item/clothing/head/helmet/space/syndicate
name = "red space helmet"
icon = 'icons/obj/clothing/hats.dmi'
icon_state = "syndicate"
item_state = "syndicate"
desc = "A crimson helmet sporting clean lines and durable plating. Engineered to look menacing."
@@ -15,9 +16,11 @@
)
siemens_coefficient = 0.5
brightness_on = 6
contained_sprite = FALSE
/obj/item/clothing/suit/space/syndicate
name = "red space suit"
icon = 'icons/obj/clothing/suits.dmi'
icon_state = "syndicate"
item_state = "space_suit_syndicate"
desc = "A crimson spacesuit sporting clean lines and durable plating. Robust, reliable, and slightly suspicious."
@@ -34,6 +37,7 @@
rad = ARMOR_RAD_MINOR
)
siemens_coefficient = 0.5
contained_sprite = FALSE
//Green syndicate space suit

View File

@@ -18,6 +18,8 @@
max_pressure_protection = VOIDSUIT_MAX_PRESSURE
min_pressure_protection = 0
siemens_coefficient = 0.5
contained_sprite = FALSE
icon = 'icons/obj/clothing/hats.dmi'
//Species-specific stuff.
species_restricted = list(BODYTYPE_HUMAN, BODYTYPE_IPC_BISHOP, BODYTYPE_IPC_ZENGHU)
@@ -57,6 +59,8 @@
heat_protection = UPPER_TORSO|LOWER_TORSO|LEGS|FEET|ARMS|HANDS
max_heat_protection_temperature = SPACE_SUIT_MAX_HEAT_PROTECTION_TEMPERATURE
siemens_coefficient = 0.5
contained_sprite = FALSE
icon = 'icons/obj/clothing/suits.dmi'
species_restricted = list(BODYTYPE_HUMAN, BODYTYPE_SKRELL, BODYTYPE_IPC_BISHOP, BODYTYPE_IPC_ZENGHU)
sprite_sheets_refit = list(

View File

@@ -4,6 +4,8 @@
desc = "A matte-black, eyeless cerebro-energetic enhancement helmet. It uses highly sophisticated, and illegal, techniques to drill into your brain and install psi-infected AIs into the fluid cavities between your lobes."
desc_info = "Due to the nature of this headgear, it will also protect you from the pressure of space. When installing the boosters, your chosen faculties will be boosted to the headgear's maximum potential, but the unchosen faculties will also be boosted somewhat."
action_button_name = "Install Boosters"
icon = 'icons/obj/clothing/hats.dmi'
contained_sprite = FALSE
icon_state = "amp"
item_state_slots = list(

View File

@@ -21,6 +21,8 @@
item_state = "cespace_suit"
armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 100, rad = 100)
allowed = list(/obj/item/device/flashlight,/obj/item/tank,/obj/item/device/suit_cooling_unit)
contained_sprite = FALSE
icon = 'icons/obj/clothing/suits.dmi'
/obj/item/clothing/head/helmet/space/anomaly
name = "excavation hood"
@@ -28,3 +30,5 @@
icon_state = "cespace_helmet"
item_state = "cespace_helmet"
armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 100, rad = 100)
icon = 'icons/obj/clothing/hats.dmi'
contained_sprite = FALSE