Commit Graph

1147 Commits

Author SHA1 Message Date
SkyratBot
169c42a262 [MIRROR] Refactors connect_loc_behalf into a component (#7613)
* Refactors connect_loc_behalf into a component (#60678)

See title. Also refactors caltrops into a component because they use connect_loc_behalf which requires them to hold the state.

This also fixes COMPONENT_DUPE_SELECTIVE from just outright not working.

connect_loc_behalf doesn't make sense as an element because it tries to hold states. There is also no way to maintain current behaviour and not have the states that it needs.
Due to the fact that it tries to hold states, it means the code itself is a lot more buggy because it's a lot harder to successfully manage these states without runtimes or bugs. 

On metastation, there is only 2519 connect_loc_behalf components at roundstart. MrStonedOne has told me that datums take up this much space:
image

If we do the (oversimplified) math, there are only ever 5 variables that'll likely be changed on most connect_loc_behalf components at runtime:
connections,
tracked,
signal_atom,
parent,
signal_procs

This means that on metastation at roundstart, we take up this amount: (24 + 16 * 5) * 2519 = 261.97600 kilobytes
This is not really significant and the benefits of moving this to a component greatly outweighs the memory cost.

(Basically the memory cost is outweighed by the maint cost of tracking down issues with the thing. It's too buggy to be viable longterm basically)

* Update glass.dm

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-08-17 20:29:11 +01: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
jjpark-kb
43182194a6 scythes and vine (#7534)
* scythes and vine

* revert any change here

* fix right hand holding and swiping issue

* add the back icons for scythes as well
2021-08-15 22:54:18 +01:00
SkyratBot
d972fc5a15 [MIRROR] brings back barticles for bonfires (#7535)
* Revert "Revert "Barticles for bonfires 2021 (#59869)" (#59916)" (#60469)

* brings back barticles for bonfires

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
2021-08-13 02:44:41 +01:00
jjpark-kb
3b278f201c species id defines (#7466) 2021-08-08 22:05:10 +01:00
SkyratBot
65ec7bedf8 [MIRROR] Uncomments holymelon "check liked" code, makes it work with the edible component (#7384)
* Uncomments holymelon "check liked" code, makes it work with the edible component (#60697)

* Uncomments holymelon "check liked" code, makes it work with the edible component

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-08-04 15:10:35 +01:00
SkyratBot
3b73c43e9c [MIRROR] Kills the now defunct /datum/plant_gene/core (#7333)
* Kills the now defunct /datum/plant_gene/core (#60646)

* Kills the now defunct /datum/plant_gene/core

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-08-03 20:04:25 +01:00
SkyratBot
ae117ff172 [MIRROR] Makes all food flower items unable to decompose (#7195)
* Makes all food flower items unable to decompose (#60450)

I was told earlier today that some flowers decomposed, which I had no idea about. Turns out some flowers are technically food! I couldn't add it to the mapload PR because I wasn't home at the time, so I'll have to make this small PR instead.
Please make sure this PR has that one tag that makes it so I can't get GBP for it, thanks.

If someone wants to make the place look pretty with flowers I'd prefer not to hinder that with insects.
Furthermore, it made no sense for some flowers to decompose, but for others not to.

* Makes all food flower items unable to decompose

Co-authored-by: Wallemations <66052067+Wallemations@users.noreply.github.com>
2021-07-28 22:17:27 +01:00
SkyratBot
cc86d3bb36 [MIRROR] Logs kudzu tray planting in investigate botany instead of its own investigate file (#7194)
* Logs kudzu tray planting in investigate botany instead of its own investigate file (#60458)

This PR moves the investigate_log subject of Kudzu being planted in a tray to investigate_botany instead of its own log file.

All the other kudzu logging is in investigate_botany so this one was the odd one out. Consistency for logging.

* Logs kudzu tray planting in investigate botany instead of its own investigate file

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-07-28 22:17:09 +01:00
SkyratBot
fffe98788b Makes hedges not a child of /obj/structure/fluff (#7102)
Co-authored-by: interestingusernam3 <51925758+interestingusernam3@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-07-28 21:43:55 +01:00
SkyratBot
371512108f [MIRROR] Cleans up a buncha messed up spans on the plant analyzer (#7070)
* Cleans up a buncha messed up spans on the plant analyzer

* Mirror!

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: Funce <funce.973@gmail.com>
2021-07-28 21:16:42 +12:00
SkyratBot
ed1d5f1112 [MIRROR] Fixes rose mouth sprites (#7123)
* Fixes rose mouth sprites (#60415)

This PR fixes the mouth sprite for the rose. I accidentally broke it when I moved all the hydroponics worn sprites into their own file.

* Fixes rose mouth sprites

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-07-26 15:47:35 +01:00
SkyratBot
247afa352b Kills grown/misc.dm (#7074)
Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2021-07-26 15:43:57 +01:00
RatFromTheJungle
779f9a0238 [NONMODULAR] I missed one in #7055 (#7104)
* fiix

* forgot

* tggg

* full-fix

* fix2
2021-07-25 10:08:39 +12:00
RatFromTheJungle
740abfdb1b [NON-MODULAR] Re-adds our changes to cannabis from #5170 (#7055)
* fiix

* forgot
2021-07-23 18:28:03 +12:00
SkyratBot
36fc72cc3d [MIRROR] Fixes clicking the floor degrading deathnettle durability (#7021)
* Fixes clicking the floor degrading deathnettle durability (#59906)

This PR neatens up deathnettle and nova flower after_plant_attack procs a bit, mainly making so you must attack an object or a mob in order to lose durability. I also cleaned up some of the procs and argument types so they're consistent.

* Fixes clicking the floor degrading deathnettle durability

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
2021-07-20 14:22:57 +02:00
SkyratBot
ae7d35c9c0 [MIRROR] The great pumpkin resprite. (featuring new blumpkin hats!) (#6884)
* The great pumpkin resprite. (featuring new blumpkin hats!) (#59853)

This PR resprites the pumpkin, blumpkin and the carved pumpkin hat.

It also adds a blumpkin variety of the carved pumpkin.

To avoid duplicate code, blumpkins and now children of pumpkins, this means some pumpkin recipes will also accept blumpkins.

* The great pumpkin resprite. (featuring new blumpkin hats!)

Co-authored-by: Krysonism <49783092+Krysonism@users.noreply.github.com>
2021-07-12 22:02:35 +01:00
SkyratBot
877940ba8d [MIRROR] Revert "Barticles for bonfires 2021" (#6625)
* Revert "Barticles for bonfires 2021 (#59869)" (#59916)

This reverts commit 0ad74e9637.

* Revert "Barticles for bonfires 2021"

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-07-08 03:29:23 +02:00
SkyratBot
f1592faf14 [MIRROR] Updates Seed Extractor Examine (#6782)
* Updates Seed Extractor Examine (#60011)

* Updates Seed Extractor Examine

* formatting

Co-authored-by: Aki Ito <11748095+ExcessiveUseOfCobblestone@ users.noreply.github.com>

* Updates Seed Extractor Examine

Co-authored-by: 小月猫 <alina.r.starkova@gmail.com>
Co-authored-by: Aki Ito <11748095+ExcessiveUseOfCobblestone@ users.noreply.github.com>
2021-07-08 03:11:33 +02:00
SkyratBot
8d9ad6865c [MIRROR] Carnivory visible on the plant analyzer (#6723)
* carnivory is visible (#59927)

* Carnivory visible on the plant analyzer

Co-authored-by: spessbro <51048066+spessbro@users.noreply.github.com>
2021-07-05 15:57:05 +01:00
SkyratBot
fcbe57e4be [MIRROR] Barticles for bonfires 2021 (#6623)
* Barticles for bonfires 2021 (#59869)

* barticles

* better bode

* Barticles for bonfires 2021

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2021-06-30 23:35:30 +01:00
Gandalf
778a589555 Removes a lot of redundant non-modular changes and maybe fixes cleanbots (#6615)
* oof

* Update _ai_controller.dm

* no need for this anymore
2021-06-30 21:50:50 +02: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
5326760cb3 [MIRROR] Makes turfs persist their signals, uses this to optimize connect_loc (#6465)
* Makes turfs persist their signals, uses this to optimize connect_loc  (#59608)

* Makes turfs persist signals

* Splits connect_loc up into two elements, one for stuff that wishes to connect on behalf of something, and one for stuff that just wants to connect normally. Connecting on behalf of someone has a significant amount of overhead, so let's do this to keep things clear

* Converts all uses of connect_loc over to the new patterns

* Adds some comments, actually makes turfs persist signals

* There's no need to detach connect loc anymore, since all it does is unregister signals. Unregisters a signal from formorly decal'd turfs, and makes the changeturf signal persistance stuff actually work

* bro fuck documentation

* Changes from a var to a proc, prevents admemems and idiots

* Extra detail on why we do the copy post qdel

* Makes turfs persist their signals, uses this to optimize connect_loc

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2021-06-23 04:23:48 +01:00
SkyratBot
6dde124398 The nth grown food refactor: Changes MOST unique plant effects into special plant genes/traits! Plant Genes+ (#59107) (#6307)
* Auto doc'd much of grown botany food and plant traits and renamed a buncha variables and parameters to match modern contribution guidelines.
* Cleaned up a good bit of plant gene code left over from the prior refactor and modernized some of it.

All plant effects that were once unique to a plant are now un-graftable, un-mutatable, un-shearable plant traits - called IMMUTABLE traits.
The ultimate goal of this PR was to make all of the hidden, arcane traits that are spread through botany's various plants and add a way to figure out they exist in game. Take omega-weed, for example, which has a maximum volume of 420 units.


What does this mean for the enterprising botanist?

In most cases, all the plants should act the same way. None of the immutable traits are graftable from any of the plants, they cannot be sheared off of the plant, and they cannot be mutated randomly from strange seeds or high instability mutations.

Though, in refactoring these traits, two things have been fixed: Novaflower's on hit and Deathnettle's on hit now proc again. If you aren't aware, Novaflowers apply firestacks and Deathnettles paralyze on hit. They've been in an unreachable code segment for a few years now and i'm not sure if they should be "fixed" or not, since I think they don't need any buffs.


A few other things have changed:
* Liquid Contents can no longer be applied to plants with Hypodermic Prickles, and visa-versa. They already didn't work together, but this means you need to go through an extra step to make LC-deathnettles.
* Killer Tomatos no longer have liquid contents. Didn't really make sense, anyways.

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-06-16 22:40:14 +12:00
SkyratBot
dcf74d446a [MIRROR] Fixes carbon roses mutating into carbon roses (#6331)
* Fix carbon roses mutating into carbon roses (#59640)

* Fixes carbon roses mutating into carbon roses

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2021-06-16 00:26:16 +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
75b3b2bc8b [MIRROR] Lizard Food: a Taste of the Homeworld (#6281)
* Lizard Food: a Taste of the Homeworld

* Mirror!

Co-authored-by: EOBGames <58124831+EOBGames@users.noreply.github.com>
Co-authored-by: Funce <funce.973@gmail.com>
2021-06-14 18:36:47 +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
2c9ea16cde [MIRROR] Adds quick-swapping for biogenerator containers (#6247)
* Adds quick-swapping for biogenerator containers (#59525)

* Adds quick-swapping for biogenerator containers

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-06-11 01:10:33 +01:00
SkyratBot
bd37563645 [MIRROR] Converts Poppies, Lilies, Geraniums, and Rainbow Bunch flowers to GAGS (#6042)
* Converts Poppies, Lilies, Geraniums, and Rainbow Bunch flowers to GAGS

* Mirror!

* Opium

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: Funce <funce.973@gmail.com>
2021-06-01 15:24:44 +12:00
Matthew J
aac40d2ed3 [TM-ONLY][DNM] Attempts to remove all instances where a list is accessed with a '?' (#5932)
* I hate TGUI even if its better than what we had before

* this is why linters exist

* you need to be a Head or the Warden to get items

* does this please you linter?

* foundation

* basic interactions

* yea I can spell okay?

* linters please leave me alone

* begone debug code

* if you are dead, no interacting

* linters leave me alone

* linters are stealing my soul

* forgot to do this

* sound framework, probably wont work though

* max length, and interaction cooldowns

* message can now be a list and minor code improve

* I am a slave and linters are my master

* fix improper static reference

* add json loading/saving functionality

* default for message is now a list

* jsonize def interactions; implement requirements

* bad

* bug fix; CtrlShiftClick to interact

* minor qol fix

* fix CtrlShiftClick and remove debug code

* haha docker has security measures

* this was painful

* why are you in this branch

* begone

* bruh

* begone

Co-authored-by: Matthew <matthew@tfaluc.com>
Co-authored-by: Matthew J <GoldenKeyboard@users.noreply.github.com>
2021-05-25 16:26:39 +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
SkyratBot
ea9aed5554 [MIRROR] Replace alert usage with tgui_alert (#5815)
* Replace alert usage with tgui_alert

* a

* Update observer.dm

Co-authored-by: Celotajs <81999976+celotajstg@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-05-21 00:06:09 +01:00
SkyratBot
01a2d62e9e [MIRROR] Kills BOTH /poison paths by turning poisonous into an element. (+fantasty prefix, sanity on attackingtarget signal, and more) (#5586)
* Kills BOTH /poison paths by turning poisonous into an element. (+fantasty prefix, sanity on attackingtarget signal, and more) (#58882)

* Kills BOTH /poison paths by turning poisonous into an element. (+fantasty prefix, sanity on attackingtarget signal, and more)

* AAAAAAAA

* Update spellbook.dm

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-05-10 15:12:34 +01:00
SkyratBot
a56bfd5b19 [MIRROR] Gives botany plants a new formula for calculating bite size, fixes swallowing watermelons whole (#5568)
* Gives botany plants a new formula for calculating bite size, fixes swallowing watermelons whole (#58795)

About The Pull Request

This PR gives botany plants a new formula for getting the size of their bites.

The formula is (potency / 20) * (max_volume / 100) * (modifier) + 1.

This brings your average 100 potency plant to a bite size of 6 units per bite. [(5 * 1 * 1) + 1] - For reference, a Tomato has 14 units of reagents with default genes at 100 potency, so this means a tomato is eaten in 3 bites.

This PR also goes through and audits all the plant's bite modifiers to bring them in line with the new formula. This makes the bite modifier actually a bite modifier instead of some weird constant var that lies about what it actually does.

Fixes #55527
Why It's Good For The Game

Currently, all plants are eaten in a single bite. Including watermelons and the dank weeds. This is bad.

image

This PR brings them all in line so you no longer swallow watermelons whole, so you stop accidentally getting fat.
I also audited all the plants so their relative bitesizes make sense with the new formula. Only apples and potatos are eaten in 1 bite. Plants with more reagents naturally should now have larger bitesizes, and plants with less reagents have smaller bitesizes. Balance is restored.
Changelog

🆑 Melbert
fix: You no longer eat all botany plants plants in 1 bite. Apples and Potatos retain their unique 1 bite behavior.
code: Botany plants use a new formula for calculating bite size. All botany plants have had their bite modifier adjusted to match.
/🆑

* Gives botany plants a new formula for calculating bite size, fixes swallowing watermelons whole

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-05-09 14:18:57 +01:00
SkyratBot
5880be0168 [MIRROR] (code bounty) refactors all uses of Crossed() and Uncrossed() into signals sent to loc, tracked by connect_loc (#5524)
* (code bounty) refactors all uses of Crossed() and Uncrossed() into signals sent to loc, tracked by connect_loc

* WHEW THAT WAS EASY

* Update ammo.dm

Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-05-07 22:39:27 +01:00
SkyratBot
42bd885efd [MIRROR] Fixes a fuck ton more harddels (#5476)
* Fixes a fuck ton more harddels (#58779)

Redoes how geese handle eating shit, it was fucking stupid and caused harddels, and while this method is technically slower in the best case, it's a fucking goose
Fixes action related harddels, I hate how they work but at least this way they won't hold refs.
Fixes the hierophont causing its beacon to harddel
Removes the M variable from megafauna actions, it was used like a typed owner and caused harddels, so I burned it
Fixes target and targets_from harddels, replaces all setters of target with LoseTarget and GiveTarget, which should help maintain behavior. I'm not sure if this breaks anything, but if it does we should fix the assumptions that code makes instead of reverting this change
Fixes more area_senstive_contents related harddels, we need to allow the mob to move before clearing out its list.
Fixes marked object harddels (I'm coming for you admin team)
Fixes a language based human harddel
Fixes managed overlay related harddels (This was just emissive blockers, but I think this is a good safety net to have. If we clear the overlay list we should clear this one as well)
Fixes bot core harddels, I hate the fact that this exists but it has no reason to know who its owner is
Adds a walk(src, 0) to simple_animal destroy, it's the best bang for the buck in terms of stopping spurious harddels. Walk related harddels aren't that expensive in the first place, since byond does the same thing I'm doing here, but this makes finding mob harddels easier, so let's go with it
I fixed another source of part harddels, I hate fullupgrade so much
Fixes all the sound loop harddels

* Fixes a fuck ton more harddels

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2021-05-05 17:46:22 +01:00
SkyratBot
82532fcf05 [MIRROR] the backfire effect of killer tomatoes no longer requires the liquid contents trait (#5464)
* the backfire effect of killer tomatoes no longer requires the liquid contents trait (#58880)

* e

* accidentally modified the wrong one, whoops

* the backfire effect of killer tomatoes no longer requires the liquid contents trait

Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>
2021-05-05 10:43:08 +01:00
SkyratBot
fe98671963 [MIRROR] Removes some boiler plate from working with atmos code (#5462)
* Removes some boiler plate from working with atmos code (#58885)

Everything that called turf.assume_air and turf.remove_air was already updating turfs, and all that not tying

the two together did was add more boiler plate, and break things when people forgot about it.

This shouldn't add any overhead outside of hotspots, but I think that's trivial

* Removes some boiler plate from working with atmos code

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2021-05-05 09:47:42 +01:00
RatFromTheJungle
f619c01082 [NOT MODULAR] 😈 lets you plant shrubs faster so duboris stays vaguely sane (#5246)
* fix shruubs

* 4 second
2021-04-29 08:26:44 +01:00
linnpap
fbbf3a21a9 [NON-MODULAR] More drugs. (Part 2) (#5170)
* whole bunch of shit

-gives quaaludes and opium more distinct effects
-adds pcp
-adds thc
-replaces space drugs in weed plants with thc
-adds hash
-adds dabs
-rebalances amount of drugs you can produce

* Update opium.dm

* newlines

* runtime fix

* runtime fix attempt 2

* amazing

* i dont recall the variable names being this fucked

* I FUCKING HATE GIT

* please so help me god
2021-04-28 23:29:51 +01:00
SkyratBot
5b8a38af3a [MIRROR] Makes the explosive compressor and blastcannon actually use the TTVs they're given + the explosion changes to support that. (#5244)
* 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.

* Makes the explosive compressor and blastcannon actually use the TTVs they're given + the explosion changes to support that.

Co-authored-by: TemporalOroboros <TemporalOroboros@gmail.com>
2021-04-27 01:53:17 +01:00
SkyratBot
8ca47fe624 [MIRROR] High-danger plants like deathnettles now require botanical gloves to hold instead of any glove type (#5118)
* High-danger plants like deathnettles now require botanical gloves to hold instead of any glove type (#58503)

* High-danger plants like deathnettles now require botanical gloves to hold instead of any glove type

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-04-23 13:49:36 +01:00
SkyratBot
7b823360c0 [MIRROR] Removes Ethereal blood's shocking properties (#4912)
* Removes Ethereal blood's shocking properties (#58408)

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

* Removes Ethereal blood's shocking properties

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
Co-authored-by: ATH1909 <42606352+ATH1909@ users.noreply.github.com>
2021-04-15 16:21:43 +01:00
SkyratBot
acd2690d2e [MIRROR] Implements Plant Biotype (#4401)
* 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

* Implements Plant Biotype

Co-authored-by: Fox McCloud <Fox-McCloud@users.noreply.github.com>
2021-03-25 21:31:29 +00:00
SkyratBot
fc86bea537 [MIRROR] Fix plant trash from grown food not inheriting their proper seeds (#4375)
* Fix plant trash from grown food not inheriting their proper seeds (#57924)

This PR fixes plant trash not getting the seed from their parent.

trash_type is a type path, not an instantiated object. istype always fails trying to use it on trash_type. ispath is the correct helper to use here, because it's a type path and not an object.

* Fix plant trash from grown food not inheriting their proper seeds

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-03-24 20:52:10 +00:00
SkyratBot
9ffdf58259 [MIRROR] Some explosions code cleanup (#4276)
* 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

* Some explosions code cleanup

Co-authored-by: TemporalOroboros <TemporalOroboros@gmail.com>
2021-03-21 01:03:36 +00:00
SkyratBot
7e6a7bd64b [MIRROR] Fixes food trash element not generating trash, including fixing gatfruits not dropping guns. (#4059)
* Fixes food trash element not generating trash, including fixing gatfruits not dropping guns. (#57590)

* Fixes food trash element not generating trash, including fixing gatfruits not dropping guns.

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2021-03-11 13:36:07 +01:00