Commit Graph

2272 Commits

Author SHA1 Message Date
Emmett Gaines
c3f95024b2 Gets rid of the GetComponent macros (#44220)
* Removes the GetComponent macros

* Regex replacement for GET_COMPONENT

Search: `GET_COMPONENT\( *(.+?) *, *(.+?) *\)`
Replace: `var$2/$1 = GetComponent($2)`

* Regex replacement for GET_COMPONENT_FROM

Search: `GET_COMPONENT_FROM\( *(.+?) *, *(.+?) *, *(.+?) *\)`
Replace: `var$2/$1 = $3.GetComponent($2)`
2019-06-04 17:39:58 +02:00
Rob Bailey
0d86efdb52 Widescreen toggle support (doesn't actually enable it) (#43754)
cl
add: Added support for a widescreen toggle, actual widescreen will require a config change.
tweak: Auto-fit view is now the default. This will only apply to new players.
/cl
2019-06-03 11:11:09 +12:00
oranges
7811f1ff7f Merge pull request #44208 from 4dplanner/throw
Thrown objects phase through thrower
2019-06-03 11:05:46 +12:00
YakumoChen
8927239681 AFK Timeout text fix (#44245)
Fixes a button in the afk timeout prompt.
2019-06-01 15:10:34 -07:00
oranges
5be02315ea Merge pull request #44191 from AffectedArc07/removes-ss-religion
Removes SSreligion
2019-06-02 09:40:45 +12:00
AnturK
d8078e1452 Adds system for randomized semi-persistent chem reactions. (#44094)
Generates parametrized randomized recipe and resets them every x days.
One example reaction added, with recipe available in space ruin (or through experimentation of course).
There's a few obvious improvements to the randomization system but i feel this is good enough to start some discussion. Still need to decide how far should conflict resolution go.
2019-06-01 09:31:05 +12:00
Jordie
902ca44026 Queries attempt reconnection on mysql 2006 error (#44144)
* queries attempt reconnection on mysql 2006 error

* change failed connection cutoff to use timer
2019-05-31 19:11:16 +02:00
vuonojenmustaturska
6a106bc877 Remove reagent ids and use typepaths where applicable (#44166)
cl Naksu
code: reagent IDs have been removed in favor using reagent typepaths where applicable
fix: mechas, borg hyposprays etc no longer display internal reagent ids to the player
/cl
2019-05-31 21:57:26 +12:00
4dplanner
44cd465de1 Mobs don't pass through thrower 2019-05-30 16:07:58 +01:00
4dplanner
55a1621432 Thrown objects phase through thrower 2019-05-30 15:20:09 +01:00
Akrilla
f66769a113 Show codewords on round end screen (#44168)
* Show codewords on round end screen

* More efficient searching of codewords in text

* Typed globals
2019-05-30 11:57:19 +02:00
AffectedArc07
e856ca9de2 Merge 2019-05-29 14:03:03 +01:00
AffectedArc07
9955d0efbc Gives SSreligion the boot 2019-05-29 13:33:04 +01:00
AnturK
966be0a58c Fixes overflow role. 2019-05-28 22:48:49 +02:00
Akrilla
1262f1d4fc Traitor greet text changes
New line, mentioning recognizing words. Phrases are now generated in a list, rather than just a joined string.
2019-05-24 22:34:09 +01:00
Rob Bailey
8958287246 [s] Prevents a certain kind of antag-rolling abuse. (#44056)
About The Pull Request

Currently there's a very easy way of making it so that if you don't roll antag, you aren't playing the game and can just go observe and hope for ghostroles.
Have every job set to never, have return back to lobby if preference unavailable set, and antags enabled.
if you roll antag, you get a job or the antag, if you don't, back to lobby.
If you think this is a good idea and go do this, know it's against the rules and if you get caught you'll be banned.

What this PR does is validate that you have at least one job enabled before ever even adding you to the pool of potential players, if you have "return to lobby" set. If this happens, you'll get a notification and an admin will be notified if you also had antags on.
Either of the other "my pref was unavailable options" you can have all jobs set to never just like before and you'll get your random role.
Why It's Good For The Game

Prevents some abuse that can easily be closed on the game code end.
2019-05-24 13:57:37 +12:00
AnturK
26009e179c Adds required jobs support to gamemodes (#44026)
* Adds required_jobs support to gamemodes

* alos needs to be checked with no players present

* early return
2019-05-22 09:56:42 -04:00
vuonojenmustaturska
e2104ed3c8 Blob refactor (#43872)
* blob refactor

* blobtype -> blobstrain

* fixes, chemical -> strain

* only /mob/living experience Life, blobs and other cameras can process if they need to

also other fixes

* call_life goes out

* ispath thing
2019-05-12 23:59:36 +02:00
Incoming5643
bf6206d9cf restores the /images and /sounds folders to the three related config folders for title screen, title music, and jukeboxes. (#43836)
Updates readme files as needed.
Updates file reading mechanisms as needed.
2019-05-12 11:09:50 +12:00
oranges
e112629f27 Auto shuttle caller no longer tries to run if no players are on (#43887)
This prevents a runtime due to division by zero
2019-05-10 09:33:35 -04:00
Rob Bailey
62142cbcbd Goofconomy roundstart spam reduction (#43894)
Since your account ID is added to memories as well, which are then printed roundstart after being added, the "Your account ID is" line is completely redundant and a waste of space.
This removes it, keeping the memory line still there.
2019-05-10 09:28:02 -04:00
AnturK
3f20ee690b that's why i waited for reviews ;_; 2019-05-09 23:38:59 +02:00
AnturK
c075978062 Job pref revamp (#43559)
* Job Preferences 2.0 with old vars and upgrade.

* Fixes pref upgrade.

* Lazy option

* Removes debug message.
2019-05-09 09:22:22 +12:00
JJRcop
6aa8cebfe4 [READY] Replaces sleepers with stasis beds (Lifeform Stasis Unit) (#43075)
* Adds stasis beds

Needs sprites, using placeholder ones

* Adds stasis beds to techwebs
Cryostasis Technology

* Adds sprites for stasis bed

* Stasis beds support economy/ancap

* Stasis bed can be deconstructed

* Stasis bed requires cable coil

* New stasis bed sprites by @Kmc2000

Made by Kmc2000 <bluekorben2000@yahoo.com>
Not currently functional

* Add unique to SSvis_overlay.add_vis_overlay

will return the overlay object itself and not reuse it

* Make stasis bed art function

can enable/disable with alt click
makes sounds when powering up/down

* The tubes go over the mob now

* Remove sleepers from techweb tree

* Fix stasis bed lying

* Modified stasis bed build requirements

* Survival pod version of stasis bed

Map spawned sleepers delete their circuit boards
Added stasis beds to 'doctors' phobia
NanoMed for survival pod which is always free, not refillable

* Replace sleepers with stasis beds on all station maps

removed all sleeper machine boards from maps
one sleeper machine board intentionally left alone in oldstation

* Fix stasis bed tube overlay capturing clicks

Give power up and down noise freq variation

* Remove stat check from living Life

* Remove vis overlay assertions from stasis bed
2019-05-07 13:16:18 -04:00
oranges
c4fdd0bd22 Merge pull request #43822 from RaveRadbury/remove_hull_integ_econ
Removes hull integrity as a payout factor for engineering
2019-05-07 00:10:34 +12:00
oranges
a90664a3d4 Merge pull request #43816 from vuonojenmustaturska/lightmagic
Move lighting queues inside the lighting subsystem
2019-05-06 17:57:33 +12:00
Qustinnus
fc2966ff01 [READY] Execute Protocol Crab-17: Phase 3 - The one where Floyd actually finishes the PR (#43338)
* protocol crab 17: phase 2

* k

* meme

* fix

* k

* fixes

* more stuff

* makes qust's code not bad

* fixes time

* MFW (my face when) face when floyd doesnt make the fix commit

* makes it leave properly

* fixes more shit

* gets rid of stupid variable

* asdf

* wa la

* wa la ^2

* tadaa

* adds

* i fixed some of them but what do the others mean

* untested and ready to merge
2019-05-05 19:40:46 -04:00
RaveRadbury
438f05f7a3 Removes hull integrity as a payout factor for engineering 2019-05-05 13:16:04 -07:00
vuonojenmustaturska
01aef8ee82 small cleanup 2019-05-05 05:37:21 +03:00
Tad Hardesty
23a453b0c5 Include DM build with other version numbers in SSblackbox (#43699) 2019-04-29 11:00:46 +02:00
AnturK
d81ff09046 Atmos adjacency subsystem revival (#43447)
This improves init times and makes explosions and other shit that modifies a bunch of turfs faster by saving a proccall and potentially not doing the same work more than once.

cl Naksu
code: Turf adjacency list updates are now handled by a subsystem queue
/cl
2019-04-24 21:21:25 +12:00
Whoneedspacee
5b89dea70f [Ready] The Virtual Reality Hub (#42879)
About The Pull Request

VR sleepers now lead to the VR Hub, a place with a bunch of portals that lead you to other areas, or just has chill stuff like a bar. Includes portals to all the old vr maps, the megafauna training simulator map, a soon to be minecraft map, and my crappy game runner where you run away from falling tiles and fight to be the last person to survive. Merges murderdome and syndicate trainer into the vr hub map so they spawn every time with vr. Recall portals now can have multiple exits to support the old vr waypoint system from the hub. Also moves a lot of stuff around in the files to make it more organized. There's now also a ghost role that can access VR as well with infinite spawns.

VR NOW HAS A CONFIG OPTION SO ENABLE IT OR VR WILL NOT WORK.
Why It's Good For The Game

Being a ghost is boring for most people, it's nice to have a place for people to hang out rather than just leave the server. This is also a nice place where people can put gamemodes they're testing or other fun little minigames that can't be main gamemodes. VR currently is not used by really anyone so I don't see anyone getting bothered by this PR as well.
2019-04-22 12:16:11 +12:00
AnturK
fa6a01fe04 Add admin quirk command, fix and unify quirk helpers (#43553)
This whole quirk thing is painful to read and needs a full refactor.
2019-04-09 17:16:15 -07:00
ShizCalev
d1c3ac84ba allows byond members to bypass pop cap (#43458)
* allows byond members to bypass pop cap

* fix

* new line
2019-04-03 10:20:03 -04:00
Rob Bailey
966638bf32 Updated the quality of Title2 (Robocop.mp3) (#43461)
* updated robocop.mp3 quality

* hurr durr im appveryor and im of low mental capacity, to the extent that a certain r word would be frequently used to describe me

* using original file that is potentially better quality while being a tiny amount smaller.
2019-04-03 03:00:25 -04:00
ShizCalev
f2cea780aa Move map errors to their own log file (#43376)
In interest of getting things fixed without having to constantly crawl
through game.log to find map issues, moved them to their own log file.
2019-03-30 13:54:55 -07:00
Tad Hardesty
fe32dab2d3 Improve efficiency of SSmapping init (#43369)
* Improve efficiency of SSmapping init

* Only admit unique areas to the_station_areas
2019-03-29 09:19:33 +01:00
Tad Hardesty
687f3c97c3 Fix being sent back to lobby not allowing changing quirks (#43319) 2019-03-28 14:49:44 -04:00
Tad Hardesty
11755ab5f3 Slightly refactor how sending someone to latejoin works (#43345) 2019-03-28 11:42:59 -04:00
Tlaltecuhtli
85c1485bab [ready] beepsky smash change (#43228)
* 1

* 2

* 3

* temp

* r

* rogue space

* e

* e

Co-Authored-By: Tlaltecuhtli <33834933+Tlaltecuhtli@users.noreply.github.com>

* restarts appveyor
2019-03-25 12:03:51 -04:00
Rob Bailey
ceca1e605e [READY] Yet more darkmode tweaks and fixes (#43306)
* fuck you whoever made the last icon it was garbage

* ticket log fixes

* ticket log fixes

* changes colors from hardcode per line to a define

* some nicer darkmode colors

* asay and ooc name default fixes

* fuck you appveyer build again

* slight brightening of the default font color

* properly fixes tip of the round being hard to read
2019-03-25 20:49:59 +13:00
ShizCalev
192a5333c3 Automatic deadminning (#42780)
* does the thing

* cleanup

* unbroke deadminning

param broke the verb somehow? honk.

* correct prefs

* more robust handling

* corrected return, cleanup
2019-03-23 10:46:35 +01:00
ShizCalev
5d60f2d568 Merge pull request #43215 from AutomaticFrenzy/patch/throw-exception
Replace 'throw EXCEPTION' with CRASH or WARNING
2019-03-21 23:57:27 -04:00
Kyle Spier-Swenson
b4f4653c21 Fix the living players limit queue getting stuck if you disable it (#43220) 2019-03-21 20:50:07 -07:00
Kmc2000
6b6537cccd Adds toggleable darkmode to the game! (#43072)
* Adds toggleable darkmode to the game! (Use the toggle darkmode verb if you want to use light mode)

* Removes a random linechange

* Undo unintentional changes

* Changes some forced font tags to use spans, which won't break darkmode.

* Fixes up some problems I found while testing
Darkmode is no longer default (this caused some issues with people getting a broken chat)

* Darkmode sucks less now

* Darkmode button now works again
2019-03-21 11:02:41 +13:00
ShizCalev
0248e75b84 Merge pull request #43199 from tgstation/MrStonedOne-patch-4
Afk kick tweaks
2019-03-20 16:38:38 -04:00
AnturK
f90bac1224 Fixes DivideOccupations edge case. (#43125)
* Fixes DivideOccupations edge case.

* No players assigned is absolutely correct.
2019-03-20 11:12:57 -04:00
oranges
de70c67639 Merge pull request #43152 from kevinz000/bunker_message
Panic bunker message is now a config.
2019-03-20 22:09:12 +13:00
Tad Hardesty
570a4da33e Replace 'throw EXCEPTION' with CRASH or WARNING 2019-03-19 23:09:24 -07:00
Kyle Spier-Swenson
a2440fea3d stupid quotes 2019-03-19 14:16:00 -07:00