-
-
Notifications
You must be signed in to change notification settings - Fork 552
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
PGFCSB/OSHA update: Various workplace hazards now are hazards #3387
Closed
Closed
Changes from 11 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
ec4c776
get this party started with carbon monoxide
rye-rice 7f44e89
removes flammablity
rye-rice 31bbc79
should be better
rye-rice 50e86c9
brings back this anti salt measure
rye-rice 0584462
yeah
rye-rice 205585a
gatekeeping ass component
rye-rice 0e5c49b
last m inute changes
rye-rice b0db41f
fucker
rye-rice bfb5c49
FUCK
rye-rice 109e294
bitch
rye-rice 65521fe
CI fail
rye-rice e72401d
fixes, l inux auxmos works weirdly
rye-rice 8efcbbd
Update code/datums/components/pellet_cloud.dm
rye-rice 361b504
on second thought
rye-rice c491220
Merge branch 'gretchen's-bane' of https://github.com/rye-rice/Shiptes…
rye-rice 1031041
lets see
rye-rice dc73e62
typo
rye-rice beb7563
changes for TM
rye-rice cede190
wawa
rye-rice 974eb1d
boom
rye-rice c834e3a
fine tuning
rye-rice 81c7376
fixes extingusher
rye-rice ab74cb3
better metabolism?
rye-rice 3300ddb
monoxide filtered by defaul
rye-rice d28e214
whatever
rye-rice 8591ca0
MOVED TO ANOTHER PR
rye-rice 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
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
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 |
---|---|---|
|
@@ -46,8 +46,6 @@ | |
var/mob/living/shooter | ||
|
||
/datum/component/pellet_cloud/Initialize(projectile_type=/obj/item/shrapnel, magnitude=5) | ||
if(!isammocasing(parent) && !isgrenade(parent) && !islandmine(parent) && !issupplypod(parent)) | ||
return COMPONENT_INCOMPATIBLE | ||
Comment on lines
-49
to
-50
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. please at least check that its an atom or obj |
||
|
||
if(magnitude < 1) | ||
stack_trace("Invalid magnitude [magnitude] < 1 on pellet_cloud, parent: [parent]") | ||
|
@@ -57,7 +55,7 @@ | |
|
||
if(isammocasing(parent)) | ||
num_pellets = magnitude | ||
else if(isgrenade(parent) || islandmine(parent) || issupplypod(parent)) | ||
else | ||
radius = magnitude | ||
|
||
/datum/component/pellet_cloud/Destroy(force, silent) | ||
|
@@ -78,6 +76,8 @@ | |
RegisterSignal(parent, COMSIG_MINE_TRIGGERED, PROC_REF(create_blast_pellets)) | ||
else if(issupplypod(parent)) | ||
RegisterSignal(parent, COMSIG_SUPPLYPOD_LANDED, PROC_REF(create_blast_pellets)) | ||
else | ||
RegisterSignal(parent, COMSIG_SUPPLYPOD_LANDED, PROC_REF(create_blast_pellets)) | ||
rye-rice marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
/datum/component/pellet_cloud/UnregisterFromParent() | ||
UnregisterSignal(parent, list(COMSIG_PARENT_PREQDELETED, COMSIG_PELLET_CLOUD_INIT, COMSIG_GRENADE_PRIME, COMSIG_GRENADE_ARMED, COMSIG_MOVABLE_MOVED, COMSIG_MINE_TRIGGERED, COMSIG_ITEM_DROPPED)) | ||
|
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
probably update the comments here because they will be inaccurate with the current numbers
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.
Yep