mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-06-22 06:35:12 +01:00
9faf2a16ec
* Removes bepis Techweb and reworks tech disks in general * e Co-Authored-By: san7890 <the@san7890.com> * e * it will be done --------- Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com> Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com> Co-authored-by: san7890 <the@san7890.com> Co-authored-by: Paxilmaniac <paxilmaniac@gmail.com>
24 lines
699 B
Plaintext
24 lines
699 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=300, /datum/material/glass=100)
|
|
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 = SSresearch.admin_tech
|
|
return ..()
|