Commit Graph

1405 Commits

Author SHA1 Message Date
SkyratBot
09d2b6d037 Fixes non-clothing mask slot items runtiming breath, also makes gas filtering a defined bitfield like it should be (#60938) (#7680)
Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-08-21 10:19:19 -04:00
SkyratBot
b0c01e40af [MIRROR] Del The World: Unit testing for hard deletes (#7589)
* Del The World: Unit testing for hard deletes (#59612)

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

* Del The World: Unit testing for hard deletes

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: SteelSlayer <42044220+SteelSlayer@ users.noreply.github.com>
2021-08-17 18:58:57 +01:00
SkyratBot
7a1d3700bb [MIRROR] Drugs of the 26th century. Three new hella rad drugs, one less lame drug and more! (#7481)
* Drugs of the 26th century. Three new hella rad drugs, one less lame drug and more!

* Update traits.dm

* Update maint_loot_trash.dm

Co-authored-by: Krysonism <49783092+Krysonism@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-08-15 23:52:58 +01:00
SkyratBot
d2d89a863a [MIRROR] [Ready] Mining Loot Rework (#7461)
* [Ready] Mining Loot Rework

* AAAA

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-08-10 16:12:36 +01:00
SkyratBot
d997f9ccc3 [MIRROR] swap bodypart species checking to bitmap, fix surgery for monkey body… (#7480)
* swap bodypart species checking to bitmap, fix surgery for monkey body… (#60280)

* swap bodypart species checking to bitmap, fix surgery for monkey bodyparts on monkeys

* fix part_origin so it is used correctly

* remove tabs, change DEFAULT_BODY to NULL_BODY

* add requested documentation

Co-authored-by: whitecas18 <whitecas18@ students.ecu.edu>

* swap bodypart species checking to bitmap, fix surgery for monkey body…

Co-authored-by: ArchPigeon <bookmaster3@gmail.com>
Co-authored-by: whitecas18 <whitecas18@ students.ecu.edu>
2021-08-10 15:54:45 +01:00
jjpark-kb
3b278f201c species id defines (#7466) 2021-08-08 22:05:10 +01:00
SkyratBot
4c29a5e334 [MIRROR] Renames COMSIG_MOB_APPLY_DAMGE (#7336)
* renames damge -> damage (#60647)

* Renames COMSIG_MOB_APPLY_DAMGE

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-08-03 20:04:48 +01:00
SkyratBot
f7ae1d7225 [MIRROR] surgery_initiator component to element. (#7335)
* surgery_initiator component to element. (#60634)

* surgery_initiator component to element.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2021-08-03 20:04:42 +01:00
Snakebittenn
20245f46c0 [READY] [MODULAR] Adds Japanese language (#7089)
* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* yourlittlebutterfly

* Update html/changelogs/archive/2021-07.yml

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

* Update html/changelogs/archive/2021-05.yml

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

* we yangyu now

* Update html/changelogs/archive/2021-07.yml

Co-authored-by: death and coding <58394696+thestubborn@users.noreply.github.com>

* Update 2021-07.yml

* Update 2021-07.yml

* Update 2021-07.yml

* Update 2021-07.yml

Co-authored-by: Changelogs <action@github.com>
Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
Co-authored-by: death and coding <58394696+thestubborn@users.noreply.github.com>
2021-07-28 23:44:17 +01:00
SpaceVampire
5b9cc828be Revert "Synthetic wounds (#6369)" (#6669)
This reverts commit 34b8d43390.
2021-07-26 15:56:38 +01:00
SkyratBot
439ae7812b [MIRROR] Brain-computer interfaces, circuits in your brain (#7145)
* Brain-computer interfaces, circuits in your brain (#60338)

BCIs are a new shell that can be implanted in your brain through surgery or through a BCI Manipulation Chamber, which provide the ability to easily implant and remove BCIs. They are the same size as compact remotes and generally share the same limitations.

Also adds CIRCUIT_FLAG_HIDDEN, to hide components from the UI. I didn't end up needing this, but Watermelon said he had ideas for it, so eh.
Why It's Good For The Game

BCIs provide an interesting, stealthy input method for circuits. They are seen as a healthier alternative to nanites, and improve on them in several ways:

    Circuits have limited manipulation of the world, and intentionally do not perform the ability to provide passive healing, revives, etc.
    Circuits have a significantly better UI and UX than nanites.
    Circuits regularly get content expansions, which means that as a side-effect, there'll often be new things to play with for BCIs.

Other point to make:

    BCI implanters have no cloud, and instead require the BCI to be put inside the machine. This means it requires the attention of the scientist (or even just a box with them inside). With

    Adds the ability to save/load circuits for admins. Adds the ability to duplicate modules in a round. #60222, which lets you reprint a circuit you made that round, this means you can print out lots of BCIs, rather than going through the tedium of constantly remaking it.
    BCI implanters are not roundstart, but rather in the advanced shells node. This is essentially the same as nanites, except for the difference of nanites starting with all the machinery, but none of the powers.

Changelog

cl
add: Added brain-computer interface circuit shells.
/cl

* Brain-computer interfaces, circuits in your brain

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-07-26 15:49:46 +01:00
SkyratBot
75edda2335 [MIRROR] Gas Masks Properly filter now (#7071)
* Gas Masks Properly filter now (#58529)

This PR allows gas masks to properly filter toxic gases by using one-time-use filters that can be made in any lathe from roundstart. All gas masks start with filters in at roundstart.
These filters will have different filtering abilities that differenciate what gas they'll be able to filter the most. The highest ones will be plasma gas, co2 and n2o.
Currently there is only one filter available, it will filter plasma, co2 and n2o at higher amount, while nitryl, stimulum, freon, hypernob and bz will be at a mid range and the more complex/dangerous gases healium, zauker, proto nitrate, tritium, halon will have easier time passing even at trace amounts
More filters with different filtering levels soon(tm)

Warning, the masks will filter traces amount of gases, but will also help slowdown the damage you'll get by breathing the gas by reducing the amounts of moles taken (example plasma intoxication will be slower)

Gas masks now properly filter gases when a filter is used (they will work normally otherwise)
Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@ users.noreply.github.com>

* Gas Masks Properly filter now

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
2021-07-26 15:43:33 +01:00
SkyratBot
5c64af6bd7 Rework appendicitis: not event-based, not a disease (#7049)
Co-authored-by: coiax <yellowbounder@gmail.com>
2021-07-26 15:40:56 +01:00
SkyratBot
57b1e7fd17 [MIRROR] Fixes cutting open heads dropping hidden organs (#7020)
* Fixes cutting open heads dropping hidden organs (#60267)

Yes it's a dumb fix, but organ code is dumb. I want to rework how organs are stored eventually when I get to it which is when I'll clean this up. (I also want to rework external organs again to just be datums attached to organs but hush)

* Fixes cutting open heads dropping hidden organs

Co-authored-by: Time-Green <timkoster1@hotmail.com>
2021-07-20 14:22:40 +02:00
SkyratBot
68e40b28f1 [MIRROR] convert some adv tool actions into balloon alerts (#6999)
* convert some adv tool actions into balloon alerts

* Update screwdriver.dm

Co-authored-by: InsaneRed <47158596+InsaneRed@users.noreply.github.com>
Co-authored-by: Useroth <37159550+Useroth@users.noreply.github.com>
2021-07-19 16:02:05 +01:00
SkyratBot
71f57e4a98 [MIRROR] Stop ethereals reviving during Mafia games (#6942)
* Stop ethereals reviving during Mafia games (#60210)

* Stop ethereals reviving during Mafia games

Co-authored-by: coiax <yellowbounder@gmail.com>
2021-07-16 01:50:09 +01:00
SkyratBot
eed6aafb06 [MIRROR] Fixes lingering moodlet on ethereal stomach removal. (#6897)
* Fixes lingering moodlet on ethereal stomach removal. (#60130)

* Fixes lingering moodlet on ethereal stomach removal.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2021-07-13 23:57:26 +01:00
SkyratBot
e83804328e [MIRROR] Always draws mothwings (#6864)
* Always draws mothwings (#60142)

closes #60131 (Mothblocks malding about wings not drawing above hardsuits)

* Always draws mothwings

Co-authored-by: Time-Green <timkoster1@hotmail.com>
2021-07-12 21:47:32 +01:00
SkyratBot
90b36d4c35 [MIRROR] Change ashwalkers to have custom lungs (#6853)
* Change ashwalkers to have custom lungs (#59413)

* Changes ashwalkers to have custom lungs

Ashwalkers now have lungs that are specially adapted to Lavaland
environments. However, that specialisation comes at a cost at sometimes
not being able to operate in normal human air conditions.

- Ashwalker lungs take a gas sample of the default lavaland atmosphere
  on initialisation in order to customise themselves
- Currently, excess O2/N2 has no functional drawback, so no maximum
  value is set on the lungs. If Lavaland rolls a higher N2/O2 mole count
  than human air, they will still struggle however.

* Change ashwalkers to have custom lungs

Co-authored-by: coiax <yellowbounder@gmail.com>
2021-07-12 21:45:33 +01:00
SkyratBot
3a8e5c7998 [MIRROR] Fixes attach_limb() not calling update_disabled() (#6848)
* Fixes attach_limb() not calling update_disabled() (#60128)

* Fixes attach_limb() not calling update_disabled()

* Ok, that's new. But at the core, the framework's the same.

* Fixes attach_limb() not calling update_disabled()

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2021-07-12 21:44:44 +01:00
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