mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 14:47:50 +01:00
[MIRROR] move the from belly (#10474)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
6d174d27c4
commit
5fd7b79c56
@@ -78,7 +78,7 @@
|
||||
|
||||
return progress
|
||||
|
||||
/decl/chemical_reaction/process(var/datum/reagents/holder)
|
||||
/decl/chemical_reaction/process(var/datum/reagents/holder, var/belly_reagent)
|
||||
//determine how far the reaction can proceed
|
||||
var/list/reaction_limits = list()
|
||||
for(var/reactant in required_reagents)
|
||||
@@ -101,7 +101,7 @@
|
||||
//add the product
|
||||
var/amt_produced = result_amount * reaction_progress
|
||||
if(result)
|
||||
holder.add_reagent(result, amt_produced, data, safety = 1)
|
||||
holder.add_reagent(result, amt_produced, data, safety = 1, was_from_belly = belly_reagent)
|
||||
|
||||
on_reaction(holder, amt_produced)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user