mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
[MIRROR] Pyrosium reactions sets temperature & causes reactions inside holder [MDB IGNORE] (#25519)
* Pyrosium reactions sets temperature & causes reactions inside holder (#80176) ## About The Pull Request - Fixes #79933 Now uses `expose_temperature()` to heat the holder by 10 kelvin each step. Also uses `expose_temperature()` to change temperature to 20 kelvin when pyrosium is first made. ## Changelog 🆑 fix: Pyrosium oxygen reaction now heats the holder and causes reactions inside it. Also correctly sets the holder temperature to 20 kelvin & causes reactions when first made /🆑 * Pyrosium reactions sets temperature & causes reactions inside holder --------- Co-authored-by: SyncIt21 <110812394+SyncIt21@users.noreply.github.com>
This commit is contained in:
@@ -503,7 +503,7 @@
|
||||
reaction_tags = REACTION_TAG_EASY | REACTION_TAG_UNIQUE
|
||||
|
||||
/datum/chemical_reaction/pyrosium_oxygen/on_reaction(datum/reagents/holder, datum/equilibrium/reaction, created_volume)
|
||||
holder.chem_temp += 10*created_volume
|
||||
holder.expose_temperature(holder.chem_temp + (10 * created_volume), 1)
|
||||
|
||||
/datum/chemical_reaction/pyrosium
|
||||
results = list(/datum/reagent/pyrosium = 3)
|
||||
@@ -516,8 +516,7 @@
|
||||
reaction_tags = REACTION_TAG_EASY | REACTION_TAG_UNIQUE
|
||||
|
||||
/datum/chemical_reaction/pyrosium/on_reaction(datum/reagents/holder, datum/equilibrium/reaction, created_volume)
|
||||
holder.chem_temp = 20 // also cools the fuck down
|
||||
return
|
||||
holder.expose_temperature(20, 1) // also cools the fuck down
|
||||
|
||||
/datum/chemical_reaction/teslium
|
||||
results = list(/datum/reagent/teslium = 3)
|
||||
|
||||
Reference in New Issue
Block a user