Commit Graph

129 Commits

Author SHA1 Message Date
SkyratBot
0c6a40910d [MIRROR] Save 0.4s by shaving off a lot of smaller init costs [MDB IGNORE] (#17382)
* Save 0.4s by shaving off a lot of smaller init costs

* update modular

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-11-09 14:52:58 +00:00
SkyratBot
2582117684 [MIRROR] NtOS Emojipedia - PDA Emoji Messaging For All [MDB IGNORE] (#17402)
* NtOS Emojipedia - PDA Emoji Messaging For All (#70829)

An Emojipedia app has been added to tablets, given to Mimes and Curators by default, allowing anyone to know all emojis. Additionally, emojis can be used in tablets by every job now.

* NtOS Emojipedia - PDA Emoji Messaging For All

* update emoji list to be valid

* animated emojis

Co-authored-by: san7890 <the@san7890.com>
Co-authored-by: tastyfish <crazychris32@gmail.com>
2022-11-06 21:53:25 -05:00
SkyratBot
b2aec95405 [MIRROR] Monkey Business Unit Test [MDB IGNORE] (#17186)
* Monkey Business Unit Test (#70722)

* monkeying around

* 🤷

* haha oops

Co-authored-by: san7890 <34697715+san7890@ users.noreply.github.com>

* I'm an idiot

* redo this and add a blackboard to allow targeting monkies

* I'm smart

* requested changes

Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>

* a few fixups

* Update code/modules/unit_tests/_unit_tests.dm

Co-authored-by: san7890 <the@ san7890.com>

* Nits

Co-authored-by: san7890 <34697715+san7890@ users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
Co-authored-by: san7890 <the@ san7890.com>

* Monkey Business Unit Test

Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com>
Co-authored-by: san7890 <34697715+san7890@ users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
Co-authored-by: san7890 <the@ san7890.com>
Co-authored-by: Tastyfish <crazychris32@gmail.com>
2022-10-28 21:57:59 -04:00
SkyratBot
ffb2324b0c [MIRROR] Adds unit test for items that can be equipped to suit storage slots that are missing sprites [MDB IGNORE] (#17195)
* Adds unit test for items that can be equipped to suit storage slots that are missing sprites (#70643)

* Adds unit test for items that can be equipped to suit storage slots that are missing sprites

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
2022-10-26 22:03:07 -04:00
SkyratBot
7522903c16 [MIRROR] Seven Billion Hour Wait Time - Or, Expanded Job Config (TOML time) [MDB IGNORE] (#16962)
* Seven Billion Hour Wait Time - Or, Expanded Job Config (TOML time)

* conflict

* update modular

Co-authored-by: san7890 <the@san7890.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-10-22 08:11:56 -07:00
SkyratBot
cd6af92f8d [MIRROR] Changing species now maintains Brain traumas, Cybernetic implants, Liver traits, organ damage, and Heretic Living Heart [MDB IGNORE] (#17049)
* Changing species now maintains Brain traumas, Cybernetic implants, Liver traits, organ damage, and Heretic Living Heart (#70530)

About The Pull Request

    Implements additional code in before_organ_replacement in additional places, to better maintain cohesion when species changes take place.
        Brain traumas will now carry over on species change
        Having synthetic / cybernetic organs will now carry over on species change
        Liver job traits will also carry over on species change
        Organ damage will, in most cases, carry over on species change (only if the new organ is identical to the old)
        The heretic's Living Heart will attempt to carry over to species change, if it's valid
            Some species will still not, as it will attempt to give heart -> liver or something and be invalid

    Heretic Living Heart is now a cooldown action. Still not really content with the current state of it, it could use some improvements.

Fixes #42308
Fixes #35539
Fixes #69574

Why It's Good For The Game

Removes a lot of exploits involving using forced species change to get rid of stuff like quirks / permanent brain traumas and similar.

* Changing species now maintains Brain traumas, Cybernetic implants, Liver traits, organ damage, and Heretic Living Heart

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2022-10-21 10:43:09 +01:00
SkyratBot
7c9e26bb85 [MIRROR] Fixes Some Incredulously Fucked Up Recycler Behavior [MDB IGNORE] (#17018)
* Fixes Some Incredulously Fucked Up Recycler Behavior (#70638)

* test one

Hey there!

Did you know that if you toss someone into a recycled emagger, that we delete _all_ of that mob's contents? You probably didn't because this shit is broken broken. Like, ow.

That's because we manually moved an item to nullspace, which caused a _slew_ of odd behavior in the Destroy chain for `obj/item` since it moves it to nullspace at a very specific point in time and makes all of it's assumptions on when you move the thing to nullspace. If it's in nullspace before you call qdel, you would shit out the ass with hanging references stuck on the mob (like `w_uniform` pointing to something in nullspace, like the image above).

All fixed now, though.

* I FUCKING LOVE UNIT TESTS

THIS SHIT WILL NEVER BREAK AGAIN!!!

* i blanked

my guy hasn't moved for twenty minutes

Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>

* wrong documentation

Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>

* Fixes Some Incredulously Fucked Up Recycler Behavior

Co-authored-by: san7890 <the@san7890.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
2022-10-20 00:02:23 -04:00
SkyratBot
59dc5c36b7 [MIRROR] Cleans up the fallout from plane cube [MDB IGNORE] (#17003)
* Cleans up the fallout from plane cube (#70235)

* Cleans up the fallout from plane cube

Alright.
Makes cleaning bubbles respect planes
Adds support for updating overlays on move, fixing an issue with pointing at items
Adds better error messages for failing to provide args for mutable_appearance()
Fixes a bug where string overlays were not respecting insertion order

* Adds documentation for offset spokesman and offset_const

* Better stack trace

* Removes some redundant uses of cached MAs

At this scale, attempting to cache MAs like this has 0 impact on anything
And just makes things more messy then they need to be

* ensures fullscreen objects START offset, so things are always proper

* ensures chatmessages always have the right offset

* fixes compile

* whoops, the above lighting plane should actually be ABOVE the lighting plane

* fixes compile, also cleans up the fire overlay a tad

* Adds a unit test for plane masters that are shrunk by multiz being double shrunk

This is slightly hacky because of how I'm handing the plane master
group, but it's not THAT bad, and gives me some real good coverage

* Properly targets the seethrough plane at the game world plate. This fixes unit tests, and also just makes more sense

* whoops

* oh

* adds datum support for allocate(), cleans up a harddel from testing

* Makes camera chunks index at 1, and also makes them support non powers of two sizes, since that was unneeded

* fixes runtime in allocate

* Cleans up the fallout from plane cube

* liquid tweaks

* oop

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: tastyfish <crazychris32@gmail.com>
2022-10-19 19:43:05 -04:00
SkyratBot
1cab3858f6 [MIRROR] Unit Tests Mice Biting Wires (bonus proc cleanup) [MDB IGNORE] (#16858)
* Unit Tests Mice Biting Wires (bonus proc cleanup) (#70488)

* Unit Tests Mice Biting Wires (bonus proc cleanup)

Co-authored-by: san7890 <the@san7890.com>
2022-10-14 14:48:20 -04:00
SkyratBot
2ddb1dde6c [MIRROR] Fixes permanent sechud from ablative trenchcoat hood [MDB IGNORE] (#16807)
* Fixes permanent sechud from ablative trenchcoat hood

* unit tests merge conflict

Co-authored-by: GoblinBackwards <22856555+GoblinBackwards@users.noreply.github.com>
Co-authored-by: Tastyfish <crazychris32@gmail.com>
2022-10-12 13:57:03 -04:00
SkyratBot
7947051eab [MIRROR] Adds unit test to check for spritesheet issues [MDB IGNORE] (#16774)
* Adds unit test to check for spritesheet issues (#70351)

* Adds a new spritesheet unit test to catch edge-cases that caused problems in the past.

* Adds unit test to check for spritesheet issues

Co-authored-by: AnturK <AnturK@users.noreply.github.com>
2022-10-11 17:47:01 +01:00
SkyratBot
2847b2b37e [MIRROR] [ready] adds unit test for missing inhand icons. fixes a bunch of missing inhand icons [MDB IGNORE] (#16649)
* [ready] adds unit test for missing inhand icons. fixes a bunch of missing inhand icons

* cf

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
Co-authored-by: Tastyfish <crazychris32@gmail.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-10-09 22:36:07 +01:00
SkyratBot
a006328dd2 [MIRROR] Bump byond up to 514.1588 [MDB IGNORE] (#16514)
* Bump byond up to 514.1588 (#70168)

Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>

* Bump byond up to 514.1588

* Fixed le monke

Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
Co-authored-by: Tastyfish <crazychris32@gmail.com>
Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2022-10-02 12:16:26 -04:00
SkyratBot
99cadadf7a [MIRROR] Virtual Limbsanity [MDB IGNORE] (#16363)
* Virtual Limbsanity

* Update mobs.dm

* Apply suggestions from code review

* Now it compiles

* Fixes a random runtime caused by a map misusing the mob_type on mob_spawn spawners

Co-authored-by: Kapu1178 <75460809+Kapu1178@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
2022-09-30 21:26:49 -04:00
SkyratBot
b61a3f981d [MIRROR] Unit tests powernets to make sure the whole station is connected. [MDB IGNORE] (#16503)
* Unit tests powernets to make sure the whole station is connected. (#70090)

* Unit tests powernets to make sure the whole station is connected.

* fixes cable tests for blueshift and raptor

* single cable misplacement

* hard map reset

* hec

* tramstation armory stray cable

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
Co-authored-by: Paxilmaniac <paxilmaniac@gmail.com>
Co-authored-by: Tastyfish <crazychris32@gmail.com>
2022-09-29 01:24:37 -04:00
SkyratBot
55fb2abc7e [MIRROR] Adds a unit test for dupe planes [MDB IGNORE] (#16489)
* Adds a unit test for dupe planes (#70129)

* Adds a unit test for dupe planes

Co-authored-by: Time-Green <timkoster1@hotmail.com>
Co-authored-by: Tastyfish <crazychris32@gmail.com>
2022-09-28 07:04:47 -07:00
SkyratBot
8f033ead91 [MIRROR] Completely refactors hallucinations, and also adds a few [MDB IGNORE] (#16348)
* Completely refactors hallucinations, and also adds a few

* delete 5 old hallucination types that should have been removed

* Fixed old leftover tips conflicts

* Fixes all the leftover conflicts and otherwise broken code

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: tastyfish <crazychris32@gmail.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2022-09-25 19:43:45 -04:00
SkyratBot
8720bf61c3 [MIRROR] Adds a unit test for species changes keeping clothings [MDB IGNORE] (#16213)
* Adds a unit test for species changes keeping clothings

* digilegs digital legs

* Fixes the unit tests and an additional runtime too, woo!

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
Co-authored-by: tastyfish <crazychris32@gmail.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2022-09-25 02:12:55 +01:00
SkyratBot
e1b2ea0472 [MIRROR] Fixes SaturnX [MDB IGNORE] (#16140)
Fixes SaturnX

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-09-25 02:10:57 +01:00
SkyratBot
1bf20d4622 [MIRROR] Micro-optimize GetIdFromArguments to be 48% faster, gaining 0.48s of init time on local (likely more in prod) [MDB IGNORE] (#16039)
* Micro-optimize GetIdFromArguments to be 48% faster, gaining 0.48s of init time on local (likely more in prod) (#69659)

About The Pull Request

    Avoids stringifying key unless its necessary. This was done redundantly twice, but I locked it to just the isnum path, as REF will always return a string, and the other path passes istext.
    Use sortTim directly instead of sort_list. sort_list is just sortTim but it copies the list, so it's just wasted cost.

I still would like the bespoke element key option, as that's the only way to drastically cut down costs on things like item descriptions and decals, but this is good for the general use case, and makes it marginally less pressing.

I also want to test if we'd be better off inserting into the list in sorted order rather than sorting it all in the end, but I suspect not.

* Micro-optimize GetIdFromArguments to be 48% faster, gaining 0.48s of init time on local (likely more in prod)

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2022-09-04 03:34:06 +01:00
SkyratBot
0cd02b07ad [MIRROR] Unit tests range suck [MDB IGNORE] (#15901)
* Unit tests range suck (#69352)

* Unit tests range suck

Ok so we currently rely on some undefined behavior in energy_ball code
Namely, the range() family will return turfs in least/greatest get_dist

This is VERY useful for optimizing the tesla, but it's also undefined,
and lummy could change it any day now.

So let's at least unit test it so if it breaks we can remove it

* Unit tests range suck

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2022-08-29 20:19:07 -04:00
SkyratBot
8bf2238e3f [MIRROR] Adds unit test for reagent transfer and fixes infinite reagent transfer bug. [MDB IGNORE] (#15873)
* Adds unit test for reagent transfer and fixes infinite reagent transfer bug.

* Update holder.dm

* Fixes the conflict and updates the file properly to match upstream

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2022-08-27 13:31:42 -04:00
SkyratBot
ea67bfb4d4 [MIRROR] Refactors operating tables to be event driven + QoL + Unit Test [MDB IGNORE] (#15572)
* Refactors operating tables to be event driven + QoL + Unit Test (#69015)

* Event driven table

* Operating computer fix + loosening of check

* Unit testing

* IT NEEDS TO BE FORCE MOVE YOU GOTTA CLIMB TABLES AAAAH

* Migrated patient to carbon instead of human
Has no real bearing on the experiments tbh

* DNAs can be null apparently

* Simplify replacement code

* Move comments

* Refactors operating tables to be event driven + QoL + Unit Test

* Refactors operating tables to be event driven + QoL + Unit Test

Co-authored-by: vincentiusvin <54709710+vincentiusvin@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-08-17 17:41:01 +01:00
SkyratBot
ee9812021b [MIRROR] Fixes seed extractors not taking seeds from plant bags. [MDB IGNORE] (#15284)
* Fixes seed extractors not taking seeds from plant bags. (#68842)

* Fixes seed extractors not taking seeds from plant bags.
- When refactored, it accidently changed it from taking the seed "from its loc" to "from the extractor itself", which always failed

* Unit test

* Genericises it a bit

* Fixes seed extractors not taking seeds from plant bags.

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2022-07-30 08:14:44 -07:00
SkyratBot
9c2cea6f06 [MIRROR] Adds unit tests for bar sign datums [MDB IGNORE] (#14791)
* Adds unit tests for bar sign datums (#68046)

* Adds unit tests for bar sign datums

Co-authored-by: Tastyfish <crazychris32@gmail.com>
2022-07-08 19:56:53 +01:00
Gandalf
a3e90a91f0 Automapper - IMPORTANT, READ ME [MDB IGNORE] (#14679)
* wew

* Update area_spawn_subsystem.dm

* Update area_spawn_subsystem.dm

* Update area_spawn_entries.dm

* wew

* Update area_spawn_entries.dm

* Update area_spawn_entries.dm

* Update area_spawn_entries.dm

* Update summon_beacon.dm

* yeees

* Update area_spawn_entries.dm

* qwqw

* e

* Update area_spawn_entries.dm

* Update area_spawn_entries.dm

* yes

* Update area_spawn_entries.dm

* Update area_spawn_entries.dm

* Update area_spawn_entries.dm

* Update area_spawn_entries.dm

* Update area_spawn_entries.dm

* automapper

* mmkay

* wew

* science post

* Update DeltaStation2_skyrat.dmm

* fc

* starting on delta

* Update metastation_science_post.dmm

* better loading system, metastation, delta, better file system

* unit tests, bugfixes, multiz support

* Update automapper.dm

* Update _compile_options.dm

* Kilo and tramstation

* wew

* Update area_spawn_entries.dm

* Update automapper_config.toml

* Update automapper_subsystem.dm

* Update Skyrat_Map_Reset.dmm

* remove redundant maps

* Update _basemap.dm

* wew

* Update automap_template.dm

* guard outposts no need

* wew

* NTR offices

* e

* Update area_spawn_entries.dm

* Update area_spawn_entries.dm

* Update icebox_ntrep_office.dmm

* 0

* iucebox arrivals fix

* Update area_spawn_entries.dm

* Update automap_template.dm

* Update readme.md
2022-07-06 15:24:57 +01:00
SkyratBot
c68fea7cba [MIRROR] Completely removes proc_holders from existence. Refactors all wizard, xeno, spider, and genetics powers to be actions. Also refactors and sorts ton of accompanying code. [MDB IGNORE] (#14666)
* Completely removes `proc_holders` from existence. Refactors all wizard, xeno, spider, and genetics powers to be actions. Also refactors and sorts ton of accompanying code.

* our changes

* yes

* 0

* Update blackmesa.dmm

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-07-01 20:33:30 +01:00
SkyratBot
48ac7b572d [MIRROR] Security Level Datums [MDB IGNORE] (#14504)
* Security Level Datums

* wew

* Update security_level_datums.dm

Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-06-25 02:04:50 +01:00
GoldenAlpharex
fdb3651095 Screenshot tests (#67679) (#14269)
Adds screenshot visual testing workflow and scripts.

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2022-06-17 00:33:25 +01:00
SkyratBot
d37405ca72 [MIRROR] Fixes Knockdown signal being incorrect, making knock-off items (and others) trigger when they should again. Also cleans up the knockoff component and unit tests it. [MDB IGNORE] (#14357)
* Fixes `Knockdown` signal being incorrect, making knock-off items (and others) trigger when they should again. Also cleans up the knockoff component and unit tests it. (#67720)

At some point, someone did a find and replace over this file, and completely screwed up the signal for Knockdown().

This caused components that relied on it, like the Knockoff component, to work way less often.

This PR fixes that.
It also goes through and cleans up the Knockoff component. More consistent style guide stuff, minor improvements, better documentation.

It also unit tests it.

* Fixes `Knockdown` signal being incorrect, making knock-off items (and others) trigger when they should again. Also cleans up the knockoff component and unit tests it.

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2022-06-17 00:29:25 +01:00
SkyratBot
71b58f3f7c [MIRROR] Fixes slips being broken and adds a unit test to catch it happening again. [MDB IGNORE] (#14299)
* Fixes slips being broken and adds a unit test to catch it happening again. (#67741)

* Fixes slips being broken and adds a unit test to catch it happening again.

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2022-06-13 23:18:57 -07:00
SkyratBot
3288eacde6 [MIRROR] Fixes clown faction runtimes. [MDB IGNORE] (#14282)
* Fixes clown faction runtimes. (#67707)

* Fixes clown faction runtimes.

Co-authored-by: AnturK <AnturK@users.noreply.github.com>
2022-06-13 06:33:40 -07:00
Useroth
81b8f962b7 Mirror 66967 & 67411 (#14279)
* Implements a Demolition Modifier variable to items, affects damage vs structures and robots. (#66967)

Adds a modifier variable which can be used to increase or decrease a given items damage to structures, machinery, vehicles, and robots (including cyborgs, simple-bots, and anything else with the MOB_ROBOTIC biotype)

* Fixes attacks on mech equipment ignoring armor / melee damage, also fixes mech equipment not being disabled at 0% health, also also unit tests mech armor (#67411)

Co-authored-by: itseasytosee <55666666+itseasytosee@users.noreply.github.com>
Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2022-06-12 21:03:17 +01:00
SkyratBot
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
SkyratBot
f0ea5eec7b [MIRROR] fixes inconsistent lighting ci failure in icebox [MDB IGNORE] (#14166)
* fixes inconsistent lighting ci failure in icebox (#67430)

Fixes and adds test for get_pixel_turf returning null on tall objects on top of the map.

* fixes inconsistent lighting ci failure in icebox

Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
2022-06-07 21:11:27 +01:00
Tastyfish
26e7d42aaa [MIRROR][NO GBP] missed mirror 66864 (#13570)
* Mirror upstream 66864

* Update for logging reshuffling

* METASTATION MAP RESET

* METASTATION MAP RESET PT2

* TRAMSTATION RESET

* KILOSTATION MAP RESET

* ICEBOX RESET

* DELTA RESET

* ok

Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-24 18:25:27 +01:00
SkyratBot
6bf0de98e0 Refactors and sorts Nuclear Bombs and Cinematics. Fixes and unit tests nuke cinematics, and re-adds a missing malf ai cinematic. (#13802)
Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2022-05-22 09:03:09 -07:00
SkyratBot
795df5dc0e [MIRROR] Unit tests for default hydroponic seed gene setups [MDB IGNORE] (#13671)
* Unit tests for default hydroponic seed gene setups  (#67029)

Adds a unit test that ensures the default list of genes for all plants is a valid setup.

* Unit tests for default hydroponic seed gene setups

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2022-05-17 19:14:41 +01:00
Tastyfish
f322eaff57 [MIRROR] Makes integration test results be in color and have annotations (#13341) 2022-05-05 19:10:20 -04:00
SkyratBot
2a6dd01e56 [MIRROR] unit test for /obj/item/stack singular_name [MDB IGNORE] (#13022)
* unit test for /obj/item/stack singular_name (#66378)

Checks if all non-blacklisted stack items have singular_name set, because apparently that's pretty important
Gives it to a few ones that didn't

* unit test for /obj/item/stack singular_name

* fix

Co-authored-by: capsaicin <84609863+capsaicinz@users.noreply.github.com>
Co-authored-by: John Doe <gamingskeleton3@gmail.com>
2022-04-23 10:43:48 -07:00
SkyratBot
db7f99694a [MIRROR] adds a unique species id unit test + cleans up some golem mischief [MDB IGNORE] (#12682)
* adds a unique species id unit test + cleans up some golem mischief (#66050)

* adds a unique species id unit test + cleans up some golem mischief

Co-authored-by: capsaicin <84609863+capsaicinz@users.noreply.github.com>
2022-04-11 23:18:13 +01:00
SkyratBot
f834c795e7 [MIRROR] Becoming the patron of a painting now lets you select a different, persistent appearance for the frame it's in. [MDB IGNORE] (#12009)
* Becoming the patron of a painting now lets you select a different, persistent appearance for the frame it's in. (#65305)

* Painting frame selection for patrons, painting json version update.

* Becoming the patron of a painting now lets you select a different, persistent appearance for the frame it's in.

* fix unit test

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
Co-authored-by: John Doe <gamingskeleton3@gmail.com>
2022-03-23 21:06:47 +00:00
SkyratBot
36f7daf001 [MIRROR] De-hardcodes the species preference pages, deleting the species pages and generating them in constant data on the DM side instead [MDB IGNORE] (#11774)
* De-hardcodes the species preference pages, deleting the species pages and generating them in constant data on the DM side instead

* fc

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-03-13 21:24:04 +00:00
Zonespace
1a84c196bc [MODULAR] OPFOR Expansion - Odds and Ends (#11956)
* standing here on the edge

* the irony of my own unit tests failing on me is not lost

* will this work? god knows

* okay, now that this works

* Update code/modules/unit_tests/_unit_tests.dm

* aye

* weh, fixed

* tired me is not a good coder

* correct this

* max_count + flashbang

* testing a change to the unit test

* weh

* i give up

* Update code/modules/unit_tests/_unit_tests.dm
2022-03-12 18:50:54 +00:00
SkyratBot
02d51388e8 [MIRROR] [COOL BUG READ FOR MORE INFO] Fix vaccines not working in chem masters by giving Fungal TB's vaccine (and others) a name + Add unit test for duplicate chem names + Rename fake beer + Ratio [MDB IGNORE] (#11901)
* [COOL BUG READ FOR MORE INFO] Fix vaccines not working in chem masters by giving Fungal TB's vaccine (and others) a name + Add unit test for duplicate chem names + Rename fake beer + Ratio

* Feexing conflicts

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
2022-03-06 17:47:52 +00:00
SkyratBot
b8279a2b3c [MIRROR] BIDDLE HERETICS: Heretic revamp! (Shadow Realm, UI Overhaul, Refactoring, and Murderhoboing Tweaks) [MDB IGNORE] (#11427)
* BIDDLE HERETICS: Heretic revamp! (Shadow Realm, UI Overhaul, Refactoring, and Murderhoboing Tweaks)

* fex

* e

* Update zombieprison.dmm

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-02-11 02:53:01 +00:00
Tom
b3f03c7c14 https://github.com/tgstation/tgstation/pull/64417 (#11309) 2022-02-06 21:21:34 +01:00
SkyratBot
9104bdb678 [MIRROR] Adds Thieves, a very low level antagonist. [MDB IGNORE] (#10832)
* Adds Thieves, a very low level antagonist. (#64144)

Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
Co-authored-by: Kylerace <kylerlumpkin1@ gmail.com>

* Adds Thieves, a very low level antagonist.

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
Co-authored-by: Kylerace <kylerlumpkin1@ gmail.com>
2022-01-20 03:18:34 +00:00
SkyratBot
640559580e [MIRROR] Pump pressure calculation now respects temperature. [MDB IGNORE] (#10812)
* Pump pressure calculation now respects temperature. (#62320)

Ever pump hot nob into a tank of oxygen, see the pressure rise to 8000 kpa for a few seconds and have that deafening explosion sound play right after? This attempts to eliminate those by making the pressure transfer proc thingy in gas_mixture account for resulting temperature. The old one is preserved if the temperature difference isn't too big because it's most definitely more performant. The minimum temperature difference of 5 is completely arbitrary and I won't mind changing if asked. Math is a bit messy by necessity but I hope the comment is adequate.

While I'm at it i also changed the return value of those procs to return a removed gasmix instead of directly merging. I sort of needed this for a clean implementation of assume_air in #62284. Will need more testing though. Found a better solution.

Writes a small unit test to check for this too.

Cuts down on one unintended cause of explosions.

* Pump pressure calculation now respects temperature.

Co-authored-by: vincentiusvin <54709710+vincentiusvin@users.noreply.github.com>
2022-01-19 01:26:55 +00:00
SkyratBot
16a6d35733 [MIRROR] Adds Modular Ruins [MDB IGNORE] (#10760)
* Adds Modular Ruins (#64077)

Adds a new system to allow mappers to randomly load modular map segments.

For implementation details and a tutorial check the included README.md.

* Adds Modular Ruins

Co-authored-by: Thunder12345 <Thunder12345@users.noreply.github.com>
2022-01-18 00:54:13 +00:00