Skip to content

Commit

Permalink
the beginnening
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLeopold committed May 28, 2024
1 parent 60fff2b commit 73f0e9b
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mod_celadon/design_disks/_design_disks.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/datum/modpack/design_disks
name = "Диски"
desc = "Добавляет диски с чертежами."
author = "Leopold"
9 changes: 9 additions & 0 deletions mod_celadon/design_disks/_design_disks.dme
Original file line number Diff line number Diff line change
@@ -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
12 changes: 12 additions & 0 deletions mod_celadon/design_disks/code/designs.dm
Original file line number Diff line number Diff line change
@@ -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()
10 changes: 10 additions & 0 deletions mod_celadon/design_disks/code/packs/disks.dm
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions mod_celadon/mod_celadon.dme
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 73f0e9b

Please sign in to comment.