Commit Graph

1417 Commits

Author SHA1 Message Date
tralezab
b4309e54f7 Fixes antag panel runtime (#61115)
uplinks don't always exist for traitors!
2021-08-31 12:11:19 +01:00
dragomagol
c4c0c38b0e Gives brainwashed victims an antag hud (#61077)
Gives brainwashed victims an antag hud icon
2021-08-30 22:42:01 +01:00
aaaa1023
f04df890dd fixes misspellings of "aggressive" in a few areas. (#61092)
Fixes the spelling of "aggressive" in a few items, comments and a define.
2021-08-30 20:49:35 +01:00
Y0SH1M4S73R
77aac1a518 Objective-specific equipment will always be given. (#60789) 2021-08-30 00:12:59 -07:00
John Willard
7cb4bb59f9 Greentexting as a traitor hardcore random now gives you hardcore random points (#60957)
Every time a traitor greentexts with hardcore random, it runtimes and returns. I think it's because of the escape alive objective.

I've tested this before and after several times just to be completely sure this fixes it.
2021-08-29 21:18:02 -03:00
Ghom
73e3afe5d2 bane component to element. nullrod now uses it for revenants. (#60640)
* bane component to element. nullrod uses it for revenants.

* TRUE to FALSE
2021-08-27 11:17:43 +02:00
tralezab
955570b4be fixes a lot of traitor runtimes (#60993) 2021-08-23 14:15:24 -07:00
MrMelbert
b3e8eebdc9 Kills /obj/item/melee/transforming, replaces it with a transforming weapon component (#60761)
This PR kills off the transforming subtype of /obj/item/melee and replaces it with a component to handle the transforming behavior, /datum/component/transforming.

The transforming component handles updating the variables of an item when it's transformed. Things like force, sharpness, whetstone force bonus, and attack verbs. Similar to the two-handed component, but instead of transforming into a two-hander it remains a one handed weapon.

The "nemesis" behavior (dealing addition damage to certain factions) of the transforming subtype was moved to the cleaving saw only, since it was the only transforming item that used it. In the future, this can be made into a bespoke element/component as well.

The following weapons and items have been updated to use this component:

    Energy Swords / Sabers / Bananium Energy Sword
    Energy Circular Saw
    Energy Dagger
    Energy Axe
    Toy Energy Sword
    Holographic Energy Sword
    Switchblade
    Advanced Medical Tools (Laser scalpel, Mechanical Pinches, Searing Tool)
    Advanced Engineering Tools (Hand Drill, Jaws of Life / Syndicate Jaws of Life)
    Combat Wrench
    Cleaving Saw
    Telescopic Batons / Contractor Batons
    Roasting Stick
    Telescopic Riot Shield
    Energy Shield / Bananium Energy Shield

This PR also touches up the code around the various above items.
2021-08-23 11:45:54 -07:00
ViktorKoL
b4935e5d02 Minor heretic research fixes (#60908)
* Fix stalker/blood siphon unlock

Stalker now unlocks blood siphon instead of rusty. Both rusty and blood siphon are now unlocked by exactly two other knowledges, just like every other side path in the research tree.

* Flame birth description fix

Flame birth's research's description now describes flame birth and not what I assume to be touch of madness.

* Curse of corrosion description fix

Curse of corrosion's description no longer states the ritual requires a pair of hands.

* Further corrosion description edit

I missed that there was one more mistake in the curse of corrosion description, so I changed that as well.
2021-08-20 07:45:40 +08:00
tralezab
226f42ced6 i have moved some bible exorcism functionality to a signal on soulstones (#60768)
moves functionality of exorcising soulstones to soulstones themselves
2021-08-17 23:26:23 -07:00
EOBGames
b08632353c [MDB IGNORE] Eliminates Toxins (#60619)
Repaths everything referring to "toxins" while actually meaning either the room in science or plasma gas. While this PR might be disrespectful to our forefathers, given this is (I believe) a holdover from as far back as the Exadv1 days, this has constantly irked me since I started working with the code. None of the player-facing stuff has referred to plasma as toxin since before 4407 hit, besides the Toxins Lab, and yet all of the type-paths are still pointing at toxins, making it a nightmare to search for in a map editor, and making the code needlessly easy to confuse with that of toxin damage. So this just fires it into the sun.

Anything relating to Toxins, the science subdepartment, now makes reference to Ordnance instead. This felt fitting enough given the focus of the subdepartment is around the creation of and testing of explosives.
Anything relating to plasma gas has, fittingly, been made to refer to plasma gas.

Edit: Ah yes, I feel I should probably apologise off the bat for the size of this PR- the code touched is mostly atmos machinery and simplemobs, a few sprites here and there, and of course the station maps + a few offstation maps.

Makes the code more legible and makes mapping less painful.

(The payment has been made)
2021-08-17 11:49:47 -07:00
LemonInTheDark
cd576ab519 Del The World: Unit testing for hard deletes (#59612)
Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
2021-08-15 21:09:26 -07:00
John Willard
c21562b809 Mindshielding now sends a signal, and is dealt by the antagonist (#60850)
Mindshielding people isn't hardcoded to the mindshield's implanting anymore, instead sending a signal, which I find better in the long run (especially for downstreams).
2021-08-14 23:54:11 -07:00
Krysonism
b8b347722d Drugs of the 26th century. Three new hella rad drugs, one less lame drug and more! (#60432)
* lead stuff

* kronkus + loot table

* one drug sprite

* kroncaine

* drug items

* addiction stuff

* makes this compile

* plane master controllers

* small adjustments

* bro its a comment CHILL OUT

* temp

* desc and sprite update

* temp

* hmm

* invisible1

* invisible2

* fixes

* It compiles

* misc drug fixes

* signal

* synthesis

* fix

* span macros

* kroncaine filter removal + no speedup on cuffs n narsie rune

* makes the ampoule visible.

* hud-b-gone

* revert

* reverts more

* sound enviroment

* on_transfer & animated fade

* adrenal crisis + unknown

* blastoff signal

* blastoff adjustments

* filters

* small fixes

* animation parallel

* Taste, sounds and feel

* span proc

* final touches

* review and integration fix

* less blood, more fun

* moth and blood fix

* KronKaine and bLaSToFF spelling fix

* Assorted bLaSToFF fixes and range change

* suggestions from head head head coder

Co-authored-by: floyd <Floydje123@Hotmail.com>
2021-08-09 12:03:36 -04:00
Fikou
270acce4f5 [Ready] Mining Loot Rework (#60516)
Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
2021-08-08 02:22:34 -07:00
Rohesie
6c4134d1ea Job refactor 2: less hardcoded lists (#60578)
* Job refactor 2: less hardcoded lists

* Obsessed can happen
2021-08-05 21:13:05 +02:00
MrMelbert
1a37e904d3 Fixes rust heretics healing with Leeching Walk (+ some minor code improvement) (#60688) 2021-08-05 01:15:30 -07:00
John Willard
9dbe1ed0c5 Forces dead cyborgs back into their body if turned into a Construct (#60680) 2021-08-04 09:43:11 -07:00
tralezab
f5e06eee13 Fixes soulstones accidentally granting all languages to the damned stone instead of the spirit . (#60616) 2021-08-02 22:25:30 -07:00
John Willard
85acdc019c Disconnects AI's from their shell if hit by Twisted Construction (#60642) 2021-08-02 18:05:10 -07:00
John Willard
b18a88911c Cultists using Twisted Construction no longer spawn a catatonic construct (#60612) 2021-08-01 20:14:17 -07:00
ChungusGamer666
a02e928e2e Turns rust component into bespoke element (#60496) 2021-07-31 14:58:55 -07:00
wesoda25
63c3254cf6 team mothblocks go jfogle eat fresh!! 😆😆 (#60521) 2021-07-29 22:54:05 -07:00
Mothblocks
bd6873fd4d Remove nanites (#60473)
Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
2021-07-28 16:00:56 -07:00
itseasytosee
447b43fa17 Meat-hooks and changeling tentacle's firing pins are no longer visable (#60455)
Adds a Boolean to mark guns as "pinless" so they don't care about or show firing pins
2021-07-28 17:35:10 -03:00
Matthew J
b19e1785dc [FUCK][NO CI] Rust Component Fixes (#60252)
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-07-27 01:43:17 -07:00
tralezab
6647f0d6aa Dissecting Biddle Traitors: Toned down traitor flavor + antag info tgui (#60311) 2021-07-22 15:39:26 -07:00
LemonInTheDark
96cc4a7260 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.
2021-07-19 12:41:21 -04:00
Watermelon914
928fc90b33 Wizard gets bonus points if they go random. (#60288)
Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
2021-07-18 17:36:05 -07:00
Seris02
8ae95fc28a fixed sentient diseases reinfecting when dead (#60107) 2021-07-18 14:59:02 -07:00
Rohesie
4c21166e4f Job refactor: strings to references and typepaths (#59841)
* Job refactor: strings to references and typepaths
2021-07-18 20:48:47 +02:00
Arkatos1
ac5a414e78 Improves item's action button updating code (#60149)
This PR improves item action button updating code by introducing a proc to update all item's associated action buttons, which simplifies the process and reduces code duplication.

I also fixed a relevant bug where a PDA's action button icon did not properly update upon light toggle because it did not force the button update. Forcing the button update is needed in this case due to how light overlay operates, where the button icon state stays the same, so the code thought updating the action button icon was unnecessary.
2021-07-16 19:58:05 -03:00
coiax
e4e3195f88 Replace a number of New() overrides with Initialize() (#60223) 2021-07-15 18:14:20 -07:00
Wayland-Smithy
bb42bed0bf Gives Revenant the ability to orbit adjacent things with secondary attack (#60200)
Leverages right click to give Revenant something I felt it should have had when first implemented, but I can understand now it's not a low effort undertaking with the snowflakeness of incorporeal jaunt code that only runs on Move() 🤮

I put a lot of care into making sure this won't break or bypass jaunting counters like holy water and salt.
2021-07-14 16:41:51 -03:00
Ghom
4f6bb41f08 Stops (blob) mobs from falling through blob structures on open space. (#60132)
I have seen this happen once on icebox and, as part of the ghost crowd cheering for the blob, I have felt kinda bitter.

Blob tiles occupy entire turfs, making it impossible to tell whether a hole is there or not without over-meticolous shift or alt clicking, are dense, and also it makes sense since blob tiles are blob mobs' turf, their higher ground.
2021-07-11 23:23:29 -07:00
Ghom
4570d6d132 Replaces morph set_varspeed() calls with movespeed modifiers. Better it up. (#60154)
Fixed morph speed being slower while undisguised and some old code related to it.
Fixes #57202 
(All you need to do is to disguise yourself once and undisguise. You are now about half as slow as you were prior in each form.)
2021-07-11 23:12:22 -07:00
Wayland-Smithy
046b7a477a Transfer orbiters to changeling headslugs at birth (#60062)
This improves the observer experience.
2021-07-08 21:20:50 +01:00
Wayland-Smithy
0d1ef29662 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
2021-07-08 11:02:52 +12:00
Matthew J
5a5cf6933e Rust Component / Wirebrush Rust Remover (#59977)
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-07-07 03:45:57 -07:00
LemonInTheDark
0654cde093 Fixes a good few improper overlay icon_states, fuck gun code edition (#59580)
* Fixes a good few improper overlay icon_states, fuck gun code edition

* Rewrites comment to be less word salad, changes display_mag to the already existing and unused mag_display
2021-07-06 21:05:37 -07:00
Paxilmaniac
340a0e0392 CARP Team Six: Nanotrasen's Finest* (#60012) 2021-07-06 16:14:09 -07:00
MrMelbert
48cdfd9aa3 Rework C4 suicide phrases to be on the antagonist datum; add more phrases (#60029)
Fun fact. Did you know the C4 has special suicideverb phrases for most antagonists? That is, most antagonists. This adds a bunch in because someone noticed Heretic didn't have one special, and I noted quite a few minor antagonists didn't either.

The suicide cry phrases are now on the antag datum instead of in the if/else chain.
2021-07-06 22:07:46 +01:00
Wayland-Smithy
f3701e3970 Fix blob overmind spawns (#60031) 2021-07-05 20:44:08 -07:00
MrMelbert
2a3330c132 Non-changeling spawned headslugs now burst non-antag changeling variant again (#59944) 2021-07-04 20:56:28 -07:00
Fikou
35af64526a Make the light eater a mining tool (#59985)
what the title says, light eater can now pick rocks

ive had a lot of rounds as admin on kilo/tram where i have to give them this so they arent stuck in gay baby jail forever
2021-07-04 17:48:18 +01:00
ArcaneMusic
ea59898bc1 Documents antag_datum.dm (#59967)
Co-authored-by: AnturK <AnturK@users.noreply.github.com>
2021-07-03 21:48:27 -07:00
coiax
b54bffe24a Remove unused hivemind powers and supression (#59911)
- BZ metabolites no longer mute changeling hiveminds, because changeling
  hiveminds no longer exist.
- Removed code for two unused changeling powers, Hive Channel DNA and
  Hive Absorb DNA.
2021-07-03 14:53:36 -03:00
Watermelon914
629c06dee7 Adds blob as a midround antag like midround traitors, where it does not require a ghost role (#59574)
Co-authored-by: Jonathan Rubenstein <jrubcop@gmail.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
2021-07-02 16:23:17 -07:00
dragomagol
f5be9c5cee Removes reference to intents from Martial Arts instructions (#59921)
In CQC, Plasma Fist, Sleeping Carp and Wrestling instructions verb:
Harm -> Punch
Disarm -> Shove

Also removed reference to intents from the changeling's tentacle grab, changing it to neutral/combat stance.
2021-07-02 11:59:38 -04:00
Seris02
bc09b1d15a Makes it so changeling legs copy digitigrade/normal, try number 2 (#59832)
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-07-01 13:30:58 -07:00