Commit Graph

3595 Commits

Author SHA1 Message Date
SkyratBot
b45221cfa1 [MIRROR] Tgui input refresh [MDB IGNORE] (#11290)
* Tgui input refresh

* Update code/modules/mob/dead/observer/observer.dm

Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-02-06 23:08:19 -05:00
SkyratBot
57505db559 [MIRROR] Fixes progression scaling and other various problems with progression traitors. [MDB IGNORE] (#11323)
* Fixes progression scaling and other various problems with progression traitors. (#64503)

Co-authored-by: Watermelon914 <3052169-Watermelon914@ users.noreply.gitlab.com>

* Fixes progression scaling and other various problems with progression traitors.

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
Co-authored-by: Watermelon914 <3052169-Watermelon914@ users.noreply.gitlab.com>
2022-02-06 20:32:59 +00:00
SkyratBot
43c74b2818 Adds a config toggle for granting admin server profile access (#11263)
Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
2022-02-04 19:37:44 +00:00
Tom
d338c2169e fix chat (#11269)
* fix chat

* actually ticking the file would be a good start
2022-02-04 15:34:53 +00:00
SkyratBot
9856b816be [MIRROR] Always disable combo HUD on disassociate [MDB IGNORE] (#11272)
* Always disable combo HUD on disassociate (#64662)

* Always disable combo HUD on disassociate

* Useless old comments

* Always disable combo HUD on disassociate

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2022-02-04 10:14:18 +00:00
SkyratBot
579f6e384b [MIRROR] Adds direct support for weakrefs to vv [MDB IGNORE] (#11227)
* Adds direct support for weakrefs to vv (#64521)

* Adds direct support for weakrefs to vv

* Update code/modules/admin/view_variables/get_variables.dm

Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>

* Fine, have a readable name.

Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>

* Adds direct support for weakrefs to vv

Co-authored-by: AnturK <AnturK@users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
2022-02-02 16:59:16 +00:00
SkyratBot
5ed2dfe5f3 [MIRROR] Fixes a few runtimes with armor, spatial grids, and notes [MDB IGNORE] (#11126)
* Fixes a few runtimes with armor, spatial grids, and notes (#64514)

* Atoms  (mostly new players caused by logout) can get deleted before spatial grid initializes.

* Fixes images when viewing your notes before SSassets initializes.

* Fixes abandoned crate runtime.

* Fixes armor runtimes on eating clothes (this really needs alternative solution)

* Fixes a few runtimes with armor, spatial grids, and notes

Co-authored-by: AnturK <AnturK@users.noreply.github.com>
2022-01-29 23:06:14 -05:00
SkyratBot
ec6ddbe758 [MIRROR] Remove code/__DEFINES/misc.dm [MDB IGNORE] (#10945)
* Remove code/__DEFINES/misc.dm

* agagagagagaga

Co-authored-by: Tim <timothymtorres@gmail.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-01-27 02:40:25 +00:00
Gandalf
4375bd7432 The Opposing Force (OPFOR) - Ready for review/testing (#10093)
* OPFOR PART ONE

* 0

* E

* E

* 0

* E

* e

* Update opposing_force_datum.dm

* E

* E

* Admin stuffs

* Admin control GUI

* E

* Chat

* 0

* Update opposing_force_datum.dm

* System messages, better admin chat procs, UI fixes.

* Update _basemap.dm

* who thought holding a ref to the client was a good fucking idea?

* 0

* Update opposing_force_datum.dm

* Update modular_skyrat/modules/opposing_force/code/opposing_force_datum.dm

* Equipment tab

* equipment part 2

* Tidy up, finishing up equipments panel, some font fixes

* clarity and continuity

* Update opposing_force_datum.dm

* more logic fixes

* Update opposing_force_datum.dm

* weeee

* Update opposing_force_datum.dm

* chat commands

* 0

* ee

* Update opposing_force_datum.dm

* Itemspawning

* Assassinate objectives only need one kill

* new commands

* Update opposing_force_datum.dm

* f

* weee roundend report

* E

* ew

* E

* E

* more fixes

* E

* E

* Update opposing_force_datum.dm

* Update opposing_force_datum.dm

* Fixes

* request opfor

* Update admin_procs.dm

* Update adminhelp.dm

* Update opposing_force_datum.dm

* fex

* admin info panel, approve checks, queue position checks

* panel improvements, better logging format

* Barboza equipment list Vol 1 (#10386)

* Update opposing_force_equipment.dm

* silly little changes to the silly little code

i doubt this will be seen by anyone teehee

* OpFor Prep Balance

Shotguns have been prepped into opfor catalog. Model 23-37 is now an 8 rounder pump action, M2 is untouched as a semi auto peacekeeper variation and SAS14 is semi auto as it was meant to be

* OpFor Prep Balance

Shotguns have been prepped into opfor catalog. Model 23-37 is now an 8 rounder pump action, M2 is untouched as a semi auto peacekeeper variation and SAS14 is semi auto as it was meant to be. 23-37 keeps its beanbag load while M2 comes with slugs as a proper combat shotgun

* Gear Pass 1

* Mag Variety for SAS14

Since its gonna be an opfor exclusive why not add some choices. Refilling its ammo is nigh impossible so here comes new mags!

* Gear Pass 2

yes I 'code' in github web

* Gear Pass 3

just martial arts and some stuff for today, tomorrow i add the discord suggestions

* opfor equipment up the ass

woo spider

* descs for everyone

* g357

* altyn

* Gear Pass 4

syndicakes and nri

* Item Variety Document for Opfor

* gunman loadout

* gunman update

* Gear Pass 5

gear harder

* Update opposing_force_equipment.dm

* big typo fuckup fix

* lcoat desc fix

Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>

* Update modular_skyrat/modules/opposing_force/code/opposing_force_equipment.dm

Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>

* Update modular_skyrat/modules/opposing_force/code/opposing_force_equipment.dm

Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>

* Update modular_skyrat/modules/opposing_force/code/opposing_force_equipment.dm

Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>

* Update modular_skyrat/modules/opposing_force/code/opposing_force_equipment.dm

Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>

* Update modular_skyrat/modules/opposing_force/code/opposing_force_equipment.dm

Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>

* Update modular_skyrat/modules/opposing_force/code/opposing_force_equipment.dm

Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>

* Update modular_skyrat/modules/opposing_force/code/opposing_force_equipment.dm

Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>

* DocNameChange

also no more shamwow

* Update opposing_force_equipment.dm

* Update modular_skyrat/modules/sec_haul/code/guns/guns.dm

Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>

* Update modular_skyrat/modules/sec_haul/code/guns/guns.dm

Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>

* Update items.dm

* Update opposing_force_equipment.dm

* Update modular_skyrat/modules/opposing_force/code/items.dm

Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>

* More Categories and Expanded Title

Adds loadouts and explosives tab, increases title limit to 40 instead of 20 for objectives

* Apply suggestions from code review

Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>

Co-authored-by: dawsonkeyes <76002401+dawsonkeyes@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>

* Automatic changelog generation for PR #10386 [ci skip]

* E

* Update opposing_force_equipment.dm

* E

* Update items.dm

* Vol2Remastered (#10413)

* Update modular_skyrat/modules/opposing_force/code/opposing_force_datum.dm

Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>

* Bye bye high-frequency sword

* Fixed the space cash too

* Review comments

* Update counter.dm

* general antagonist ban

* opfor ban

* Update opposing_force_subsystem.dm

Co-authored-by: ErdinyoBarboza <erdinyobarboza@gmail.com>
Co-authored-by: dawsonkeyes <76002401+dawsonkeyes@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
Co-authored-by: SkyratBot <59378654+SkyratBot@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
2022-01-20 04:15:15 +00:00
jjpark-kb
3bc220eae1 borer midround, balance, and objective (#10806)
* borer midround, balance, and objective

* adds borer bannable

* okay fine

* I hate this

* added the cage

* why

* admin foolery

* add borer egg to uplink, 20 at 20 minutes

* add to uplink
2022-01-20 02:15:06 +00:00
Useroth
eb384bd2d7 Telemetry 'n shit (#10810)
* Refactors dbcore and limits the maximum amount of concurrent async queries to a variable amount (#59676)

Refactors dbcore to work off a subsystem if executed async and limits the maximum amount of concurrent async queries to 25.

This has been tested locally on a mysql docker image and there were no crashes (as long as you didn't run it with debug extools) + data was getting recorded fine.
Why It's Good For The Game

May or may not resolve terry crashes, however, each query creates a new thread which takes up 2mb, preventing the game from using that 2mb. This can lead to ooms if they stack up, e.g. due to poor connectivity. This solves that issue.

maintainer note: this did not actually resolve the crashes, but has value anyway. Crashes were sidestepped fixed by finding out Large Address Awareness works

cl
refactor: Refactors dbcore.dm to possibly resolve the crashes that happen on Terry.
/cl

* Fixes an oversight in database code and cleans up telemetry (#64177)

As it is right now, we never actually clear the temporary list processing_queries
So if the subsystem is for some reason unable to complete a run, we will just whip right back around to it again
If it's been long enough, this could even cause horrific log spam. There was just now a manuel round with roughly 30k undeleted query errors. not good.

But what was actually not deleting you may ask?
Well

When you create a db request, a 5 minute timer starts. after those 5 minutes are up, the request is qdeleted by the db subsystem
This is to prevent the creation of unused requests, and to handle requests that are never cleaned up

Telemetry code was creating all of its db requests inside a for loop that could check tick, and then later
attempting to call them in series

Since requests by default sleep, this almost always lead to undeleted queries, which harddel'd given long enough periods

I've fixed this by moving the data gathering away from the query creation
Why is it good for the game

I was working on atmos code, happy, safe in my delusion, when suddenly I got a ping from tattle freaking out over 200 undeleted queries a second
This resolves that issue, so I can once again live in peace
Changelog

cl
admin: Telemetry code will spam you with undeleted query logs much less often now!
server: Improved how the db subsystem handles undeleted queries, should never have an incident like that again
/cl

* Fixes an error in telemetry queries (#64205)

* Hardsynced time_track.dm with upstream

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2022-01-19 00:21:07 +00:00
SkyratBot
c4c39d70a3 [MIRROR] Removes IAA & IAA pinpointer code improvement [MDB IGNORE] (#10659)
* Removes IAA & IAA pinpointer code improvement (#64008)

Since the gamemode isn't wanted here, even just to maintain (and especially now that progression Traitors are being added which will break IAA even more), I'm gonna give my alternate idea to just remove IAA entirely.
This is also to help downstream, as any plan on just 'adding it downstream' is kinda screwed over by it TECHNICALLY still being upstream, and its code conflicting with my own, even if it is just broken and unmaintained.

* Removes IAA & IAA pinpointer code improvement

* Removes IAA & IAA pinpointer code improvement

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-01-15 22:18:46 +00:00
SkyratBot
f42d424b49 [MIRROR] Removes swarmers from the game [MDB IGNORE] (#10645)
* Removes swarmers from the game

* Removes swarmers from the game

Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-01-15 17:19:18 +00:00
SkyratBot
65b8082678 [MIRROR] Harddel Fix Pack #42 + Better Live Reftracking Support [MDB IGNORE] (#10639)
* Harddel Fix Pack #42 + Better Live Reftracking Support

* awooga

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-01-12 21:57:49 +00:00
SkyratBot
7b619ca03c [MIRROR] Stealthed admins no longer count as orbiters in the orbit menu [MDB IGNORE] (#10625)
* stealthed admins no longer count on the orbiting menu (#63940)

Currently, you can tell if someone is being orbited by a stealthed admin by checking the orbit menu and seeing if there's an extra orbiter compared to what you see visually orbiting them. This makes it so stealthmins don't contribute to the orbiter count to avoid that.

* Stealthed admins no longer count as orbiters in the orbit menu

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
2022-01-12 12:37:16 +00:00
SkyratBot
de4e706abf [MIRROR] Misc admin tools improvements [MDB IGNORE] (#10624)
* Misc admin tools improvements (#63665)

About The Pull Request

This PR makes a few small tweaks to admin tools that I think frequent users may appreciate.

    Adds the "Find Updated Panel" button to the player panel, which bring up that ckey's newest PP if one exists. Useful for when the person you're inspecting has changed mobs so you don't have to search for their new mob to get their new panel.
    Adds VV and TAG links to all the entries in the Get-Contents right click verb. This should make checking and editing someone's gear easier, since you don't have to VV the person -> their satchel -> their survival box -> their oxygen tank for example, you can just click the VV link for the tank directly.
    Lets you ignore punctuation in the F6 player search menu. This was a request, so if you have a silicon named "H.E.R.A.", you can now pull it up by just searching "hera". Also ignores spaces, but I doubt that'll cause any issues.

* Misc admin tools improvements

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
2022-01-12 12:35:49 +00:00
SkyratBot
c33061765b [MIRROR] [MDB IGNORE] BIDDLE TRAITORS - Adds progression traitors. Refactors uplink code in its entirety [MDB IGNORE] (#10620)
* [MDB IGNORE] BIDDLE TRAITORS - Adds progression traitors. Refactors uplink code in its entirety

* updates and fixes

* ffff

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-01-12 03:25:38 +00:00
SkyratBot
61ca3472ea [MIRROR] PURE Code Improvements to the Shuttle Subsystem [MDB IGNORE] (#10609)
* PURE Code Improvements to the Shuttle Subsystem

* modular updates

Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-01-12 02:47:57 +00:00
SkyratBot
cd54fcf1af [MIRROR] Stops the equipment menu from runtiming if the outfit has a skillchip [MDB IGNORE] (#10611)
* Stops the equipment menu from runtiming if the outfit has a skillchip (#63929)

* Stops the equipment menu from runtiming if the outfit has a skillchip

Co-authored-by: Seth Scherer <supernovaa41@gmx.com>
2022-01-12 02:23:21 +00:00
SkyratBot
57fa588670 [MIRROR] Buffs the Clarke Mech [MDB IGNORE] (#10545)
* Buffs the Clarke Mech (#63809)

* buffs the clarke mech

* better cooldown

* FUCK

* weed smoke

* Buffs the Clarke Mech

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
2022-01-09 15:46:12 -05:00
SkyratBot
7d74dadd0d [MIRROR] Removes monkey mode, neuters Jungle Fever into Jungle Flu [MDB IGNORE] (#10504)
* Removes monkey mode, neuters Jungle Fever into Jungle Flu

* Fixing the conflict

* There you go one-click antag

* Whoops forgot one

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2022-01-09 15:42:53 -05:00
SkyratBot
0109a77081 [MIRROR] Fixes admins being able to use the JMP verb as a new player [MDB IGNORE] (#10473)
* Fixes admins being able to use the JMP verb as a new player (#63835)

they should NOT be able to do this

* Fixes admins being able to use the JMP verb as a new player

Co-authored-by: Seth Scherer <supernovaa41@gmx.com>
2022-01-06 12:30:53 +00:00
SkyratBot
092e534e75 [MIRROR] TGUI list conversions + bug fixes [MDB IGNORE] (#10355)
* TGUI list conversions + bug fixes

* Fixing conflicts

* Maintaining a few modular files while we're at it...

Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2022-01-03 22:53:58 +00:00
SkyratBot
7bf46acd8b [MIRROR] Mob Abilities [MDB IGNORE] (#10374)
* Mob Abilities

* Fixing dem conflicts

Co-authored-by: Whoneedspacee <yougotreallyowned@gmail.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2022-01-03 22:06:10 +00:00
SkyratBot
1b2316077d [MIRROR] Fixes admin deadsay not showing up for admins in the lobby [MDB IGNORE] (#10420)
* Fixes admin deadsay not showing up for admins in the lobby (#63652)

* Fixes admin deadsay not showing up for admins in the lobby

* Applied code review suggestion

* Fixes admin deadsay not showing up for admins in the lobby

Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2022-01-03 17:03:24 -05:00
SkyratBot
7cccd7bd0f [MIRROR] Possesing a mob no longer lowercases your ckey in admin messages [MDB IGNORE] (#10357)
* Possesing a mob no longer lowercases your ckey in admin messages #63686

* Possesing a mob no longer lowercases your ckey in admin messages

Co-authored-by: Seth Scherer <supernovaa41@gmx.com>
2021-12-31 04:24:12 +00:00
Gandalf
7991bbfdf1 OPFOR PART ONE (#10084) 2021-12-29 15:30:10 +00:00
Iamgoofball
0d441af5b1 GoofSec 1.5: Departmental Batons, Departmental Guard Offices, Batons from Backpacks -> Belts, Guard Cuffs -> Cableties, Mapping Icons for Jobs, Belt Reskinning, Brig Officer Baton Change, Sec Medic Gun Removal + Medical Access Removal, Security Sergeant Removal (#9581)
* GoofSec 1.5: Departmental Batons, Departmental Guard Offices, Batons from Backpacks -> Belts, Fixed Security HUD icons, Guard Cuffs -> Cableties, Mapping Icons for Jobs, Belt Reskinning, Brig Officer Baton Change, Sec Medic Gun Removal

* whoops

* 2 lockers instead of 1

* Update modular_skyrat/modules/goofsec/code/department_guards.dm

Co-authored-by: OrionTheFox <76465278+OrionTheFox@users.noreply.github.com>

* Update modular_skyrat/modules/goofsec/code/department_guards.dm

Co-authored-by: OrionTheFox <76465278+OrionTheFox@users.noreply.github.com>

* Brigoff + SecMedic Disablers, Buckshot Removal, Static Armory Spawns, Armory Shotgun Rebalance

* Armory Shotgun Rebalance, Armory Gun Buff, Armory Weapon Distribution Rework, Mag-fed Shotguns Crate, Buckshot/Lethal Slug Removal, Security Sergeant Removal, Ironhammer Reskins, Security Medic Access Nerf

* WHOOPS

* Map fixes

* how could I forget meta

* fukken blueshift i swear to god

* Departmental Baton Verbage tweaks

* Armory Gun Rebalance

* aSDADWDWEFWRGWFD

* Fixed the blueshift edits.

* Removes the Ironhammer reskins, the Shotgun changes, the Buckshot/Slug Removal, and the adjustment to the armory firearms.

* whoops

* fucking

* saefwefqefwgthwgrfwed

* s

* WHOOPS

* whoops

* aaaaa

Co-authored-by: OrionTheFox <76465278+OrionTheFox@users.noreply.github.com>
2021-12-27 23:30:05 +00:00
Gandalf
49a1a276e7 CROSSLINK + Population control cap (#9979)
* Ew

* Update login.dm

* Update code/modules/mob/dead/new_player/login.dm

Co-authored-by: OrionTheFox <76465278+OrionTheFox@users.noreply.github.com>

* Oogleboogle

* E

* EEE

* Update client_procs.dm

* E

* E

* E

* Update communications.dm

* Update communications.dm

* E

* Update chat_link.dm

* EEEE

* EEE

* Update communications.dm

* EEE

* 0

* E

* Update skyrat_config.txt

* EEEE

* E

* E

* E

* E

* 0

* Update code/modules/admin/verbs/adminhelp.dm

Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>

* Update modular_skyrat/master_files/code/_onclick/hud/new_player.dm

Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>

* Update modular_skyrat/modules/server_overflow/code/client_procs.dm

Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>

* Update tgui/packages/tgui/interfaces/ServerControlPanel.js

Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>

* You missed one

Co-authored-by: OrionTheFox <76465278+OrionTheFox@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
2021-12-25 19:08:27 +00:00
SkyratBot
58f82b5161 [MIRROR] [Ready] MODsuits [MDB IGNORE] (#10244)
* [Ready] MODsuits

* we dont need to add these people as codeowners, goodness gracious

* have to remove this because upstream

* part 1 of these fixes

* EEEE

* Update peacekeeper_clothing.dm

* E

* E

* Auto stash before merge of "upstream-merge-59109" and "origin/upstream-merge-59109"

* E

* Update expeditionary_trooper.dm

* more removal

* nice

* modsuti modstui modusuti

* fixes

* E

* ITS MODsuit not HARDSUIT

* more hardsuit references

* MODSUIT NOT HARSUITEDSA

* Maps

* More ,map

* oop

* e

* oo aa

* 0

* ting tang

* Update modsuit_tailsprites.dm

* hi fikou

* bs tech update

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
Co-authored-by: jjpark-kb <55967837+jjpark-kb@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2021-12-25 13:32:49 +00:00
SkyratBot
32bc1eea41 [MIRROR] More standard tgui input conversions [MDB IGNORE] (#10238)
* More standard tgui input conversions

* More standard tgui input conversions

Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2021-12-24 21:33:32 +00:00
SkyratBot
647b408d01 [MIRROR] Fixes typos in span, other html elements [MDB IGNORE] (#10222)
* Fixes typos in span, other html elements (#63510)

Atomizes a much larger PR for another time...
There are typos in span and other html messages that causes them to not render correctly or at all.
Bug fixes
Converts those instances of span to use the macro

* Fixes typos in span, other html elements

Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
2021-12-23 17:18:43 +00:00
SkyratBot
645b90d34a proximity monitors cleanup (plus connect_range and connect_containers components) (#10192)
Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-12-23 03:51:23 +00:00
SkyratBot
c0706f4a41 [MIRROR] Field of View and Blindness improvements [bounty + upstream push] [MDB IGNORE] (#10060)
* Field of View and Blindness improvements [bounty + upstream push]

* Update death.dm

* almost done

* Update fov_handler.dm

* Face mouse when in combat mode, fix

* Fixes the category for the fov admin verb. #63401

* Fixes objects with bad planes and FoV bugs #63412

* pain

* there we go

* face pref

Co-authored-by: Azarak <azarak10@gmail.com>
2021-12-22 14:56:01 +00:00
SkyratBot
c5d3946d74 [MIRROR] Adds Datum Tagging for admins [MDB IGNORE] (#10185)
* Adds Datum Tagging for admins (#62982)

* Adds Datum Tagging for admins

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
2021-12-21 17:42:13 -05:00
SkyratBot
0875409ae8 Fixes bug in playerpanel javascript relating to cyborgs (#10086)
Co-authored-by: oranges <email@oranges.net.nz>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2021-12-18 17:28:59 +00:00
SkyratBot
a526c6070a [MIRROR] Makes all default job titles, defines. [MDB IGNORE] (#10080)
* Makes all default job titles, defines.

* Makes all default job titles, defines.

* whitespace

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2021-12-18 16:54:03 +00:00
SkyratBot
f64e20590a [MIRROR] TGUI input box conversions 2 [MDB IGNORE] (#10089)
* TGUI input box conversions 2 (#63395)

More text inputs converted to tgui, TGUI text and number input now more sanely handles ENTER key being pressed, you can now press anywhere in the window to enter the input. TGUI text input now considers placeholder text for the default valid state. IE, if there is default text you can press enter immediately without having to rewrite it just to recheck validity. Fixes: useSharedState => useLocalState. not only was sharedstate not needed but it opened up the ui to vulnerabilities

* TGUI input box conversions 2

Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
2021-12-15 23:57:40 +00:00
SkyratBot
624c7d6d55 [MIRROR] TGUI input box conversions 1 [MDB IGNORE] (#10020)
* TGUI input box conversions 1

* Fixing conflicts!

* Whoops

Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
2021-12-13 10:41:44 +00:00
SkyratBot
e5276a2c6f [MIRROR] Paintings improvements. [MDB IGNORE] (#9977)
* Paintings improvements. (#63170)

About The Pull Request

    Paintings can now do stroke painting.
    Added painting management panel for admins.
    Paintings now display author's character name, year of painting, medium and patron when hung on wall.
    You can become new patron by paying more than the previous one.
    Added painter's palettes to library vendor. (Sprites by @ Mickyan )

Backend changes:

    Images are now stored in /data/paintings/images/*.png instead of /data/paintings/[category]/*.png
    Old categories are now just tags

Screens & Video
Changelog

cl
add: You can now become patron of your favorite painting by buying sponsorship from Nanotrasen Trust Foundation.
add: Painter's palettes are now available at library vendor.
qol: Can use strokes in paintings now
/cl

* Paintings improvements.

Co-authored-by: AnturK <AnturK@users.noreply.github.com>
2021-12-09 16:47:52 -05:00
SkyratBot
e8f8896454 [MIRROR] Everyone is traitor now properly malfs the AI [MDB IGNORE] (#9909)
* Everyone is traitor now properly malfs the AI (#63217)

Everyone is traitor checks were not considering the new antag datum when malf ai split from traitor

* Everyone is traitor now properly malfs the AI

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2021-12-06 22:08:52 +00:00
SkyratBot
2e5f20471f [MIRROR] Verify that those clicking on admin statclicks are admins [MDB IGNORE] (#9879)
* Verify that those clicking on admin statclicks are admins (#63226)

Also removes some unused statclick.

Statclicks need to get removed someday, they're a pain in the ass, but this is good enough for now.

* Verify that those clicking on admin statclicks are admins

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-12-05 10:00:01 -05:00
SkyratBot
0106ae49c3 [MIRROR] Add investigate logs for crafting [MDB IGNORE] (#9852)
* Add investigate logs for crafting (#63178)

* Add investigate logs for crafting

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-12-03 15:14:07 -05:00
SkyratBot
016d4227a4 [MIRROR] Borg panel logs to silicon rather than admin [MDB IGNORE] (#9846)
* borg panel logs to silicon rather than admin (#63055)

* Borg panel logs to silicon rather than admin

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
2021-12-03 11:08:31 +00:00
SkyratBot
9c555876ee [MIRROR] Adds a confirmation prompt for admins resetting the station name [MDB IGNORE] (#9836)
* Adds a confirmation prompt for admins resetting the station name (#63197)

* Adds a confirmation prompt for admins resetting the station name

Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2021-12-02 22:24:07 +00:00
SkyratBot
3b23a57eeb [MIRROR] Cleans up unnecessary transformation options in admin player panel [MDB IGNORE] (#9826)
* Cleans up unnecessary transformation options in admin player panel (#62832)

I got tired of having to walk new admin candidates through the admin buttons and telling them about all of the antiquated buttons they'd never use, so I'm doing my part and removing a bunch of the transformation bloat from the player panel. Below is the current menu
The only button admins I know ever actually use is the human rudimentary transformation one, and literally nothing else. Judging by how the options are a random choice of some of the station pets, these options probably haven't been updated since like 2012. In addition, the non-rudimentary transformations only work if you're a human, so not sure why they show up for non human player panels.
Here's the new pared down selection, I figured these would be the only useful ones from the bunch. They work no matter what mob the target was previously, whether it be another living mob or a ghost. In addition, I also cut out the transformation equivalents from the VV dropdown, because lord knows that menu keeps getting longer and longer. Lastly, I refactored stuff where possible without getting too trapped in cursed pre-MSO era admincode.

* Cleans up unnecessary transformation options in admin player panel

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
2021-12-02 22:23:20 +00:00
Tastyfish
4eefadc8b4 Alternative job titles in the Occupations screen actually used in-game (#9420)
* Added alt jobs names actually doing something.

* Also add late join announcements.

* Fix custom roles showing up first in crew monitor

* Cleanup to match upstream changes

* Updates from review, also improve both tgui manifests

* Compromise for Skyrat edit notes vs JSX vs linter

* Compromise for optimization vs not making a horrible mess of passing client around

* Follow module rules

* Revert no longer true changed to customization readme

* Update dme

* Fixed comments for alt titles
2021-11-27 22:18:45 -05:00
SkyratBot
c1ca55382d [MIRROR] Fixes ghosts' boo ability going on cooldown when the light they tried to flicker didn't flick [MDB IGNORE] (#9672)
* Fixes ghosts' boo ability going on cooldown when the light they tried to flicker didn't flick

* Update code/modules/power/lighting/light.dm

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
2021-11-23 21:35:02 -05:00
SkyratBot
6ac6dae856 [MIRROR] Fix random names breaking preferences [MDB IGNORE] (#9370)
* Fix random names breaking preferences (#62668)

The randomization (specifically from the random names secret) overrode your preferences, this fixes that.

* Fix random names breaking preferences

* Should fix the issue with that damn unit test.

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: Useroth <37159550+Useroth@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2021-11-23 13:36:22 -05:00
SkyratBot
3571a7db8b [MIRROR] Adds additional DB logging for admin help interactions [MDB IGNORE] (#9627)
* Adds additional DB logging for admin help interactions

* fixed conflicts

Co-authored-by: Nick <nick@nfreader.net>
Co-authored-by: Useroth <37159550+Useroth@users.noreply.github.com>
2021-11-23 11:33:38 -05:00