mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-17 10:05:27 +01:00
Chemalyzer missing data (#18124)
* new analyzer stuff * XGM isn't ingame stuff
This commit is contained in:
@@ -94,6 +94,13 @@
|
||||
subdata["cooling_mod"] = R.coolant_modifier
|
||||
if(R.id in get_addictive_reagents(ADDICT_ALL))
|
||||
subdata["addictive"] = TRUE
|
||||
subdata["industrial_use"] = R.industrial_use
|
||||
subdata["supply_points"] = R.supply_conversion_value ? R.supply_conversion_value : 0
|
||||
var/value = R.supply_conversion_value * REAGENTS_PER_SHEET * SSsupply.points_per_money
|
||||
value = FLOOR(value * 100,1) / 100 // Truncate decimals
|
||||
subdata["market_price"] = value
|
||||
subdata["sintering"] = SSinternal_wiki.assemble_sintering(GLOB.reagent_sheets[R.id])
|
||||
subdata["overdose"] = R.overdose
|
||||
subdata["flavor"] = R.taste_description
|
||||
subdata["allergen"] = SSinternal_wiki.assemble_allergens(R.allergen_type)
|
||||
subdata["beakerAmount"] = found_reagents[ID]
|
||||
|
||||
@@ -146,7 +146,7 @@ function getReactionComponents(
|
||||
)}
|
||||
{(typeof reactionTypes.xgm_min === 'number' ||
|
||||
typeof reactionTypes.xgm_max === 'number') && (
|
||||
<LabeledList.Item label="XGM">
|
||||
<LabeledList.Item label="Gas Pressure">
|
||||
<MinMaxBox
|
||||
min={reactionTypes.xgm_min || null}
|
||||
max={reactionTypes.xgm_max || null}
|
||||
@@ -160,12 +160,12 @@ function getReactionComponents(
|
||||
typeof reactionTypes.xgm_min === 'number' ||
|
||||
typeof reactionTypes.xgm_max === 'number') && <LabeledList.Divider />}
|
||||
{!!reactionTypes.require_xgm_gas && (
|
||||
<LabeledList.Item label="Requires XGM Gas">
|
||||
<LabeledList.Item label="Requires Gas">
|
||||
{reactionTypes.require_xgm_gas}
|
||||
</LabeledList.Item>
|
||||
)}
|
||||
{!!reactionTypes.rejects_xgm_gas && (
|
||||
<LabeledList.Item label="Rejects XGM Gas">
|
||||
<LabeledList.Item label="Rejects Gas">
|
||||
{reactionTypes.rejects_xgm_gas}
|
||||
</LabeledList.Item>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user