Commit Graph

962 Commits

Author SHA1 Message Date
Cerebulon
c51a4cf033 Add discord button to UI + config 2021-08-26 17:29:08 +01:00
Neerti
6b4ee972dd Fixes Indoor Rain 2021-07-12 14:19:59 -04:00
Neerti
6782e64891 Adds optional area-based definition for outdoors-ness. (#8155) 2021-06-27 20:46:10 -09:00
MarinaGryphon
593246b595 Linter diagnostics + bans non-var relative pathing (#8150)
* Linter diagnostics + bans non-var relative pathing

* Enable DreamChecker Annotations

* make it executable

* update hashFiles

* oops

* tries to fix it... again

* trying again

* path

* repath

* fix perms

* fixes weird capitalisation issue
2021-06-20 13:14:29 -09:00
Atermonera
9db050951e Merge pull request #8136 from VOREStation/Arokha/ssrobust
Improve subsystem robustness
2021-06-14 00:36:04 -07:00
Aronai Sieyes
75c9cca2ad Improve subsystem robustness 2021-06-12 17:34:23 -04:00
Aronai Sieyes
e2c32cae91 Make req_[one_]access lazy 2021-05-31 22:43:11 -04:00
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
Aronai Sieyes
9cd4a89782 SSpersistence tweaks (#8087)
* Add some 'lossy' smartfridges and options

* Convert persistence to JSON

* Update map_datum to specify persistence levels
2021-05-20 18:50:36 -09:00
Atermonera
d110d7eddd Merge pull request #8077 from VOREStation/Arokha/globinit
Port current glob initialize from tg
2021-05-12 23:56:20 -07: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
Atermonera
b123a4750b Adds persistent smartfridges for garden products, material sheets (#8042)
* Addsd sheet storage smartfridge
Implements persistent item storage

* Adds persistent produce smartfridge
Repaths smartfridge base type to /produce subtype

* Raises produce cap to 50, per staff meeting
2021-05-12 21:05:04 -09:00
Aronai Sieyes
fa86205352 Port current glob initialize from tg 2021-05-11 18:01:54 -04:00
atermonera
96cb824895 Adds verb to VV global variables 2021-05-09 16:27:03 -09:00
atermonera
94539328ec Adds config option to control loadout whitelist strictness 2021-04-26 16:37:48 -09:00
Atermonera
0c0dcb1738 Oops, I refactored Chemistry! (#8013)
Reorganizes Reagents dir structure
Refactors reactions to /decl
SSChemistry is no longer processing

Optimization isn't so optimized
Updates to distillery
New decl repository methods
Further tweaks
2021-04-20 18:31:49 -09:00
Atermonera
519543874d Optimizes SSplanets initialization (#8015)
Co-authored-by: atermonera <matthew.forsland@revature.net>
2021-04-09 22:44:38 -09:00
MistakeNot4892
a799725c24 Minor plant controller refactor. 2021-03-26 12:20:50 +11:00
MistakeNot4892
9d78f057de Removed inactive platforms from the end of round laws output. 2021-03-21 11:48:51 +11:00
Schnayy
ebc5263546 Merge pull request #7920 from Atermonera/ping_verb_fix
Removes ping subsystem that was breaking chat
2021-02-26 08:58:53 -06:00
atermonera
be11829f87 Removes ping subsystem that was breaking chat 2021-02-22 20:01:33 -09:00
MistakeNot4892
cb883ec78a Deletes the process scheduler. 2021-02-22 08:57:29 +11:00
MistakeNot4892
b22a0568a3 Sideports a couple of init unit tests from Neb. (#7893)
* Sideports a couple of init unit tests from Neb.

* Trying to unfuck initialize logic.

* Removing del()s.

* Adjusting return values to Initialize().

* Moving some dangerous object logic from obj onto the two types that use it.

* Rolling back some init changes and commenting out initialized atom unit test.

* this comment formatting is a minor war crime

* Removed sleep() from signaler circuit Initialize().

* Additional Init fixes post-rebase.

* Uncomments subsystem test since that's passing.
2021-02-21 12:03:34 -09:00
Atermonera
f7fec4fd67 Ports ping verb from /tg/ (#7837)
* Ports ping verb from /tg/

* Adds non-versioned files

* Removes old flag
2021-01-26 22:31:26 -08: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
Runa Dacino
66a3d10778 Changes formatting of respawn_message to be more visible (#1)
* Changes formatting on respawn_message

* Create Runa Dacino - configuration formatting.yml
2020-12-19 00:48:55 +01:00
Atermonera
4ecc80f499 Move away from Travis CI to GitHub Actions (#7768)
# Conflicts:
#	.github/CONTRIBUTING.md
#	.travis.yml
#	code/modules/awaymissions/zlevel.dm
#	code/modules/ventcrawl/ventcrawl.dm
#	guides/Guide to Map Folders.md
#	maps/submaps/engine_submaps_vr/tether/_engine_submaps.dm
#	maps/submaps/space_submaps/debrisfield/debrisfield.dm
#	maps/tether/submaps/_tether_submaps.dm

Co-authored-by: ShadowLarkens <shadowlarkens@gmail.com>
2020-11-29 23:35:15 -08:00
ShadowLarkens
01cb75ffe8 Datum Component System (/tg/ port) 2020-10-18 12:08:38 -07:00
ShadowLarkens
927c41c7a3 Convert /material to it's correct absolute path /datum/material (#7637) 2020-09-20 02:00:09 -07:00
Heroman
c534b58efa Some missed instances of Colony Director 2020-08-29 05:11:33 +10:00
atermonera
6709259962 Travis only loads legal engines 2020-08-27 19:06:56 -07:00
Atermonera
3e4bf4a993 Merge pull request #7574 from Rykka-Stormheart/shep-dev-engine-randomization
Adds Engine Randomization on Mapload! (From VOREStation!)
2020-08-27 18:27:19 -07: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
Rykka
f623763472 Adds Engine Randomization on Mapload!
Engines will now be randomly placed on mapload, maintainers will need to update the server config to enable the system.

Add this to Config:

\# Control which submaps are loaded for the Dynamic Engine system
ENGINE_MAP Supermatter Engine,Edison's Bane

This will load either Supermatter or Tesla based on randomization. If you'd prefer to just stick with SM, remove "Edison's Bane" from the config file and leave in Supermatter Engine.

The way this is done DOES require the engine load system to be used, but it should pave the way for more modular engines in the future!

This also allows older maps to be loaded with hard-coded engines, if you comment out the line in config to disable it, it will skip engine loading.

If there's any issues, refer to the relevant submaps to tweak 'em. <3

TL;DR - Supermatter is now changed to on-mapload, Tesla added as option for mapload engine start. Remove the "Edison's Bane" from config and put the entire line into your config to make the engine work now. :blep:

Please merge this quickly, it will produce conflicts.
2020-08-26 12:25:40 -04: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
Atermonera
7428d47c83 Merge pull request #7508 from Rykka-Stormheart/shep-dev-persistence-patch
Persistence Patch
2020-08-20 19:31:12 -07:00
Atermonera
af81780ba7 Merge pull request #7397 from ShadowLarkens/tgui4.0-and-camera-console
TGUI 4.0 and camera console
2020-08-20 17:52:17 -07:00
Rykka
2ad7b475ec Persistence Patch
- Fixes Paper and font tags stacking across rounds, as shown in: ![](https://cdn.discordapp.com/attachments/187013248309002240/741937939382141000/164fdd3a37fb22f18dfa9b5c431ffc04.png)

- Fixes Persistence being always-on because of if("persistence_enabled") config.persistence_enabled = 1. As explained: 
> it's on by default, which means config.txt will be read and if it's not there it stays at 1. If it is there,it gets set to 1. There is no way to disable it

- Adds config options to enable/disable **Persistence for Maploaded objects**, as well as a verb to toggle such.
- Adds Persistence to config.

Currently IGNORE_MAPLOAD for Persistance is **Disabled.**
Maploaded objects/dirt/etc will be saved by persistence, preserving current behavior.

You will need to update config.txt with the following lines:
\## Uncomment this to DISABLE persistence 
\#PERSISTENCE_DISABLED 
 
\## Uncomment this to DISABLE maploaded trash/paper/etc from being saved by the persistence system. 
\#PERSISTENCE_IGNORE_MAPLOAD
2020-08-16 09:58:57 -04:00
Atermonera
f621edf039 Adds overmap sensors to the Southern Cross (#7436)
* Enables overmap on SC, adds wip Sif to SC skybox

* codersprites

* Adds overmap sensors to the Southern Cross
2020-08-12 18:31:19 -07:00
ShadowLarkens
7349c62356 Merge remote-tracking branch 'upstream/master' into tgui4.0-and-camera-console 2020-08-06 21:29:47 -07:00
Atermonera
1fc6477d5e Merge pull request #7393 from Rykka-Stormheart/shep-dev-tg-alerts-updoot
Port lots of things that had to wait on alerts (Replaces Arokha's PR)
2020-08-06 11:38:16 -07:00
Atermonera
14ac75b579 Merge pull request #7392 from lbnesquik/Kot-Restart-Sentnece
Add a 'Restarting world!' notice.
2020-08-01 21:15:21 -07:00
ShadowLarkens
971a95bc0a TGUI 4.0 & Camera Console 2020-07-30 17:48:11 -07:00
Atermonera
f1eb479af6 Merge pull request #7317 from ShadowLarkens/tgui
TGUI-V3
2020-07-30 14:11:32 -07:00
Rykka
28a7698b9e Port lots of things that had to wait on alerts
Adds a HUD for observers
Adds a HUD for rigs and mechs
Adds up/down buttons for AI hud
Add more tg style alerts
Fix some bugs with the tg alerts
Improve icon_states usage by caching it
Redo how respawning works, add a button to ghost hud for it
2020-07-30 16:23:32 -04:00
lbnesquik
4ca45f95d3 Add a 'Restarting world!' notice. 2020-07-30 20:41:43 +02:00
Cerebulon
03b7a0ea0d Persistent Trash/Dirt/Graffiti/Notices (#7337)
* Port Trash/Writing Persistence from World

* stuff beyond straight portin

* Fixed admin menu

* Config, cigbutts, blood exceptions, offices....

* mapped butts
2020-07-24 02:23:34 -07:00