Commit Graph

3489 Commits

Author SHA1 Message Date
Celotajs
190d0a0384 Replace alert usage with tgui_alert (#58419)
Pretty much every alert() call is replaced with tgui_alert, except one I replaced with tgalert as a fallback. If tgui_alert exists, why not use it?
2021-05-20 22:43:27 +12:00
ATH1909
8a7284bde4 bruh moment (#58819) 2021-05-14 17:14:52 -04:00
tralezab
ea57e3f960 Kills BOTH /poison paths by turning poisonous into an element. (+fantasty prefix, sanity on attackingtarget signal, and more) (#58882) 2021-05-09 16:49:59 -07:00
dragomagol
c86aff9a82 The Wallening Approacheth: Adds directional variants to most wall mounts (#58809) 2021-05-08 02:57:36 -07:00
Celotajs
cbc750d581 Add code improvements from BeeStation-Hornet by ike709 (#58922)
Co-authored-by: celotajstg <celotajstg@users.noreply.github.com>
2021-05-08 01:16:18 -07:00
Beatrice
f73b89987a Lighter Grammar Fix (#58813)
* Sing -> Singe Replacement

Self explanatory. Replaces sing with singe

* Removes Scorch, Just In Case
2021-05-03 14:55:55 +02:00
Omega_DarkPotato
bff9854356 Heavily nerfs corazargh to a 1u/cycle metabolization rate (#58771)
Currently, corazargh's the best-in-class weapon for chemical syringes. 0.01u metabolization rate, kills in 6 seconds, easily manufactured.
4u of it with any chem really designed to knock out or stun an enemy leads to them dying of extreme bloodloss. It's hilariously overtuned, and while thalpy/fermi/bramble works on a more permanent solution, this thing's definitely worth pushing out a temporary fix to.

https://cdn.discordapp.com/attachments/625471067900608512/836730021090557973/unknown.png <- the conversation with thalpy about making this change while he works on a unique solution for corazargh.
2021-04-28 22:49:55 -04:00
Twaticus
a856296eef funny beaker but real this time (#58760)
Adds opacity to bottles, beakers, large beakers, and reagent fills so theyre no longer extremely dark. Adds @maxymax13 's resprites of the x-large(plastic) and metamaterial(gold) beakers to match the new beakers. Adds a 1u sprite for reagent fills of all bottles/beakers. Removes unnused vials and melted beaker icons.

fixes #58624 (Metamaterial not having the proper icon)

Consistent beakers good.
2021-04-28 16:45:58 -07:00
Seth Scherer
7c931b7c8d Prevents lithium from glitching you out of a mech, while leaving your camera on the mech (#58762)
Fixes #57757 (being high on lithium while in a mech causes weird shit, like the camera being stuck to the mech while the player moves)

Lithium used step() without regard for the thing you were in

Prevents lithium from glitching in and out of things, (especially useful for objects that take control of your camera).
2021-04-28 16:43:01 -07:00
tralezab
0938052cac reagent transferring now logs purity (#58694)
fixes #58571 (Combat logs do not show chemical impurity's or inverse regents and just lists it as the base chem)
2021-04-28 15:20:09 -07:00
TemporalOroboros
9f598a9662 Makes the explosive compressor and blastcannon actually use the TTVs they're given + the explosion changes to support that. (#58015)
* Adds explosion SFX to the blastcannon and explosive compressor

- Extracts the explosion SFX and screenshake proc from the SSexplosions explosion handling proc and lets the explosive compressor and blastcannon use it.

* Miscellaneous changes

- Adds defines for the internal explosion arglist keys
- Reverses the values of the explosion severity defines
- Changes almost everything that uses `/proc/explosion` to use named arguments

- Removes a whole bunch of argname = 0 in explosion calls.

* Removes named callback arguments.

* Changes the explosion signals to just use the arguments list

Adds a simple framework to let objects respond to explosions occurring inside of them.

Changes a whole bunch of explosions to use the object being exploded as the origin of the explosion rather than the turf the object is on.

Makes the explosive compressor and blastcannon actually use the TTVs they are given.

Adds support for things responding to internal explosions.
Less snowflake code for the explosive compressor and blastcannon calculating bomb range.*
Less confusing explosion severity defines.
Less opaque explosion arguments

*does not guarantee that the solution to letting them actually use the TTV is any less snowflake.
2021-04-26 17:31:25 -07:00
Urumasi
5b73f8fcae Make mindbreaker cure RDS (#58671)
Currently, mindbreaker toxin is supposed to suppress hallucinations, but the reagent itself still applies hallucination to the user which is counted towards handling hallucinations before it gets purged by the quirk.

It's annoying that the one thing advertised that should fix hallucinations with RDS doesn't work.
2021-04-26 01:04:10 -07:00
UnokiAs
a7ff221c20 Add new syringe sprites. (#58619)
imageadd: Added new syringe sprites (Normal,Piercing and BlueSpace.)
2021-04-25 08:14:36 -04:00
Mothblocks
7e4de07506 Remove all gamemodes except Dynamic (#58470)
Removes all /datum/game_mode except dynamic. Eventually, all of mode and game_mode will be removed, and Dynamic will become an ingrained system. Every single other gamemode was unmaintained at best and poisoned other code at worst. Currently all tg servers run 24/7 Dynamic, so the time to act is now.

* Remove gamemode references from age checks

* Monkey

* Remove heretics

* Remove BBs

* Refactor uplinks and remove clown ops

* Remove nuke ops

* Removes and refactors cult

* Remove extended

* Remove and move out meteors

* Removes wizard

* Remove sandbox

* Remove changelings

* Remove traitors

* Remove revs

* Remove gangs

* Remove changing mode and voting for new gamemodes

* get_candidates signature fix

* Summon ERT and NERD in their own panel

* Remove some old unneeded age_check stuff

* Fix old signatures of get_uplink_items

* Use Extended like config for dynamic.json

* Fix discounted gear
2021-04-25 01:55:10 -07:00
manofpepsi
5f8c253b6f nitrile gloves buff (#58594) 2021-04-22 14:48:47 -07:00
SpookyTheFox
d10bf56145 Fixes borg shaker constantly melting ice (#58437) 2021-04-17 21:06:00 -07:00
Iamgoofball
7ae5126783 Resprites beakers by CeUvi (#58433)
imageadd: Resprited beakers and bottles.
2021-04-17 10:21:57 -04:00
Funce
15a7a83e21 Adjust parameters for bone gel on_reaction (#58466) 2021-04-16 21:12:02 -07:00
Time-Green
50a18a0b5e Nerfs addiction withdrawal time (#58172)
Currently takes 1 second before withdrawal starts, which is enough to start withdrawal while still using the drug. I changed it to 1 minute before you need your fix again (old addiction was 30 seconds but could be microdosed).

Also buffed junkie pills to 3u and nerfed addiction requirement to 1u, from 2u (effctively still 2u since addiction tends to check after the 2u has already been metabolized).

Also clears disgust from opiods after quenching your addiction, because otherwise you're gonna spent the next 20 minutes being vomitlocked in place
2021-04-14 22:44:31 -04:00
Qustinnus
686e5a7d5b Removes Ethereal blood's shocking properties (#58408)
Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>
2021-04-14 15:25:56 -07:00
Thalpy
6a344d6cb9 Fixes mannitoil runtime (#58321)
* Fixes runtimes in metabolism

* Activate doesn't work as I expected

* Removes bonus false

* One last just in case check

* Why did I even think while was a good idea
2021-04-13 23:10:06 +02:00
NightRed
316b808f56 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
2021-04-12 11:53:20 -04:00
LemonInTheDark
54f0b0ceb9 Some more harddel fixes (#58305) 2021-04-11 19:37:20 -07:00
tralezab
09ab61ae05 Four New Sects, small rethemes to first 3 (#57820)
Co-authored-by: Fikou <piotrbryla@onet.pl>
Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
2021-04-11 22:57:43 +03:00
Thalpy
560597896c 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>
2021-04-11 01:29:41 +03:00
Thalpy
1f2158fed3 Tweaks converoli's threshold to not overlap with it's failure threshold (#58279) 2021-04-10 15:07:44 -07:00
Time-Green
6a3d8f19ee Fixes smoker stacking unremovable negative moodlets (#58170) 2021-04-06 05:36:01 -07:00
Thalpy
b61fe856bf Fixes toxin parent reagent purity affecting unintentional reagents (#58107) 2021-04-02 23:27:39 -07:00
Thalpy
2510866edb Fixes oversight with eigenstasium which teleports you before saving your location (when purity is greater than 90% and ingested) (#57986)
* Fixes oversight

* Why is this so convoluted

* Final fix and test

* Expose is strange

* exposure to reagents may result in confusion, bafflement and hunger. If you feel any of these effects, consult with your doctor.

* lil cleanup
2021-04-03 00:35:57 -04:00
ArcaneDefence
8181b5d299 Prevents morph toxin oversight (#58095) 2021-04-01 20:39:54 -07:00
LordVollkorn
86293fb8ff [READY] Adjusting/porting chemical toxins to fermichem (+Seiver fix) (#57606) 2021-03-31 11:52:29 -07:00
Timberpoes
01bf0c7cde Enhance spray bottle logging while improving code and variable names. (#58070)
* Improve and loog

* Copybara

* Testing feex

* Extra doc

* Feex

* Range start from 1 instead of 0
2021-03-30 19:10:03 -04:00
Ryll Ryll
51394ea3e3 You can now manufacture bone gel (#58006) 2021-03-29 12:31:43 -07:00
Thalpy
0500771072 [Ready] Fermichem part 2.3 Adds a new reagent: Eigenstasium (#56918)
Co-authored-by: Rohesie <rohesie@gmail.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-03-26 19:56:04 -07:00
Thalpy
eee51bcaaa Fermichem 2.6 - Adds the HPLC: a new roundstart method of detecting purity, as well as a method of partially purifying reagents (#57858)
Adds the High-performance liquid chromatography machine - a new roundstart method of detecting purity, as well as a method of partially purifying reagents.

A single machine has been added to each of the 4(5) maps - this lets people determine their purity based off the size of the green (pure portion) to the orange (impure portion) of a reagent's peak shown on the mas spectroscopy display. If a reagent is impure - it will be displayed as red.

In addition to this function, the HPLC can purify reagents by selecting a range of them and pressing the purify button. This will cost some time depending on the mass of the reagent and will purify it up it's default purity (in the tweaked reagent cases - 75%, for the reagents I've yet to get to - 100%). It will also reduce the volume accordingly (so in essence you are reducing the volume of the impure parts).

The sprite itself will indicate when it's running, so you don't need to be nearby it or use the UI to know when it's done
2021-03-26 11:56:53 +02:00
Fox McCloud
59e1e79d61 Implements Plant Biotype (#57108)
Implements a plant biotype for plant based mobs. Changes the wood golem mob to be an organic, humanoid, and plant biotype---because wood is an organic substance, not a mineral.

This additionally adds the ability for plantbgone/weedkiller to deal damage to plant biotypes.
Why It's Good For The Game

There's a curious lack of a defined plant biotype, despite plants sharing a unique number of traits. Ideally, this behavior can be more consistently implemented with something like biotypes. A minor example of this is utilized in this PR: weedkiller and plantbgone impacting plant-like mobs, which is what you'd expect.
Changelog

cl
add: Plant-like mobs are now impacted and take damage from plant-b-gone and weedkiller reagents
add: Plant-like mobs can be health scanned with a plant analyzer
add: Plant-like mobs are impacted by the floral gun in the same manner pod people are
/cl
2021-03-26 10:03:43 +13:00
Qustinnus
66fb188128 fixes some oddities in addiction code (#57854)
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-03-21 05:57:19 -07:00
EOBGames
05edacb324 Rule Botannia: British Bots for the Restaurant (#57542)
* I hate moths

they're all dusty and shit
2021-03-20 16:23:16 -07:00
TemporalOroboros
fb488fdfff Some explosions code cleanup (#57493)
Clears out two deprecated explosions systems (explosion ids and explosion levels)
Refactors a bunch of contents_explosions procs to be maybe slightly faster.
Cleans up a bunch of ex_act code.
Slightly cleaner code
A few less unused vars on /atom and /turf
2021-03-20 16:03:59 -07:00
tralezab
7d315ad317 FIXES EVERYTHING (#57826) 2021-03-20 05:46:43 -07:00
Ghom
259d66e77e expands the list of orderable objects for space-italian and space-french customer_data datums. (#57546) 2021-03-19 23:08:54 -07:00
Thalpy
aab2a9610a Fixes some issues with helbital (#57425)
About The Pull Request

REM was changed from 1 to 0.5, so there were a few unintended side effects from that. It also fixes this:
image

And sets the hands to fire on a timer so the effects are shorter but more intense, as well as having the lag compensator actually work.

This doesn't fix the smoke/foam effects which I will fix after this because that's non specific to helbital.
Why It's Good For The Game

Fixes bugs and restores intended functionality.
Changelog

🆑
fix: fixes helgrasp's lag compensator and text
qol: Sets helgrasp to fire faster but last shorter
/🆑
2021-03-20 11:53:22 +13:00
Thalpy
7bce57ef35 Fixes impurities on foam, smoke and cigs. Improves how impurities are handled. (#57435)
Reworks the main handlier for impurities and adds it to the add_reagent proc instead. Adds an option to bypass the purity splitting too. This reduces the amount of add_reagent calls and will prevent any unintended on_mob_add() and delete calls for reagents that are removed from splitting.
Fixes smoke, foam and cigarette issues too - since they used copy_to isntead of trans_to.
2021-03-18 14:56:14 -07:00
LemonInTheDark
7f444f510e Fixes a ton of harddels (#57736)
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
2021-03-17 05:51:53 -07:00
sergeirocks100
8bb0f50110 Adds malt liquor to the boozemat. (#57740)
* initial commit

* actually fixes the price
2021-03-16 21:19:37 -04:00
tralezab
67e8fafb6b Incredibly Rare Malfunctioning Customer (#57537)
Co-authored-by: Qustinnus <Floydje123@hotmail.com>
Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>
2021-03-15 17:00:46 -07:00
prodirus
1e3fedd9b5 Nicotine is now addictive again, adds nicotine withdrawal effects. (#57638) 2021-03-13 15:30:02 -08:00
sergeirocks100
07fbbee67d Makes the beer glass use its unused icon. (#57636) 2021-03-13 00:39:34 -08:00
drongood12
e82052c442 Fixes helbital display name when the purity is less than 0.25 (#57615) 2021-03-11 22:42:28 -08:00
Clyde-Thunderpants
2dcb148fa7 changes the filepath of "nanomachines" to "cyborg_mutation_nanomachines" (#57539) 2021-03-11 05:21:40 -08:00