some tweaks

This commit is contained in:
Cael_Aislinn
2012-12-05 04:55:50 +10:00
parent defcbdc0ac
commit 21e00aa5dc
2 changed files with 3 additions and 2 deletions

View File

@@ -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)

View File

@@ -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"