forked from Bubberstation/Bubberstation
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Adds quirk NIFs to Lust Wish vendor - Adds brainwashing NIF to research - Adds unused NIF design datums - Removes quirk NIFs from the software list
- Loading branch information
Showing
5 changed files
with
105 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
modular_zzplurt/code/modules/modular_implants/code/nif_research.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// Add NIFs to alien surgery node | ||
/datum/techweb_node/alien_surgery/New() | ||
design_ids += list( | ||
"nifsoft_hypno_brainwash", | ||
) | ||
return ..() | ||
|
||
// Design for brainwash NIFSoft | ||
/datum/design/nifsoft_hud/nifsoft_hypno_brainwash | ||
name = "Mesmer Eye NIFSoft" | ||
desc = "A NIFSoft datadisk containing the experimental Mesmer Eye NIFsoft." | ||
id = "nifsoft_hypno_brainwash" | ||
build_path = /obj/item/disk/nifsoft_uploader/dorms/hypnosis/brainwashing | ||
//departmental_flags = DEPARTMENT_BITFLAG_MEDICAL | ||
|
||
// Design for storage concealment NIFSoft | ||
/datum/design/nifsoft_hud/nifsoft_storage_concealment | ||
name = "Storage Concealment NIFSoft" | ||
desc = "A NIFSoft datadisk containing the Storage Concealment NIFsoft." | ||
id = "nifsoft_storage_concealment" | ||
build_path = /obj/item/disk/nifsoft_uploader/nif_hide_backpack_disk | ||
|
||
// Design for rapid disrobe NIFSoft | ||
/datum/design/nifsoft_hud/nifsoft_rapid_disrobe | ||
name = "Emergency Clothing Disruption NIFSoft" | ||
desc = "A NIFSoft datadisk containing the Emergency Clothing Disruption NIFsoft." | ||
id = "nifsoft_rapid_disrobe" | ||
build_path = /obj/item/disk/nifsoft_uploader/dorms/nif_disrobe_disk | ||
|
||
// Design for genital fluid NIFSoft | ||
/datum/design/nifsoft_hud/nifsoft_gfluid | ||
name = "Genital Fluid Inducer NIFSoft" | ||
desc = "A NIFSoft datadisk containing the Genital Fluid Inducer NIFsoft." | ||
id = "nifsoft_gfluid" | ||
build_path = /obj/item/disk/nifsoft_uploader/dorms/nif_gfluid_disk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#define STOCK_NIFSOFT 6 | ||
|
||
// Based on Skyrat's vending overrides | ||
/obj/machinery/vending/dorms | ||
// New premium items | ||
zzplurt_premium = list( | ||
// Original software | ||
// This is in the PDA | ||
/* | ||
/obj/item/disk/nifsoft_uploader/dorms/hypnosis = STOCK_NIFSOFT, | ||
/obj/item/disk/nifsoft_uploader/shapeshifter = STOCK_NIFSOFT, | ||
*/ | ||
|
||
// New software | ||
/obj/item/disk/nifsoft_uploader/dorms/nif_disrobe_disk = STOCK_NIFSOFT, | ||
/obj/item/disk/nifsoft_uploader/nif_hide_backpack_disk = STOCK_NIFSOFT, | ||
/obj/item/disk/nifsoft_uploader/dorms/nif_gfluid_disk = STOCK_NIFSOFT, | ||
) | ||
|
||
#undef STOCK_NIFSOFT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// Taken from Modular Vending in Bubber | ||
// All entries will become null after Initialize, to free up memory. | ||
|
||
/obj/machinery/vending | ||
// Additions to the `products` list | ||
var/list/zzplurt_products | ||
// Additions to the `product_categories` list | ||
var/list/zzplurt_product_categories | ||
// Additions to the `premium` list | ||
var/list/zzplurt_premium | ||
// Additions to the `contraband` list | ||
var/list/zzplurt_contraband | ||
|
||
/obj/machinery/vending/Initialize(mapload) | ||
if(zzplurt_products) | ||
// We need this, because duplicates screw up the spritesheet! | ||
for(var/item_to_add in zzplurt_products) | ||
products[item_to_add] = zzplurt_products[item_to_add] | ||
|
||
if(zzplurt_product_categories) | ||
for(var/category in zzplurt_product_categories) | ||
var/already_exists = FALSE | ||
for(var/existing_category in product_categories) | ||
if(existing_category["name"] == category["name"]) | ||
existing_category["products"] += category["products"] | ||
already_exists = TRUE | ||
break | ||
|
||
if(!already_exists) | ||
product_categories += category | ||
|
||
if(zzplurt_premium) | ||
// We need this, because duplicates screw up the spritesheet! | ||
for(var/item_to_add in zzplurt_premium) | ||
premium[item_to_add] = zzplurt_premium[item_to_add] | ||
|
||
if(zzplurt_contraband) | ||
// We need this, because duplicates screw up the spritesheet! | ||
for(var/item_to_add in zzplurt_contraband) | ||
contraband[item_to_add] = zzplurt_contraband[item_to_add] | ||
|
||
QDEL_NULL(zzplurt_products) | ||
QDEL_NULL(zzplurt_product_categories) | ||
QDEL_NULL(zzplurt_premium) | ||
QDEL_NULL(zzplurt_contraband) | ||
return ..() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters