Commit Graph

24830 Commits

Author SHA1 Message Date
Qwertytoforty efca09e5a0 emergency shuttle console is indestructable (#19115) 2022-09-25 17:41:42 +01:00
Qwertytoforty 51d7989e6f might as well JUMP! (#19088) 2022-09-25 17:35:10 +01:00
Adri 33f7c1ef47 Adds an NNO-specific gas mask, the "nanotrasen navy officer gas mask". (#19081)
* Adds an NNO-only gas mask

* Adds tajaran, unathi, vulp masks

* Replaces strip_delay with seconds

Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>

Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>
2022-09-25 17:32:32 +01:00
Luc 96aab66dc6 Add cooldown for unintentional emotes (#19078)
* Add cooldown for unintentional emotes

* Oops, let's try that again.
- Adds a separate cooldown system for unintentional emotes.
- Unintentional emotes will fire audio at most once every 2 seconds.
- Emotes like deathgasp can override this out of necessity.
- Scream's is longer because...come on.

* The part that makes the rest of it actualy work
2022-09-25 17:31:26 +01:00
alex-gh 6aefc49682 Allow changing PDA owners (#19077) 2022-09-25 17:30:09 +01:00
Vi3trice 7a3f2ed506 Port TG pointing to inventory thought bubble, and expand valid pointing targets (#19072)
* Well that actually works

* Update atoms_movable.dm

* Now you can point at things inside of things.
2022-09-25 17:29:51 +01:00
alex-gh cf8df529e5 Fixes anomalies spawning in walls (#19064)
* Fixes anomalies spawning in walls

* break

* Update code/modules/events/anomaly.dm

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>

* better log message

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
2022-09-25 17:27:27 +01:00
Henri215 4b1bae4de4 "None" and "Slime Jelly" blood types added for the appropriate species (#19045)
* none and slime jelly blood types

* random b_type instead of A+ only
2022-09-25 17:25:58 +01:00
S34N 39b335b2f1 Resprites ice cream machine and food cart (#19033)
* kitchen machine

* thing

* mcramon
2022-09-25 17:22:25 +01:00
Adri b32f499e72 Removes xenomorphs from xenobiology gold slimes (#19002) 2022-09-25 17:21:17 +01:00
Qwertytoforty ebd492f3bb Blood drunk will now transform its weapon during melee (#19139) 2022-09-25 17:07:46 +01:00
FloFluoro 5b60ae5c1e IDs now take priority over PDAs in get_idcard (#19051) 2022-09-25 17:03:21 +01:00
Sheep 5d55358159 Fix #18699 (#19160)
Check the return value for any null values before doing anything with it to avoid
a runtime.
2022-09-24 20:22:26 +01:00
S34N e944d58c84 Medical tool resprite (#19048)
* medical tools

* removes war crimes

* tidies this up

* fix this please
2022-09-24 19:20:33 +01:00
Henri215 de7052c410 locator correct path (#19158) 2022-09-24 11:28:31 -05:00
S34N 924e8cc949 Renames non-cybernetic implants to bio-chips (#18937)
* CHIPS

* microchip implanter

* more chips to purge

* bio-chip

* catches more things

* tgui

* final merge changes

* Update code/game/machinery/cloning.dm

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

* oops

Co-authored-by: Farie82 <farie82@users.noreply.github.com>
2022-09-24 14:24:25 +01:00
AffectedArc07 34927f05ab Wryn removal v2 (#19112)
* Removes Wryn

* and the sprites

* Fixes

Co-authored-by: Fox McCloud <Fox-McCloud@users.noreply.github.com>
2022-09-24 12:53:34 +01:00
Contrabang 0efd7c6c50 ok right branch this time (#19110) 2022-09-24 12:53:13 +01:00
Contrabang 4f1b1389f7 Ants will no longer spawn on food that is on racks (#19023)
* soup debugging but it goes to the right place

* hal review

* ant improvement

* grammar

* sirryan review

* optimizations

* sirryan review

* im a bit crazy like that
2022-09-21 20:58:56 -05:00
alex-gh 14e3752aaf Allow silicons to use electric smart fridges. (#19016)
* Allow silicons to use electric smart fridges

* fat fingers
2022-09-21 20:47:28 -05:00
Henri215 c2aba93317 removed var digestion_ratio (#19114) 2022-09-21 21:50:06 +01:00
Luc b060b4b6d2 Surgery Hotfixes: Part 1 (#19108)
* Fixes up a few notable bugs with surgery
- Synthetic cavity implants now have a close step (oops!)
- Fixes up logic for intermediate surgery steps

* nah I'll deal with this later

* oops this was unused
2022-09-21 21:46:03 +01:00
Qwertytoforty 065ffff420 Removes radioactive gel from blobs (#19103)
* Removes radioactive gel

* removes the colour define
2022-09-21 21:45:05 +01:00
Henri215 5e4d0db18a Fix #17543 Genetics UI Block 32 Doesn't Properly Change Gender (#19120)
* fixed gender being stuck in plural at genetics

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

Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>

Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>
2022-09-21 15:14:06 +01:00
Christasmurf 67481115fc alloweditems (#19102) 2022-09-20 13:26:50 +01:00
GDN 9cda5ed786 Buffs Alien Queens (#19106)
* Buffs alien queens

* reviews and bigger queen

* Scoping to humanoid
2022-09-20 13:15:44 +01:00
AffectedArc07 3975e3531d Fix some busted logic (#19105) 2022-09-19 13:00:37 +01:00
Qwertytoforty d530aeba33 Energy crossbow gunkits now need a laser gun (#19087)
* Lockboxes energy crossbow gunkits

* converts to requiring a laser gun
2022-09-18 22:02:09 +01:00
AffectedArc07 1d008754da [READY] Bot Refactor (#18930)
* [WIP] Bot Refactor

* No more spawns, sleeps, and working EDs

* Mules

* GC fixing

* h
2022-09-17 12:46:25 +01:00
ElorgRHG e4e06f2759 Paradise's soul removal part one of many: Captain's drip and resprite (#18891)
* The sprites and stuff

* Vox re-add

* Why did I do this

* Last tweaks

* Pixel differences

* I have decided that captains need a beret

* I have decided that Ian needs drip too

* This exists sadly

* I forgor the gloves 💀

* CONFLICTSSSSSS

* "empty" commit

* White tunic

I don't get the appeal still

* bluE

* Painful

This will most likely get closed anyway so whatever

* OLD TUNICCCCCCCCC

* Conflicts

* Loadout captain's berets

* More conflicts, yay
2022-09-17 11:13:58 +01:00
Contrabang 938fbb5004 magboooooots (#19069) 2022-09-17 10:53:56 +01:00
FloFluoro 24895dc6c5 Beer2 no longer instastuns (#19040) 2022-09-17 10:47:40 +01:00
Qwertytoforty f9defc92bf Adds Fusion Gauntlets to RND (#18804)
* do a once over first

* merge conflict shit

* armor pen to modern stuff

* Apply suggestions from code review

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com>

* BOY SMELL THEM MERGE CONFLICTS

* icons / final changes

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com>
2022-09-17 10:45:58 +01:00
Adri 516e32fafb When removing traitor role, auto remove the uplink (#19034) 2022-09-17 10:44:34 +01:00
Contrabang f86f59f177 Revert "Changes SR to not be an instant and unavoidable revival. (#18910)" (#19089)
This reverts commit 37a3902a83.
2022-09-17 00:15:21 -05:00
FloFluoro 15a0edc588 Fixes facehuggers facehugging forever (#19067)
* Fixes facehuggers facehugging forever

* Removed unnecessary "as mob", readded blindness because clothing-induced blindness doesn't fully mimic the status effect
2022-09-16 22:45:52 -05:00
Henri215 ae3b614e78 fix clawgame double prizes (#19061) 2022-09-16 21:14:50 -05:00
Vi3trice 2d12541dce Well then (#19055) 2022-09-16 20:25:41 -05:00
Henri215 1c1f823bff ORM: Improved alloy naming (#19065)
* ORM improved alloy name

* capital letter

* Update code/modules/research/designs/smelting_designs.dm

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>

* added spaces before (

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
2022-09-16 18:06:19 -05:00
Luc 346a1b8142 Yet Another Surgery Refactor (#18325)
* Initial commit

Fixes up surgery.dm
Adds some tool behavior

* More basic changes

* Checkpointing: this is a little gross right now

* Add signal COMPONENT_CANCEL_ATTACK_CHAIN

* Cleans up surgery initiator

* Mostly gets surgery (and canceling it) working

* Add abstract proxy surgery steps

Also adds them to organ manipulation

* Clean up most existing surgeries

* Rework organ openness, adds define for aborting a beginstep

* surgery works again, also implements retry defines

* fix surgery computer

* add limb repair to synth implant removal

* retry implant checks

* Clean up abductor surgeries as well as some other things

* A lot
- Reworks organ manipulation to use a series of surgery steps instead
- Fixes some runtimes with open hands
- Lets mito zero out the germ level while treating necrosis
- Adds a debug surgery tool

* add debug surgery tool, note some TODOs for later

* Add conditional check for surgeries repeating

* update surgery retry logic to make it more of a bonus

* Lets abductors automatically retry any failed surgery steps

* Rework robotic surgery to use abstract/proxy steps

* Bunch of bugfixes and more!
- Limb reattachment works properly now, you can just slap a limb onto a person
- If the limb isn't robotic, it'll be useless until the surgery is finished with a hemostat, though it might be enough to get the patient out of the OR.

* Remove more now-implicit checks

* Slight reorganization

* more fixes across the board

* Remove unused variable

* Trying not to lose my mind here
- Does away with can_run() entirely
- Cleans up visible messages in code
- begin steps should now all have ..() afterwards
- slime bone surgery should be fixed now
- more docs

* Robotic  surgery is stoppable with a crowbar, all surgery can_start now checks parent

* Fix some broken robotic typepaths

* Typepath fixes, do away with some last TODOs

* Forgor

* Last cleanups before we go gold

* jk lol

* Make early surgery termination clearer

* More "last" cleanups

* Fixes tool flags, surgery initiation

- Fixes surgery not being startable by sharp objects
- Moves surgical tool flags to item traits

* Clean up surgery cancellation, especially for borgos

* I think this should GC better

* Apply suggestions from code review

Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com>

* Status is now step number

* Add a 20% chance to find nothing during organ manipulation

* Improve documentation, make forced_surgery a normal arg

* Charlie's reviews

* Why are abductors like this

* Little more verification, ensuring limb augmentation and organ manip healing work properly

* Fix torso organ manip being unfinishable

* Fix cavity implants, open-hand/any item steps

* Make sharp objects not try to start an operation with help intent

* Comments, quick target fix

* Re-order list so advanced bruise pack is pulled first

* Make surgical gripper function like an open hand

* Make mito only use one unit per organ for now

* Check if user is on operable surface before trying to operate

* Reduce admin logging

* Fix some bugs that appeared during the testmerge
- you can no longer start robotic surgeries with a scalpel (lol)
- you can now cancel surgeries on the first step after I fixed some bugs that I introduced (woo hoo)
- Synthetic limb attachment is now combined into a single startable surgery step, though still retains the fun flavor of both

* Swats some more bugs
- (hopefully) fixes a huge source of runtimes where we tried to check if we could run surgeries before checking if the surgery used an organ
- In doing so, moves the logic for determining if a surgery can start to the mob-level
- Fixes robotic reattachment surgery not working

* multi-bug drifting???

- Fixes a bug where a branching surgery with an any tool option could possibly override a step with a matching tool
- Fixes some intermediate surgeries failing due to not having specified possible_locs

* A few more fixes
- Fixes any surgery tool steps again
- Fixes cavity surgery again

* Hopefully fixes getting stuck in robotic organ manip

* Remove extra parent call

* Steel review

* Steel review

* Fix spacing for possible locs

* Roundstart traits

* Advanced surgical traits and other hal fixes

Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com>
2022-09-16 18:48:43 +01:00
Henri215 c5d575dacb Give directions to EM (#19039) 2022-09-16 18:14:55 +01:00
Contrabang dffdf8c7c1 Adds icon_states to telescopic batons (#19074)
* mapping batons

* lets have them off
2022-09-16 18:14:37 +01:00
Luc 686cd5fd79 Fixes emotes being displayed as the wrong type (#19026)
* Fixes some emote types, fixing the voice analyzer by proxy

* Remove unused utility function
2022-09-16 17:52:17 +01:00
warriorstar-orion b230c76ba8 Spelling fix on admin autofax responses. (#19014)
* Spelling fix on admin autofax responses.

* fix tag letter-casing in replies too
2022-09-16 17:52:07 +01:00
Contrabang 37a3902a83 Changes SR to not be an instant and unavoidable revival. (#18910)
* SR changes

* they really should explode before anything else

* Update code/modules/reagents/chemistry/reagents/medicine.dm

this is what i get for ~~stealing~~ reusing code

Co-authored-by: Edan <29551695+Edan52@users.noreply.github.com>

* allows for people with no client to be revived

Co-authored-by: Edan <29551695+Edan52@users.noreply.github.com>
2022-09-16 17:51:46 +01:00
Qwertytoforty e275183ddd Xenomorphs can now stun borgs for practical ammounts of time. (#19050)
* god damn it.

* was cycles not seconds
2022-09-16 17:51:34 +01:00
Edan 27509fc5b6 based (#18991) 2022-09-14 23:27:17 +01:00
FloFluoro 3974a98073 Facehuggers no longer instastun, removes some RNG (#19025)
* Facehuggers no longer instastun

* Changed egglaying time to actual seconds

* Code review

* Autodoc, typos, etc.
2022-09-13 23:22:39 +01:00
Qwertytoforty ae0efa00b5 Ports the shuttle console hijack from TG. Tweaks malf AI hijack. (#19018)
* *puts on sunglasses* "I'm in."

* whoops

* Apply suggestions from code review

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>

* Caching, danger, range, xenomorphs can no longer hijack

* Update code/modules/shuttle/emergency.dm

Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com>

* Update code/modules/shuttle/emergency.dm

Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com>
Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>
2022-09-13 23:22:19 +01:00
FloFluoro b8885719f4 Xenomorphs can now die (#19046) 2022-09-13 22:53:06 +01:00