mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-31 01:00:59 +01:00
[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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user