From 73f0e9b022c925ec41d79288bc315821358f7951 Mon Sep 17 00:00:00 2001 From: TheLeopold Date: Tue, 28 May 2024 13:36:31 +0800 Subject: [PATCH] the beginnening --- mod_celadon/design_disks/_design_disks.dm | 4 ++++ mod_celadon/design_disks/_design_disks.dme | 9 +++++++++ mod_celadon/design_disks/code/designs.dm | 12 ++++++++++++ mod_celadon/design_disks/code/packs/disks.dm | 10 ++++++++++ mod_celadon/mod_celadon.dme | 1 + 5 files changed, 36 insertions(+) create mode 100644 mod_celadon/design_disks/_design_disks.dm create mode 100644 mod_celadon/design_disks/_design_disks.dme create mode 100644 mod_celadon/design_disks/code/designs.dm create mode 100644 mod_celadon/design_disks/code/packs/disks.dm diff --git a/mod_celadon/design_disks/_design_disks.dm b/mod_celadon/design_disks/_design_disks.dm new file mode 100644 index 000000000000..35814a370899 --- /dev/null +++ b/mod_celadon/design_disks/_design_disks.dm @@ -0,0 +1,4 @@ +/datum/modpack/design_disks + name = "Диски" + desc = "Добавляет диски с чертежами." + author = "Leopold" diff --git a/mod_celadon/design_disks/_design_disks.dme b/mod_celadon/design_disks/_design_disks.dme new file mode 100644 index 000000000000..0c252bca7627 --- /dev/null +++ b/mod_celadon/design_disks/_design_disks.dme @@ -0,0 +1,9 @@ +#ifndef MODPACK_CELADON_DESIGN_DISKS +#define MODPACK_CELADON_DESIGN_DISKS + +#include "_design_disks.dm" + +#include "code/designs.dm" +#include "code/packs/disks.dm" + +#endif diff --git a/mod_celadon/design_disks/code/designs.dm b/mod_celadon/design_disks/code/designs.dm new file mode 100644 index 000000000000..2facbe533b17 --- /dev/null +++ b/mod_celadon/design_disks/code/designs.dm @@ -0,0 +1,12 @@ +/obj/item/disk/design_disk/cybernetic_organs_basic + name = "Design Disk - Basic cybernetic organs" + desc = "A design disk containing the pattern for basic cybernetic organs." + max_blueprints = 5 + +/obj/item/disk/design_disk/cybernetic_organs_basic/Initialize() + . = ..() + blueprints[1] = new /datum/design/cybernetic_liver() + blueprints[2] = new /datum/design/cybernetic_heart() + blueprints[3] = new /datum/design/cybernetic_lungs() + blueprints[4] = new /datum/design/cybernetic_stomach() + blueprints[5] = new /datum/design/cybernetic_ears() diff --git a/mod_celadon/design_disks/code/packs/disks.dm b/mod_celadon/design_disks/code/packs/disks.dm new file mode 100644 index 000000000000..81fbc1ff9710 --- /dev/null +++ b/mod_celadon/design_disks/code/packs/disks.dm @@ -0,0 +1,10 @@ +/datum/supply_pack/disks + group = "Design disks" + + + +/datum/supply_pack/disks/cybernetic_organs_basic + name = "Basic cybernetic organs" + desc = "Contains a disk with designs of basic cybernetic organs." + contains = list(/obj/item/disk/design_disk/cybernetic_organs_basic,) + cost = 2000 diff --git a/mod_celadon/mod_celadon.dme b/mod_celadon/mod_celadon.dme index de9981feb4cb..6c530003a40c 100644 --- a/mod_celadon/mod_celadon.dme +++ b/mod_celadon/mod_celadon.dme @@ -32,6 +32,7 @@ #include "bongs/_bongs.dme" #include "research/_research.dme" #include "mechas/_mechas.dme" +#include "design_disks/_design_disks.dme" // --- MOBS --- // #include "mobs/_mobs.dme"