-
Notifications
You must be signed in to change notification settings - Fork 71
Random events and transformer logic cleanup #988
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
Merged
+117
−55
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
cb47474
need to test
chazzyjazzy e04c7eb
blargh
chazzyjazzy e2382a9
bleh
chazzyjazzy c4b3e11
ok
chazzyjazzy fe74013
remove that
chazzyjazzy 8b7ece7
bang and return to non-debug vars
chazzyjazzy 777533b
Create attributions.txt
chazzyjazzy b2f6f7b
ghnfgjnfg
chazzyjazzy 9b07d14
Revert "ghnfgjnfg"
chazzyjazzy e6c996f
Update code/modules/events/_event.dm
chazzyjazzy 8da88b4
nice
chazzyjazzy e52aeb1
Update fusebox.dm
chazzyjazzy 2c69d6e
Update events.dm
chazzyjazzy 1ebaa46
Merge branch 'master' into decepticon
FalloutFalcon 2ddb89c
Merge branch 'master' into decepticon
chazzyjazzy e13b3df
Merge branch 'master' into decepticon
chazzyjazzy d0e652b
Merge branch 'master' into decepticon
chazzyjazzy f158806
Merge branch 'master' into decepticon
chazzyjazzy abdaeb3
Merge branch 'master' into decepticon
chazzyjazzy 037d990
Update beer_nuke.dm
chazzyjazzy 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| thank you to yfjesse on freesound.org for news_notification.ogg | ||
| https://freesound.org/people/yfjesse/sounds/235911/ |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| /datum/round_event_control/darkpack | ||
| darkpack_allowed = TRUE | ||
|
|
||
| // note - no need for a /datum/round_event/darkpack subtype. they only fire if the above exists. |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| /datum/round_event_control/darkpack/blackout | ||
| name = "Blackout" | ||
| typepath = /datum/round_event/blackout | ||
| weight = 6 | ||
| min_players = 5 | ||
| max_occurrences = 2 | ||
| earliest_start = 10 MINUTES | ||
| category = EVENT_CATEGORY_ENGINEERING | ||
| description = "A cascading failure in the city's power grid." | ||
| darkpack_allowed = TRUE | ||
|
|
||
| /datum/round_event/blackout | ||
| start_when = 1 | ||
| announce_when = 5 | ||
|
|
||
| /datum/round_event/blackout/announce(fake) | ||
| priority_announce( | ||
| "A breaking news notification has appeared on your phone - rolling blackouts are affecting your area due to inclement weather.", | ||
| "Local BREAKING NEWS Alert", | ||
| 'modular_darkpack/modules/events/sounds/news_notification.ogg', | ||
| ANNOUNCEMENT_TYPE_PRIORITY, | ||
| color_override = "red", | ||
| ) | ||
|
|
||
| /datum/round_event/blackout/start() | ||
| for(var/obj/fusebox/F in GLOB.fuseboxes) | ||
| if(prob(50)) | ||
| continue | ||
| F.take_damage(101) | ||
| F.power_off() |
Binary file not shown.
This file contains hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.