Commit Graph

13106 Commits

Author SHA1 Message Date
SkyratBot
3e2b6771a7 [MIRROR] Better wabbajack polymorph logging (#6816)
* Better wabbajack polymorph logging (#59991)

* Better wabbajack polymorph logging

Co-authored-by: Wayland-Smithy <64715958+Wayland-Smithy@users.noreply.github.com>
2021-07-10 14:08:44 +01:00
SkyratBot
5586902bf7 [MIRROR] Adds random number to space-dragon-rift-spawned space carp (#6809)
* Adds random number to space-dragon-rift-spawned space carp (#60058)

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

* Adds random number to space-dragon-rift-spawned space carp

Co-authored-by: obsol <33932119+read-0nly@users.noreply.github.com>
Co-authored-by: Watermelon914 <37270891+Watermelon914@ users.noreply.github.com>
2021-07-10 14:08:08 +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
Chloe
ca2cf144e9 [Ready] [Modular] Shameless Lizard Buff (Mining Change) (#6744)
* lizard

* farther of lies, cum in disguise

* Update ice demon.dm

* a

* Update code/modules/mob/living/simple_animal/hostile/mining_mobs/ice demon.dm

a

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

Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
2021-07-08 16:02:20 +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
SkyratBot
af778bae0a [MIRROR] Fixes a good few improper overlay icon_states, fuck gun code edition (#6774)
* Fixes a good few improper overlay icon_states, fuck gun code edition

* Update rifle.dm

* Update laser.dm

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Useroth <37159550+Useroth@users.noreply.github.com>
2021-07-08 03:11:58 +02:00
Gandalf
295a555437 Update secbot.dm (#6739) 2021-07-05 23:37:45 +01:00
SkyratBot
fe4378a8df [MIRROR] Non-changeling spawned headslugs now burst non-antag changeling variant again (#6735)
* Non-changeling spawned headslugs now burst non-antag changeling variant again (#59944)

* Non-changeling spawned headslugs now burst non-antag changeling variant again

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-07-05 15:55:04 +01:00
SkyratBot
bc5ae88629 [MIRROR] Environment Protection Bags + Minor Weather Changes (#6701)
* Environment Protection Bags + Minor Weather Changes (#59752)

Co-authored-by: Matthew J. <12817816+ZephyrTFA@ users.noreply.github.com>

* Environment Protection Bags + Minor Weather Changes

Co-authored-by: Greniza <61635418+Greniza@users.noreply.github.com>
Co-authored-by: Matthew J. <12817816+ZephyrTFA@ users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-07-04 22:20:40 +01:00
SkyratBot
e8a0858a86 [MIRROR] Fixed carps being untameable and fixes tameable code not properly removing itself from something (#6677)
* Fixed carps being untameable and fixes tameable code not properly removing itself from something (#59955)

Fixes #59897

* Fixed carps being untameable and fixes tameable code not properly removing itself from something

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
2021-07-03 22:23:43 +01:00
SkyratBot
5cbd17b6f9 [MIRROR] Fix blanket cure_blind calls removing quirk and blindfold traits (#6673)
* Fix blanket cure_blind calls removing quirk and blindfold traits (#59943)

Makes it so when proc/cure_blind(source) is called with no source is does not cure blindness from the quirk, blindfolds, or other eye coverings.

* Fix blanket cure_blind calls removing quirk and blindfold traits

Co-authored-by: Wayland-Smithy <64715958+Wayland-Smithy@users.noreply.github.com>
2021-07-03 22:23:16 +01:00
SkyratBot
564e137723 [MIRROR] Makes polar bears not become easier to move after you kill and revive them (#6657)
* Makes polar bears not become easier to move after you kill and revive them  (#59939)

* Makes polar bears not become easier to move after you kill and revive them

Co-authored-by: interestingusernam3 <51925758+interestingusernam3@users.noreply.github.com>
2021-07-03 01:17:59 +01:00
SkyratBot
56d4291ef6 [MIRROR] Reverts Entered() passing dir instead of old loc (#6646)
* Reverts Entered() passing dir instead of old loc (#59910)

* Reverts Entered() passing dir instead of old loc

Co-authored-by: Rohesie <rohesie@gmail.com>
2021-07-02 16:42:34 +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
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
Gandalf
239db4ca54 a (#6616) 2021-06-30 21:49:29 +02:00
SkyratBot
447216bd91 [MIRROR] Cannabis has more believable effects (#6560)
* Cannabis has more believable effects

* Update cannabis.dm

Co-authored-by: cacogen <25089914+cacogen@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-06-30 20:20:30 +01:00
BluBerry016
fec7aea76d [Semi-Modular] DS-2: Because It's Not A Feature, It's a "Map Change". (#6487)
* Port changes from the WIP part of the feature megabundle first

* adjust that cost

* start

* Update interdynefob.dmm

* SYNDICATE STAY WINNING

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update lavaland_ruin_code.dm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* WOOO

* Update interdynefob.dmm

* Update interdynefob.dmm

* a

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update space.dm

* Update interdynefob.dmm

* Update space.dm

* Update shuttles.dm

* Update interdyne_cargo.dmm

* Update interdynefob.dmm

* Shuttle is fucking broke

* Stupid ass shuttle broke

* Update interdynefob.dmm

* Update interdynefob.dmm

* new decal

* Update interdynefob.dmm

* Update space.dm

* Update space.dm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update space.dm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* new.. closet..

* Update interdynefob.dmm

* handicapped

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update space.dm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update space.dm

* Update interdynefob.dmm

* Update space.dm

* Update interdynefob.dmm

* Update space.dm

* Update interdynefob.dmm

* Update space.dm

* secatures

* Update interdynefob.dmm

* Update space.dm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Nukes DS-1

* Nukes DS1 part 2

* Update interdynefob.dmm

* more ds2 changes

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* DS2 (REAL?) (NOT FAKE)

* Update ghost_role_spawners.dm

* Update interdynefob.dmm

* Update ghost_role_spawners.dm

* Update space.dm

* Update interdynefob.dmm

* Update wildwest_skyrat.dmm

* FIX ATMOS

* aaa

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update CentCom_skyrat_z2.dmm
2021-06-29 22:08:10 +01:00
SkyratBot
5fdd99aba6 [MIRROR] removes unnecessary species breath code (#6588)
* Remove unnecessary species breath code (#59864)

Human code override breathe(), called the species datum which checked if the human had NO_BREATH. I just made it check for NOBREATH directly, since it is apparently a human only trait.

If someone wants to implement special breathing checks/behaviour, make custom lungs

* removes unnecessary species breath code

Co-authored-by: Time-Green <timkoster1@hotmail.com>
2021-06-29 17:39:21 +01:00
SkyratBot
4bcd55c293 [MIRROR] Fixes a runtime: Entered() passing the wrong args (#6578)
* Fixes a runtime: Entered() passing the wrong args (#59854)

* Fixes a runtime: Entered() passing the wrong args

Co-authored-by: Rohesie <rohesie@gmail.com>
2021-06-29 16:47:00 +01:00
Gandalf
98e46a709c SSdecay - Making the station dirty(and creepy) (#6480)
* SSDECAY

* Update decaySS.dm

* Update decaySS.dm

* Update decaySS.dm

* Update lighting.dm

* Update decaySS.dm

* Update decaySS.dm

* a

* a

* Update decaySS.dm

* Update decaySS.dm

* Update lighting.dm

* Update decaySS.dm

* Update decaySS.dm

* oof

* Update decaySS.dm

* Update decaySS.dm

* OOPS

* Update nests.dm

* Update nests.dm

* Update nests.dm

* a

* Update nests.dm

* dry blood

* no more light noise

* Update nests.dm

* Update nests.dm

* a

* Update vatbeast.dm

* Update decaySS.dm

* Update nests.dm

* Update decaySS.dm

* Update nests.dm

* bad

* Update nests.dm

* a

* Update nests.dm
2021-06-28 15:41:32 +02:00
SkyratBot
5b2582de27 [MIRROR] Refactors species stomach code, makes ethereal charge inherent to their stomach (#6554)
* Refactors species stomach code, makes ethereal charge inherent to their stomach (#59801)

A stomach would literally just ask the species datum how to be hungry and made a bunch of exceptions for ethereals. I mostly just moved code around so that hunger is handled by a persons stomach, thus shrinking the species.dm bloat.

This also makes it so ethereal's charge mechanic is unique to their stomache, instead of this really weird inbetween where just nothing happens and you kinda starve to death. You can stick an ethereal stomach in a human and this will replace their hunger mechanic with the charge mechanic and lets them absorb power from APCs and everything. You can also give ethereals a normal stomach and they'll use the normal hunger mechanics

* Refactors species stomach code, makes ethereal charge inherent to their stomach

Co-authored-by: Time-Green <timkoster1@hotmail.com>
2021-06-27 16:44:17 +01:00
SkyratBot
79c3c379b9 [MIRROR] Fix missing SIGNAL_HANDLER (#6552)
* Fix missing SIGNAL_HANDLER (#59826)

Adds SIGNAL_HANDLER to everywhere that didn't have it that was picked up by dm-lua, which is now ready enough to catch these.

* Fix missing SIGNAL_HANDLER

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-06-27 16:16:04 +01:00
SkyratBot
73fdf1fa20 [MIRROR] Integrates spider eggs into the mob spawners (#6502)
* Integrates spider eggs into the mob spawners

* Update corpse.dm

Co-authored-by: Arkatos1 <43862960+Arkatos1@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-06-27 16:01:04 +01: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
a14b1dadb5 [MIRROR] CanPass refactor (#6527)
* CanPass refactor (#59804)

* CanPass refactor

Co-authored-by: Rohesie <rohesie@gmail.com>
2021-06-25 22:33:51 +01:00
SkyratBot
0cdfe18b1c [MIRROR] Adds the MMI circuit component. Allows inputting signals into circuit component ports (#6493)
* Adds the MMI circuit component. Allows inputting signals into circuit component ports (#59743)

Adds the MMI component which outputs signals whenever they click somewhere/try to move.
Allows inputting signals into ports, making it easier to debug integrated components.

* Adds the MMI circuit component. Allows inputting signals into circuit component ports

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
2021-06-24 23:02:23 +01:00
SkyratBot
dc4877bd74 [MIRROR] Converts tippable behavior from cows and medibots to a component (tip over anything with adminbus) (#6468)
* Converts tippable behavior from cows and medibots to a component (tip over anything with adminbus) (#59705)

This PR converts cow-tipping and medibot-tipping into a component, /datum/component/tippable. Cows and medibots now use the tippable component to control their tipping behaviors.

This PR also goes through a few atom_attack_hand signals and makes them all send the same arguments.

* Converts tippable behavior from cows and medibots to a component (tip over anything with adminbus)

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-06-23 18:59:45 +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
SkyratBot
5326760cb3 [MIRROR] Makes turfs persist their signals, uses this to optimize connect_loc (#6465)
* Makes turfs persist their signals, uses this to optimize connect_loc  (#59608)

* Makes turfs persist signals

* Splits connect_loc up into two elements, one for stuff that wishes to connect on behalf of something, and one for stuff that just wants to connect normally. Connecting on behalf of someone has a significant amount of overhead, so let's do this to keep things clear

* Converts all uses of connect_loc over to the new patterns

* Adds some comments, actually makes turfs persist signals

* There's no need to detach connect loc anymore, since all it does is unregister signals. Unregisters a signal from formorly decal'd turfs, and makes the changeturf signal persistance stuff actually work

* bro fuck documentation

* Changes from a var to a proc, prevents admemems and idiots

* Extra detail on why we do the copy post qdel

* Makes turfs persist their signals, uses this to optimize connect_loc

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2021-06-23 04:23:48 +01:00
Gandalf
34b8d43390 Synthetic wounds (#6369)
* OOOF

* Update slash.dm
2021-06-22 22:41:24 +01:00
SkyratBot
d85a02babd [MIRROR] Refactors move procs to support multitle objects (#6423)
* Refactors move procs to support multitle objects

* Update _blob.dm

Co-authored-by: Rohesie <rohesie@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-06-22 22:40:04 +01:00
SkyratBot
3777cff370 [MIRROR] Converts the enemies list to weakrefs (#6453)
* Converts the enemies list to weakrefs (#59694)

This has some minor overhead, but listtargets isn't exactly a hot proc, so we should be just fine

* Converts the enemies list to weakrefs

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2021-06-22 22:36:56 +01:00
SkyratBot
e1f618d063 [MIRROR] Fixes explosions having a higher chance of delimbing you if they're weaker (#6452)
* Fixes explosions having a higher chance of delimbing you if they're weaker (#59662)

Don't know if it's an oversight or not, but currently, explosions delimb you if they're weaker. This PR fixes that by removing the division in the probability calculations and replacing it with a multiplication, whilst also changing the base probability value.

The value 16.6 was chosen because at devastation 3, aka max devastation, that will equal out to approximately 50%

* Fixes explosions having a higher chance of delimbing you if they're weaker

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
2021-06-22 22:36:39 +01:00
Useroth
873144d8ef Adds a setter for density (#59529) (#6437)
Adds set_density()
Fixes one instance of a duplicate density assignment on an object.
Comments two hacky usages of density which will have to forgo using the setter for now.

Lets us append code to the event of density changing.
Pretty sure this is leading up to some multitile object thing -Lemon

Co-authored-by: Rohesie <rohesie@gmail.com>
2021-06-22 01:24:59 +01:00
SkyratBot
87e3a63f7d [MIRROR] During unit tests, does extra verification on text based overlays (#6415)
* During unit tests, does extra verification on text based overlays (#59553)

This makes it so during unit tests, adding a text based overlay to something will runtime if the icon does not have an icon state matching that text. I would do this during normal compiles as well but getting the icon states from an icon is surprisingly expensive.

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@ users.noreply.github.com>

* During unit tests, does extra verification on text based overlays

Co-authored-by: Emmett Gaines <ninjanomnom@gmail.com>
Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@ users.noreply.github.com>
2021-06-21 00:48:24 +01:00
SkyratBot
46bb3babb4 [MIRROR] Digitigrade Paralysis BugFix (#6411)
* Digitigrade Paralysis BugFix (#59697)

* Fixing Digitigrade Legs, Adding Sanity Checks

- A limb's attach_limb proc now uses the set_owner() proc instead of setting the owner manually, fixing problems where limbs that were meant to be paralyzed were not
- Added a sanity check to set_usable_legs to ensure the value isn't set lower than 0

* Adds A Stack Trace to Set_Usable_Legs

- set_usable_legs now calls stack_trace() whenever it is provided with a negative value

* Digitigrade Paralysis BugFix

Co-authored-by: Beatrice <83368538+SpaceDragon00@users.noreply.github.com>
2021-06-21 00:47:52 +01:00
SkyratBot
27d49d239a [MIRROR] Fixes custom emotes not working with slimes (#6409)
* Fixes custom emotes not working with slimes (#59680)

Allows slimes to use hotkey emotes and custom emotes by removing /mob/living/simple_animal/slime from mob_type_blacklist_typecache in code/modules/mob/living/emote.dm, added by #22405

* Fixes custom emotes not working with slimes

Co-authored-by: Bytube <40742162+Bytube@users.noreply.github.com>
2021-06-20 22:55:26 +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
071b56751d [MIRROR] Converts the new span_ procs to macros, fixing a few oversights/errors along the way (#6394)
* Converts the new span_ procs to macros, fixing a few oversights/errors along the way (#59685)

This is a partial re-implementation of #59645

oranges has expressed a desire for the span_ procs to instead be macros.

I agree. Even though it's a small micro-optimisation, a well contained macro can be self-linting. I've already caught one edge case thanks to this in launch_pad.dm

Similarly, there was an edge case where a [ was escaped inappropriately (that errored out) in watercloset.dm and a case where a ] that should probably have been escaped actually wasn't in robot_defense.dm

I have opted to make an exception to the ALLCAPS convention for these macros.

I have guaraded these macros in parenthesis. In doing so, additional error states can be captured as part of the build process as malformed inputs will then cause errors and prompt further investigation.

* Converts the new span_ procs to macros, fixing a few oversights/errors along the way

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2021-06-19 22:54:47 +01:00
SkyratBot
3a8e36d443 [MIRROR] Defibrillator Fixes + Code Cleanup (#6392)
* Defibrillator Fixes + Code Cleanup (#59615)

Cleans up some of the defib code by reducing repeated code blocks, renaming certain procs, reducing unnecessary if statements, and adding flexability to certain aspects, like cooldown time. Additionally fixes some issues with the code, like visible messages not showing up for mobs who are wearing the source and shock_touching not using its provided damage values.

I have defined the combat paddles' emp_act change as a "Fix" because the comment appended to the combat variable, as well as the lack of sprites/clarity for emped syndicate defibs, made me feel this was unintentional. However, if this is seen as intentional, I will revert those changes to keep this a purely fix/cleanup-based PR

* Defibrillator Fixes + Code Cleanup

Co-authored-by: Beatrice <83368538+SpaceDragon00@users.noreply.github.com>
2021-06-19 22:53:05 +01:00
SkyratBot
b32ac7ac08 [MIRROR] Luminescent fix (#6385)
* Luminescent fix (#59707)

Closes #59681

* Luminescent fix

Co-authored-by: SmArtKar <44720187+SmArtKar@users.noreply.github.com>
2021-06-19 21:48:07 +01:00
Matthew J
fa80953096 oops all nerf (#6382) 2021-06-19 04:10:25 +01:00
SkyratBot
2cef943f6f [MIRROR] Revert "Prevent SSinput from constantly requesting moving in-place" (#6352)
* Revert "prevent SSinput from constantly reporting null movements (#59558)" (#59650)

This reverts commit 6c2d17bb15.

Fucky movement fix oranges is literally threatening me.

I feel like I've messed up somewhere here...

Either way this is causing movements to be a bit fucky where one input counts as two in a direction.

* Revert "Prevent SSinput from constantly requesting moving in-place"

Co-authored-by: brotherbeyondd <68032262+brotherbeyondd@users.noreply.github.com>
2021-06-16 22:23:09 +01:00
SkyratBot
1b122706a3 [MIRROR] USB Cables -- Connect circuits to computers/machines (#6327)
* USB Cables -- Connect circuits to computers/machines (#59345)

* Initial commit

* Sprites, finishing work

* More ways to detach from circuitboards

* Clear TODOs, give bots a button

* Fix qdel loop

* Designs

* It's the bots that have them

* Grammar fix

* Feedback for connecting to circuit directly

* Add USB cable design to basic circuitry

* Better naming

* Feedback

* Fix for new code

* COMSIG_CIRCUIT_ADD_COMPONENT_MANUALLY

* span procs

* USB Cables -- Connect circuits to computers/machines

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-06-16 00:37:07 +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
Gandalf
9c960693a1 New "pirate" type - Imperial Enclave Audit (#6285)
* AAAAAAAAA

* Update pirates.dm

* Update pirate_enclave.dmm

* a

* Revert "a"

This reverts commit 9772be1d5e061723e5df3049ea25c738b3c89da3.

* Update pirate_enclave.dmm
2021-06-15 18:24:15 +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
51721a4ed3 [MIRROR] Fixes Cayenne's error sign flickering (#6290)
* Fixes Cayenne's error sign flickering (#59614)

This PR fixes a case where Cayenne's sprite was flickering an error sign when carrying a disk and correctly assigns icon state names to JSON gags files for carp mouth and wirecutters as per newest standards to prevent further issues with them in the future.

* Fixes Cayenne's error sign flickering

Co-authored-by: Arkatos1 <43862960+Arkatos1@users.noreply.github.com>
2021-06-14 18:43:52 +12:00