mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 10:11:09 +00:00
* Oldstation now has their own RND * Update oldstation_fluff.dm * Update techweb_types.dm * beaker capacity --------- Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com> Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com>
24 lines
769 B
Plaintext
24 lines
769 B
Plaintext
|
|
/obj/item/disk/tech_disk
|
|
name = "technology disk"
|
|
desc = "A disk for storing technology data for further research."
|
|
icon_state = "datadisk0"
|
|
custom_materials = list(/datum/material/iron=SMALL_MATERIAL_AMOUNT * 3, /datum/material/glass=SMALL_MATERIAL_AMOUNT)
|
|
var/datum/techweb/stored_research
|
|
|
|
/obj/item/disk/tech_disk/Initialize(mapload)
|
|
. = ..()
|
|
if(!stored_research)
|
|
stored_research = new /datum/techweb/disk
|
|
pixel_x = base_pixel_x + rand(-5, 5)
|
|
pixel_y = base_pixel_y + rand(-5, 5)
|
|
|
|
/obj/item/disk/tech_disk/debug
|
|
name = "\improper CentCom technology disk"
|
|
desc = "A debug item for research"
|
|
custom_materials = null
|
|
|
|
/obj/item/disk/tech_disk/debug/Initialize(mapload)
|
|
stored_research = locate(/datum/techweb/admin) in SSresearch.techwebs
|
|
return ..()
|