-
Notifications
You must be signed in to change notification settings - Fork 565
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
marine helmets no longer spawn with squad optics. #4618
Closed
private-tristan
wants to merge
3
commits into
cmss13-devs:master
from
private-tristan:removesquadoptics
Closed
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -379,7 +379,7 @@ GLOBAL_LIST_INIT(allowed_helmet_items, list( | |
var/helmet_overlay_icon = 'icons/mob/humans/onmob/head_1.dmi' | ||
|
||
///Any visors built into the helmet | ||
var/list/built_in_visors = list(new /obj/item/device/helmet_visor) | ||
var/list/built_in_visors = list() | ||
|
||
///Any visors that have been added into the helmet | ||
var/list/inserted_visors = list() | ||
|
@@ -514,11 +514,6 @@ GLOBAL_LIST_INIT(allowed_helmet_items, list( | |
inserted_visors = list() | ||
to_chat(user, SPAN_NOTICE("You remove the inserted visors.")) | ||
|
||
var/datum/action/item_action/cycle_helmet_huds/cycle_action = locate() in actions | ||
cycle_action.set_default_overlay() | ||
if(!length(built_in_visors)) | ||
cycle_action.remove_from(user) | ||
|
||
return | ||
|
||
..() | ||
|
@@ -718,6 +713,7 @@ GLOBAL_LIST_INIT(allowed_helmet_items, list( | |
icon_state = "tech_helmet" | ||
specialty = "M10 technician" | ||
built_in_visors = list(new /obj/item/device/helmet_visor, new /obj/item/device/helmet_visor/welding_visor) | ||
built_in_visors = list(new /obj/item/device/helmet_visor/welding_visor) | ||
Comment on lines
715
to
+716
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. must have accidentally copied that instead of removing helmet visor, oops. |
||
|
||
/obj/item/clothing/head/helmet/marine/grey | ||
desc = "A standard M10 Pattern Helmet. This one has not had a camouflage pattern applied to it yet. There is a built-in camera on the right side." | ||
|
@@ -751,14 +747,14 @@ GLOBAL_LIST_INIT(allowed_helmet_items, list( | |
flags_inventory = BLOCKSHARPOBJ | ||
flags_inv_hide = HIDEEARS|HIDETOPHAIR | ||
specialty = "M50 tanker" | ||
built_in_visors = list(new /obj/item/device/helmet_visor, new /obj/item/device/helmet_visor/welding_visor/tanker) | ||
built_in_visors = list(new /obj/item/device/helmet_visor/welding_visor/tanker) | ||
|
||
/obj/item/clothing/head/helmet/marine/medic | ||
name = "\improper M10 corpsman helmet" | ||
desc = "An M10 marine helmet version worn by marine hospital corpsmen. Has red cross painted on its front." | ||
icon_state = "med_helmet" | ||
specialty = "M10 pattern medic" | ||
built_in_visors = list(new /obj/item/device/helmet_visor, new /obj/item/device/helmet_visor/medical/advanced) | ||
built_in_visors = list(new /obj/item/device/helmet_visor/medical/advanced) | ||
start_down_visor_type = /obj/item/device/helmet_visor/medical/advanced | ||
|
||
/obj/item/clothing/head/helmet/marine/covert | ||
|
@@ -901,7 +897,7 @@ GLOBAL_LIST_INIT(allowed_helmet_items, list( | |
armor_bio = CLOTHING_ARMOR_MEDIUMHIGH | ||
specialty = "M10 pattern captain" | ||
flags_atom = NO_SNOW_TYPE | ||
built_in_visors = list(new /obj/item/device/helmet_visor, new /obj/item/device/helmet_visor/medical/advanced, new /obj/item/device/helmet_visor/security) | ||
built_in_visors = list(new /obj/item/device/helmet_visor/medical/advanced, new /obj/item/device/helmet_visor/security) | ||
|
||
/obj/item/clothing/head/helmet/marine/MP | ||
name = "\improper M10 pattern MP helmet" | ||
|
@@ -925,7 +921,7 @@ GLOBAL_LIST_INIT(allowed_helmet_items, list( | |
icon_state = "helmet" | ||
item_state = "helmet" | ||
specialty = "M10 pattern officer" | ||
built_in_visors = list(new /obj/item/device/helmet_visor, new /obj/item/device/helmet_visor/medical/advanced) | ||
built_in_visors = list(new /obj/item/device/helmet_visor/medical/advanced) | ||
|
||
/obj/item/clothing/head/helmet/marine/mp/provost/marshal | ||
name = "\improper Provost Marshal Cap" | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?