Commit Graph

88 Commits

Author SHA1 Message Date
SkyratBot
f6f9b6f2f3 [MIRROR] The Great Species Dedatumming 2: Makes external organs operable [MDB IGNORE] (#15530)
* The Great Species Dedatumming 2: Makes external organs operable

* Fixes merge conflicts

* Partly fixes taur bodies (makes them external and use the mob sprite as their icon)

Co-authored-by: Time-Green <timkoster1@hotmail.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2022-08-12 20:01:39 -04:00
SkyratBot
48685b4356 [MIRROR] Replaces the mood component with a mood datum [MDB IGNORE] (#15549)
* Replaces the mood component with a mood datum

* Fixes merge conflicts and updates all of our mood events to use the new mood datums

Co-authored-by: Seth Scherer <supernovaa41@gmx.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2022-08-12 14:58:14 -04:00
SkyratBot
303c6490bb [MIRROR] Fixes incise heart surgery runtime [MDB IGNORE] (#15513)
* Fixes incise heart surgery runtime (#69032)

* Fixes incise heart surgery runtime

* Fixes incise heart surgery runtime

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
2022-08-10 04:07:50 +00:00
SkyratBot
1fecff4ec5 [MIRROR] Surgery sound fix attempt 2 [MDB IGNORE] (#13024)
* Surgery sound fix attempt 2 (#66018)

When performing surgery steps that require a saw, using ghetto tools would play the saw.sound despite the tools not having any motors. This pr fixes that and adds some framework for future conversion of preop_sound to list() for fixing future similar cases

* Surgery sound fix attempt 2

Co-authored-by: FinancialGoose <92416224+TheBoondock@users.noreply.github.com>
2022-04-23 15:02:48 +01:00
SkyratBot
1f1d09b075 [MIRROR] Revives "Adds sound effects to surgeries" [MDB IGNORE] (#12280)
* Revives "Adds sound effects to surgeries" (#65578)

* Adds surgical sounds

Rough implementation as I don't have too much time tonight.

* Fixed falure_sound

Fixed a typo

* Removed the lists

Removed the lists and added sounds to revival surgery, stuff will probably break

* Fixes the playsounds still using pick

* Added sounds to more surgeries

Added sounds to four more surgeries

* Revives "Adds sound effects to surgeries"

Co-authored-by: nmajask <nmajask@gmail.com>
2022-03-25 20:24:41 -04:00
SkyratBot
26de81a8c1 [MIRROR] Removes useless status effect path defines. [MDB IGNORE] (#11143)
* Removes useless status effect path defines.

* Removes useless status effect path defines.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-01-30 15:56:13 +00:00
SkyratBot
c33061765b [MIRROR] [MDB IGNORE] BIDDLE TRAITORS - Adds progression traitors. Refactors uplink code in its entirety [MDB IGNORE] (#10620)
* [MDB IGNORE] BIDDLE TRAITORS - Adds progression traitors. Refactors uplink code in its entirety

* updates and fixes

* ffff

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-01-12 03:25:38 +00:00
SkyratBot
c51fd7f907 [MIRROR] You can no longer continue a surgery if the organ in question is somehow removed whilst mid operation [MDB IGNORE] (#10224)
* You can no longer continue a surgery if the organ in question is somehow removed whilst mid operation (#63459)

* You can no longer continue a surgery if the organ in question is somehow removed whilst mid operation

Co-authored-by: Seth Scherer <supernovaa41@gmx.com>
2021-12-24 00:06:34 +00:00
Higgin
9122e54e5b Stasis now preserves numbing and extends unconsciousness as sleeping while under. (#10088)
Mood penalties for varying levels of surgery anesthesia.

Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-12-23 03:58:34 +00:00
Iamgoofball
bdd5e1f12f GoofMed: Self-Actualization Device, Stasis Operating Tables! (#8791)
* Adds the Self-Actualization Device!

* Update modular_skyrat/modules/donut_steel_restoration_device/code/oc_donut_steel_restoration_device.dm

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

* Operating Tables now provide Stasis

* Update modular_skyrat/modules/donut_steel_restoration_device/code/oc_donut_steel_restoration_device.dm

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

* Fixes Medical Cyborgs + Fixes Pain and Numbing to work correctly

* WHOOPS

* fucking stupid merge conflicts HOLY SHIT

* Update modular_skyrat/modules/donut_steel_restoration_device/code/oc_donut_steel_restoration_device.dm

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

* return 2 monke

* whoops

* Admin logging

* loggin

Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
2021-10-18 01:12:26 +01:00
SkyratBot
9269849f62 [MIRROR] Surgery pain messages and screaming in agony (#8198)
* Surgery pain messages and screaming in agony

* E

* ee

Co-authored-by: FlamingLily <80451102+FlamingLily@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-09-19 22:04:09 +01:00
SkyratBot
e510e35167 [MIRROR] [READY] Adds memory system, and engraving walls with chisels (#8066)
* [READY] Adds memory system, and engraving walls with chisels

* EEE

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-09-13 23:36:51 +01:00
Iamgoofball
8f086a01f1 just check for numbed instead (#8129)
* just check for numbed instead

* Update surgery_step.dm
2021-09-12 22:44:35 +01:00
Iamgoofball
4dc3577c45 Changes the surgery speedup to be based on whether the patient is knocked out or on painkillers, instead of on literal byond area. (#8128)
* Changes the surgery speedup to be based on whether the patient is knocked out or on painkillers.

* Update surgery_step.dm
2021-09-12 17:16:28 +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
Matthew J
72cfa34227 [NON-MODULAR] Doing Surgery in the correct area now gives you a boost to its speed. (#5975)
* surgery buff for surgery in surgery

* socs

* allow robotics and latex gloves

* hhhhh
2021-06-04 09:56:40 +12:00
SkyratBot
91c39156bd [MIRROR] Cleans up surgery and organ code. (#5858)
* Cleans up surgery and organ code.

* bg

* Update dismemberment.dm

* Update _bodyparts.dm

Co-authored-by: FlamingLily <80451102+FlamingLily@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-05-23 04:57:04 +01:00
SkyratBot
da88064b1d [MIRROR] Tweaks cryostylane to use the new reaction mechanics, incorporating stasis iceblocks, freezing, temporary organ decay prevention and surgery speed modifiers. (#3841)
* Tweaks cryostylane to use the new reaction mechanics, incorporating stasis iceblocks, freezing, temporary organ decay prevention and surgery speed modifiers.

* Update holder.dm

* Update holder.dm

Co-authored-by: Thalpy <33956696+Thalpy@users.noreply.github.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
2021-03-04 16:56:37 +00:00
SkyratBot
b332b46b65 [MIRROR] Remove hideous inline tab indentation, and bans it in contributing guidelines (#3394)
* Remove hideous inline tab indentation, and bans it in contributing guidelines

* a

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
2021-02-15 15:32:02 +00:00
SkyratBot
c18ea89b0c [MIRROR] fixes surgery on non-carbons (#2416)
* fixes surgery on non-carbons (#55794)

fix good even if "nobody" uses that surgery

* fixes surgery on non-carbons

Co-authored-by: spessbro <51048066+spessbro@users.noreply.github.com>
2021-01-01 14:36:55 +01:00
SkyratBot
3a0491d3b4 [MIRROR] Small do-after refactor (#2074)
* Small do-after refactor (#55172)

This is an alternative to the PR Ryll made, it does some things similar e.g. the default limit of 1 interaction per target for a person, however, it refactors do_afters to support overrides for max interaction counts and unique sources.

For example, stripping uses the item being stripped as the source, allowing you to strip multiple items, but not the same item multiple times.

I've also fixed most other edge-cases this could cause where balance would be affected, but feel free to point out any I might've missed, this'll probably require some longer-term testmerging.

* Small do-after refactor

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2020-12-07 22:46:59 +01:00
SkyratBot
1c065882f7 [MIRROR] [ready] Reverts metabolism on stomachs, keep them as important to eating (#1690)
* Reverts metabolism on stomachs, keep them as important to eating (#54632)

* [ready] Reverts metabolism on stomachs, keep them as important to eating

* Merge branch 'master' into upstream-merge-54632

* Update food_reagents.dm

* Update alcohol_reagents.dm

Co-authored-by: NightRed <nightred@gmail.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-11-15 06:47:17 +01:00
SkyratBot
45715dc090 [MIRROR] Fix seeing surgeries while blind (#743)
* Fix seeing surgeries while blind (#53500)

Fixes #53295.

* Fix seeing surgeries while blind

Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@users.noreply.github.com>
2020-09-11 23:15:16 +02:00
SkyratBot
c6007727cd Many issue fixes for stomachs and chem interactions (#53440) (#671)
This changes the has_reagent check to work with stomachs.
Several supporting procs have been added to fully support this behavior.
end_metabolization will work as expected again
expose is working with INGEST items again
on_mob_add working as intended
on_mob_life has been reviewed and worked over.

Health Analyzers now show stomach contents, same with the medical kiosk.

Included the unit test to validate reagent checks.
Unit tests for the new procs on mob

Co-authored-by: NightRed <nightred@gmail.com>
2020-09-07 04:10:16 +02:00
SkyratBot
ee324ab3c2 [MIRROR] Cleanup up all instances of using var/ definitions in proc parameters. (#240)
* Cleanup up all instances of using var/ definitions in proc parameters. (#52728)

* var/list cleanup

* The rest of the owl

* plushvar bad

* Can't follow my own advice.

* Cleanup up all instances of using var/ definitions in proc parameters.

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2020-08-07 18:26:21 +01:00
jdawg1290
62676e72a8 Force LF line endings with gitattributes and convert repo (#52266)
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
2020-07-16 03:02:40 +03:00
skoglol
951f8d221d Merge pull request #52071 from KathyRyals/tendwoundsshutthefuckup
[READY]Surgery steps no longer spams the chat of people far away from the surgeon.
2020-07-12 12:38:09 +02:00
Jared-Fogle
418bd80a6b Remove healing skill (#52005)
* Remove healing skill

* Remove dissection from tech web
2020-07-07 10:10:12 -04:00
Kathy
47ce05dac9 Fixed logic 2020-07-07 13:45:27 +02:00
Kathy
ef8ac20b72 Code refactor 2020-07-07 12:28:43 +02:00
Kathy
96a8e978c9 Surgery is only visible one tile from the surgeon 2020-07-07 12:06:42 +02:00
Timberpoes
9e007d1d71 Removes ability to do multiple simultaneous surgeries without Rod of Asclepius (#51369) 2020-05-30 20:48:05 -04:00
MrDoomBringer
ceea9b6793 [Ready] Skillcapes II: Revenge of the broken github: A Skill Menu Special: New Sprites Edition (#50656)
* 10K hours

60,000 minutes
hahah


sure if you want a trailing newline i can do that


default cloak gets default skill


lazy list and no equip good


necessary ig


Update code/datums/skills/_skill.dm

Co-Authored-By: nemvar <47324920+nemvar@users.noreply.github.com>
Update code/datums/skills/gaming.dm

Co-Authored-By: Angust <46400996+Angustmeta@users.noreply.github.com>
WIP PDA skill monitor program


hacky fixes till i refactor skills


refactors skills a bit, adds admin skill edit menu


If you have a failing, it's that you're always demanding perfection

...IF you have a failing
i think that's it for the admin skill manger


appeases lord flord


bruh


level names


FUCK!!


unga


Update code/modules/vehicles/vehicle_key.dm

Co-authored-by: Rohesie <rohesie@gmail.com>
Update code/modules/admin/topic.dm

Co-authored-by: Rohesie <rohesie@gmail.com>
Update code/modules/admin/skill_panel.dm

Co-authored-by: Rohesie <rohesie@gmail.com>
Update code/modules/admin/skill_panel.dm

Co-authored-by: Rohesie <rohesie@gmail.com>
Apply suggestions from code review

frick

Co-authored-by: Rohesie <rohesie@gmail.com>
EOL and dumb spaces


more rohsie bait


tgui: Query Windows Registry for BYOND cache directory

hell yeah brother


update tgui and dmi


CLRF and bat file


typo ig

* tgui and new janicloak that i accdiently changed on another branch

* jani

* gamer cloak

* trim trailing whitespace

* tgui

* bruh

* variable renaming
2020-05-25 21:46:22 -03:00
spessman-007
5ae305ec9f Resolve issues with incorrect usage of a/an (#51095)
Co-authored-by: NewSta <spessman-007@users.noreply.github.com>
2020-05-25 01:34:34 +08:00
moo
bb3d562d01 Cobbduceus: Surgery Skill XP/Step Buffs (#49196)
* 💉

* 🐣

* excels help

* waaa_fb

* fixed lobotomy skill

* waaa_fb2
2020-02-14 19:17:27 +01:00
Qustinnus
2a1c921acb Refactors skill modifiers to use dictionaries (#48572)
* adds dictionaries woo

* fixes bad code

* duh
2020-01-05 19:46:25 -05:00
moo
4022d0c427 Bumps up Surgery XP gains, Fixes Surgery XP Gains, Fixes Surgery Failure Bug (#48231)
* works on my machine

* saving is a sin 1% of the time!

* works... on... my... machine...?

* i can't test this but it worked on my machine too

Co-Authored-By: Bobbahbrown <bobbahbrown@gmail.com>

* more testing /w TW

* caps XP gain (per iteration) for TW

* no skinnies

Co-authored-by: Bobbahbrown <bobbahbrown@gmail.com>
2020-01-02 23:48:15 +01:00
Ryll Ryll
beff318999 Adds a bunch of new achievements (#48094)
About The Pull Request

Now that achievements are open for adding again, adds 7 new misc achievements-

    Disk, Please!: As a nuclear operative, hold up the captain with a loaded rocket launcher. The captain must be conscious for it to count!
    My Watchlist Status is Not Important: Get reported to security and medical staff by displaying antisocial tendencies in a video game.
    I Was a Teenage Anarchist: Get killed by a vending machine falling on you.
    Mister Sandman: Kill someone by botching surgery while they're asleep
    A Bowl-d New World: Die to a toilet
    How Do I Switch Hands???: Hit yourself idiot
    One Lean, Mean, Cleaning Machine: Gaze upon a fully promoted cleanbot

Why It's Good For The Game

Adds more fun things to do for the gamer cred that aren't just killing things on lavaland
Changelog

cl Ryll/Shaps
add: A bunch of new achievements have been added! To name a few, there are achievements for holding up the captain with a rocket launcher as a nuclear operative, dying to inanimate objects, dying in a toilet, and getting watchlisted! Go do some dumb stuff!
/cl
2019-12-11 14:36:31 +13:00
moo
964b3d65d5 Cobbduceus: Healing lvl? (Medical Skill) (#47538)
* b

* helps to commit huh

* math is hard

* parenthesis are even harder

* Update code/datums/skills/_skill.dm

Co-Authored-By: Bobbahbrown <bobbahbrown@gmail.com>

* removes efficiency... or efficacy 😏

* baby sha... i mean files
2019-11-21 04:49:24 +00:00
PKPenguin321
4c9fe66a3f also the comments 2019-10-08 18:22:21 -07:00
PKPenguin321
a475e3d260 a define for surgery changes 2019-10-08 18:20:05 -07:00
PKPenguin321
52be37f0f9 Surgery now goes slower before failing (#46640)
* Surgery failure removal

* implement speed scaling (again)

* removed wrong undef

* Removes outdated try_to_fail variable

* Remove outdated comments

* rolls back removals of surgery fails

* restores try_to_fail and failure proc
last important changes are in /initiate()

* meat of the PR
modded time now caps out
fail chance is reworked to be based on modded time
failing is possible again

* cap fail_prob at 100
just-in-case to avoid any byond weirdness with prob being >100

* messages for different fail probs

* fail chance caps at 99%
there is always a 1% chance to succeed

* borgs immune to slow, stasis bed check

* wake up, travis

* undoes mysterious floor surgery nerf
0.25 modifier -> 0.5 modifier, as originally
2019-10-08 19:38:25 -04:00
py01
3472469e81 surgeries automatically retry if fumbled 2019-09-10 20:30:42 -07:00
kingofkosmos
df1fecc58c Adds notice-span to visible_messages with no spans (#46044)
About The Pull Request

Adds 'notice' span class to all visible_messages which had no span class, making all those black messages blue.
Why It's Good For The Game

This should help differentiate action-messages from talking-messages in the chat. More actions will be blue, thus black talking-messages should pop out more.
2019-08-26 20:50:00 +12:00
moo
8fcf42eff9 Experimental Cobbisection [150+ Hours and Ready] (#44821)
About The Pull Request & Why
Dissection (Prev Experimental Dissection) Is Now Roundstart

Goal:give medbay a task they can do outside of normal healing on the off chance they're overstaffed and/or are in need of work.
Dissection (Prev Experimental Dissection) Is Now Tiered

Goal: I'm still not seeing competition in the medical tree that I'd like to see. Now that science benefits from going to this tree, I expect it to be a prominent if not the main pick.

Goal: Provide Medical bargaining power with Science. Want you cool gear bros? Better indulge us a bit if you want us to farm corpses.

NOTE: You will NOT be punished for doing low tiered surgeries then unlocking further tiers. It adjusts your rewards depending on if the body has been experimented on before and gives you the difference, it will not block you from doing the surgery entirely.
Repeatability

Goal: Make it less balanced around the all/nothing mechanic and more with rewarding constantly running the surgery.

Failing the surgery will give you a pity amount (1%, something slightly more than none in grand scheme) but more importantly will NOT add the trait that disables you from using that body for the surgery again.
Silicons can now perform dissection

Since It's not All/Nothing I decided to allow silicons to be able to help out. This is the first (and only) surgery that they can potentially fail.
Nerfs (yikes!)

Needed to nerf it to compensate for the fact that it was now roundstart. The hardest one was pointgain. I decided to mega nerf it so tiered would be desired. This was also a result in the shift of balance off the RNG and more on the repeatability.
Dissection Can Now Be Performed on ANY LIVING MOB

Goal: Cooperation between Mining (returning Mobs) and Medbay (turning these mobs into points)

The foundation is really lacking imo since I didn't want to dance around with numbers in this PR. Currently all mobs that aren't human and aren't explicitly listed in check_value are 300 points per surgery.

I hope you guys can add more mobs to the pool with better rewards (imagine dissecting the dragon for science!)
Dissection Surgery Minor Edits
Step Configuration Edit

Needed to change just for repeatability in the dissect step (didn't like the end step being the proceeding step).

I replaced the incision step with a post-dissection clamp step to keep the theme of scalpel > hemo (dissection uses scalpel)
Implement Changes / Probability Effects

Rewards using the researched tools (further integrates medsci coop), lowers standard gear to appropriately balance higher tiers.
MISC
Prices are Define Bound

Everything is relative to a single number via calculating off a define instead of independent values. Balance discussion shifts from "Is X number fair" to a more tangible "Is this mob worth X times the amount of a normal human". If everything is strong/low we can just edit a single number!
Let me know if there's any undoc'd changes!
Changelog

cl Cobby x Medbay
balance: (Experimental) Dissection is now roundstart.
balance: (Experimental) Dissection is now tiered and give higher point outputs than their predecessors.
add: All living mobs with corpses can be dissected.
code: Attention, all ss13 gamers! I need YOUR help adding mobs to the pool so they don't get the lame 60% of normal human pricing! You can dissect DRAGONS FOR CRY IT OUT LOUD!
balance: You are NOT punished for doing the lower tier surgeries then unlocking higher ones!
add: Borgs can perform dissection but they are not 100% successful.
tweak: Shifts balance of dissection surgery towards spammability vs. rng mechanic.
balance: All point rewards are severely nerfed to promote doing this multiple times (since it's now available from the getgo).
tweak: If you fail the dissection step, you get a pity reward (1% credits) and can repeat the step until you successfully dissect the being.
tweak: Lowered probabilty of success on default tools, increased probability for researched tools.
tweak: removed 2nd incision step, added clamp step post dissection (repeatability purposes).
/cl
2019-07-09 11:57:26 +12:00
XDTM
3f28227f6c Makes surgery more stealthy (#44483)
About The Pull Request

Part of #44440

Surgery now gives detailed description to the surgeon and anyone within one tile of distance, and more vague or ambiguous descriptions to the patient and anyone further away. This can lead to a surgeon being able to perform a brainwashing in place of a brain surgery with nobody being the wiser, or implanting a different organ than the one agreed on, and so on.
Changelog

cl
add: Surgery steps are now shown in detail only to the surgeon and anyone standing adjacent to them; the patient and people watching from further away get a more vague/ambiguous description.
/cl
2019-06-18 11:44:58 +12:00
XDTM
6a2dfee42e Minor surgery fixes (#44498) 2019-06-14 09:39:47 -04:00
skoglol
e3e961d60a Fixes repeatable surgery advancement. 2019-05-10 00:13:52 +02:00
FrostyFridge
6c4b911d99 Add the medical cyborg surgical processor upgrade (#39646)
Adds the Surgical Processor upgrade for medical cyborgs, available from exosuit
fabricators after 'Cyborg Utilities: Medical' is researched. This upgrade
allows medical cyborgs to scan surgery disks, or copy procedures from an
operating computer. The cyborg can then initiate scanned procedures. Cyborgs
can also now perform surgery steps that have no instrument requirement.

Medical cyborgs were generally unable to perform any advanced surgeries outside
of some specific circumstances. This update allows cyborgs to make use of the
advanced surgeries. Some advanced surgeries have steps that require a hand
without any tools; this update allows cyborgs to perform these steps as well.
Note that surgeries must be obtained through research or a disk somehow before
the cyborgs can scan them.
2018-08-18 15:21:40 -07:00
XDTM
6293284a90 Operating computers now display required surgery chems. 2018-02-23 21:58:24 +01:00