Commit Graph

18 Commits

Author SHA1 Message Date
Neerti
fdabe51ee8 Linter Introduction + Cleanup (#8085)
* Adds linter defines to repo.

* Uncomments linter defines already in the code.

* Resolves unreachable code linter errors.

* Nukes decade+ old syndie specops code except for computer since that's mapped in?????

* Resolves procs has no parent linter error.

* Proc signature fixes

* Bad comments

* "In" danger

* Type safety

* Implied nested list abuse

* Top level ..() usage

* Sleepy coder typos

* Invalid kwargs calls

* Pointless returns

* Linter hacks (see full message)

Byond doesn't care and it has no effect but linter doesn't like var/proc
for holding references to procs, despite that it's valid byond code.

Also, the linter seems to have serious issues figuring out relative
proc names. This commit is a sort of take-it-or-leave-it thing. It's not
required, it just cuts down on warnings, but this code is valid DM code.

* WHATEVER THIS IS

* Trick dreamchecker linter into ignoring this file's sins in it's weird use of vars

* Fix list decoration syntax - Its a list, not list of lists

- To declare that a var is a list you can `var/list/blah = list()` syntax or the `var/blah[0]` syntax.  Both do exactly the same thing. But if you do `var/list/blah[0]` that is just like doing `var/list/list/blah = list()`

* Hopefully stops the ai holder subtype folder from going quantum and sometimes changes capitalization over time, and incidentally causing 20+ linter errors.

* Fixes unwrapped negated object in list linter error.

* Resolves colon-like list accessing linter error.

* Turns linter on in linter config.

* Fixes closet indentation properly and cleans up suit storage unit switch.

Co-authored-by: Aronai Sieyes <arokha@arokha.com>
Co-authored-by: Leshana <Leshana@users.noreply.github.com>
2021-05-25 18:17:26 -09:00
Neerti
4deffc7186 Ports Nebula's Discord Webhook Integration (#8071)
* Ports Nebula's Discord Webhook Integration

* Forgot the example .json file.
2021-05-12 21:22:25 -09:00
MistakeNot4892
9d78f057de Removed inactive platforms from the end of round laws output. 2021-03-21 11:48:51 +11:00
MistakeNot4892
cb883ec78a Deletes the process scheduler. 2021-02-22 08:57:29 +11:00
Cerebulon
c729c0e23b Fixed global_announce autospeaker (#7839)
* Filth + Graffiti Fixes

* Excised Bad Lore

* Fixed Global Announcer

* fuckinn
2021-01-25 17:24:39 -08:00
Heroman
c534b58efa Some missed instances of Colony Director 2020-08-29 05:11:33 +10:00
Atermonera
6d4d5d6efd Merge pull request #7571 from listerla/nomoresitemanager
Colony Director -> Site Manager
2020-08-27 17:41:52 -07:00
Atermonera
ffea09e303 Merge pull request #7570 from ShadowLarkens/fading_titlescreen
Fading titlescreen from /tg/
2020-08-27 17:39:09 -07:00
listerla
d56974cb92 Colony Director -> Site Manager 2020-08-25 20:12:29 -04:00
ShadowLarkens
5d972a399c Fading titlescreen from /tg/ 2020-08-25 16:53:12 -07:00
Rykka
0c7a7fd2b8 Massive Ambience and Sound Overhaul + Addition, Squashed Commit Edition 2020-08-21 06:53:05 -04:00
lbnesquik
4ca45f95d3 Add a 'Restarting world!' notice. 2020-07-30 20:41:43 +02:00
Atermonera
15a1747f11 Ports manifest duplication fix from Virgo (#7230) 2020-05-24 14:24:04 -07:00
Atermonera
15df57b021 Fixes runtime in ticker.dm, 424: Cannot read null.mob_type 2020-05-23 18:26:11 -07:00
Atermonera
52799474f8 Fixes runtime in ticker.dm, 411: Cannot read null.mobtype (#7226) 2020-05-21 20:28:28 -07:00
Aronai Sieyes
01c98b93e4 Some refactors of noncarbon joins 2020-05-07 19:51:02 -04:00
Aronai Sieyes
b98027d050 Various fixes while waiting on PR 2020-04-27 10:48:04 -04:00
Leshana
ec86a98e16 [PORT] Refactor the gameticker controller into SSticker (#6994)
* Move gameticker to subsystem folder before editing to track history thru rename.

* Refactor the gameticker into SSticker

  - Instead of independently spawn'd while/sleep loops, it stores its state and lets the MC fire it.
  - Convert relative path indentation procs to absolute path as per modern style standards.
  - Break apart the inner loops into separate procs so you can see what is actually going on.
  - It now shows up in MC tab, along with stats about what phase it is in.

* Revamp Start Now admin verb to actually wait until init is done before starting.

* Update Lobby stat panel to show voting and server init status.

* Fix: Only call autogamemode vote once.

* Spawn statistic_cycle off to not sleep SSticker.

* Add SStickere changelog

* Change to use to_world and add wrapping spans.

* Added filtering spans by specific request of Polaris.
2020-04-25 12:26:54 -07:00