Commit Graph

1889 Commits

Author SHA1 Message Date
SkyratBot
1b4eb35853 [MIRROR] Fixes new ticket ahelp message double sanitizing (#7561)
* Fixes new ticket ahelp message double sanitizing

* Update adminhelp.dm

Co-authored-by: Wayland-Smithy <64715958+Wayland-Smithy@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-08-15 23:45:48 +01:00
Gandalf
c46a2a7ac9 Ports pollution from Horizon - Original PR: https://github.com/hrzntal/horizon/pull/468 (Made by Azarak) (#7453)
* AAAAAAAAAAA

* pollution scrubbbies

* fires cause smoke, right? Also NSS journey has scrubbies

* washing things removes the smell!

* what the fuck were you doing last night

* Update temporary_pollution_emission_component.dm

* space turfs shouldn't have pollution

* Fix air now fixes smoke

* Update pollution.dm

* Update pollution.dm

* Update bonfire.dm
2021-08-15 23:41:20 +01:00
jjpark-kb
3b278f201c species id defines (#7466) 2021-08-08 22:05:10 +01:00
Useroth
ba64528c4c [DNM] Revert "[MIRROR] Refactors dbcore and limits the maximum amount of concurrent async queries to a variable amount" (#6478)
* Revert "[MIRROR] Refactors dbcore and limits the maximum amount of concurrent async queries to a variable amount (#6436)"

This reverts commit e2519525f9.

* Update time_track.dm

Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-08-06 23:56:35 +01:00
SkyratBot
91070a797c [MIRROR] Job refactor 2: less hardcoded lists (#7410)
* Job refactor 2: less hardcoded lists

* CRITICAL DEP 1

* CRITCAL DEP 2

* Update nanotrasen_admiral.dm

* Update nanotrasen_admiral.dm

* Update nanotrasen_admiral.dm

Co-authored-by: Rohesie <rohesie@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-08-06 01:42:53 +01:00
SkyratBot
c8cae9692c [MIRROR] Fix polymorph behavior for pAIs and mimics (#7406)
* Fix polymorph behavior for pAIs and mimics (#60502)

This fixes #58258. Basically anytime a pAI holoform gets shot with a staff of changing or polymorph item it would change their mob type. This allowed ghost roles infinite respawns since the pAI card is not destroyed when it gets polymorphed. An unlimited army can be created with no downsides since you can keep bringing people back to life with the pAI requests.

I also went and fixed another strange behavior with polymorph, where if you used a staff of animate on an object, you could turn around and then polymorph the object into a mob. The animate magic is supposed to wear off the object after a certain while so I made the mimic immune to polymorph effects.

* Fix polymorph behavior for pAIs and mimics

Co-authored-by: Tim <timothymtorres@gmail.com>
2021-08-05 22:50:28 +01:00
SkyratBot
3a6687e5cc [MIRROR] adds list getter and text2num to sdql wrappers (#7351)
* adds list getter and text2num to sdql (#60654)

* adds list getter and text2num to sdql wrappers

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
2021-08-03 20:06:37 +01:00
Gandalf
0645c3f749 Update mapping.dm 2021-07-28 22:13:15 +01:00
SkyratBot
eb890add4c [MIRROR] no more warning on compile :D (#7177)
* no more warning on compile :D

* Update mapping.dm

* Update mapping.dm

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-07-28 22:09:54 +01:00
SkyratBot
7371a37004 [MIRROR] Splits 'random verbs' into several other verb files (#7127)
* Splits 'random verbs' into several other verb files

* a

* f

Co-authored-by: dragomagol <66640614+dragomagol@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-07-28 21:51:38 +01:00
SkyratBot
227b722820 [MIRROR] Job refactor: strings to references and typepaths [This could seriously break things :)] (#7006)
* Job refactor: strings to references and typepaths

* 0

* holy fuck

* Update preferences.dm

* Update preferences.dm

* Update preferences.dm

* Update preferences.dm

Co-authored-by: Rohesie <rohesie@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-07-28 21:12:42 +01:00
SkyratBot
a14347bb06 [MIRROR] Dissecting Biddle Traitors: Toned down traitor flavor + antag info tgui (#7084)
* Dissecting Biddle Traitors: Toned down traitor flavor + antag info tgui

* Mirror!

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: Funce <funce.973@gmail.com>
2021-07-28 20:42:33 +01:00
SkyratBot
d379f5425e [MIRROR] removes some uses of var in world (#7150)
* removes some uses of var in world (#60407)

Co-authored-by: Watermelon914 <37270891+Watermelon914@ users.noreply.github.com>

* removes some uses of var in world

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
Co-authored-by: Watermelon914 <37270891+Watermelon914@ users.noreply.github.com>
2021-07-28 19:00:36 +01:00
OrionTheFox
d33967c931 [WIP][Test merge me please] Rockplanet Revamp! (#6256)
* Merge the Ruins module into the Mapping module

I was always confused which to use soooo now theyre just the same

* Re-mapping + Files

THIS ISNT WORKING HELPHELPHELP

* wow thats a bad typo

fun fact, missing a single / can keep all ruins from spawning :)

* Ruins atmos + adds

There's probably a better way to do this. I'll probably have to revert the atmos things with this. Oh well.

* fixefixe

hngh

* fix that little pre-spawned ruin

hnngh

* fixes that pre-spawned ruin

hnngh OCD

* Delete quicksand.dmi

whoops

* Apply suggestions from code review

Co-authored-by: Tom <tomforde4@gmail.com>

* makes var-edited turfs into subtypes

i fucking hate it

* adds whiteship LZ (hopefully they all fit?)

* RENAMES ANY CODE MENTION TO "ROCKPLANET" FROM "ASTEROID"

Fixes having to differentiate between Asteroid(Mining planet) and Asteroid(Space object)

* rocklblnbglb

mapp p

* renames asteroid.txt to rockplanet.txt in config

* "sorts" files in the mapping module

while I'm here im gonna tidy it up ok

* fixes map conflicts

* missed a bit

* few gulag tweaks

hehe

* fix random space tile/area fuckery/aaaaaaa

* move mobs stuff about/rename/prep for The Lost

* pretty stuff.,.,.,

MY METAL POLES ARE HERE POG

* lz lz lz

* shower fix ree

Co-authored-by: Tom <tomforde4@gmail.com>
2021-07-21 15:46:16 +01:00
SkyratBot
c1163dff19 [MIRROR] EVEN MORE HARDDEL FIXES (#7017)
* EVEN MORE HARDDEL FIXES (#60228)

Fixes a ton of harddels, sourced from #59996
I think this brings us down to like, ~100 per round from ~200, with only like 20 of those being proper hell failures. I've seen harddel profiles below 1 second of total cost. Feeling good.

See you on the other side

Makes the cryopod control computer into a weakref, never trust bee code
Converts brig door timer internal lists to weakrefs
Fixes a harddel caused by qdeling a motion sensitive camera after it had left its source area, jesus christ why didn't we do this already holy shit
Converts the radio implant ref held by the antenna mutation to weakrefs because it isn't reliably cleaned up, makes the radio implant actually qdel its fucking radio
Removes the target var from the throwing datum, it does literally nothing and just exists to cause harddels, mostly for the singularity
 Fixes a cable harddel sourced from things that try to enter blueprints after smoothing, but before roundstart. IE, shuttles. Removes shuttles from the blueprints
Fixes emmisive blockers being added post qdel
Removes some manual ghosting from cryopods, I initially did this for harddel reasons, but I figured out a better fix for that. I'm now doing it because it's got this really strange logic for like "re-entering the game" that doesn't actually link to what the ghostize proc does. We should remove this at some point
Fixes robot hud objects harddeling due to hanging refs
Fixes buildmode related hanging refs, I'm coming for you admin team
Fixes a few instances of trying to add the forensics component post qdel, hhhhhhhhhhh
Fixes some split personality harddels/weirdness
Replaces a use of disconnect_duct with an init qdel hint, I suspect there's more issues with duct harddels, I've seen some odd logs about ahhh the area_contents list, but we can worry about that later
Makes teleporter targets into weakrefs, properly types them as /atom
Makes frequency devices into weakrefs
Makes cameras remove themselves from camera nets on Destroy
Makes tgui ui datums implement destroy, this means if I ever see one hang a ref to user or whatever, I know there's an error with calling close() properly. I've seen this harddel once, but not after this change so I assume there was some error with close(). IDK maybe this is a papering over? Would have to ask @ stylemistake
I've seen logs of beartraps being in world post del, putting a return there just in case. The same is true of nerf darts, but I haven't really looked into that yet
Makes a shoe's ref to untying alerts a weakref, yes this is needed.
Moves clearing client_in_contents to the Login of the new mob. This prevents doing things like ghosting someone before a mob qdel causing harddels
Fixes a harddel set sourced from adding a status effect to a qdeleted thing. Is this an error? I'm honestly not sure.
Converts bsa code to weakrefs
Converts the partner var of heat exchangers to weakrefs
Converts camera assemblies to weakrefs
Fixes some dumb behavior with ammo casings and assuming you'll be on a turf post Destroy parent call
Fixes? merger related harddels, you were never cleared from your own members list, so origin objects would end up making a new list, creating harddels. Potential input from @ ninjanomnom about the logic
Chasms store a static list of "falling atoms", which only exists for chasms that go somewhere else. This list wasn't being cleared of qdeleted objects, which is what happens when you fall in most chasms. Fixes this, and converts the list to weakrefs.
Fixes some runtimes in both sheet code, and the weather listener element. This is here because runtime spam made testing more of a pain, didn't think it needed its own pr
Fixes colorful reagent harddels sourced from reagents that were qdel'd before roundstart. I'm only like 50% sure this actually got it, but the issue may have been solved by #60174, so eh
Turns the nuke op antag datum's ref to the war button into a weakref
Fixes some holopad code that was not nulling refs all the time
Converts camera bugs to weakrefs, this was the result of the bug being "reworked" like 6 years back without taking the existing ref clearing into account. Whole item needs a redo, but this'll do for now.
Ensures that the both pulling and pullee refs are cleared on Destroy
The crew monitor held all users in a non clearing list, makes that list a weakref because I hate everything

Oh and I removed all sources of gas_mixture qdeletion, I'm kinda unsure on this since it's not technically supported, but any harddels from it might? indicate something going wrong with like, gas passing logic. I'd like @ MrStonedOne's thoughts, since I trust him to call me an idiot if I'm wrong.

<!-- Please add a short description of why you think these changes would benefit the game. If you can't justify it in words, it might not be worth adding. -->

## Why it's not good for the game

I crashed sybil like 10 times to get this data, I'm gonna put it to good use. Don't think you're safe sybilites, I'm coming for you.

* EVEN MORE HARDDEL FIXES

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2021-07-20 12:59:41 +02:00
SkyratBot
2ddce2abb7 [MIRROR] Adds a safety check to the "Release Obj" admin proc. (#6892)
* Adds a safety check to the "Release Obj" admin proc. (#60163)

* Adds a safety check to the "Release Obj" admin proc.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2021-07-13 10:38:44 +01:00
SkyratBot
0842c757f9 [MIRROR] makes a bunch of lists that use typecacheof() static. doesnt find out why its overtiming at all but what the hell it helps (#6885)
* makes a bunch of lists that use typecacheof() static. doesnt find out why its overtiming at all but what the hell it helps (#60147)

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

* makes a bunch of lists that use typecacheof() static. doesnt find out why its overtiming at all but what the hell it helps

Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
2021-07-12 22:50:42 +01:00
Y0SH1M4S73R
93d03dc6bb [Alternative to #6407] Makes mutant bodyparts and mutcolors into editable genetic traits (#6750)
* Makes mutant bodyparts and mutcolors into editable genetic traits (plus a whole shitload of otherwise out of scope code improvements because I just HAD to touch old code)

* Mirror

* genetically-editable mutant bodyparts and colors - skyrat edition

Co-authored-by: Funce <funce.973@gmail.com>
2021-07-08 16:04:19 +01:00
SkyratBot
769ffadce4 [MIRROR] Hookup Change Command Name to Create Command Report (#6674)
* Hookup Change Command Name to Create Command Report (#59941)

Adds and defaults the contents of command_name() to the list of names in the Create Command Report tgui presets if changed from Central Command.

* Hookup Change Command Name to Create Command Report

Co-authored-by: Wayland-Smithy <64715958+Wayland-Smithy@users.noreply.github.com>
2021-07-03 22:23:22 +01:00
SkyratBot
cab78dcf78 [MIRROR] Changes how weather sends sound to players, reduces sound loop overtime (#6627)
* Changes how weather sends sound to players, reduces sound loop overtime (#59284)

* Converts looping sounds from a list of play locations to just the one

* Updates all uses of looping sounds to match the new arg

* Adds an area based sound manager that hooks into looping sounds to drive the actual audio. I'll be using this to redo how weather effects handle sound

* Some structrual stuff to make everything else smoother
Timers now properly return the time left for client based timers
Weather sends global signals when it starts/stops
Looping sounds now use their timerid var for all their sound related timers, not just the main loop

* This is the painful part
Adds an area sound manager component, it handles the logic of moving into new areas potentially creating new
sound loops. We do some extra work to prevent stacking sound loops.
Adds an ash storm listener element that adds a tailored area sound manager to clients on the lavaland z level.
It's removed on logout.
Adds the ash_storm_sounds assoc list, a reference to this is passed into area sound managers, and it's modified
in a manner that doesn't break the reference in ash_storm (This is what I hate)

* Hooks ash storm listener into cliented mobs and possessed objects

* Documents the odd ref stuff, adds an ignore start var to looping sounds, fixes some errors and lint issues

* Applies kyler's review

banging

Co-authored-by: Kylerace <kylerlumpkin1@ gmail.com>

* Cleans up some var names, reduces the amount of looping we do in some areas

* Makes the code compile, redoes the movement listener to be more general

* fuck

* We don't need to detach on del if we're just removing signals on detach

* Should? work

* if(direct) memes

Co-authored-by: Kylerace <kylerlumpkin1@ gmail.com>

* Changes how weather sends sound to players, reduces sound loop overtime

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Kylerace <kylerlumpkin1@ gmail.com>
2021-07-01 02:18:04 +01:00
SkyratBot
8c47ec59e0 [MIRROR] Add 'other tickets by user' to adminhelp ticket panel (#6607)
* Add 'other tickets by user' to adminhelp ticket panel

* Update adminhelp.dm

Co-authored-by: Bobbahbrown <bobbahbrown@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-06-30 20:20:15 +01:00
SkyratBot
78afb2bccf Adds configs to disable laggy hard deletes (#6559)
Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
2021-06-28 14:19:27 +01:00
SkyratBot
9156fe9252 [MIRROR] Admins hiding music title will hide it from the music player too (#6434)
* Admins hiding music title will hide it from the music player too

* Update playsound.dm

Co-authored-by: Jonathan Rubenstein <jrubcop@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-06-22 00:55:15 +01:00
SkyratBot
e2519525f9 [MIRROR] Refactors dbcore and limits the maximum amount of concurrent async queries to a variable amount (#6436)
* 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

* Refactors dbcore and limits the maximum amount of concurrent async queries to a variable amount

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
2021-06-22 00:49:20 +01:00
SkyratBot
7d1d0e1fad [MIRROR] Refactors most spans into span procs (#6315)
* Refactors most spans into span procs

* AA

* a

* AAAAAAAAAAAAAAAAAAAAAA

* Update species.dm

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-06-16 00:24:49 +01:00
SkyratBot
47179b4211 [MIRROR] Detaches Anonymous themes and Triple AI from SSTicker (+ more anonymous themes and content) (#6153)
* Detaches Anonymous themes and Triple AI from SSTicker (+ more anonymous themes and content) (#59373)

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

* Detaches Anonymous themes and Triple AI from SSTicker (+ more anonymous themes and content)

* Mirror!

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
Co-authored-by: Funce <funce.973@gmail.com>
2021-06-06 11:47:38 +12:00
SkyratBot
d7bc663e5d [MIRROR] Make Toggle-CDN use alert() instead of tgui_alert() (#6103)
* Make Toggle-CDN use alert() instead of tgui_alert() (#59478)

Co-authored-by: orbit <orbit@ book>

* Make Toggle-CDN use alert() instead of tgui_alert()

Co-authored-by: Cyprex <35031555+Cyprex@users.noreply.github.com>
Co-authored-by: orbit <orbit@ book>
2021-06-04 09:17:13 +12:00
SkyratBot
04abb98894 [MIRROR] Remove a bunch of old gamemode code (#6025)
* Remove a bunch of old gamemode code

* Mirror!

* Woopsie, modular game modes!

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: Funce <funce.973@gmail.com>
2021-06-01 12:36:59 +12:00
SkyratBot
3ba2cd9e73 [MIRROR] Fixes check plumbing admin verb (#5969)
* Fixes check plumbing admin verb (#59263)

* - fixes check plumbing admin verb

* oof

Co-authored-by: norill <4>

* Fixes check plumbing admin verb

Co-authored-by: norill <norill@wp.pl>
2021-05-26 15:50:01 +01:00
Matthew J
817c5850fa [SEMI-MODULAR] LOOC mutes now exist. (#5794)
* haha no bypassing your OOC mute bucko

* this should do what I intend it to do

* haha, maybe actually let them use it I think

* Update code/modules/admin/admin.dm

Oops

Co-authored-by: Gandalf <jzo123@hotmail.com>

Co-authored-by: Matthew <matthew@tfaluc.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-05-23 04:31:09 +01:00
Gandalf
15cbd4c2cf Updates our alerts to TGUI_ALERT (#5832)
* a

* Update observer.dm
2021-05-21 00:15:22 +01:00
SkyratBot
ea9aed5554 [MIRROR] Replace alert usage with tgui_alert (#5815)
* Replace alert usage with tgui_alert

* a

* Update observer.dm

Co-authored-by: Celotajs <81999976+celotajstg@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-05-21 00:06:09 +01:00
Gandalf
89d747cd4b a 2021-05-19 19:18:47 +01:00
Gandalf
a0dbb90019 Dead chat is now togglable by admins. (#5790)
* a

* Update deadsay.dm

* Update admin.dm

* Update admin.dm

* Update admin_verbs.dm

* offer control

* Update offercontrol.dm

* Update offercontrol.dm
2021-05-19 17:50:55 +02:00
SkyratBot
18c806dc62 [MIRROR] refactors rpg loot is now a global datum singleton and so is embedopocalypse and stickapocalypse (#5686)
* refactors rpg loot is now a global datum singleton and so is embedopocalypse and stickapocalypse  (#59093)

* ogey

* lint

* refactors rpg loot is now a global datum singleton and so is embedopocalypse and stickapocalypse

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2021-05-14 22:13:12 +01:00
SkyratBot
9096f96997 [MIRROR] Split malf AI antag datum away from traitor, enable malf AI roundstart ruleset. (#5635)
* Split malf AI antag datum away from traitor, enable malf AI roundstart ruleset.

* AAAAA

* AAAAA

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-05-13 15:13:09 +01:00
BluBerry016
952210e364 [Semi-Modular] *Inflates your rockplanet making it full of content and fun* (#5587)
* DEFINE NEW RUINS TYPE BABY

* Update Rockplanet.dmm

* Update Rockplanet.dmm

* Example ruin

* Update maps.dm

* Update rockplanet.dm
2021-05-13 14:49:16 +01:00
SkyratBot
01a2d62e9e [MIRROR] Kills BOTH /poison paths by turning poisonous into an element. (+fantasty prefix, sanity on attackingtarget signal, and more) (#5586)
* Kills BOTH /poison paths by turning poisonous into an element. (+fantasty prefix, sanity on attackingtarget signal, and more) (#58882)

* Kills BOTH /poison paths by turning poisonous into an element. (+fantasty prefix, sanity on attackingtarget signal, and more)

* AAAAAAAA

* Update spellbook.dm

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-05-10 15:12:34 +01:00
SkyratBot
5880be0168 [MIRROR] (code bounty) refactors all uses of Crossed() and Uncrossed() into signals sent to loc, tracked by connect_loc (#5524)
* (code bounty) refactors all uses of Crossed() and Uncrossed() into signals sent to loc, tracked by connect_loc

* WHEW THAT WAS EASY

* Update ammo.dm

Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-05-07 22:39:27 +01:00
SkyratBot
f8f2c8222f [MIRROR] moves sdql spell to vv dropdown (#5522)
* moves sdql spell to vv dropdown (#58911)

* moves sdql spell to vv dropdown

Co-authored-by: Fikou <piotrbryla@onet.pl>
2021-05-07 07:42:51 +01:00
SkyratBot
b818ea9a32 [MIRROR] Fixes bitwise flag negation errors (#5466)
* Fixes bitwise flag negation errors. (#58870)

These have been in the codebase for many years. Love, ZeWaka

* Fixes bitwise flag negation errors

Co-authored-by: ZeWaka <zewakagamer@gmail.com>
2021-05-05 09:59:02 +01:00
SkyratBot
8670c29480 [MIRROR] Move give SDQL spell to Debug tab (#5436)
* Move give SDQL spell to Debug.Admin (#58825)

Co-authored-by: celotajstg <celotajstg@ users.noreply.github.com>

* Move give SDQL spell to Debug tab

Co-authored-by: Celotajs <81999976+celotajstg@users.noreply.github.com>
Co-authored-by: celotajstg <celotajstg@ users.noreply.github.com>
2021-05-03 22:29:29 +01:00
SkyratBot
b7cefa3986 [MIRROR] Adds SDQL Spells & a Menu to Give Them to Players - Take 2: Commit Cleanup (#5274)
* SDQL Spells & Menu to Give Them to Players (#58118)

SDQL spells are spells that execute an SDQL query. This requires a config flag to be enabled in game_options.txt. When enabled, admins with debug verbs have the ability to open a menu allowing them to define all the relevant vars for the spell, including icons and spell requirements.

It also fixes a bug with superuser SDQL queries always runtime if they try to call a proc.

Co-authored-by: Emmett Gaines <ninjanomnom@ gmail.com>
Co-authored-by: Aleksej Komarov <stylemistake@ gmail.com>

* Adds SDQL Spells & a Menu to Give Them to Players - Take 2: Commit Cleanup

Co-authored-by: Y0SH1M4S73R <legoboyo@earthlink.net>
Co-authored-by: Emmett Gaines <ninjanomnom@ gmail.com>
Co-authored-by: Aleksej Komarov <stylemistake@ gmail.com>
2021-04-29 00:30:19 +01:00
SkyratBot
5b8a38af3a [MIRROR] Makes the explosive compressor and blastcannon actually use the TTVs they're given + the explosion changes to support that. (#5244)
* Makes the explosive compressor and blastcannon actually use the TTVs they're given + the explosion changes to support that. (#58015)

* Adds explosion SFX to the blastcannon and explosive compressor

- Extracts the explosion SFX and screenshake proc from the SSexplosions explosion handling proc and lets the explosive compressor and blastcannon use it.

* Miscellaneous changes

- Adds defines for the internal explosion arglist keys
- Reverses the values of the explosion severity defines
- Changes almost everything that uses `/proc/explosion` to use named arguments

- Removes a whole bunch of argname = 0 in explosion calls.

* Removes named callback arguments.

* Changes the explosion signals to just use the arguments list

Adds a simple framework to let objects respond to explosions occurring inside of them.

Changes a whole bunch of explosions to use the object being exploded as the origin of the explosion rather than the turf the object is on.

Makes the explosive compressor and blastcannon actually use the TTVs they are given.

Adds support for things responding to internal explosions.
Less snowflake code for the explosive compressor and blastcannon calculating bomb range.*
Less confusing explosion severity defines.
Less opaque explosion arguments

*does not guarantee that the solution to letting them actually use the TTV is any less snowflake.

* Makes the explosive compressor and blastcannon actually use the TTVs they're given + the explosion changes to support that.

Co-authored-by: TemporalOroboros <TemporalOroboros@gmail.com>
2021-04-27 01:53:17 +01:00
SkyratBot
c9cee159a5 [MIRROR] Add Show Hiddenprints action to VV on atoms (#5212)
* Add Show Hiddenprints action to VV on atoms (#58657)

This displays the hiddenprint log from /datum/component/forensics in a simple to view form, sorted by last touch. I didn't make it fancy, it's very bare bones.

I could have refactored hiddenprints to use lists in lists, which would make getting data out a lot easier, but I worry about the additional memory overhead on every atom that gets touched, so I left it as strings in lists. I did reformat it a little bit, however, to make it simpler to sort, and it looks a little nicer. Namely moving the timestamp in front of the name.

It can help a lot in admin investigations on whodunnit. Right now they have to look at the forensics component, and that's if they even know about it. This way it is discoverable by using the VV tool.

* Add Show Hiddenprints action to VV on atoms

Co-authored-by: Jonathan Rubenstein <jrubcop@gmail.com>
2021-04-26 11:55:11 +01:00
SkyratBot
2ab15aecb5 [MIRROR] Remove all gamemodes except Dynamic (#5173)
* Remove all gamemodes except Dynamic

* qaaaaaaaa

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-04-25 21:20:30 +01:00
Gandalf
abfb646aa2 Removes assaultops (#4952)
* aAAA

* aaa
2021-04-18 20:47:10 +02:00
SkyratBot
a08d398675 [MIRROR] Renews Maintenance Drones (#4868)
* Renews Maintenance Drones

* And these have conflicts too, but you can't see them

* Skyrat Map Updates (Adding Supermatter Room Area)

Co-authored-by: Jonathan Rubenstein <jrubcop@gmail.com>
Co-authored-by: Funce <funce.973@gmail.com>
2021-04-16 13:04:21 +02:00
SkyratBot
8f3e563837 [MIRROR] Centralized dummy lookalike generation (#4933)
* Centralized dummy lookalike generation (#58366)

* Centralized dummy lookalike generation

Co-authored-by: Trigg <36010999+TriggeredBoi@users.noreply.github.com>
2021-04-16 00:55:00 +01:00
SkyratBot
e6f210e0f7 [MIRROR] TGUI: Command Reports (#4830)
* TGUI: Command Reports (#58179)

Co-authored-by: Aleksej Komarov <stylemistake@ gmail.com>

* TGUI: Command Reports

* a

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: Aleksej Komarov <stylemistake@ gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-04-12 03:11:11 +01:00