Commit Graph

299 Commits

Author SHA1 Message Date
CoffeeKat
e207af92a1 christ (#20804) 2023-10-31 13:08:02 -05:00
John Willard
52d933c899 Removes legacy yogtoggles, mood is enabled by default. (#19591)
* Moves yog's legacy toggles to non legacy, mood enabled by default

* Update quirks.dm
2023-07-10 17:49:21 -05:00
BurgerLUA
3e7495901f The alert level no longer is raised to blue on shift start. (#18330)
* Update game_mode.dm

* Update game_options.dm

* Update game_options.txt

* Update game_mode.dm

* Update dynamic.dm

* Update game_options.txt

---------

Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com>
2023-05-12 14:46:01 +00:00
adamsong
5a43d8e4ba Port codebase to 515 (#18669)
* Set max version

* Updates most references to .proc (Leaves a couple to check check_grep)

* Actually add check

* Oops

* Hopefully exclude the one place we do want .proc

* AAAAAAA

* Trying this instead

* Hopefully checks go green

* Switch to NAMEOF_STATIC

* Makes 515 acutally build

* LIBCALL
2023-05-08 17:01:37 -05:00
Ling
a6d7e3fd15 TGUI Preferences Menu + total rewrite of the preferences backend (#17381)
* TGUI Preferences Menu + total rewrite of the preferences backend (#17368)

* It compiles

* It opens

* Sync 1

* Add asset caching

* Sync 2

* It opens without dev now

* Update a few packages

* Sync 3

* Sync 4

keybind fix

* start of dehardcoded species

* Small fixes

* Add more individual preferences

* ASS sync

* Automatic changelog generation #17368 [ci skip]

* AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH

* e

* Fix some TS stuff

* Sort quirks starting from good

* Fix skin tone selector

* Jamie Fixes

* Update moth.dm

* Fix latejoin menu + tweaks

* Some fixes

* Finally fix job selection

* e

* Ling

* MORE

* config

* Convert pref: ooccolor

* Convert pref: asay color

* Convert pref: tooltips

* Convert pref: ui style

* Convert pref: buttons locked

* Convert pref: hotkeys

* Convert pref: tgui stuff

* Convert pref: windowflashing

* Convert pref: ghost stuff

* Convert pref: map & antag

* Convert pref: PDA stuff

* Convert pref: credits & glasses


1

* Convert pref: name

* Convert pref: appearances 1

* Convert pref: appearances 2

* Convert pref: jobless role

* Convert pref: runechat

* Convert pref: yogtoggles + tail wagging


1

* Convert pref: client fps

* Convert pref: graphic settings

* Convert pref: pda uplink & menuoptions

* Convert pref: map & flare

* Convert pref: Bar choice

* Fix setup character button

* Convert pref: alt announcer

* Fix

* Add cycle background button

* Convert pref: disable balloon alert

* fix

* Clean savefile

* Fix backpack pref

* Fix underwear selection

* Fixes some shit

* Updates

* Fix computer runtime

* Fix pref names

* Convert pref: donor item & hat

* More computer fixes

* Convert pref: borg hat

* Convert pref: donor pda (broken)

* Convert pref: purrbation

* Convert pref: afreeze

* Convert pref: accent

* Various savefile improvements

* Convert pref: persistent scars


1

* A few pref fixes

* Some more fixes

* Various SSoverlays improvements

* Add IPC appearances

* Add polysmorph appearances

* No icons for ipc and polysmorph

* Podpeople deserve death

* Add plasmaman appearance

* h

* fix

* fix2

* asdf

* fsdf

* aaaaa

* FUCK MOTHS

* Preternis color

* e

* e

* Update human.dmi

* icon fix

* un snowflake

* fix underwear icon

* remove color from here

* donor ree

* aa

* maybe

* Restore a bunch of TGUI files

* More TGUI fixes

* test

* Fix more errors

* a

* test

* e?

* a;lso this

* maybe

* Fix

* Revert "maybe"

This reverts commit 14d044a7e3.

* fuck off m8

* e

* fak off m8

* e2?

* AHHH

* AHA

* AHHH

* fix linter 2

* debug

* fix runtime

* Update dynamic.json

* Revert "debug"

This reverts commit 18681432bd.

* 2

* who sleeps in an async?

* Hack

* e

* Fix a few blocking calls

* Oh bother

* Stay dead

* fuck

* Update jobs.dm

* move debugging

* Update jobs.dm

* Test

* YEET

* Revert "YEET"

This reverts commit 4082e3b133.

* Update jobs.dm

* Update jobs.dm

* e

* Fix sechailer runtime

* Fix human hair color

* d

* Ports part of that job refactor

* Convert latejoin to new departments

* Fix ghost form

* Quirk validation

* Hopefully pod color fix

* oops

* Prayge job fix

* test

* Better unit test asset loading

* Remove print

* Add error just in case

* Remove brief outfit and bypass centcom deadmin

* Remove broadcast login/logout

* Remove darkened flash

* Remove fov darkness

* Remove ghost lighting

* Remove some tgui prefs

* Typo fix

* Small fixes

* IPC name fix

* IPC and pod colors

* Jobless fix

* Donor item fix

* Oopsie

* Quirk bandaid

* Misc

* Move new prefs to Preferences tab for now

* Add skillcape

* FUCK THIS SHIT

* Remove /tg/ gamer cloak

* Restrict some job related preferences to clean up UI

* Remove useless client var

* e

* Small tweaks

* Dont allow selecting mood quirks if mood is disabled

* AHHH

* Filter ckey-locked donor items

* stupid jamie

* AI core display fix

* Move donor stuff back to the top

* Remove TODOs

* Clean up perks

* Linter fixes

* e

* WORKS

* LORE

* Fix skillcape list

* Backpack why

* Fixes

* Fix cargo console

* Remove these

* Add horns, frills and mark

* Fix not applying all features

* Add some missing mutant bodyparts

* Update numberinput

* Makes animatednumber cooler

* Oops

* Add default ghost orbit

* Default to normal backpack

* Fixes skillcapes not being filtered

* Donor fix prayge

* yep

* Adds fallback latejoin menu

* Rework donor stuff a bit

* Fix donor tgui logic

* Delete unused proc

* Update FA

* Un-yogify quirks

* Better checking of quirks

* Update tgfont

* Fix quirk icons

* Fix backup name

* Fix donor stuff

* A few runtime fixes

* Fix another runtime

* Give fallback latejoin verb upon connecting

* Update AirAlarm interface

* maybe this works

* Test

* Sentient

* Remove AI core display preview icons

* Fix resetting plasmaman helmet style

* Equip plasman in preview

* Fix plasmaman preview icon

* fuck keybind fix

* Extra keybind sanity

---------

Co-authored-by: Yogbot-13 <admin@yogstation.net>
Co-authored-by: Jamie D <993128+JamieD1@users.noreply.github.com>
Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com>
Co-authored-by: adamsong <adamsong@users.noreply.github.com>
2023-01-28 15:26:19 +00:00
TheGamerdk
8ff3a22f7d removes antag rolling abuse (#17160)
* Update game_mode.dm

* e
2022-12-24 14:08:03 +00:00
adamsong
44cd06ecc6 [ADMIN] Chganges auth backend to use the forums instead of the DB (#15195)
* [ADMIN] Chganges auth backend to use the forums instead of the DB

* Remove dbranks flag

* I'm dumb

* re-promotes myself

* Re-use datums, rather than continually re-making them

* Delete the datum instead, easier to manage

* Moved to an inhertiance based system for permissions management

* Proccall protection and logging

* Linter

* Update config

* Fixes pp I hope

* Two letters made it do a bad, I am sad

* Clears forums admins when reloading

* Adds db support

* Update config

* Re-enables forum integration

* No editing the funny datum

* Allow me to do the funny during the test merge

* Didn't commit the changes

* Copying and pasting hard

* Sanitize ckey

* Var is unnecessary

* Small debug log to debug dono chat

* Fixes wrong proc call

* Move log, will be a bit much, but is fine because its temporary

* Made better log message

* Fixed reload admins, added debug log to json_decode that was erroring

* Expanded forums integration error handling

* Fully protects funny lists
2022-08-28 14:26:46 +01:00
Redmoogle
d28caf9693 Autodocs more of gamemode code and replaces returns with proper defines (#14626)
* Autodocs and defines

* whoops I missed
2022-07-01 23:50:46 +01:00
ynot01
a94aa9a6f4 round actually ends on narsie & time defines (#14207)
* round actually ends on narsie

* time defines

* time defines
2022-05-28 22:56:57 +01:00
Jamie D
df8fc6396b Time Requirement for Antags - Malf AIs (#13766)
* Update malf.dm

* e
2022-04-19 03:38:00 -05:00
Xoxeyos
6aa0355b5c My brain hurts - Dynamic fixes, small additions to station traits to make dynamic not cry. (#13150)
* Update yogs_lobby_music.txt

* Update yogs_lobby_music.txt

* summary

* Station Trait addition because dynamic cried

* quick edit

* Update dynamic.dm

* Update dynamic_rulesets.dm

* Adds a mininum player count to darkspawn
2022-02-02 18:34:32 +00:00
adamsong
3223de08a3 Fixed some bugs with the antag token system (#12780) 2021-12-11 16:11:38 +00:00
adamsong
7d9962c9fb Fix get_remaining_days not working if there is no DB (#12408)
* Fix get_remaining_days not working if there is no DB

* Checks broke on the last commit
2021-10-15 10:15:28 -04:00
adamsong
3baeaeb0c4 Steals tg's span macros (#12232)
* Steals tg's span macros

* Fix alphabet

* Updated some more spans

* Misses a conflict

* Fix compile errors

* Converts more spans

* oops
2021-09-17 12:50:16 +01:00
TheGamerdk
d5aab95c7d [EXPERIMENTAL] People not readied up now count as half a readied up player. (#12022)
* Update game_mode.dm

* Update antagonists.dm

* Update game_mode.dm
2021-08-21 13:21:30 +01:00
Xoxeyos
4374b935ce Dynamic 2021 & Ghost Pool Protection (#11139)
* Please let this work

Good luck to myself, Xoxeyos

* This shit is fucking abhorrent

Admin.dm, rust_g, game.dm, mobs.dm, pai.dm, dynamic folder, holy_weapons.dm, admin_verbs.dm, topic.dm, ghost_pool_protection, antag_datum.dm, CTF.dm, corpse.dm, _event.dm, living/brain/posibrain.dm, giant_spider.dm, dynamic.json

* Why is this here?

* Update dynamic_rulesets_roundstart.dm

* Merges Dynamic 2021 final fixes

* Will this work?

* Maybe this might work.

* This was suggested as a change.

* Fixes bad bugs

* Easy enough.

* Update ghost_pool_protection.dm

* Update ghost_pool_protection.dm

* Update dynamic.dm

* Update dynamic.dm

* Update dynamic_rulesets_latejoin.dm

* Update dynamic_rulesets_latejoin.dm

* Update dynamic.dm

* Update dynamic_rulesets_roundstart.dm

* I can put in sound_enviroment when I figure out what it is

* Update mob_defines.dm

* Update mob_defines.dm

* Update mob_defines.dm

* Security and Command personnel rolled infiltrator again

* Update dynamic.dm

* Ports over https://github.com/tgstation/tgstation/pull/58644 - No more mass infiltrations?

This is an attempt to keep infiltrators from spawning in nonstop.

* Update ruleset_picking.dm

* Update dynamic_rulesets_latejoin.dm

* Update dynamic_rulesets_roundstart.dm

* Update dynamic_rulesets_roundstart.dm

* weight configurement

* weight configurement

* Update dynamic_rulesets_roundstart.dm

* Update dynamic_rulesets_latejoin.dm

* Update dynamic_rulesets_roundstart.dm

* Update dynamic_rulesets.dm

* Update dynamic.dm

* Update dynamic_rulesets_latejoin.dm

* Update dynamic_rulesets_roundstart.dm

* Update dynamic_rulesets_roundstart.dm

* Update dynamic_rulesets.dm

* Update new_player.dm

* Update dynamic_rulesets_roundstart.dm

* Update dynamic_rulesets_midround.dm

* Update dynamic_rulesets_latejoin.dm

* Update dynamic_rulesets_midround.dm

* Update dynamic_rulesets_roundstart.dm

* Update dynamic_rulesets_roundstart.dm

* Update dynamic_rulesets_latejoin.dm

* Update dynamic_rulesets_roundstart.dm

* Adds from logging from https://github.com/tgstation/tgstation/pull/58451/

* Finishes up adding https://github.com/tgstation/tgstation/pull/58451/

* Update dynamic_rulesets_midround.dm

* Update dynamic_rulesets_midround.dm

Co-authored-by: Redmoogle <dakotamew@gmail.com>
Co-authored-by: Jamie D <993128+JamieD1@users.noreply.github.com>
2021-07-09 10:49:41 +01:00
swissloaf
51fbb4059c Adds station traits: Small modifiers that can randomly be chosen each round (#11134)
* Station Traits

* Update positive_traits.dm

* Test

* Revert "Test"

This reverts commit c99e3e9db5.

* Update sound.dm

* Update code/datums/station_traits/positive_traits.dm

Co-authored-by: Redmoogle <dakotamew@gmail.com>

* Update code/__HELPERS/priority_announce.dm

Co-authored-by: Redmoogle <dakotamew@gmail.com>

* Update ai_laws.dm

* Update traits.dm

* Update neutral_traits.dm

* Update negative_traits.dm

* Negative bot trait

* Update negative_traits.dm

* Adds an admin log hpoefully

* Update station.dm

* Update station.dm

* Update station.dm

* Update station.dm

* Update station.dm

* Update station.dm

* Update station.dm

* Removes custom alert message for now

* Update station.dm

* Update game_mode.dm

* Update extended.dm

* Update game_mode.dm

* Update dynamic.dm

* Update dynamic.dm

* Update extended.dm

* Update game_mode.dm

* Update dynamic.dm

* Update game_mode.dm

* Update dynamic.dm

* Update extended.dm

* Revert "Update extended.dm"

This reverts commit 2235319bb3.

* Revert "Update dynamic.dm"

This reverts commit 6af1fbaf60.

* Revert "Update game_mode.dm"

This reverts commit dd84d504dc.

* Try again

* Update game_mode.dm

* Let's test making them more common

* Medbot update

* Update negative_traits.dm

* Update negative_traits.dm

* tHNE great f

* Update traits.dm

* Update job.dm

* Update negative_traits.dm

Co-authored-by: Redmoogle <dakotamew@gmail.com>
2021-04-10 12:17:08 +01:00
alexkar598
68efa5e1a6 Set SHOULD_CALL_PARENT on /datum/game_mode/proc/post_setup (#10472) 2020-11-21 14:28:32 -05:00
Jamie D
7f03d168df Revert "Makes it so wizards can win or halfwin based on objective completion (#9684)" (#10055)
This reverts commit 238ebc0ebd.
2020-10-19 09:31:06 +01:00
Nichlas Pihl
238ebc0ebd Makes it so wizards can win or halfwin based on objective completion (#9684)
* adds a proc to check if the antags completed their objectives

* autodoc

* untypes my loops

* antag datum option

* wizards can now win

* forgot parentheses lmao

* halfwin maroon

* lol

* Update wizard.dm

* Update code/game/gamemodes/wizard/wizard.dm

Co-authored-by: jcatjmeow <40673387+jcatjmeow@users.noreply.github.com>

* I am good coder yes thank

Co-authored-by: jcatjmeow <40673387+jcatjmeow@users.noreply.github.com>

Co-authored-by: jcatjmeow <40673387+jcatjmeow@users.noreply.github.com>
2020-10-17 12:37:17 +01:00
Jamie D
c88af3b8c7 [Admin] Maybe logs round station report (#9836)
* Maybe logs round station report

* Update code/game/gamemodes/game_mode.dm

* Update code/game/gamemodes/game_mode.dm

EEEEEEEEEEEEEEE

Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>

* Alexkar is bad and should feel bad

Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>
2020-10-04 13:05:02 -04:00
Nichlas Pihl
c661796df1 Makes it so malf AIs win if they complete their objectives (#9683)
* adds a proc to check if the antags completed their objectives

* autodoc

* untypes my loops

* antag datum option

* fullwin

* standardizes objective checking

* now we only check for malf antagdatums
2020-09-24 19:27:32 +01:00
swissloaf
91505ca131 Adds movie-like rolling credits to the end of the round (#9352)
* we should try this then...

* lets go

* oops

* Update vampire.dm

* Update traitor_bro.dm

* Update traitor_chan.dm

* Update vampire.dm
2020-08-08 16:56:16 -04:00
Takahiru
cf79600159 Heads of Staff can no longer roll traitor or changeling if its lowpop (#8830)
* wow

* big

* forgot

* t

* less shitcode

* i hope this works

* revert revert

* turdis bad

* alexkar fixes

* jcat being cool

Co-authored-by: jcatjmeow <40673387+jcatjmeow@users.noreply.github.com>

* 30

* 30

* !

* wow

Co-authored-by: jcatjmeow <40673387+jcatjmeow@users.noreply.github.com>
2020-07-04 12:02:59 -04:00
TheGamerdk
9f66ed674e Removes BSQL (#8697)
* Update rust_g.dm

* thing

* thing

* thing

* thing

* thing

* t

* t

* Update random_books.dm

* Update new_player.dm

* Update client_procs.dm

* f

* uwu

* Update dbcore.dm

* uwu

* Update permissionedit.dm

* Update dbcore.dm

* Update dbcore.dm

* Update blackbox.dm

* Update dbcore.dm

* d

* uwu

* Parameterize ipintel

* Update lib_machines.dm

* Parameterize stickyban

* Update sql_message_system.dm

* f

* thing

* thing

* polls

* Parameterize some of sql_ban_system

* f

* Update dbcore.dm

* Parameterize ban check

* Parameterize jobban creation

* uwu

* uwu

* Parameterize edit ban

* git

* uwu

* uwu

* Update install_rust_g.sh

* Remove libmariadb.dll

* Update deploy.sh

* uwu

* Avoid extra __detect_rust_g proccalls

* uwu

* ree

* Remove libmariadb.so download script

* boom

* Turdis

* finally

* sneaky

* night night

* list(

* token

* Update dbcore.dm

* uwu

* Improve readability on a query

* uwu

* Update sql_message_system.dm

* Update sql_message_system.dm

* Fix Malformed SQL Queries When Editing Admin Permissions (#51625)

* fixes

* s

* Update antag_token.dm

* Update create_poll.dm

* Update lib_machines.dm

* Update lib_machines.dm

* Update client_procs.dm

* Update rust_g.dm

* Update code/__DEFINES/rust_g.dm

Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>

* Update sql_message_system.dm

* Update sql_message_system.dm

* Update sql_message_system.dm

* Update sql_message_system.dm

* Update code/controllers/subsystem/blackbox.dm

Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>

* Update code/controllers/subsystem/blackbox.dm

Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>

* Update turdis.yml

* Update client_procs.dm

* Update client_procs.dm

* debug logging

* Update client_procs.dm

* Update client_procs.dm

* Update yogstation/code/modules/client/client_procs.dm

Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>

* Update sql_ban_system.dm

Co-authored-by: Tad Hardesty <tad@platymuus.com>
Co-authored-by: Bobbahbrown <bobbahbrown@gmail.com>
Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>
2020-07-02 19:46:37 -04:00
Xoxeyos
0928d8ed95 Ports Dynamic Gamemode Code from Beestation. (#8390)
* Adds support for dynamic mathing

* Adds Dynamic Main Files.

* Adds Dynamic loading to yogstation.dme

* Probably adds dynamic related changes.

* Fixes code I didn't add, won't fix my retardation.

* Adds "/datum/game_mode/proc/admin_panel()" because it's apparently important.

* Adds dynamic related code.

* Adds more dynamic related code.

* Fixes error: possible unreachable code here on line 313

* Fixes copy and paste error. 


code/game/gamemodes/dynamic/dynamic_rulesets_roundstart.dm, line 390, column 2:
error: possible unreachable code here

* Adds a testing change to fix the lint

* Undos paranthesis

* LintFixTry#2

* Adds Shadowling

* adds a slash

* adds some logging

* Adds IMMERSION

Thank you Theos for the help!

* FIXES     IMMERSION

* Adds Mindshield Implants for Dynamic

* Adds the mindshield implant into dynamic

* Adds the mindshield stuff yadayadayda

* adds another slash

* removes said slash

* test addes imp_ before mindshield on line 427

* redo

* test

* Going to try and do this again #1

* syndie_kit/mindshield/

* gets rid of an error

* renames to imp_mindshield

* Maybe I'm just super retarded.

* v

* #include "code\game\objects\items\implants\implant_mindshieldtot.dm"

DOES THIS FIX IT DOES THIS FIX IT

* oops

* recompile

* Part of getting rid of weights, relies on dice rolls

* Adds dice roll, adds the ability for clock cult to roll

* Readjusts weight and costs, no more weight

* ahem fuck you travis or whatever the hell your name is - recompile

* Oh god oh fuck clock cult cost 0 for a while, oh god oh fuck meteors are now in, only coming in at threat 100 and higher. Shadowling requirement shifted,

* recompile

* Rev Fix

* Allows more midrounds to play

* Clockwork additions and whatnot

* Adds Vampire, and some changes to the requirements, and whatnot.

* Fixed Jobs to Roles

* Adds Vampire to Late Join

* Adds vampire cooldown to roundstart

* Adds Traitor_Ruleset to Vampire

* Adds Vamps to midround

* recompile

* Shadowling Modification

* Revs are now under the flag TRAITOR_RULESET, shadowling change, attempts to keep the round from ending if all the shadowlings die.

* Makes mindshield limited stock, now costs 1 tc, very small chance to show up in surplus crate, isn't illegal tech, player mininum is 30

* Adds cargo crate discounts

Thank you Jamie and Gamer for helping!

* Adds the party crate to discount

* Adds Zombies to the midround

* Recompile

* FUCK YOU RECOMPILE ALREADY

* recompile

* Jungle Fever can now roll.

* Only need one vampire candidate now.

* Fix

* Ah shit it seems you're utterly fucked.

* Update dynamic_rulesets_roundstart.dm

If set to TRUE, dynamic mode will be able to draft this ruleset again later on. (doesn't apply for roundstart rules(?))

* No Highpop req for shadowling

* Adds Darkspawn

* Adds some logging.

Co-authored-by: Theos <theubernyan@gmail.com>
Co-authored-by: fluffe9911 <dablank02@hotmail.com>
2020-06-14 17:34:17 +01:00
TheGamerdk
ba9454f3b4 [admin] Semi-Automatic Antag Token System (#8566)
* Antag tokens

* space

* Automatic Redemption

* Bold

* Update topic.dm

* Update antag_token.dm

* Update antag_token.dm

* Update game_mode.dm

* Update antag_token.dm

* Update antag_token.dm

* Update antag_token.dm

* Update antag_token.dm

* Update antag_token.dm

* Update code/game/gamemodes/game_mode.dm

Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>

* Update game_mode.dm

Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>
2020-05-29 16:31:21 -04:00
Theos
10196dab08 All station goals are unlocked regardless of gamemode (#6721)
* station goals are all unlocked

* e

* Update game_mode.dm

* Update game_mode.dm

* Update game_mode.dm
2019-09-25 16:21:51 -04:00
alexkar598
fe934644ac Actually commits the line ending changes 2019-08-12 07:47:43 -04:00
Gary Lafortune
0886f09e59 Resolves conflicts involving check_preferences() 2019-07-15 15:06:22 +02:00
oranges
a70860eaaa Fixes an issue with the anti-antag rolling system where players were getting banished to nullspace 2019-07-15 15:06:20 +02:00
fluffe9911
a4d88cbe1d Merge branch 'master' into upstream-merge-44026 2019-06-10 16:34:13 -04:00
yogstation13-bot
e0ca1ab532 [MIRROR] Removes a dead code block from antag selection (#5481)
* Removes a dead code block from antag selection

* Removes a dead code block from antag selection
2019-05-22 17:48:28 -05:00
yogstation13-bot
5a2362f56a Adds required jobs support to gamemodes 2019-05-22 14:54:25 +01:00
Gary Lafortune
130829197c Fixes Quiet Mode (#4784) 2019-04-13 23:31:44 -05:00
yogstation13-bot
e7a4356c66 [MIRROR] Fix convert_roundtype runtiming instead of failing gracefully (#5083)
* Fix convert_roundtype runtiming instead of failing gracefully (#43536)
2019-04-09 00:11:00 -05:00
yogstation13-bot
13f6f9b5a9 [MIRROR] Wizard no longer runtimes on check_finish (#4589)
* Merge pull request #42902 from optimumtact/wizardtits

Wizard no longer runtimes on check_finish

* Wizard no longer runtimes on check_finish
2019-02-26 13:55:02 -05:00
yogstation13-bot
bb7e10e271 [MIRROR] Valentines antagonists will no longer stop mulligan (#4533)
* Valentines antagonists will no longer stop mulligan (#42772)

* <3

* oooh now i get it

* oooh now i get it p2

* oooh now i get it p3

* exodia!!

* even more performance saving

* missed ')'

* Valentines antagonists will no longer stop mulligan
2019-02-21 11:33:39 -05:00
yogstation13-bot
4880ef6e7b [MIRROR] Fix some incorrect list/ type annotations (#4532)
* Merge pull request #42862 from AutomaticFrenzy/patch/cant-believe-dm-accepts-this

Fix some incorrect list/ type annotations

* Fix some incorrect list/ type annotations
2019-02-21 11:32:25 -05:00
Generic DM
f51c7794c9 fix quiet round preference 2019-01-05 10:55:16 -08:00
tralezab
4e876c2743 The gods are not always kind, but they do have a soft spot for plucky underdogs. (#41890)
fixes #41885

the problems with picking centcom antags are in the issue post. if this isn't a good idea, i can just make it check for the thunderdome arena area instead.
2018-12-16 21:54:02 +01:00
nichlas0010
c07e0554e4 Update game_mode.dm 2018-12-09 04:56:53 +01:00
Jordie
a28de54405 Ban system and interface update (#41176)
Spiritual successor and extension to #17798, an almost entire rebuild of the SQL ban system backend and interface.
Bantypes are removed per #8584 and #6174. All bans are now 'role bans', server bans are when a ban's role is server. Admin bans are a column, meaning it's possible to ban admins from jobs.
Bans now have only an expiry datetime, duration is calculated from this when queried.
unbanned column is removed as it's superfluous, checking unban status is now done through checking unban_datetime. unban_round_id column added. Each ip and computerid columns rearranged so ip is always first, like in other tables. Bans now permit a null ckey, ip and computerid.

Ban checking is split into two procs now is_banned_from() does a check if a ckey is banned from one or more roles and returns true or false. This effectively replaces jobban_isbanned() used in simple if() statements. If connected a client's ban cache is checked rather than querying the DB. This makes it possible for a client connected to two or more servers to ignore any bans made on one server until their ban cache is rebuilt on the others. Could be avoided with cross-server calls to update ban caches or just the removal of the ban cache but as is I've done neither since I think it's enough of an edge case to not be worth it.
The second proc is is_banned_from_with_details(), this queries the DB for a role ban on a player's ckey, ip or CID and returns the details. This replaces direct queries in IsBanned.dm and the preferences menu.

The legacy ban system is removed.

The interfaces for banning, unbanning and editing bans have been remade to require less clicking and easier simultaneous operations. The banning and jobban panel are combined. They also store player connection details when opened so a client disconnecting no longer stops a ban being placed.

New banning panel:
Key, IP and CID can all be toggled to allow excluding them from a ban.
Checking Use IP and CID from last connection lets you enter only a ckey and have the DB fill these fields in for you, if possible.
Temporary bans have a drop-menu which lets you select between seconds, minutes, hours, days, weeks, months and years so you don't need to calculate how many minutes a long ban would be. The ban is still converted into minutes on the DB however.
Checking any of the head roles will check both of the boxes for you.
The red role box indicates there is already a ban on that role for this ckey. You can apply additional role bans to stack them.

New unbanning panel:
Unbanning panel is now separate from the banning panel but otherwise functionally the same.

Ban editing panel:
Actually just a modified banning panel, all the features from it work the same here.
You can now edit almost all parameters of a ban instead of just the reason.
You can't edit severity as it's not really part of the ban.
The panels have been tested but I've not been able to get my local server to be accessible so ban functionality isn't properly confirmed. Plenty of testing will be required as I'd rather not break bans.

cl
admin: Ban interface rework. The banning and unbanning panels have received a new design which is easier to use and allows multiple role bans to be made at once.
prefix: Ban search and unbanning moved to unbanning panel, which is now a separate panel to the old banning panel.
/cl
2018-12-04 20:48:17 +01:00
Jordan Brown
bf10594b52 Merge pull request #40997 from ShizCalev/suicide-roles
Adds a config option to automatically reopen job positions of folks who suicide at roundstart
2018-10-21 08:01:08 +01:00
Jordan Brown
e832dbeab4 Merge pull request #40916 from lordpidey/report_fixing
Fixes gamemode reports to not generate duplicates
2018-10-15 21:15:54 +01:00
1fbff5f83b23d39d38b1dfcb4cac8d9b
a697003fbd removes our fix 2018-08-28 13:39:48 +02:00
AnturK
2060493249 Fixes replacement mode not ending. (#39927) 2018-08-28 10:56:20 +01:00
Ling
2e730491f0 Merge pull request #2115 from yogstation13/upstream-merge-39009
[MIRROR] Key instead of ckey for user facing logs and ui
2018-08-12 14:05:03 +02:00
Jordie
7e94c282a4 Key instead of ckey for user facing logs and ui (#39009)
* converts to using key instead of ckey for user facing logs and ui

* more key_name for airlock wires

* futureproofing check for if key changes

* --onlyckeymatch script argument and fail/success counter

* fix
2018-08-10 20:33:24 +01:00
kevinz000
b5e2daa978 Movespeed Modification System (#39181)
In preparation of pixel movement, I want to refactor our slowdown system to something more modular, and something that doesn't require /quite/ as many proccalls/calculations a tick. The way this works is intended to only have things recalculate when it's necessary, rather than calling it every move.
However, I've left movement_delay() in, as without completely redoing a lot of code it's not /quite/ ready at this point to tear it out completely, but I'm hoping everything can be transitioned over to this system later.
2018-08-09 21:55:07 +01:00