[MIRROR] Unit Test rework & Master/Ticker update (#11372)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
Co-authored-by: C.L. <killer65311@gmail.com>
This commit is contained in:
Selis
2025-08-12 08:46:46 +02:00
committed by GitHub
co-authored by Kashargul C.L.
parent 0ab6069dcb
commit 386c4f6756
390 changed files with 10560 additions and 5777 deletions
@@ -103,8 +103,8 @@
var/amt_produced = result_amount * reaction_progress
if(result)
holder.add_reagent(result, amt_produced, data, safety = 1, was_from_belly = belly_reagent)
// #ifdef UNIT_TEST
// log_unit_test("[name] - Reagent reaction result: [result] [amt_produced]") // Uncomment for UNIT_TEST debug assistance
// #ifdef UNIT_TESTS
// log_unit_test("[name] - Reagent reaction result: [result] [amt_produced]") // Uncomment for UNIT_TESTS debug assistance
// #endif
on_reaction(holder, amt_produced)
@@ -825,8 +825,8 @@
result_amount = 2
log_is_important = 1
#ifndef UNIT_TEST
// If it becomes possible to make this without exploding and clearing reagents, remove the UNIT_TEST wrapper
#ifndef UNIT_TESTS
// If it becomes possible to make this without exploding and clearing reagents, remove the UNIT_TESTS wrapper
/decl/chemical_reaction/instant/nitroglycerin/on_reaction(var/datum/reagents/holder, var/created_volume)
var/datum/effect/effect/system/reagents_explosion/e = new()
e.set_up(round (created_volume/2, 1), holder.my_atom, 0, 0)