mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
destructive analyzer runtime thing
This commit is contained in:
@@ -128,9 +128,10 @@ Note: Must be placed within 3 tiles of the R&D Console
|
||||
return FALSE
|
||||
if(QDELETED(loaded_item) || QDELETED(linked_console) || !user.Adjacent(linked_console) || QDELETED(src))
|
||||
return FALSE
|
||||
var/loaded_type = loaded_item.type
|
||||
if(destroy_item(loaded_item))
|
||||
linked_console.stored_research.research_points += point_value
|
||||
linked_console.stored_research.deconstructed_items[loaded_item.type] = point_value
|
||||
linked_console.stored_research.deconstructed_items[loaded_type] = point_value
|
||||
|
||||
return TRUE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user