Commit Graph

3517 Commits

Author SHA1 Message Date
Gandalf
0fce808c7d adds a simple admin tool - spawn mob spawner (#8956)
* yes this took me 3 minutes

* day one 50 gig patch

* move dis down to living level for muh events

* Update spawn_nest.dm

* Update simple_animal.dm

* Update simple_animal.dm

* more indepths spawners

* e

* woof

* Update spawn_nest.dm
2021-10-20 22:12:43 +01:00
SkyratBot
7dbc5324f9 [MIRROR] Admins now get a little notice if they start responding to a ticket someone else is already responding to [MDB IGNORE] (#8922)
* Admins now get a little notice if they start responding to a ticket someone else is already responding to

* Fixing a conflict

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
2021-10-19 01:17:42 +01:00
SkyratBot
f0db07b17d [MIRROR] makes it so the sanitize_hexcolors' default is 6 characters rather than 3 and gets rid of color_legacy [MDB IGNORE] (#8840)
* makes it so the sanitize_hexcolors' default is 6 characters rather than 3 and gets rid of color_legacy

* Feex

* Feex some more

* Final feex

* Please no more I'm tired

* <<<<<<< HEAD

Co-authored-by: Seris02 <49109742+Seris02@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2021-10-17 00:30:28 -04:00
SkyratBot
0d5eb8a0c4 [MIRROR] Add missing SIGNAL_HANDLERs [MDB IGNORE] (#8834)
* Add missing SIGNAL_HANDLERs (#62115)

Add missing SIGNAL_HANDLERs

* Add missing SIGNAL_HANDLERs

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-10-15 12:32:41 -04:00
SkyratBot
1bedcb0714 [MIRROR] The monkey portrait decoration is now a set of random pictures that also act as persistent photo frames. Every station map gets one. [MDB IGNORE] (#8681)
* The monkey portrait decoration is now a set of random pictures that also act as persistent photo frames. Every station map gets one.

* mirrors changes

* Update mothership_astrum.dmm

* Update BlueShift.dmm

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
Co-authored-by: Kat <evesovereign@hotmail.co.uk>
2021-10-14 06:43:45 +01:00
SkyratBot
fa519bdde3 [MIRROR] cleanup _HELPERS/_lists.dm and all the necessary files [MDB IGNORE] (#8783)
* cleanup _HELPERS/_lists.dm and all the necessary files

* Epbic

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-10-13 21:07:35 +01:00
SkyratBot
2907da3c65 [MIRROR] toggle random events on/off no longer sends unspanned feedback to user [MDB IGNORE] (#8731)
* toggle random events on/off no longer sends unspanned feedback to user (#61982)

The verb already messages admins and pressing the verb requires you to be an admin. to_chat entirely unneeded!

* toggle random events on/off no longer sends unspanned feedback to user

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2021-10-11 14:13:23 +13:00
SkyratBot
95ab2d2efb [MIRROR] Adds SHOULD_NOT_SLEEP to Destroy. Why didn't we do this before. [MDB IGNORE] (#8714)
* Adds SHOULD_NOT_SLEEP to Destroy. Why didn't we do this before. (#61943)

* Adds SHOULD_NOT_SLEEP to Destroy. Why didn't we do this before.

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2021-10-09 09:11:52 -04:00
SkyratBot
cc93b11d23 [MIRROR] _HELPERS/unsorted.dm has been sorted [MDB IGNORE] (#8627)
* _HELPERS/unsorted.dm has been sorted

* Feexing conflicts

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2021-10-06 22:07:01 +01:00
SkyratBot
fa55f2bfe9 [MIRROR] [s] Fixes messages with multiple spaces in a row breaking asay [MDB IGNORE] (#8641)
* fixes multiple spaces breaking asay (#61939)

* [s] Fixes messages with multiple spaces in a row breaking asay

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
2021-10-06 15:38:06 -04:00
SkyratBot
fc29da4e9c [MIRROR] [s] Cleanup escalation unsafe procs [MDB IGNORE] (#8642)
* [s] Cleanup escalation unsafe procs (#61905)

Fixes admins spawning in atoms and datums without the DF_VAR_EDITED flag

* [s] Cleanup escalation unsafe procs

Co-authored-by: Jordan Brown <Cyberboss@users.noreply.github.com>
2021-10-06 14:36:27 -04:00
SkyratBot
e14ecb4ab4 [MIRROR] Removes a useless but very hilarious define and really I just want to show the rest of you that this used to be here [MDB IGNORE] (#8605)
* Removes a useless but very hilarious define and really I just want to show the rest of you that this used to be here (#61866)

Removes SDQL_qdel_datum and please just click files changed okay

* Removes a useless but very hilarious define and really I just want to show the rest of you that this used to be here

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-10-04 16:00:07 +01:00
SkyratBot
322cff5a78 [MIRROR] Use ckeys instead of keys in key name helper proc and new_player login. [MDB IGNORE] (#8601)
* Use ckeys instead of keys in key name helper proc and new_player login. (#61857)

* Use ckeys instead of keys in key name helper proc and new_player login.

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2021-10-03 23:44:26 -04:00
SkyratBot
425c5bb100 [MIRROR] cleanup of _HELPERS/game.dm [MDB IGNORE] (#8593)
* cleanup of _HELPERS/game.dm (#61859)

some more cleanup, game.dm this time

* cleanup of _HELPERS/game.dm

* E

* Update oneclickantag.dm

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-10-04 00:28:22 +01:00
SkyratBot
09c2297ad1 [MIRROR] Secret Gateways: Config loaded Away Missions + Anti-observing Z level traits [MDB IGNORE] (#8437)
* Secret Gateways: Config loaded Away Missions + Anti-observing Z level traits

* 0

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-10-04 00:11:28 +01:00
SkyratBot
84d0c39b6b [MIRROR] Add preference to disable deadmin preferences in CentCom [MDB IGNORE] (#8515)
* Add preference to disable deadmin preferences in CentCom (#61751)

* Add preference to disable deadmin preferences in CentCom

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-10-01 03:03:48 +01:00
SkyratBot
2198024a73 [MIRROR] You can now use backslashes as an escape character for text modification. [MDB IGNORE] (#8438)
* You can now use backslashes as an escape character for text modification.

* Update ticker.dm

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-10-01 00:11:14 +01:00
SkyratBot
92230e4252 [MIRROR] renames enable debug verbs to enable mapping verbs [MDB IGNORE] (#8460)
* renames enable debug verbs to enable mapping verbs (#61725)

its such a stupid fucking name, the verbs are all mapping related, they are all in the mapping tab, nobody knows about them because its called debug verbs for some reason instead of mapping verbs

* renames enable debug verbs to enable mapping verbs

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
2021-09-28 20:16:05 +01:00
SkyratBot
992d611b51 [MIRROR] Fixes check AI laws collapsing, making them unreadable [MDB IGNORE] (#8455)
* Fixes check AI laws collapsing, making them unreadable (#61724)

Previously, this would be putting (x2) next to the first 3 laws, and it would look like the 2nd cyborg had no laws.

* Fixes check AI laws collapsing, making them unreadable

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-09-28 16:04:02 +01:00
SkyratBot
ec84d03d09 [MIRROR] FAMILIES 4.0: "fuck it, MRP only this time" (#8420)
* FAMILIES 4.0: "fuck it, MRP only this time"

* F

Co-authored-by: Iamgoofball <iamgoofball@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-09-28 00:08:13 +01:00
SkyratBot
f385a06a98 [MIRROR] [MDB IGNORE] Adds pinging to asay (#8431)
* Adds pinging to asay (#61712)

I spend a lot of my time adminning the servers alt tabbed when not much is going on, tabbing back in every 5-10 minutes to see what's happening or when I hear a bwoink. Sometimes I miss out on other admins asking me questions or trying to get my attention, and I'll only realize way later when I'm scrolling back up through the chat logs, if at all.

This PR adds the ability to @  other admins in asay by their ckey, which underlines the pinged name, plays a bloop sound (the one when a vote starts) and flashes their window icon if they're not tabbed in.

* Adds pinging to asay

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
2021-09-27 17:38:45 -04:00
SkyratBot
85b6d0f6ab [MIRROR] [MDB IGNORE] Lets admins cancel out of sending an announcement (#8430)
* Lets admins cancel out of sending an announcement (#61717)

* Lets admins cancel out of sending an announcement

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
2021-09-27 15:58:43 -04:00
SkyratBot
1f3560a612 [MIRROR] change job slot logging to use job_debug (#8412)
* change job slot logging to use job_debug (#61688)

admin topics for updating available jobs weren't logged at all and that was kinda dumb
john willard logged the console to game which i disagree with so i want to move that also

* change job slot logging to use job_debug

Co-authored-by: windarkata <27014495+remove32@users.noreply.github.com>
2021-09-27 03:27:28 +01:00
SkyratBot
93675c6c6f [MIRROR] Changes a bunch of New()s to Initialize()s (#8408)
* Changes a bunch of New()s to Initialize()s (#61626)

* Changes a bunch of New()s to Initialize()s

Co-authored-by: Jordan Brown <Cyberboss@users.noreply.github.com>
2021-09-26 14:27:27 +01:00
SkyratBot
357150d50e [MIRROR] Change the word filter configuration to allow providing reasons, fix emotes not working in filters, and implement separate OOC/IC/PDA filters (#8406)
* Change the word filter configuration to allow providing reasons, fix emotes not working in filters, and implement separate OOC/IC/PDA filters (#61606)

* Change the word filter configuration to allow providing reasons, fix emotes not working in filters, and implement separate OOC/IC/PDA filters

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-09-26 14:26:51 +01:00
SkyratBot
50530a1ead [MIRROR] Fully Immersing someone now reminds them to roleplay correctly (#8375)
* Fully Immersing someone now reminds them to roleplay correctly (#61657)

Please roleplay correctly!

* Fully Immersing someone now reminds them to roleplay correctly

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2021-09-24 23:09:55 +01:00
SkyratBot
c23bd1cb8c [MIRROR] every case of initialize that should have mapload, does (#8374)
* every case of initialize that should have mapload, does

* E

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-09-24 23:07:53 +01:00
SkyratBot
3bb3f988ee [MIRROR] Proccall handler hotfix (#8359)
* Proccall handler hotfix (#61642)

Fixes proccall handlers runtiming because GLOB.AdminProcCallHandler not being set

* Proccall handler hotfix

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
2021-09-24 18:21:29 +01:00
SkyratBot
e8d78089fc [MIRROR] [TM Candidate] Overhauls orbit and POI code to fix part of issue #61508 where players could observe /mob/living/new_player on the lobby. (#8339)
* [TM Candidate] Overhauls orbit and POI code to fix part of issue #61508 where players could observe /mob/living/new_player on the lobby.

* E

* Missed merge

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-09-24 18:16:17 +01:00
SkyratBot
28d0220ead [MIRROR] Add admin panel for station traits (#8337)
* Add admin panel for station traits

* Update admin_verbs.dm

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-09-23 02:03:44 +01:00
SkyratBot
024cd5e84b [MIRROR] [s] Fixed admins being able to bypass proccall protections via remote sdql and circuits. (#8321)
* [s] Fixed admins being able to bypass proccall protections via remote sdql and circuits. (#61482)

About The Pull Request

Admins can bypass IsAdminAdvancedProcCall checks by using these methods of proccall because proccall protection is kinda dumb. This has been tweaked so that there is proper proccall protection for these methods of proccall.
Code is hacky, but there's not much of a choice if we want procs to be properly protected from admin proccalls from any sort of remote source. If anyone has a better idea on how to implement this, feel free to hit me up.

We need a special global mob that handles proccalls from sources that may not have a usr/client to refer back to. IsAdminAdvancedProcCall() relies usr being defined, so if no usr is defined, then this will always return false. This has been adjusted so that proccalls without a usr/client to refer back to will instead set usr to this special mob, which will then let the IsAdminAdvancedProcCall() return true by comparing whether usr == this special global mob.
Why It's Good For The Game

Admins can no longer bypass IsAdminAdvancedProcCall checks.
Changelog

cl
admin: Admins are no longer able to bypass proccall protections using remote methods of proccalling.
/cl

* [s] Fixed admins being able to bypass proccall protections via remote sdql and circuits.

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
2021-09-23 01:45:33 +01:00
SkyratBot
124ddd7cca [MIRROR] tgui Preferences Menu + total rewrite of the preferences backend (#8153)
* tgui Preferences Menu + total rewrite of the preferences backend

* nah, we dont need to ping those people

* trying to remove the funny stuff

* unmodularizing this

* prefs reset

* this may need to be reverted, who knows

* okay, this part

* perhaps

* EEEEEEEEE

* unsanitary

* E

* Stage 1 + loadout system

* more fixes

* E

* I mean, it launches?

* More fixes and reorganisation

* E

* customisation code is spaget.

* disable ERP prefs

* Update erp_preferences.dm

* Update erp_preferences.dm

* E

* Slowly getting there

* It may be time for help :)

* tri...colors... help

* preferences now pass preferences

* Update dna.dm

* Fuck this man

* missing savefile return, set_species works, removed dumb stuff from updateappearance

* https://github.com/Skyrat-SS13/Skyrat-tg/pull/8199

* https://github.com/Skyrat-SS13/Skyrat-tg/pull/8224

* https://github.com/tgstation/tgstation/pull/61519

* https://github.com/Skyrat-SS13/Skyrat-tg/pull/8278

* e

* le butonAZARAK HELLO

* hhh

* Proper recognition where it's due, MrMelbert!

* EEEE

* examine block

* Better gen hit sounds from whitedream

* final loadout touches, more bug fixes im sure to come

* i said there would be bugfixes

* Update LoadoutManager.js

* Missing preferences in the html menu

* LIVE TESTING PHASE BABY

* Update LoadoutManager.js

* EEE

* LAUNCH TEST FIRE

* Update job.dm

* Update new_player.dm

* 50gb DAY ONE PATCH

* EEE

* Update preferences.dm

* buggle fixes

* Update examine.dm

* >LOOC starts on

Co-authored-by: Mothblocks <35135081+Mothblocks@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: Azarak <azarak10@gmail.com>
2021-09-23 00:40:37 +01:00
SkyratBot
39ecb0a174 [MIRROR] Radically improves explosion logging. (#8255)
* Radically improves explosion logging.

* Update eldritch_effects.dm

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-09-19 22:25:20 +01:00
SkyratBot
747c211944 [MIRROR] Sparring Sect! (#8237)
* Sparring Sect!

* Update greyscale_configs.dm

* https://github.com/tgstation/tgstation/pull/61527/

* E

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-09-19 22:24:40 +01:00
SkyratBot
95ac28a6b0 [MIRROR] GAGS fix + debug improvements I needed to find it (#8219)
* GAGS fix + debug improvements I needed to find it

* Feex

Co-authored-by: Emmett Gaines <ninjanomnom@protonmail.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2021-09-17 21:02:48 +01:00
SkyratBot
e510e35167 [MIRROR] [READY] Adds memory system, and engraving walls with chisels (#8066)
* [READY] Adds memory system, and engraving walls with chisels

* EEE

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-09-13 23:36:51 +01:00
SkyratBot
717bc1a8c1 [MIRROR] server restarting stuff uses alert instead of tgui alert (#8131)
* server restarting stuff uses alert instead of tgui alert (#61405)

if tgui is broken you should still be able to reboot world

* server restarting stuff uses alert instead of tgui alert

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
2021-09-12 22:55:06 +01:00
SkyratBot
6b2b908b5b [MIRROR] adds infinity to vv classes (#8110)
* adds infinity to vv classes (#61302)

adds infinity as a vv option

* adds infinity to vv classes

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
2021-09-11 12:16:07 +01:00
GoldenAlpharex
b19b521f59 More immersive admin-prison (#8072) 2021-09-09 15:46:43 +01:00
SkyratBot
71e09a14cf [MIRROR] actually fixes the wrapping on ahelps (#8069)
* actually fixes the wrapping on ahelps (#61282)

* actually fixes the wrapping on ahelps

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
2021-09-09 04:17:20 +01:00
GoldenAlpharex
d8f2e1f4f5 Handle /this/ (#8030) 2021-09-07 20:41:15 -04:00
SkyratBot
d7f0767504 [MIRROR] individual logging is now visible even with client logged out (#8044)
* individual logging is now visible even with client logged out (#61269)

individual logging now relies on the global list of player details, instead of checking that client's player details which doesnt work if client is logged off

* individual logging is now visible even with client logged out

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
2021-09-07 19:54:39 +01:00
SkyratBot
4f3f979834 [MIRROR] fixes sdql spell parsing (#8013)
* fixes sdql spell parsing (#61248)

* fixes sdql spell parsing

Co-authored-by: Y0SH1M4S73R <legoboyo@earthlink.net>
2021-09-06 07:54:43 -04:00
SkyratBot
1a96728006 [MIRROR] Reimagines the imaginary friend as a fancy new smite. (#7995)
* Reimagines the imaginary friend as a fancy new smite. (#61218)

Fixed imaginary friends being unable to turn by movement or holding down ctrl. I assume this was broken when abstract_move was implemented.

Makes some tweaks to the Imaginary Friend mob. It no longer cares about any brain traumas and can exist standalone.

Added the ability to take a set of datum prefs as an argument. It will attempt to create an imaginary friend as per those datum prefs.

This imaginary friend can be a cyborg or an AI core.

Takes this improved behaviour and packages it into a brand new smite that allows admins to inflict anyone with a permanent imaginary friend. This is not tied to a brain trauma. You can probably give imaginary friends imaginary friends. You can probably give the AI eye an imaginary friend. I have not tested this. It is probably a bad idea.

You can give simplemobs imaginary friends. Basic mobs. Silicons.

You choose whether the imaginary friend takes on the preferences of the person you choose to be the imaginary friend or is random

* Reimagines the imaginary friend as a fancy new smite.

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2021-09-05 22:52:22 +01:00
SkyratBot
118163cb9a [MIRROR] makes rslve button in admin help panel not wrap around (#7991)
* makes rslve button in admin help panel not wrap around (#61239)

makes admin help panel wider so rslve doesnt wrap around to the bottom line

* makes rslve button in admin help panel not wrap around

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
2021-09-05 17:22:06 +01:00
SkyratBot
2771ae93ed [MIRROR] Added permission verification to the change_admin_rank proc (#7945)
* Added permission verification to the change_admin_rank proc. (#61137)

Checks if usr has R_PERMISSION before going any further in the change_admin_rank proc.

* Added permission verification to the change_admin_rank proc

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
2021-09-03 03:57:23 +01:00
SkyratBot
0d9df1a8fa [MIRROR] Reorder the POPUP button to be behind closure links (#7938)
* Reorder the POPUP button (#61174)

Hurts muscle memory in a way I didn't anticipate. New version puts it behind the REJT button.

* Reorder the POPUP button to be behind closure links

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-09-03 03:56:30 +01:00
SkyratBot
af4872fa64 [MIRROR] Fix adminban limit permission check (#7937)
* Fix adminban limit permission check (#61172)

this is likely what was intended

* Fix adminban limit permission check

Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
2021-09-03 03:56:24 +01:00
SkyratBot
302798dbb7 [MIRROR] [s] Audits object say() uses to make handling text more safe (#7927)
* [s] Audits object say() uses to make handling text more safe (#61147)

Made all say()s deal with encoding, audited all uses of say() to prevent double encoding or like, manually inserting span().
I left some stuff without sanitize that only draws from the code, since it's hell to clean up otherwise. That
and I let admins do whatever the fuck they want

* [s] Audits object say() uses to make handling text more safe

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2021-09-02 15:57:10 -04:00
GoldenAlpharex
31b3a9331e [MIRROR] Replaced the lobby menu (with actual art) (#60953) (#7748)
* Replaced the lobby menu (with actual art) (#60953)

* a

* a

* Update new_player.dm

* Update new_player.dm

* Update new_player.dm

* a

* a

* Update new_player.dm

Co-authored-by: AMonkeyThatCodes <20987591+AMonkeyThatCodes@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-09-01 17:07:48 +01:00