Commit Graph

1385 Commits

Author SHA1 Message Date
SkyratBot
87d6b9bec3 [MIRROR] Fix augment flash runtime (#6821)
* Fix augment flash runtime (#60090)

* Fix augment flash runtime

Co-authored-by: KubeRoot <kubinator4321@gmail.com>
2021-07-10 14:10:23 +01:00
SkyratBot
6410c69f35 Fix moth wings not showing up (#6820)
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-07-10 14:10:07 +01:00
Gandalf
46ede88a87 few mutant fixes 2021-07-09 17:54:31 +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
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
death and coding
5c6365343b (mostly) [modular] adds a language for xeno hybrids via culture (#6748)
* mostly [modular] adds a language for xeno hybrids via culture

* ok special culture

* I FORGOT THE DEFINE

* Update tgstation.dme

Co-authored-by: louiseedwardstuart <bonniefluff>
2021-07-06 17:38:21 +01: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
SkyratBot
408835e58f [MIRROR] Massively buffs debriding surgery (#6610)
* Massively buffs debriding surgery (#59865)

Yesterday, I got lasered in the arm twice. A good three minutes later I lose all controle off my arm and have an assistant debride my arm. On a surgical table with sterilizine, this took 2 minutes and 30 seconds.

All wounds can be fixed quite easily, but the infection wound type has always been an absolute nightmare. This was the only time I recorded it, but this has happened so many times and it feels like the average lies around 4~ minutes for this surgery to complete.

It still depends on how badly infected your burn wound is, but it shouldn't take longer than 30 seconds now.

* Massively buffs debriding surgery

Co-authored-by: Time-Green <timkoster1@hotmail.com>
2021-06-30 20:00:29 +01:00
SkyratBot
745eb3adda [MIRROR] Fix to_chat error with empty surgery step strings (#6599)
* Fix to_chat error with empty surgery step strings (#59876)

/datum/surgery_step/incise/success() has no vague_message arg in a certain edge case when calling display_results. This eventually leads to an empty string being sent to /mob/proc/show_message() - Unsure if this is intended or not, but I've added an equivalent string based on the other usages of display_results instead of sending an empty string.

* Fix to_chat error with empty surgery step strings

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2021-06-30 02:43:04 +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
ce7052fda8 [MIRROR] Slightly buffs knife wounds, slightly nerfs scalpel wounds (#6572)
* Slightly buffs knife wounds, slightly nerfs scalpel wounds (#59848)

Recently it came to my attention that knives are actually really bad at causing slashing wounds, while the scalpel is probably a little too good at causing them, even through armor. So, here's what this PR does:

Knives in general are more effective at causing slash wounds, especially if the target has no armor/clothing on that limb. The butcher's cleaver in particular is now equally as effective as a circular saw.
Scalpels are a bit less effective at causing slash wounds against armor/clothing, though they're still extremely good at cutting, especially against exposed flesh.

With these stats, knives will be more effective against unarmored targets, and can actually be counted on to draw blood when needed.

* Slightly buffs knife wounds, slightly nerfs scalpel wounds

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
2021-06-29 16:45:35 +01: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
Gandalf
34b8d43390 Synthetic wounds (#6369)
* OOOF

* Update slash.dm
2021-06-22 22:41: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
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
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
a9d405cdfb [MIRROR] Blindness-related bug fixes and code improvements (#6291)
* Blindness-related bug fix and code improvements (#59616)

TRAIT_BLIND caused by the hypnochair or by being unconscious (eg. sleeping) will no longer prevent you from being flashed.
Moves all raw text strings used in become_blind and cure_blind calls (as well as nanites in general with ADD_TRAIT) into defines.
Code changes not in changelog due to not being even the slightest bit of player facing.

* Blindness-related bug fixes and code improvements

Co-authored-by: RandomGamer123 <31096837+RandomGamer123@users.noreply.github.com>
2021-06-14 18:39:29 +12:00
SkyratBot
6f3b151bb8 [MIRROR] Fixes a bunch of harddels that are sourced from player action (#6252)
* Fixes a bunch of harddels that are sourced from player action

* Mirror!

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Funce <funce.973@gmail.com>
2021-06-11 03:13:33 +01:00
SkyratBot
0c06e62527 Fixes a typo in tend wounds (burn) surgery (#59561) (#6209)
Co-authored-by: Thunder12345 <Thunder12345@users.noreply.github.com>
2021-06-10 09:03:58 +12:00
SkyratBot
fbb78302cf [MIRROR] Makes obj_integrity private and only updated through procs (#6125)
* Makes obj_integrity only updated through procs (#59474)

Having things updating integrity directly is just going to cause more problems down the line as more elements and components depend on being notified of integrity changes. It's an easy mistake to make so making it private should deal with the problem.

get_integrity() might be useful in the future but is mainly a side effect of making obj_integrity private as that also disallows reads.

* Makes obj_integrity private and only updated through procs

* Mirror!

Co-authored-by: Emmett Gaines <ninjanomnom@gmail.com>
Co-authored-by: Funce <funce.973@gmail.com>
2021-06-05 16:35:09 +12: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
b6349c4075 [MIRROR] Cleans up some pointlessly defined initialization procs (#6083)
* Cleans up some pointlessly defined initialization procs (#59425)

* Cleans up some pointlessly defined initialization procs

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-06-03 10:05:35 +12:00
SkyratBot
7657dd420f [MIRROR] Fix incorrect uses of UnregisterSignal (#6035)
* Fix incorrect uses of UnregisterSignal (#59379)

Correctly unregister multiple signal types / removes uneeded proc parameters in calls to UnregisterSignal

* Fix incorrect uses of UnregisterSignal

Co-authored-by: Gamer025 <33846895+Gamer025@users.noreply.github.com>
2021-05-30 22:53:47 +01:00
Matthew J
a1e66fcd04 [SEMI-MODULAR] Fixes issues that caused integration tests to fail (#6027)
* fix the annoying linter

* fix the annoying linter

Co-authored-by: Matthew <matthew@tfaluc.com>
2021-05-29 22:06:21 +02:00
SkyratBot
0f4945bc6e [MIRROR] Stops giving you organ damage messages if you arent conscious (#5991)
* Stops giving you organ damage messages if you arent conscious (#59311)

* Stops giving you organ damage messages if you arent conscious

Co-authored-by: skoglol <33292112+kriskog@users.noreply.github.com>
2021-05-27 22:34:45 +01:00
SkyratBot
378943d2cd [MIRROR] Fixes mislabelled Muscled Veins and Gastrectomy failure proc (#5948)
* Muscled Veins and Gastrectomy (#59291)

* Fixes mislabelled Muscled Veins and Gastrectomy failure proc

Co-authored-by: FlamingLily <80451102+FlamingLily@users.noreply.github.com>
2021-05-25 19:23:32 +01:00
SkyratBot
456f347dfa [MIRROR] USE SIGNAL_HANDLER REEEEEE (#5921)
* use SIGNAL_HANDLER REEEEEE (#59242)

makes as many procs as i can find use the SIGNAL_HANDLER define which i assumed they all already did

* USE SIGNAL_HANDLER REEEEEE

Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
2021-05-25 03:42:11 +01:00
FlamingLily
ee4c12c45f [HORRIBLY MODULAR] Surgical Pain (#5899)
* it begins

* all

* pain

* i forgot i personally slogged through the entire goddamn surgery code to clean out those single letter variables

* i need to stop rushing

* Update readme.md
2021-05-24 16:32:15 +01:00
SkyratBot
1d94450a9e [MIRROR] Minor grammar fix for blood filter (#5875)
* Grammar fix for blood filter (#59238)

* Minor grammar fix for blood filter

Co-authored-by: RandomGamer123 <31096837+RandomGamer123@users.noreply.github.com>
2021-05-23 15:05:02 +01: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
8457ce5e4f [MIRROR] Mechanical surgery - unscrew shell now correctly checks if the random item you use is sharp or not. (#5812)
* Mechanical surgery - unscrew shell now correctly checks if the random item you use is sharp or not (#59167)

* Mechanical surgery - unscrew shell now correctly checks if the random item you use is sharp or not.

Co-authored-by: FlamingLily <80451102+FlamingLily@users.noreply.github.com>
2021-05-20 22:34:37 +01:00
YakumoChen
d0d13cf4c6 Special Desc: Brainwashing Disk (#5722)
* Revert "Automatic changelog compile [ci skip]"

This reverts commit 4a54a28f11e6265c1cbcbb3848bde6d580baa8a5.

* Update brainwashing.dm

* Revert "Revert "Automatic changelog compile [ci skip]""

This reverts commit ff0405673c71bbbb79a41becb7c278965efab53e.
2021-05-15 19:55:50 +01:00
SkyratBot
910b3e2e3b [MIRROR] Deletes a comment that has been lying to me for months. (#5688)
* Removes a LIE from the code (#59074)

* Deletes a comment that has been lying to me for months.

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
2021-05-14 22:13:32 +01:00
Snakebittenn
b0c1cb1b34 [READY] [MODULAR] Adds Demonic Language (Kinda) (#5520)
* blackspeech

* updoot

* nepotism
2021-05-10 14:49:43 +01:00
SkyratBot
cde4099db0 [MIRROR] Fixes blood filter message (#5576)
* fixes blood filter message (#58942)

* Fixes blood filter message

Co-authored-by: dragomagol <66640614+dragomagol@users.noreply.github.com>
2021-05-09 14:19:28 +01:00
SkyratBot
345415c537 [MIRROR] Tend Wounds and Debride Infection surgeries now estimate how long you have left to finish (#5559)
* Tend Wounds and Debride Infection surgeries now estimate how long you have left to finish (#58682)

* Tend Wounds and Debride Infection surgeries now estimate how long you have left to finish

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
2021-05-08 13:45:22 +01:00
Seris02
4d30961900 [SEMI-MODULAR] slimes can now properly switch between digitigrade and normal legs (#5413)
* SLIIIIIME

* woops forgot to delete that
2021-05-02 23:08:34 +01:00
SkyratBot
d8ee087d8d React optimization + event based processing for tanks, canisters and pipelines (#5352)
Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-05-01 14:08:53 +01:00
SkyratBot
89fdfc85bd [MIRROR] Stops ethereal from crystalizing while eaten (#5210)
* Stops ethereal from crystalizing while eaten (#58650)

Checks if an ethereal is in an item or mob before making the crystal. Stops weird cases where one might just appear outside a space dragon or create legions that dropped no corpses. fixes #58643

Look if someone wants to code the process of an ethereal coming back to life in a space dragon's stomach I won't stop you but I will judge you.

* Stops ethereal from crystalizing while eaten

Co-authored-by: itseasytosee <55666666+itseasytosee@users.noreply.github.com>
2021-04-26 12:00:21 +01:00
SkyratBot
1a3beaa071 [MIRROR] Feedback for mutations deactivating from losing limbs (#5198)
* feedback it isFeedback for mutations deactivating from losing limbs (#58687)

* Feedback for mutations deactivating from losing limbs

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2021-04-26 11:57:44 +01:00
SkyratBot
e34cc0209a [MIRROR] Fixes eye organ manipulation pre op and success text (#5030)
* organs (#58530)

* Fixes eye organ manipulation pre op and success text

Co-authored-by: Seth Scherer <supernovaa41@protonmail.com>
2021-04-20 02:47:05 +01:00
SkyratBot
fa8e5628e6 [MIRROR] Move eyestabbing to an element, rather than as part of core combat code (#4964)
* Move eyestabbing to an element, rather than as part of core combat code

* Update item_attack.dm

* Update item_attack.dm

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-04-17 01:57:45 +01:00
SkyratBot
9b251add70 [MIRROR] Fly eyes now have their own sprites (#4934)
* Flypeople now have actual eyes (#58414)

* Fly eyes now have their own sprites

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
2021-04-16 00:55:13 +01:00
SkyratBot
eb180040de [MIRROR] Flypeople can now use more than 1 s at a time. (#4922)
* Flypeople can now use more than 1 s at a time (#58413)

* Flypeople can now use more than 1 s at a time.

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
2021-04-15 16:22:20 +01:00
SkyratBot
2a26d1a54d [MIRROR] Four New Sects, small rethemes to first 3 (#4832)
* Four New Sects, small rethemes to first 3

* Update species.dm

* Update species.dm

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-04-13 12:27:21 +01:00
SkyratBot
0e34bfef04 [MIRROR] Fix for reagents on_mob_life (#4859)
* Fix for reagents on_mob_life (#58359)

An update stopped reagent on_mob_life from triggering unless the reagent can be overdosed.
This fixes this issue and allows items like milk to be metabolized again.

This also buffs milk healing in bone stomachs as it was really weak, the total milk and the amount you heal have both been increased.

Fixes #58293

* Fix for reagents on_mob_life

Co-authored-by: NightRed <nightred@gmail.com>
2021-04-13 01:32:06 +01:00
SkyratBot
a3347745a7 [MIRROR] Fermichem 2.5 - Organ(kinda) related medicines adjustments! (#4811)
* Fermichem 2.5 - Organ(kinda) related medicines adjustments! (#57806)

* Initial dump

* Getting there

* Update impure_medicine_reagents.dm

* Update impure_medicine_reagents.dm

* Adds the reaction mechanics

* Compiling fixes

* Update medicine_reagents.dm

* Updates the debug machine to allow for live recipe edits and tweaks the rest of the stuff

* Few fixes and things I missed

* linters

* Feedback changes

* Apply suggestions from code review. Thanks ATH1909!

Co-authored-by: ATH1909 <42606352+ATH1909@ users.noreply.github.com>

* More changes

* Few more tweaks before component and eyes

* Update chem_recipe_debug.dm

* Fixes loop I think

* I guess I'll just have to hope qdel does it's job

* It really doesn't like nullspace

* Fixes bug in oculine and misspelling

* No obsessed traumas to avoid forced antaging

Co-authored-by: ATH1909 <42606352+ATH1909@ users.noreply.github.com>
Co-authored-by: Aleksej Komarov <stylemistake@ gmail.com>

* Fermichem 2.5 - Organ(kinda) related medicines adjustments!

Co-authored-by: Thalpy <33956696+Thalpy@users.noreply.github.com>
Co-authored-by: ATH1909 <42606352+ATH1909@ users.noreply.github.com>
Co-authored-by: Aleksej Komarov <stylemistake@ gmail.com>
2021-04-11 00:25:59 +01:00
Gandalf
b32b65fbe3 Mutants - HNZ1 - A medical and scientific adventure! (#4664)
* aaa

* AAAAAAAA

* aaa

* aaaaa

* aaa

* Update zombie_cure.dm

* Update zombie_techweb.dm

* Update zombie_cure.dm

* Update zombie_cure.dm

* a

* THEY ARE MUTANTS, NOT ZOMBIES

* aaaaa

* aaaa

* Update mutant_event.dm

* aaaaa

* aaaa

* Update mutant_cure.dm

* Update mutant_cure.dm

* aaaaaaaaaaaa

* Update mutant_parts_greyscale.dmi

* aaaa

* Create research2.dmm

* 0

* Update mutant_datum.dm

* Update research2.dmm

* aaaa

* Update mutant_datum.dm

* aaaa

* aaaa

* Update mutant_cure.dm

* Update mutant_cure.dm

* Update mutant_cure.dm

* Update mutant_datum.dm
2021-04-10 18:32:09 +01:00
Azarak
85b5cbc378 cultures and languages (#4647)
* cultures and languages

* botanist fix

* missing languages

* make sure new saves from scratch get a species set correctly

* Update preferences.dm

* Update new_player.dm

Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-04-10 18:30:32 +01:00