mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
Adds PlasMAX helmet - inspired by plasmaman gear (#5087)
## About The Pull Request New helmet with sprites and all. I did make sprite for welding visor but plasmaman helmet code is a mess and I can't give it new file location to pull the visor sprite from. It's available in loadouts. I do want to make colorable version of this but I don't have the energy to do it now. Update: I've also tweaked original plasmaman helmet code so you can actually add welding and light sprites that are not default ones. This also fixed the two plasmaman donator items from Skyrat. This also includes smiley face working ## Why It's Good For The Game Fashion! Plasmaman helmet that actually looks like it could fit a snout in it. ## Proof Of Testing <img width="67" height="68" alt="image" src="https://github.com/user-attachments/assets/0fa40d15-0c98-4739-a9c0-655ce2c031db" /> <img width="68" height="66" alt="image" src="https://github.com/user-attachments/assets/070dd3a1-8b97-465f-902f-962cbfbb21e1" /> <img width="68" height="68" alt="image" src="https://github.com/user-attachments/assets/7982e256-3e5b-4798-ab7e-0bb9be7a5028" /> <img width="350" height="309" alt="image" src="https://github.com/user-attachments/assets/417afbc0-1819-4816-b3c5-b9b428a401d6" /> <img width="215" height="88" alt="image" src="https://github.com/user-attachments/assets/8fe7d635-37c9-482c-adcf-70ea2d1f5ade" /> </details> ## Changelog 🆑 add: Added new PlasMAX helmet to loadout /🆑
This commit is contained in:
@@ -181,12 +181,16 @@
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/worn_overlays(mutable_appearance/standing, isinhands)
|
||||
. = ..()
|
||||
if(!isinhands && !up)
|
||||
. += mutable_appearance('icons/mob/clothing/head/plasmaman_head.dmi', visor_icon)
|
||||
// BUBBER EDIT START
|
||||
. += mutable_appearance(worn_icon, visor_icon)
|
||||
// BUBBER EDIT END
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/separate_worn_overlays(mutable_appearance/standing, mutable_appearance/draw_target, isinhands = FALSE, icon_file)
|
||||
. = ..()
|
||||
if(!isinhands && smile)
|
||||
var/mutable_appearance/smiley = mutable_appearance('icons/mob/clothing/head/plasmaman_head.dmi', smile_state)
|
||||
// BUBBER EDIT START
|
||||
var/mutable_appearance/smiley = mutable_appearance(worn_icon, smile_state)
|
||||
// BUBBER EDIT END
|
||||
smiley.color = smile_color
|
||||
. += smiley
|
||||
|
||||
@@ -206,6 +210,10 @@
|
||||
if(!up)
|
||||
to_chat(user, span_notice("Your helmet's torch can't pass through your welding visor!"))
|
||||
set_light_on(FALSE)
|
||||
// BUBBER EDIT ADDITION START
|
||||
helmet_on = FALSE
|
||||
update_appearance()
|
||||
// BUBBER EDIT ADDITION END
|
||||
else
|
||||
set_light_on(TRUE)
|
||||
else
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 20 KiB |
@@ -864,6 +864,7 @@
|
||||
icon = 'modular_skyrat/master_files/icons/donator/obj/clothing/hats.dmi'
|
||||
worn_icon = 'modular_skyrat/master_files/icons/donator/mob/clothing/head.dmi'
|
||||
icon_state = "emissionhelm"
|
||||
visor_icon = "emissionhelm-envisor"
|
||||
|
||||
// Donation reward for CandleJax
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/candlejax2
|
||||
@@ -872,6 +873,7 @@
|
||||
icon = 'modular_skyrat/master_files/icons/donator/obj/clothing/hats.dmi'
|
||||
worn_icon = 'modular_skyrat/master_files/icons/donator/mob/clothing/head.dmi'
|
||||
icon_state = "anahead"
|
||||
visor_icon = "anahead-envisor"
|
||||
|
||||
// Donation reward for CandleJax
|
||||
/obj/item/clothing/under/plasmaman/candlejax
|
||||
|
||||
@@ -685,3 +685,12 @@
|
||||
/obj/item/clothing/head/hooded/ablative
|
||||
// new teshari sprites
|
||||
worn_icon_teshari = 'modular_zubbers/icons/mob/clothing/head/helmet_teshari.dmi'
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/plasmax_black
|
||||
name = "plasMAX envirosuit helmet"
|
||||
desc = "Extra large version of plasmaman helmet, made to fit those with non-humanoid skulls."
|
||||
icon = 'modular_zubbers/icons/obj/clothing/head/helmet.dmi'
|
||||
worn_icon = 'modular_zubbers/icons/mob/clothing/head/helmet.dmi'
|
||||
icon_state = "plasmax_black"
|
||||
light_color = "#f399ff"
|
||||
visor_icon = "plasmax_black-envisor"
|
||||
|
||||
@@ -181,3 +181,7 @@
|
||||
name = "Imperial Police Helmet"
|
||||
item_path = /obj/item/clothing/head/helmet/nri_police
|
||||
restricted_roles = list(JOB_CUSTOMS_AGENT)
|
||||
|
||||
/datum/loadout_item/head/soft/plasmax_black
|
||||
name = "PlasMAX Envirosuit Helmet"
|
||||
item_path = /obj/item/clothing/head/helmet/space/plasmaman/plasmax_black
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 9.2 KiB After Width: | Height: | Size: 10 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 4.0 KiB |
Reference in New Issue
Block a user