diff --git a/modular_mithra/code/game/machinery/cloning.dm b/modular_mithra/code/game/machinery/cloning.dm index 608599ccc2c7b..777dc53e10a79 100644 --- a/modular_mithra/code/game/machinery/cloning.dm +++ b/modular_mithra/code/game/machinery/cloning.dm @@ -155,7 +155,7 @@ //Let's unlock this early I guess. Might be too early, needs tweaking. -/obj/machinery/clonepod/attackby(obj/item/weapon/W as obj, mob/user as mob) +/obj/machinery/clonepod/attackby(obj/item/W as obj, mob/user as mob) if(istype(W, /obj/item/card/id)||istype(W, /obj/item/modular_computer/pda)) if(!check_access(W)) to_chat(user, "Access Denied.") @@ -342,7 +342,7 @@ //Disk stuff. //The return of data disks?? Just for transferring between genetics machine/cloning machine. //TO-DO: Make the genetics machine accept them. -/obj/item/weapon/disk/data +/obj/item/disk/data name = "Cloning Data Disk" icon = 'icons/obj/cloning.dmi' icon_state = "datadisk0" //Gosh I hope syndies don't mistake them for the nuke disk. @@ -351,15 +351,15 @@ var/datum/dna2/record/buf = null var/read_only = 0 //Well,it's still a floppy disk -/obj/item/weapon/disk/data/proc/initializeDisk() +/obj/item/disk/data/proc/initializeDisk() buf = new buf.dna=new -/obj/item/weapon/disk/data/demo +/obj/item/disk/data/demo name = "data disk - 'God Emperor of Mankind'" read_only = 1 -/obj/item/weapon/disk/data/demo/New() +/obj/item/disk/data/demo/New() initializeDisk() buf.types=DNA2_BUF_UE|DNA2_BUF_UI //data = "066000033000000000AF00330660FF4DB002690" @@ -370,11 +370,11 @@ //buf.dna.UI=list(0x0C8,0x0C8,0x0C8,0x0C8,0x0C8,0x0C8,0x000,0x000,0x000,0x000,0x161,0xFBD,0xDEF) // Farmer Jeff buf.dna.UpdateUI() -/obj/item/weapon/disk/data/monkey +/obj/item/disk/data/monkey name = "data disk - 'Mr. Muggles'" read_only = 1 -/obj/item/weapon/disk/data/demo/New() +/obj/item/disk/data/demo/New() ..() initializeDisk() buf.types=DNA2_BUF_SE @@ -384,16 +384,16 @@ buf.dna.SE=new_SE buf.dna.SetSEValueRange(GLOB.MONKEYBLOCK,0xDAC, 0xFFF) -/obj/item/weapon/disk/data/New() +/obj/item/disk/data/New() ..() var/diskcolor = pick(0,1,2) icon_state = "datadisk[diskcolor]" -/obj/item/weapon/disk/data/attack_self(mob/user as mob) +/obj/item/disk/data/attack_self(mob/user as mob) read_only = !read_only to_chat(user, "You flip the write-protect tab to [read_only ? "protected" : "unprotected"].") -/obj/item/weapon/disk/data/examine(mob/user) +/obj/item/disk/data/examine(mob/user) ..(user) to_chat(user, text("The write-protect tab is set to [read_only ? "protected" : "unprotected"].")) return @@ -408,13 +408,13 @@ /obj/item/storage/box/disks/New() ..() - new /obj/item/weapon/disk/data(src) - new /obj/item/weapon/disk/data(src) - new /obj/item/weapon/disk/data(src) - new /obj/item/weapon/disk/data(src) - new /obj/item/weapon/disk/data(src) - new /obj/item/weapon/disk/data(src) - new /obj/item/weapon/disk/data(src) + new /obj/item/disk/data(src) + new /obj/item/disk/data(src) + new /obj/item/disk/data(src) + new /obj/item/disk/data(src) + new /obj/item/disk/data(src) + new /obj/item/disk/data(src) + new /obj/item/disk/data(src) /* * Manual -- A big ol' manual. diff --git a/modular_mithra/code/game/machinery/computer/cloning.dm b/modular_mithra/code/game/machinery/computer/cloning.dm index 31bb26b8f39d0..79ebd9e2b1658 100644 --- a/modular_mithra/code/game/machinery/computer/cloning.dm +++ b/modular_mithra/code/game/machinery/computer/cloning.dm @@ -11,7 +11,7 @@ var/menu = 1 //Which menu screen to display var/list/records = list() var/datum/dna2/record/active_record = null - var/obj/item/weapon/disk/data/diskette = null //Mostly so the geneticist can steal everything. + var/obj/item/disk/data/diskette = null //Mostly so the geneticist can steal everything. var/loading = FALSE // Nice loading text @@ -61,7 +61,7 @@ P.name = "[initial(P.name)] #[num++]" /obj/machinery/computer/cloning/attackby(obj/item/W as obj, mob/user as mob) - if (istype(W, /obj/item/weapon/disk/data)) //INSERT SOME DISKETTES + if (istype(W, /obj/item/disk/data)) //INSERT SOME DISKETTES if (!diskette) user.drop_item() W.loc = src