Commit Graph
8 Commits
Author SHA1 Message Date
b4fd13b16b [MIRROR] Improve the naming of the element argument hash index selector [MDB IGNORE] (#17588)
* Improve the naming of the element argument hash index selector (#71319)

So confusing name

* Improve the naming of the element argument hash index selector

* sr sync

Co-authored-by: oranges <email@oranges.net.nz>
Co-authored-by: tastyfish <crazychris32@gmail.com>
2022-11-21 16:27:40 -05:00
f7c26bbf25 515 Compat (#17465)
* ONLY SKYRAT CHANGES

* ACTUALLY SKYRAT CHANGES

* yolo, revert later

* Update alternate_byond_versions.txt

Co-authored-by: AnturK <AnturK@users.noreply.github.com>
2022-11-15 06:59:06 +00:00
7d9556c291 [MIRROR] Fixes null thrower runtime with plant backfire element [MDB IGNORE] (#16896)
* Fixes `null` thrower runtime with plant backfire element (#70540)

Fixes null thrower runtime

* Fixes `null` thrower runtime with plant backfire element

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2022-10-16 10:39:01 -04:00
8d7e8a76fa [MIRROR] Fixes Novaflowers not lighting people on fire, again. Unit tests it. Cleans up some unique plant genes stuff too. [MDB IGNORE] (#14245)
* Fixes Novaflowers not lighting people on fire, again. Unit tests it. Cleans up some unique plant genes stuff too.  (#67597)

* Fixes Novaflowers not lighting people on fire, again. Unit tests it. Cleans up some unique plant genes stuff too.

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2022-06-11 12:22:56 +01:00
f3252b1f7b [MIRROR] Fix plants to not hurt user while using telekinesis [MDB IGNORE] (#12385)
* Fix plants hurting user when using telekinesis (#65759)

Fixes #65454

Using telekinesis with harmful plants won't harm them anymore since they aren't in physical contact.

* Fix plants to not hurt user while using telekinesis

Co-authored-by: Tim <timothymtorres@gmail.com>
2022-03-30 14:59:51 +01:00
b3fabb645b [MIRROR] Delete seeds whenever a plant is deletes, delete plant genes when a seed is deleted, + refactor various gene adding / deleting [MDB IGNORE] (#8671)
* Delete seeds whenever a plant is deletes, delete plant genes when a seed is deleted, + refactor various gene adding / deleting (#61747)

* Delete seeds whenever a plant is deletes, delete plant genes when a seed is deleted, + refactor various gene adding / deleting

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-10-08 08:17:17 -04:00
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
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