mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
The destruction tab now tells you the current research level, and however much material you would receive from deconstructing the object
This commit is contained in:
@@ -856,8 +856,15 @@ won't update every console in existence) but it's more of a hassle to do. Also,
|
||||
Origin Tech:<BR>"}
|
||||
var/list/temp_tech = linked_destroy.ConvertReqString2List(linked_destroy.loaded_item.origin_tech)
|
||||
for(var/T in temp_tech)
|
||||
dat += "* [CallTechName(T)] [temp_tech[T]]<BR>"
|
||||
|
||||
var/datum/tech/TT = files.GetKTechByID(T)
|
||||
dat += "* [CallTechName(T)] [temp_tech[T]] \[Current research level: [TT.level]\]<BR>"
|
||||
if(linked_destroy.loaded_item.materials)
|
||||
dat += "Material Composition:<UL>"
|
||||
for(var/matID in linked_destroy.loaded_item.materials.storage)
|
||||
if(linked_destroy.loaded_item.materials.storage[matID])
|
||||
var/datum/material/M = linked_destroy.loaded_item.materials.getMaterial(matID)
|
||||
dat += "<LI>[M.processed_name] : [linked_destroy.loaded_item.materials.storage[matID]]</LI>"
|
||||
dat += "</UL><BR>"
|
||||
dat += {"<HR><A href='?src=\ref[src];deconstruct=1'>Deconstruct Item</A> ||
|
||||
<A href='?src=\ref[src];eject_item=1'>Eject Item</A> || "}
|
||||
/////////////////////PROTOLATHE SCREENS/////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user