Commit Graph

1026 Commits

Author SHA1 Message Date
nemvar a20c1d9439 Fixes surgery runtime and renames surgery_helpers.dm (#47128)
* Fixes surgery runtime and renames surgery_helpers.dm

* Update code/modules/surgery/surgery_helpers.dm

Co-Authored-By: moo <11748095+ExcessiveUseOfCobblestone@users.noreply.github.com>
2019-10-17 18:50:37 -04:00
Fikou 340ba6f109 fixes cavity surgery with advanced cautery (#47109)
* shdghf

* c

* bitch
2019-10-16 17:13:02 -04:00
Jeremiah Cooley 8c1e88903a Coronary bypass can be done with adv tools (#47082) 2019-10-15 17:57:13 -04:00
KomradeSpectre 9ff071af60 Clockcult Removal 2019 (#47057)
* Nanotrasen fires the Wave Motion Gun at the Clock Cult

* Fixes a random changelog appearing from the reebe void.

* Fixes a wrong type reference regarding the bronze sheets in the Lavaland Ruin for it.

* Fixes redundant cells after CC removal in ruin by populating them with varied ore chunks, or destruction clutter.

* why is it /obj/item/stack/sheet/metal but not /obj/item/stack/sheet/iron

* Fixes the lavaland ratvar ruin to have fluff variant structures of deleted shit it referenced instead what I thought was reasonable.
2019-10-15 10:13:41 +02:00
Fikou 632e8e5b52 Fix advanced retractor/hemostat description (#46996) 2019-10-12 09:44:42 -07:00
moo 3e9008c1af a define for surgery changes (#46980)
* a define for surgery changes

* also the comments
2019-10-10 13:46:55 -04:00
nemvar c38a7a3bb5 Removes a bunch of var/ in procs (#46946)
* Removes a bunch of /var in procs

* reset this

* Why wasn't this already?
2019-10-10 04:20:27 -07:00
Fikou e450be44dc surgery tool refactor (#46856)
* awooooooooooooooooo

* a

* aw shet

* woops!!

* a

* wow heck you
2019-10-09 12:25:42 -04: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
Qustinnus a394ccdc2b Material datum chairs & tables and applies materials to all items (Now with less pain for mining & RnD) (#46525)
removes materials list from items, uses custom_materials instead. This might introduce some bugs so we should testmerge this for a while (and Ill test stuff locally as much as I can)

this also adds material crafting to sheets. Test case being chairs. In the future we can add stuff like tables, walls, doors etc.

also applies materials to everything, with fixes, which can close #46299
2019-10-08 11:06:02 -04:00
Qustinnus 81c3d92129 Adds pick-up, drop and throw sounds for items. (#46677)
* finishes up

* adds sound volumes

* woops

* forgot to ctrl + s

* cloth

* smh

* done
2019-10-04 18:53:09 -04:00
nemvar daffaefb71 Switches out the three billion args of electrocute act for flags (#46564)
* Switches out the three billion args of electrocute act for flags

* Adds autodoc to electrocute flags, sets the boolean I removed and tries to fix the ed209 file

* tries to fix ed209 again

* Fixes 209 hopefully

* Finally fixes that darn file

* one final one to fix the diff

* Or i guess i'll just do it myself
2019-10-02 23:14:19 +02:00
spookydonut bfc4bbf8f2 Makes flash_protect values use defines (#46588)
* Makes flash_protect values use defines

* ctrl s is hard okay
2019-09-25 17:11:42 -07:00
Couls f5614b8ede Update eyes.dm (#46717) 2019-09-24 17:58:10 -04:00
spookydonut 8b339f7f94 creamed component (#46496)
* creamed component

* creamed no

* make use of unused sprites

* applies to all living

* params

* changes from review
2019-09-24 17:17:33 +02:00
nemvar dc783795db Renames is_hot and is_sharp to get_temperature and get_sharpness (#46680) 2019-09-23 14:02:59 -07:00
oranges 0f2bb6a1ab Merge pull request #46512 from ExcessiveUseOfCobblestone/chicken-tendie-woundies
Cobbduceus: TW Changes (Missing HP Bonus/ Less Base Healing/ Less Penalty for Clothes)
2019-09-23 12:50:09 +12:00
AarontheIdiot acf9097741 Hepatectomy Surgery (#46397)
* healies ?

* balance

* fixed some oopsies

* no more ishuman

* newbie coder moments
2019-09-21 00:46:03 -04:00
nemvar 4accfec14e Arm implants work again (#46535) 2019-09-16 04:01:59 -04:00
kingofkosmos 8358169b8e New 'hear' span class (#46369)
* Reverts italics-span back to no color.

* Cleans up many extra spaces and indents.

* Adds 'hear' span class.

* Replaces all 'italics' used in heard messages with 'hear'.
2019-09-14 23:56:34 -07:00
4dplanner 8279aca3dd liver fix (#46488) 2019-09-14 19:48:32 -04:00
ExcessiveUseOfCobblestone f0eb5f2ee4 Update healing.dm 2019-09-14 14:01:22 -04:00
oranges 8c3fa4400a Merge pull request #46441 from py01/repeatingsurgery
Failed surgery steps automatically retry
2019-09-14 17:39:33 +12:00
py01 3472469e81 surgeries automatically retry if fumbled 2019-09-10 20:30:42 -07:00
moo 6b18b2b80d Update healing.dm (#46319) 2019-09-10 15:33:05 -07:00
cacogen 1f010e7144 Selectively randomisable characters (#46108)
* Selectively randomisable characters

* it's a list now

* this doesn't work

* it's totally fucking fucked mate big time

* it works

* so sick of this goddamn pull request and yes i know this is a retarded way to do this it didn't work the other way

* anturk forestalls the inevitable suicide

'associative lists are more performant'

* final changes anturk requested

'remove all the "in randomise" and it's ready'
2019-09-06 08:50:12 +02:00
Fhaxaris 8dba4bf40f buffs the cybernetic heart (#46266)
* modified heart.dm cybernetic heart

* final testing and bug fixes

* changed dose regeneration time from 10 minutes back to 5 minutes

* description was lying

* restarts heart 20 seconds after emp

* no more big heals
2019-09-04 12:07:55 -04:00
moo 686c0a8280 Cobbduceus Part 4/X: Operating Computers Sync to Stasis Beds (#46223)
About The Pull Request

Operating Computers can now be built to support advanced surgeries to stasis beds. Unlike a table, these can be within LoS of the computer.

Do note it links them the same way it does a table (once when THE COMPUTER is built).

A minor change is now the surgery tab of the computer can be accessed to sync surgeries even if a table isn't linked.
Why It's Good For The Game

Stasis beds should be surgery hotspots, and this allows doctors to explore some of the unique pathways/surgeries without relying on a table.

Do note that some surgeries will still be better performed on the optable since the beds have a small penalty.
Changelog

cl Cobby
add: Operating computers can now be built to sync with all nearby stasis beds within it's LoS and provide them with advanced surgeries.
/cl
2019-09-02 09:45:43 +12:00
moo 6572f2d0a4 Cobbduceus 3/X: ERP-Free Tend Wounds (#KeepTheirPantsON) (#46139)
* Update healing.dm

* feedback 4u

* Update healing.dm
2019-08-31 02:06:49 -07:00
Rob Bailey 2029163d33 playsound vary boolean define conversion (#46254)
About The Pull Request

Converts every single usage of playsound's vary parameter to use the boolean define instead of 1 or 0. I'm tired of people copypasting the incorrect usage.
Also changes a couple of places where a list was picked from instead of using get_sfx internal calls

This was done via regex:
(playsound\(.+,.+,.+, ?)1( ?\)| ?,.+\)) to match 1
(playsound\(.+,.+,.+, ?)0( ?\)| ?,.+\)) to match 0
full sed commands:
/(playsound\(.+,.+,.+, ?)1( ?\)| ?,.+\))/\1TRUE\2/ 1 to TRUE
/(playsound\(.+,.+,.+, ?)0( ?\)| ?,.+\))/\1FALSE\2/ 0 to FALSE

I'm not very good with regex and these could probably be optimized, but they worked.
Why It's Good For The Game

Code usability
2019-08-30 18:45:20 +12:00
RandolfTheMeh 161451f89a Cybernetic/Upgraded Cybernetic Ear replacement (#45980)
* Cyber ears

* removes extra comma in nodes, removes pointless switch case

* Upgraded cyber ears no longer bangproof, updated surgery.dmi
2019-08-26 14:38:07 -04: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
carlarctg 15717dda7a Gives borg tools unused sprites (#45939)
* where's the get good button

>adds some borgtools
>fills empty tool pixels with 254 transparency pixels

* tool stuff

* fixes icon

* repoked

* cobbdescus part 123/X: cobbtool cobbmove cobbreview
2019-08-17 23:48:26 -07:00
Dennok 73b61a7277 repeatable brain shock (#45901) 2019-08-17 02:16:03 -07:00
nemvar 11318bfc3c Arm implants now support more than two hands. (#45843)
* Adds multiple hand support to arm implants

* Kills those nasty static lists.

* Update inventory.dm
2019-08-16 20:56:25 +02:00
nemvar 8918a88612 Makes organ decay a lot nicer. (#45845)
* Gets rid of double processing memes.

* fixes the organ box thing

* Makes everything just a tad more performant

* even more performant

* Gets rid of the double processing on SSobj for body eggs

* forgot the brackets

* Also removes double processing memes from the shadowling armblade

* Removes the istype check for MMIs.
2019-08-15 21:52:07 -07:00
Dennok cc26d3316c Fix multi surgery. Add operating computer surgery target. (#45900)
* fix multi surgery

* drapes fix

* Operating computer target show
2019-08-14 16:25:17 -04:00
Fikou 205dda301a fixies (#45886) 2019-08-13 17:19:49 -07:00
nemvar 041a62e0e3 Adds inhands for all the surgery tools. (#45864)
* Adds inhands for all the surgery tools.

* didn't even show the conflict
let's hope this works.
2019-08-13 17:16:43 -07:00
moo 98765bae0a Dissection Examine + Logic Fix + Ayy (#45807)
clDissectby
add: Examining a dissected body will provide insight on the highest tier performed.
fix: You can do ayy dissection now if you get the tech
fix: FINALLY fixed the surgery logic correctly
/cl
2019-08-12 11:39:25 +12:00
moo d75332ffd6 Merge pull request #45773 from nemvar/patch-96
Failing healing surgery only gives one error message now
2019-08-08 19:28:10 -04:00
Mickyan ad86530e5c dont worry i was a doctor once (#45765) 2019-08-08 00:06:53 -04:00
nemvar 0b5c61c899 Failing healing surgery only gives one error message now 2019-08-07 14:06:18 +02:00
kingofkosmos c3ea51908d Adds "you" to local visible_messages (#45631)
* adds "you" to some combat visible_messages.

* more you-messages and attack verbs to present tense.

* small fixes

* more additions and small fixes

* few message tweaks

* Fixes a typo and few other wordings.
2019-08-06 02:15:34 -07:00
YPOQ 4f48850fce Fixes muscled veins surgery (#45642) 2019-08-05 01:58:36 -07:00
nemvar e587b970da Adds parent calls to almost all tool_acts (#45582)
* Adds parent calls to almost all tool_acts

* actually compiles
2019-08-03 22:25:57 -07:00
nemvar ea70deb828 List of contents (#45476)
About The Pull Request

-You know require medical access to change the medical records with the hud
-Medical/Sec HUD examine now relies on a trait instead of istype checks.
-Removed a shitload of excessive nesting
Why It's Good For The Game

This isn't a full refactor, just a small attempt to make this code slightly more sane and more friendly to work with. I do not intend to fix all the problems this piece of code has (ohh, there are so many of them) with this PR.
Changelog

cl
balance: You now require medical access to change the medical records with a medHUD.
/cl
2019-08-03 14:49:36 +12:00
moo 7c551c7e85 Tend Wounds Now Is -2 Steps and Borg-Friendly! (#45457)
cl Cobby
balance: Tend Wounds is -2 Steps (Scalpel > Healing w Hemo > Cautery)
fix: Borgs can now perform Tend Wounds
add: Anti-spam on Tend Wounds (Starting Message only, Result Message untouched)
admin: The incise step for Tend Wounds does not cause damage, making it borg friendly.
/cl
Why

Tend wounds should be the baseline so let's make it easy to perform.
2019-07-30 20:53:50 +12:00