Commit Graph

722 Commits

Author SHA1 Message Date
Gandalf
1bb364a193 PREFERENCES RESET [DANGER] (#7414)
* aaa

* aaaa

* Update preferences_setup.dm
2021-08-06 02:02:27 +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
f8f51cbd86 [MIRROR] Kills _globalvars/misc.dm (#7152)
* Kills _globalvars/misc.dm

* aaa

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-07-28 22:03:21 +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
9cf38b193c [MIRROR] Fixes security not getting assigned to departments (#7085)
* Fixes security not getting assigned to departments

* Update ticker.dm

* Update _job.dm

* a

* Update _job.dm

* Update _job.dm

* Update security_officer.dm

Co-authored-by: Rohesie <rohesie@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-07-28 21:37:35 +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
0cdf6c4816 [MIRROR] fixes ghosts not being included in get_hearers_in_view(), again! (#6996)
* fixes ghosts not being included in get_hearers_in_view(), AGAIN! (#60297)

thanks to shaps for reporting this
turns out mob/dead/Initialize() doesnt call parent, and mobs are made hearing sensitive in mob/Initialize(), so ghosts yet again werent included in get_hearers_in_view(). now they are!

now actually tested this time by attacking pun pun then ghosting, on master the red attack text doesnt show for ghosts in view but now it does

with the first pr the issue was because when target was a mob, view() only includes what the mob can see, so i made it always use a turf like it was previously. but the refactor done in the same pr meant that ghosts didnt become hearing sensitive so whoops

* fixes ghosts not being included in get_hearers_in_view(), again!

Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
Co-authored-by: Useroth <37159550+Useroth@users.noreply.github.com>
2021-07-19 16:44:53 +02:00
SkyratBot
e513d7c051 [MIRROR] Fixes admin observer special radio keys double sanitizing input (#6871)
* Fixes admin observer special radio keys double sanitizing input (#60039)

Moves /mob/dead/observer/say() message sanitize code to after the special admin radio keys logic that will also sanitize.
Changes an if else chain to a switch statement,

* Fixes admin observer special radio keys double sanitizing input

Co-authored-by: Wayland-Smithy <64715958+Wayland-Smithy@users.noreply.github.com>
2021-07-12 21:48:22 +01:00
SkyratBot
c0b1531130 [MIRROR] fixes a connect_loc runtime related to abstract_move (#6838)
* fixes a connect_loc runtime related to abstract_move (#59969)

* fixes a connect_loc runtime related to abstract_move

Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
2021-07-12 21:44:14 +01:00
SkyratBot
c9eefd511b [MIRROR] Fix Tram ghost magnet and other cases of observer forceMove (#6804)
* Fix Tram ghost magnet and other cases of observer forceMove (#60026)

* Fix Tram ghost magnet and other cases of observer forceMove

Co-authored-by: Wayland-Smithy <64715958+Wayland-Smithy@users.noreply.github.com>
2021-07-10 14:16:55 +01:00
SkyratBot
df651808d4 [MIRROR] Drastic Lag Mitigation Subsystem: SSlag_switch (#6786)
* Drastic Lag Mitigation Subsystem: SSlag_switch (#59717)

Requested by oranges and inspired by the upcoming event. A new subsyetem, non-processing (for now), aimed at providing some toggle switches that can be flipped as a last ditch effort to save some CPU cycles by sacrificing some non-critical mechanics. Below you can see each individual toggle.

Screenshot of the admin panel:
image
Surely there are more opportunities for toggles I missed, but adding new ones is not very difficult at all.
Why It's Good For The Game

Better performance during extreme pop, I hope.
Changelog

cl
code: Introduces the Lag Switch subsystem for when a smoother experience is worth trading a few bells and whistles for. Performance enhancement measures can be togged by admins with the Show Lag Switches admin verb or enabled automatically at a pop amount set via config.
config: Added a new config var: number/auto_lag_switch_pop

* Drastic Lag Mitigation Subsystem: SSlag_switch

* mirrored the changes to the modular file

Co-authored-by: Wayland-Smithy <64715958+Wayland-Smithy@users.noreply.github.com>
Co-authored-by: Useroth <37159550+Useroth@users.noreply.github.com>
2021-07-08 03:24:16 +02:00
Gandalf
778a589555 Removes a lot of redundant non-modular changes and maybe fixes cleanbots (#6615)
* oof

* Update _ai_controller.dm

* no need for this anymore
2021-06-30 21:50:50 +02:00
SkyratBot
cee0bbf820 [MIRROR] Adds fly wings, fixes robo & skeleton wings (#6513)
* Adds fly wings, fixes robo & skeleton wings (#59755)

Adds fly wings, fixes robo & skeleton wings

* Adds fly wings, fixes robo & skeleton wings

Co-authored-by: Sheits <81964183+Sheits@users.noreply.github.com>
2021-06-25 23:26:08 +01:00
SkyratBot
cdb25a4123 [MIRROR] Admin QOL: Adds a speech prefix for ghosted admins to talk through their linked body (#6470)
* Admin QOL: Adds a speech prefix for ghosted admins to talk through their linked body (#59762)

One of the more annoying parts of sending in a centcom official or ERT as an admin is the fact that sometimes you need to keep in touch with them- especially when you're supporting a response team with multiple people, and sending them headset messages one-by-one or using command reports won't cut it. In these cases, I spawn myself in at centcom (or use the body I made for briefing) and talk on the Centcom radio freq, but this sucks because while you're in the body, you can't watch what they're doing because you're not a ghost!

So this PR adds a special speech prefix for admin ghosts, :j, which tries to relay your chat message to your linked body if one exists, instead of sending it to deadchat.

* Admin QOL: Adds a speech prefix for ghosted admins to talk through their linked body

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
2021-06-23 16:58:12 +01:00
Gandalf
d0bfc4de04 The Nanotrasen Representative (MY WAY) (#6368)
* AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

* Ads

* dddd

* a

* a

* a

* Update uniform_digi.dmi

* Update uniform_digi.dmi

* Update uniform_digi.dmi

* Some random new potted plants!

* a

* Update flora.dm

* a

* fixes

* a

* a

* e
2021-06-20 02:23:29 +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
ab709c8dba [MIRROR] Refactors quirk code. (#6303)
* Refactors quirk code.

* Update neutral.dm

* 0

* Update neutral.dm

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-06-15 23:48:10 +01:00
SkyratBot
f8042b6306 [MIRROR] Adds Neon Carpet (#6302)
* Adds Neon Carpet (#59140)

Adds a couple varieties of neon carpet.
Makes decals care about their plane in addition to their layer.

* 0

* A

* a

Co-authored-by: TemporalOroboros <TemporalOroboros@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-06-15 18:12:49 +01:00
SkyratBot
440a77c9d7 [MIRROR] Adds skeleton and robot wings from Yog (#6294)
* Adds skeleton and robot wings from Yog (#59347)

* Adds skeleton and robot wings from Yog

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2021-06-14 18:40:21 +12:00
SkyratBot
6f3b151bb8 [MIRROR] Fixes a bunch of harddels that are sourced from player action (#6252)
* Fixes a bunch of harddels that are sourced from player action

* Mirror!

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Funce <funce.973@gmail.com>
2021-06-11 03:13:33 +01:00
SkyratBot
c64153cd08 [MIRROR] Adds some additional hair gradient styles (#6251)
* added three new hair gradients, a pair of shorter fades and a spiky wave (#59545)

imageadd: Three new hair gradients, a pair of shorter fades and a spiky wave.

* Adds some additional hair gradient styles

Co-authored-by: Thunder12345 <Thunder12345@users.noreply.github.com>
2021-06-11 12:45:30 +12:00
SkyratBot
6f6dd4b274 Fix zero playtime bypassing soft panic bunker (#59530) (#6175)
Co-authored-by: Bobbahbrown <bobbahbrown@gmail.com>
2021-06-08 14:04:31 +12:00
SkyratBot
52631dd7db [MIRROR] Ported hair gradients from TGMC. (#6156)
* Ported hair gradients from TGMC. (#59435)

* Ported hair gradients from TGMC.

* Removed preferences. Added hair spray. Added the colorist quirk.

* Adds 2 new longer fade variants

* Added to vendor. Added to goodies.

* Added the sprite for the spray.

* Grammar!

* Update code/modules/mob/living/carbon/human/species.dm

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

* Doccing and newline.

* Reviewies concerns adressed.

* Update code/modules/mob/living/carbon/human/human_defines.dm

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

Co-authored-by: NamelessFairy <40036527+NamelessFairy@ users.noreply.github.com>
Co-authored-by: Emmett Gaines <ninjanomnom@ gmail.com>

* Ported hair gradients from TGMC.

* Mirror!

Co-authored-by: Cimika/Lessie/KathyRyals <65850818+KathyRyals@users.noreply.github.com>
Co-authored-by: NamelessFairy <40036527+NamelessFairy@ users.noreply.github.com>
Co-authored-by: Emmett Gaines <ninjanomnom@ gmail.com>
Co-authored-by: Funce <funce.973@gmail.com>
2021-06-06 13:03:03 +12: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
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
ef2ebaf291 [MIRROR] Prevent players who get booted back to the lobby on shiftstart from getting broken antag status on latejoin (#6055)
* Prevent players who get booted back to the lobby on shiftstart from getting broken antag status on latejoin (#59377)

* Prevent players who get booted back to the lobby on shiftstart from getting broken antag status on latejoin

* Mirrored

* oop

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
Co-authored-by: Funce <funce.973@gmail.com>
2021-06-01 11:58:55 +12: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
SkyratBot
193499d00f [MIRROR] fixes issue with ghosts being able to affect the world, oversight from the crossed refactor (#5691)
* fixes issue with ghosts being able to affect the world, oversight from the crossed refactor (#59010)

* as anything in _SendSignal

* Revert "as anything in _SendSignal"

This reverts commit 350c4b33d975d25003afb2cab2458a3026676559.

* ghosts can no longer affect the world (hopefully)

* fixes issue with ghosts being able to affect the world, oversight from the crossed refactor

Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
2021-05-14 22:13:47 +01:00
SkyratBot
59f0b11a42 [MIRROR] Tidy HTML folder (#5597)
* Tidy HTML folder (#58761)

This PR aims to make the HTML folder a little more organized, as well as remove a few unused files.
Why It's Good For The Game

Doesn't change anything for the player, however makes the files more organized.

* Tidy HTML folder

Co-authored-by: Celotajs <81999976+celotajstg@users.noreply.github.com>
2021-05-10 22:47:02 +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
Gandalf
ef195fa7d5 Update crew_manifest.dm 2021-04-27 19:46:10 +01:00
Gandalf
c437a34fe0 TGUI hardset (#5252)
* FFFF

* AAA

* FUCK WE MISSED THIS PR

* Update interface.dm
2021-04-27 17:13:22 +01:00
SkyratBot
415bd7aa33 [MIRROR] Prevent negative open positions in crew manifest (#4829)
* Prevent negative open positions in crew manifest (#58300)

* Resolve open position issues in crew manifest

* Use the classes helper for multiple classes

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

* Prevent negative open positions in crew manifest

Co-authored-by: celotajstg <81999976+celotajstg@users.noreply.github.com>
Co-authored-by: celotajstg <celotajstg@ users.noreply.github.com>
2021-04-11 19:58:10 +01:00
SkyratBot
88b2d4d207 [MIRROR] Refactor crew manifest in lobby and ghost actions (#4791)
* Refactor crew manifest in lobby, ghost and AI actions (#58275)

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

* Refactor crew manifest in lobby and ghost actions

Co-authored-by: celotajstg <81999976+celotajstg@users.noreply.github.com>
Co-authored-by: celotajstg <celotajstg@ users.noreply.github.com>
2021-04-10 16:55:36 +01:00
Gandalf
5e3f7d164d Update login.dm 2021-04-09 21:59:25 +01:00
Gandalf
0b957f39a9 Lobby UI overhaul (#4738)
* aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

* aaaaa

* Update _basemap.dm

* Update new_player.dm

* Update CaveGenerator.dm

* aaaaaaaaaaaaaaaaaaaaa

* a

* aaa

* aaaa

* aaaa

* Update login.dm

* aaaaaaaaaa

* aaaaaa

* Update lobby.dm
2021-04-09 21:18:40 +01:00
Gandalf
d14f4ea7c9 Revert "Revert "[MIRROR] Layer overhaul (#4503)" (#4509)" (#4536)
This reverts commit b27ede689e.
2021-03-31 02:08:56 +01:00
Useroth
b27ede689e Revert "[MIRROR] Layer overhaul (#4503)" (#4509)
This reverts commit 8ac892d340.
2021-03-30 23:45:08 +01:00
SkyratBot
8ac892d340 [MIRROR] Layer overhaul (#4503)
* Layer overhaul (#57915)

## About The Pull Request
Changes up some layer and plane defines for no particular reason lol

## Why It's Good For The Game
Planes actually override layers, and layers control ordering within planes. A lot of the usage of plane and layer was wholly unnecessary. This refactor helps future maintainability while also being needed staging for _future features._

* Layer overhaul

* aaaaaaaaa

a

Co-authored-by: Rob Bailey <actioninja@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-03-29 16:36:36 +01:00
SkyratBot
017aad988d [MIRROR] Highlander + Summon Guns and Magic now uses signals to equip new crewmembers (#4358)
* Highlander + Summon Guns and Magic now uses signals to equip new crewmembers (#57817)

* Highlander + Summon Guns and Magic now uses signals to equip new crewmembers

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2021-03-24 14:57:28 +00:00
Gandalf2k15
433243faa9 Update new_player.dm 2021-03-18 20:45:53 +00:00
Gandalf
951425133e Player panel improvements [be antag & character name] (#4222)
* a

* a

* a

* Update preferences.dm

* Update statpanel.dm

* Update new_player.dm

* Update new_player.dm

* modular statpanel

* a

* Update statpanel.dm
2021-03-18 20:19:29 +00:00
SkyratBot
5437e34b65 [MIRROR] Non-admin observers can now use emoji that start with d or p at the beginning of a message without admin command warnings. (#4162)
* Observers can now use emojis at the start of messages without the risk of triggering admin commands. (#57433)

Added a client.holder check to the line about radio extensions for admin chat and deadchat commands. It means common observers can finally spam dchat with plushie emoji. Admin observers still have to deadmin before using emojis safely, until someone takes the time to refactor saycode mods so these admin commands only acept the comma prefix (luckily, observer/get_message_mods() doesn't trim the message).

* Non-admin observers can now use emoji that start with d or p at the beginning of a message without admin command warnings.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2021-03-15 00:21:19 +00:00
SkyratBot
e18a62dfee [MIRROR] Partial revert of datum poll creation, fixes duplicated irv votes (#3903)
* Partial revert of datum poll creation, fixes duplicated irv votes (#57462)

* Partial revert of datum poll creation + stops duplicated votes from being trusted from clients

Reverts the part of jordies poll refactor that allowed a duplicated vote in the db to make it back on the client's vote screen.

Also fixes the code that would allowed duplicated votes to be passed from the client. (not from jordie's poll refactor pr.)

The race condition still exists, thats harder to fix, counting code handles this correctly

* Update poll.dm

* Update poll.dm

* Partial revert of datum poll creation, fixes duplicated irv votes

Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
2021-03-05 21:43:09 +00:00
SkyratBot
a05f7e863a [MIRROR] Fully implements the ID Card design document (#3729)
* Fully implements the ID Card design document

* Oh fuck that hurt.

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
2021-03-03 01:54:25 +00:00
SkyratBot
c6160b94dc Ethereals now crystalize on death, allowing them to heal themselves unless the crystal is destroyed, but giving them a brain trauma if it succeeds. (#3723)
Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2021-02-28 23:47:28 +00:00
NotRanged
f44350ab5b [Semi-Modular] Ghost Cafe (#3592)
* wip

* more progress

* weh

* Fixes spawners

* Adds missing objects, mass replaces in the .dmm

* WIP

* Screm

* map compile error

* Bugfixes

* ID

* no mechs

* Linter, indestructible pool, typo

* why

* Fixes issue maybe

* deletes jukebox

* Removed combat area on request

Co-authored-by: Ranged <nickvanderkroon@gmail.com>
2021-02-28 14:07:31 +00:00
SkyratBot
786788ca56 [MIRROR] Allows ghosts to start messages with asterisks in deadchat again (#3644)
* Allows ghosts to start messages with asterisks in deadchat again (#57159)

#56519 had noble goals in trying to make emote code more robust for
ghosts, but in doing so it undid #47144, which was made to allow people
to start messages with asterisks in deadchat without getting hassled by
the game thinking you're emoting. This re-limits the emote checker to
the only two emotes ghosts have ever had, *spin and *flip.

* Allows ghosts to start messages with asterisks in deadchat again

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
2021-02-25 13:41:20 +00:00
SkyratBot
e8dcf3bae2 [MIRROR] New flight potion wing sprites for moths (#3065)
* New flight potion wing sprites for moths (#56412)

Wing sprites are courtesy of Papaporo Paprito over on Fulpstation!
This PR adds a second sprite for flight potion wings for moths.
A new system is implemented to make this possible, using radial menus.

* New flight potion wing sprites for moths

* Update species.dm

Co-authored-by: Jack7D1 <59462654+Jack7D1@users.noreply.github.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2021-02-20 15:41:56 +01:00
SkyratBot
18eca27569 [MIRROR] update_appearance (#3508)
* update_appearance

* a

* a

Co-authored-by: TemporalOroboros <TemporalOroboros@gmail.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
2021-02-19 16:08:09 +00:00