From 21e00aa5dc4b2932dce1a305bc48ddb2b3f99be2 Mon Sep 17 00:00:00 2001 From: Cael_Aislinn Date: Wed, 5 Dec 2012 04:55:50 +1000 Subject: [PATCH] some tweaks --- code/modules/reagents/Chemistry-Holder.dm | 4 +++- code/modules/research/xenoarchaeology/archaeo_chem.dm | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/reagents/Chemistry-Holder.dm b/code/modules/reagents/Chemistry-Holder.dm index 9065c68d7f..84a2ca1452 100644 --- a/code/modules/reagents/Chemistry-Holder.dm +++ b/code/modules/reagents/Chemistry-Holder.dm @@ -253,7 +253,7 @@ datum //try and grab any data so we can preserve it across reactions //added for xenoarchaeology, might be used for other things but this is a bit dodge var/preserved_data = null - for(var/B in src.reagent_list) + for(var/B in C.required_reagents) if(!preserved_data) var/temp_data = get_data(B) if(temp_data) @@ -464,6 +464,7 @@ datum //two slightly dodge helper functions to preserve data across reactions (needed for xenoarch) get_data(var/reagent_id) + world << "attempting to get data ([reagent_id])" for(var/R in reagent_list) var/datum/reagent/D = reagent_list[R] if(D.id == reagent_id) @@ -471,6 +472,7 @@ datum return D.data set_data(var/reagent_id, var/new_data) + world << "attempting to set data ([reagent_id])" for(var/R in reagent_list) var/datum/reagent/D = reagent_list[R] if(D.id == reagent_id) diff --git a/code/modules/research/xenoarchaeology/archaeo_chem.dm b/code/modules/research/xenoarchaeology/archaeo_chem.dm index a39120e786..1ebbe66111 100644 --- a/code/modules/research/xenoarchaeology/archaeo_chem.dm +++ b/code/modules/research/xenoarchaeology/archaeo_chem.dm @@ -56,7 +56,6 @@ datum result = "lithiumsodiumtungstate" required_reagents = list("lithium" = 1, "sodium" = 2, "tungsten" = 1, "oxygen" = 4) result_amount = 8 - requires_heating = 1 density_separated_liquid name = "Density separated sample"