Commit Graph

128 Commits

Author SHA1 Message Date
Cyberboss
31ee152489 Repaths subsystem to controller/subsystem (#24624)
* Repaths subsystem to controller/subsystem

* Fix the shit
2017-03-08 22:05:45 +01:00
Cyberboss
849b3e2d65 Roundstart Animation (#24357)
* Juiciness intensifies

* Update the syntax
2017-03-08 11:11:41 +13:00
Cyberboss
e03144dc1d Smoother roundstart take II (#24504)
* Revert "Until I figure out why random keys aren't being transferred"

* Fixes cyborgs not getting their key at roundstart

* Fixes mimes not getting the prefs name

* Fixes clowns not getting prefs names

* Sets the round start timer when it actually starts

* Remove fluff CHECK_TICKs

* Moves siliconization to the jobs module

* Yeah whatever

* Fixes AIization

* HNNNNGHHHH WHY IS THIS UP HERE?

* Fix cyborgs not linking to AI
2017-03-07 21:06:33 +01:00
Cyberboss
1bbc640afe Runtime Dynamic Station Loading (#24171)
* Dynamic map loading prototype

* Get the title screen working

* Fixes the random pod bugs

* map configs

* Add back the asteroid

* Ignore the rotate file

* Fix some shit

* More shit fixes

* Babby's first json

* Cyberboss confirmed shitcoder

* Makes map rotation great again

* Moves the map defines

* Delete tgstation2.dm

* Convert runtimestation

* Convert PubbyStation

* Convert OmegaStation

* Convert Metastation

* Convert Delta Station

* Lol file extensions

* Reee line endings

* Take out the trash

* Fix loadallmaps.dm

* Deltaassssssstation?

* Fix travis

* Did I ASK you to change the line endings?

* Remove votable maps

* Cleanup

* Previous config. Load configs in New. Fix splash

* Fix this

* More generic minetype

* STOP TOUCHING THE LINE ENDINGS!!!

* Add some flexibility to /obj/screen/splash

* Fix the shit

* Update gitignore

* Smooth transition from last map

* Better check

* Missed this map rotate check

* Remove these checks too

* Prep for a future request by @kevinz000

* Fix z2 line endings

* Solution for custom .dms

* Rename some things, trim some fat

* Fixes default map_config

* Remove stale comment

* Delete the previous config after loading

* Don't try to open a non-existent file

* Delete the old rotator script

* And references to it

* Line endings

* More line endings

* Del checks from when m-config may have not existed

* LINE ENDINGS

* Update the default map config

* Map load error checking for what it's worth

* Small cleanup

* For case sensitive

* File systems

* Strip maprotate stuff from build script

* Spruce up the _maps tree. Compile some empty space

* Make travis simpler

* LINEARU ENDARU!!!

* tgstation TWO!!!

* Lowercase mine type

* Dummy dm's for testmerging

* Fixes job ordering

* If ghosts wanna watch the map load so be it

* Let them know what's going on

* Fixes z-transitions

* Optimize z expansion further

* Remove this old var

* Fix wiznerd teleportation

* Rmove butt

* Does the thing

* Moved temp configs to the data dir

* Un-touch gitignore

* Forgot templates.dm

* Forgot to include the includer

* Fair enough

* SILENCE IMBECILE!

* @Cyberboss still a fuckboi

* Speed things up a bit

* Fix a potential bug with the error message

* Whatever
2017-03-07 10:45:31 +13:00
AnturK
2f21bc58e9 Fixes lobby sound runtimes (#24351)
* Fixes lobby sound

* Duh

* Good suggestion
2017-02-27 00:39:49 +13:00
Cyberboss
16c4656eb3 Revert "Makes game start smoother (#23552)"
This reverts commit 3ab308aa0f.
2017-02-22 20:43:17 -05:00
Cyberboss
4aefd57cca Revert "Overlay/Roundstart fixpack (#24356)"
This reverts commit bf42d769e2.
2017-02-22 20:43:08 -05:00
Cyberboss
bf42d769e2 Overlay/Roundstart fixpack (#24356)
* Fixes roundstart graphical lag

* Fixes manifests

* >Expecting searching lists to be fast

* Here's where they needed flushing

* THE DATACORE IS ANNOYING REEE

* <Commit name>
2017-02-23 09:41:58 +13:00
Cyberboss
3ab308aa0f Makes game start smoother (#23552)
* Makes game start smoother

* Hide the sausage making

* Fix the shit

* Fixes AI's losing their name prefs
2017-02-22 15:55:50 +01:00
Cyberboss
ccf3e74074 Cleans up new lobby timing (#24250)
* Cleans up new lobby timing

* Changes
2017-02-22 14:41:12 +01:00
oranges
4349508853 Merge pull request #24128 from Cyberboss/JobTicker
Lobby timer won't be delayed by subsystem initializations
2017-02-17 14:34:12 +13:00
Xhuis
5509157601 Roundstart sound refactor (#23880)
* Roundstart sound refactor and four new sounds!

* Removes the new lobby music
2017-02-17 14:23:17 +13:00
Cyberboss
17bc8038f1 Roundstart no longer delayed by initializations 2017-02-14 23:47:01 -05:00
Cyberboss
f2f26c1984 Merge branch 'master' into DestroySleep 2017-02-14 09:32:31 -05:00
Leo
9c6803ae19 Ports Paradise error handler, with in game runtime viewer! (#24036)
* Ports paradise error handler, with in game runtime viewer!

* Changes to the old runtime error and removes inerror reference

* Oops

* Adds a wrapper for world.log so it displays both in the runtime diary and in DD window
2017-02-14 11:39:31 +11:00
uraniummeltdown
57c89e3dae More Window Flashing (#23923)
* added window flashing pref, added windowflashing to notify_ghosts, pollCandidates and similar procs

* disabled window flash for golem shells, ash walker eggs, drone shells and posibrains

* ignorepref var for ahelp/apm and roundstart
2017-02-14 10:49:06 +11:00
Cyberboss
5efad4b9a0 Adds logging for path that slept in Destroy 2017-02-13 16:53:41 -05:00
Joan Lung
2cc0a7a86a Rounds starting will now always inform the IRC (#23822)
* Rounds starting will now inform the IRC what mode is starting

* don't show secret
2017-02-10 16:10:13 +13:00
kevinz000
a8116c4f29 [READY]Sends the names of online admins when sending IRC alerts about no admins active. (#23712)
* Update adminhelp.dm

* Update world.dm

* Update ticker.dm

* should work.
2017-02-08 18:23:32 +13:00
oranges
b00fffd3a9 Merge pull request #23720 from Cyberboss/patch-7
Makes "Start Now" a tiny bit faster
2017-02-06 18:38:51 +13:00
oranges
c5e27a0525 Merge pull request #23278 from Cyberboss/touchesticker
Fixes roundend lag
2017-02-06 10:21:58 +13:00
Cyberboss
d3590ca775 Makes "Start Now" a tiny bit faster 2017-02-04 21:15:34 -05:00
Cyberboss
f7c9749ca0 Fixes some bad addtimer calls. Adds INVOKE_ASYNC. Replaces addtimer(..., 0) (#23424)
* Fixes some bad addtimers

* Adds INVOKE

* Warning for addtimer

* Working syntax

* Another bad call

* Fixes the addtimer warning

* Add suppress_zero_warning to addtimer

Useful for addtimer that uses vars

* Add INVOKE_AGAIN for when the var is already defined

* Replace addtimer(...,0) with INVOKE((...))

* Much more sensible syntax

* Less overhead, less copypaste

* Rename INVOKE_ASYNC

* Use a macro

* Allman style

* Wait, why make it a datum in the first place?

* Revert the rename

* Rename again, keep line endings

* typo

* More typos

* Untouches Addtimer

* Update callbacks.dm

* Update timer.dm

* Revert allman style

* Revert "Revert allman style"

This reverts commit 47361da15bd04eca138be5f13acdc9dd5ba89331.

* Trying to match that whitespace diff

* Why is this missing?

* I'm not fucking dealing with this!
2017-01-31 09:20:54 +13:00
Cyberboss
abee356093 [s]Fixes fake nukes ending the round (#23488)
* Fixes fake nukes ending the round

* Remove uneeded arg

* Update ticker.dm
2017-01-30 09:23:24 +01:00
Cyberboss
2aef76bdce Nuclear bombs now actually detonate (#22586)
* BOOM

* Forgot this check

* Fix remaining objectives

* This is better

* MSO params

* >When you copy paste directly from the comment

* Merge fixes

* Revert "Fix remaining objectives"

This reverts commit b1d1bf40f615019bb57088c24fae8f89c5d2e834.

* Revert "Forgot this check"

This reverts commit cea6ad2381d44a44ef3a93064997454cf7b1ccf5.

* After all that work I did to make objectives work...

* Oh this is important
2017-01-30 09:41:42 +13:00
Cyberboss
5640186371 Merge branch 'master' into touchesticker 2017-01-23 16:46:40 -05:00
Cyberboss
ab9f1f0448 It's 2017, time to fuck (some) spawns and cleanbots (#22801)
* Spawn -> addtimer

* Remove this unused proc

* Oh boy, there he goes touching MC again

* Remove spawn in flick_overlay

* Remove spawn in pollCandidates

* flash_color: waitfor = 0

* Don't mess with my grepping, comments

* clear_fullscreen: waitfor = 0

* Why the hell was telekinisis not using the define?

* check_for_cleanbot_bug: waitfor = 1

* Failsafe loop launcher

* assets: waitfor = 0

* Ticker nuke cleanup: addtimer

* ticker post setup: addtimer

* ticker cinematic cleanup: addtimer

* Revert "Why the hell was telekinisis not using the define?"

Handled in #22803

This reverts commit 1da293e687f1811ae69001cb02dfa6f15f451354.

* ticker maprotate: addtimer 0

* beam start: addtimer 0

* browser onclose setup: waitfor = 0

* Revert "check_for_cleanbot_bug: waitfor = 1"

This reverts commit 99e50724b3bc6a3682d042b36f97c906c7f7d96d.

* Finally remove check_for_cleanbot_bug

* browser timeout: addtimer

* deafness symptom: addtimer

* Shedding symptom: addtimer

* Animate doesn't sleep

* MSOs stuff

* > Tfw you committed without saving
2017-01-23 21:06:30 +04:00
Cyberboss
44eb5a40b6 Stops roundend lag 2017-01-23 11:00:47 -05:00
Cyberboss
841e7f8a92 WHO DID THIS?!?!? (#23143) 2017-01-20 21:22:33 +01:00
Kyle Spier-Swenson
dd113c7775 Window flash all tabbed out clients once the server is ready (#22690)
So that people tabbed out know a new round is starting soon, and so that coders know when the server is ready.
2017-01-19 22:03:23 -05:00
Joan Lung
2f74a5afa9 Fixes news reports for certain modes 2017-01-15 16:20:11 -05:00
Jack Edge
08b857f016 Adds emergency shuttle escapees count to end stats
🆑 coiax
add: The end of round stats include the number of people who escaped on
the main emergency shuttle.
/🆑
2017-01-10 00:03:54 +00:00
Jack Edge
f0cdd40959 The Start Now sets the round to start immediately
Previously, if you pressed Start Now while the server was still
initialising, it would complain, and you'd have to wait until the lobby
was ready.

Now pressing it will have the server start as soon as able.

Uses: debugging qol.
2017-01-04 13:40:46 +00:00
coiax
f2e96fd758 Hijacking a shuttle diverts it to the syndicate base (#22184)
* Added a Syndicate dock for the Emergency Shuttle

* Removes window from doorway to syndicate base

* Diverts shuttle if the hijack conditions are met

* Fixes incorrect define

* Shuttle needs people on it to hijack

* Redoes the syndicate base extension

* Centcom always lies
2016-12-18 19:48:32 +13:00
Joan Lung
d4fa53d9ca Fixes clockcult round end stats showing up when they shouldn't (#21658)
* round end code is magic

* br
2016-11-22 16:23:27 +13:00
KorPhaeron
af71d20561 The round ending on one server will send a news report to the other server (#21636)
* News Reports

* Misc

* Typo fixes
2016-11-22 12:30:30 +13:00
KorPhaeron
969abebade Adds a religion subsystem 2016-11-17 21:01:22 -06:00
uraniummeltdown
effed6a69f fixed brains with no ckey, made borer roundend report much better, borer total hosts is 1+humans/6 instead of 6+humans/7, hopefully fixed issue with multiple ghosts entering borer 2016-11-10 22:18:56 +04:00
uraniummeltdown
ea81370dce Cortical Borers (#21118)
Adds cortical borers, a midround antag originally from Bay. The code here is from yogstation, baystation and paradise station.

Borers are little brainslugs that when adjacent to a human can infest them. They can supply you with useful chemicals such as medicines and meth, and can revive you from the dead if they have maximum chemicals. They can also take over your body, putting them in control of you while you become a "captive mind". A captive mind can take back control by doing Resist. Health analyzers show borers in people, while medHUDs show borers in control. If you have Sugar in your body the borer can do nothing, it gets kicked out of control if it's controlling and becomes docile. Organ Manipulation surgery on head to remove the borer. If the brain of the body gets removed (decapitation, brain removal surgery, gibbing) the borer falls out of the host and loses control if they were controlling. Changelings can remove borers with Anatomic Panacea or Lesser Form (or Last Resort). Borers can reproduce and have an objective to escape on the shuttle with X hosts alive.
2016-11-10 09:25:41 +13:00
KorPhaeron
41c481d0c7 Destroy the syndicate base 2016-11-06 22:19:59 -06:00
Iamgoofball
dca887760d Adds a new lobby sound. (#21304)
* Adds a new lobby sound.

It's a surprise! I'm gonna go make a sandwich now. Thanks a lot, bye-bye.

* i did not

* Update ticker.dm

* Update world.dm

* Update ticker.dm

* Update ticker.dm
2016-11-02 21:24:33 +13:00
NikNakFlak
4e901fbb94 Finally completes the title saga. The last puzzle piece, the suspenseful. (#20922)
* Finally completes the title saga.  The original, The jazzy, the exciting,
and finally, the suspensful, the traitor.  Title4.ogg

* nothing to see here, always test your code kids

* Gee billy, 3 commits for such a small change?

* I think I should add this
2016-10-14 09:55:11 +13:00
Joan Lung
b5b4037e2e More istypes replaced with helpers (#20767)
* shouldn't you be merging these by now

* my oh my do we have a lot of these

* a fellow pedantic shit
2016-10-03 13:40:13 +13:00
oranges
c64bff59c1 Refactor cinematic ticker to use notransform (#20649)
* Refactor cinematic ticker to use notransform

* Missed one temp buckle qdel
2016-09-24 17:56:13 -05:00
AnturK
d225d4800b Station Goals (#20009)
* goals initial

* Revamps Meteor Shield
Minor UI touchups.
Fixes DNA Vault completion check.

* Allows admins to varedit goal completion.
Does not clear dna probe on upload.

* Missed icons and template.

* Spelling, proper attackby returns

* Meteor shield emag effect only works when it's active.

* Admin panel for station goals.

* Some visual feedback and spans.

* Announcement now shows the goal name.

* Fixes

* Fixes and adminlog

* Tgui build

* Moves the information to intercept report except for admin spawned ones.
2016-09-07 20:15:45 +12:00
Incoming5643
f70ba63d3e You can smuggle smuggler's satchels to a future shift (#19838)
* Hidden Smuggler Satchels hidden beneath the station now persist between rounds, though there's no assurances of WHEN they'll appear next and only one will ever appear in the round.

NOTE THAT THIS PULL INTRODUCES A CRITICAL BUG, DO NOT MERGE *JUST* THIS PR, AWAIT THE FOLLOWUP

* Finishes up satchel persistence.

Satchels require at least 20 saved bags before any will start spawning.

the var persistence_replacement can be set to a path to replace a very high risk item with a lower risk look alike. This is currently done with the nuke disk, the wizards spellbook, and the uplink implant

* DESIGNATED.
REMIE.
PULL.
2016-08-20 16:27:02 +12:00
Joan Lung
81329edda6 Clockcult fixes and tweaks (#19795)
* Clockcult fixes and tweaks

* die but don't stay dead

* stay dead but never die

* instinct

* unreadable dark magic

* idiocy knows no bounds

* danger close

* like four fucking times faster

* superdynamics
2016-08-12 09:06:21 +12:00
Xhuis
566f89c9d9 Gamemode code improvement (#19354)
* Gamemode code improvement, initial commit

* Wraps up announce messages and removes Henderson

* Fixes an incomplete comment
2016-07-19 10:59:32 +12:00
Joan Lung
68113a31bc </span> 2016-07-09 15:28:00 -04:00
Joan Lung
cbb567f7a6 Hides gamemode debug messages from players 2016-07-09 15:27:24 -04:00