merge conflicts fixed finally
This commit is contained in:
@@ -151,77 +151,76 @@
|
||||
name = "Export Design (Wine)"
|
||||
desc = "Allows for the blowing, and bottling of Wine bottles."
|
||||
id = "wine_export"
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/wine = 100)
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/wine = 50)
|
||||
build_path = /obj/item/export/bottle/wine
|
||||
|
||||
/datum/design/bottle/export/rum
|
||||
name = "Export Design (Rum)"
|
||||
desc = "Allows for the blowing, and bottling of Rum bottles."
|
||||
id = "rum_export"
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/rum = 100)
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/rum = 50)
|
||||
build_path = /obj/item/export/bottle/rum
|
||||
|
||||
/datum/design/bottle/export/gin
|
||||
name = "Export Design (Gin)"
|
||||
desc = "Allows for the blowing, and bottling of Gin bottles."
|
||||
id = "gin_export"
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/gin = 100)
|
||||
build_path = /obj/item/export/bottle/gin
|
||||
|
||||
/datum/design/bottle/export/whiskey
|
||||
name = "Export Design (Whiskey)"
|
||||
desc = "Allows for the blowing, and bottling of Whiskey bottles."
|
||||
id = "whiskey_export"
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/whiskey = 100)
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/whiskey = 50)
|
||||
build_path = /obj/item/export/bottle/whiskey
|
||||
|
||||
/datum/design/bottle/export/vodka
|
||||
name = "Export Design (Vodka)"
|
||||
desc = "Allows for the blowing, and bottling of 99% Vodka bottles."
|
||||
id = "vodka_export"
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/vodka = 99, /datum/reagent/water = 1)
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/vodka = 45, /datum/reagent/water = 1)
|
||||
build_path = /obj/item/export/bottle/vodka
|
||||
|
||||
/datum/design/bottle/export/tequila
|
||||
name = "Export Design (Tequila)"
|
||||
desc = "Allows for the blowing, and bottling of Tequila bottles."
|
||||
id = "tequila_export"
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/tequila = 80, /datum/reagent/consumable/lemonjuice = 20)
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/tequila = 40, /datum/reagent/consumable/lemonjuice = 10)
|
||||
build_path = /obj/item/export/bottle/tequila
|
||||
|
||||
/datum/design/bottle/export/patron
|
||||
name = "Export Design (Patron)"
|
||||
desc = "Allows for the blowing, and bottling of Patron bottles."
|
||||
id = "patron_export"
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/patron = 100)
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/patron = 50)
|
||||
build_path = /obj/item/export/bottle/patron
|
||||
|
||||
/datum/design/bottle/export/kahlua
|
||||
name = "Export Design (Kahlua)"
|
||||
desc = "Allows for the blowing, and bottling of Kahlua bottles."
|
||||
id = "kahlua_export"
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/kahlua = 100)
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/kahlua = 50)
|
||||
build_path = /obj/item/export/bottle/kahlua
|
||||
|
||||
/datum/design/bottle/export/sake
|
||||
name = "Export Design (Sake)"
|
||||
desc = "Allows for the blowing, and bottling of Sake bottles."
|
||||
id = "sake_export"
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/sake = 80, /datum/reagent/consumable/rice = 10, /datum/reagent/consumable/sugar = 10)
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/sake = 40, /datum/reagent/consumable/rice = 10, /datum/reagent/consumable/sugar = 10)
|
||||
build_path = /obj/item/export/bottle/sake
|
||||
|
||||
/datum/design/bottle/export/vermouth
|
||||
name = "Export Design (Vermouth)"
|
||||
desc = "Allows for the blowing, and bottling of Vermouth bottles."
|
||||
id = "vermouth_export"
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/vermouth = 100)
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/vermouth = 50)
|
||||
build_path = /obj/item/export/bottle/vermouth
|
||||
|
||||
/datum/design/bottle/export/goldschlager
|
||||
name = "Export Design (Goldschlager)"
|
||||
desc = "Allows for the blowing, and bottling of Goldschlager bottles."
|
||||
id = "goldschlager_export"
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/goldschlager = 100)
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/goldschlager = 50)
|
||||
build_path = /obj/item/export/bottle/goldschlager
|
||||
|
||||
/datum/design/bottle/export/hcider
|
||||
@@ -235,13 +234,13 @@
|
||||
name = "Export Design (Cognac)"
|
||||
desc = "Allows for the blowing, and bottling of Cognac bottles."
|
||||
id = "cognac_export"
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/cognac = 100)
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/cognac = 50)
|
||||
build_path = /obj/item/export/bottle/cognac
|
||||
|
||||
/datum/design/bottle/export/absinthe
|
||||
name = "Export Design (Absinthe)"
|
||||
desc = "Allows for the blowing, and bottling of Absinthe bottles."
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/absinthe = 100)
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/absinthe = 50)
|
||||
id = "absinthe_export"
|
||||
build_path = /obj/item/export/bottle/absinthe
|
||||
|
||||
@@ -249,49 +248,49 @@
|
||||
name = "Export Design (Grappa)"
|
||||
desc = "Allows for the blowing, and bottling of Grappa bottles."
|
||||
id = "grappa_export"
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/grappa = 100)
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/grappa = 50)
|
||||
build_path = /obj/item/export/bottle/grappa
|
||||
|
||||
/datum/design/bottle/export/fernet
|
||||
name = "Export Design (Fernet)"
|
||||
desc = "Allows for the blowing, and bottling of Fernet bottles."
|
||||
id = "fernet_export"
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/fernet = 100)
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/fernet = 50)
|
||||
build_path = /obj/item/export/bottle/fernet
|
||||
|
||||
/datum/design/bottle/export/applejack
|
||||
name = "Export Design (Applejack)"
|
||||
desc = "Allows for the blowing, and bottling of Applejack bottles."
|
||||
id = "applejack_export"
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/applejack = 50, /datum/reagent/consumable/ethanol/gin = 10)
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/applejack = 35, /datum/reagent/consumable/ethanol/gin = 10)
|
||||
build_path = /obj/item/export/bottle/applejack
|
||||
|
||||
/datum/design/bottle/export/champagne
|
||||
name = "Export Design (Champagne)"
|
||||
desc = "Allows for the blowing, and bottling of Champagne bottles."
|
||||
id = "champagne_export"
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/champagne = 90, /datum/reagent/carbondioxide = 10)
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/champagne = 30, /datum/reagent/carbondioxide = 10)
|
||||
build_path = /obj/item/export/bottle/champagne
|
||||
|
||||
/datum/design/bottle/export/blazaam
|
||||
name = "Export Design (Blazaam)"
|
||||
desc = "Allows for the blowing, and bottling of Blazaam bottles."
|
||||
id = "blazaam_export"
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/blazaam = 80, /datum/reagent/water/holywater = 20)
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/blazaam = 40, /datum/reagent/water/holywater = 20)
|
||||
build_path = /obj/item/export/bottle/blazaam
|
||||
|
||||
/datum/design/bottle/export/trappist
|
||||
name = "Export Design (Trappist)"
|
||||
desc = "Allows for the blowing, and bottling of Trappist bottles."
|
||||
id = "trappist_export"
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/trappist = 100)
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/trappist = 50)
|
||||
build_path = /obj/item/export/bottle/trappist
|
||||
|
||||
/datum/design/bottle/export/grenadine
|
||||
name = "Export Design (Grenadine)"
|
||||
desc = "Allows for the blowing, and bottling of Grenadine bottles."
|
||||
id = "grenadine_export"
|
||||
reagents_list = list(/datum/reagent/consumable/grenadine = 100)
|
||||
reagents_list = list(/datum/reagent/consumable/grenadine = 50)
|
||||
build_path = /obj/item/export/bottle/grenadine
|
||||
|
||||
/datum/design/bottle/export/minikeg
|
||||
@@ -299,7 +298,7 @@
|
||||
desc = "Allows for the fabication, and bottling of Minikeg of craft beer."
|
||||
id = "minikeg"
|
||||
category = list("Beers")
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/beer/light = 100)
|
||||
reagents_list = list(/datum/reagent/consumable/ethanol/beer/light = 50)
|
||||
build_path = /obj/item/export/bottle/minikeg
|
||||
|
||||
/datum/design/bottle/export/blooddrop
|
||||
@@ -315,7 +314,7 @@
|
||||
desc = "Allows for the blowing, and bottling of Slim Gold bottles."
|
||||
id = "slim_gold"
|
||||
category = list("Beers")
|
||||
reagents_list = list(/datum/reagent/gold = 10, /datum/reagent/carbondioxide = 10, /datum/reagent/consumable/ethanol/rum = 30, /datum/reagent/consumable/ethanol/beer = 40)
|
||||
reagents_list = list(/datum/reagent/gold = 10, /datum/reagent/carbondioxide = 10, /datum/reagent/consumable/ethanol/rum = 15, /datum/reagent/consumable/ethanol/beer = 20)
|
||||
build_path = /obj/item/export/bottle/slim_gold
|
||||
|
||||
/datum/design/bottle/export/white_bloodmoon
|
||||
@@ -323,13 +322,13 @@
|
||||
desc = "Allows for the blowing, and bottling of White Bloodmoon bottles."
|
||||
id = "white_bloodmoon"
|
||||
category = list("Wines")
|
||||
reagents_list = list(/datum/reagent/medicine/synthflesh = 50, /datum/reagent/blood = 50, /datum/reagent/liquidgibs = 10)
|
||||
reagents_list = list(/datum/reagent/medicine/synthflesh = 20, /datum/reagent/blood = 30, /datum/reagent/liquidgibs = 10)
|
||||
build_path = /obj/item/export/bottle/white_bloodmoon
|
||||
|
||||
/datum/design/bottle/export/greenroad
|
||||
name = "Export Design (Greenroad)"
|
||||
desc = "Allows for the blowing, and bottling of Greenroad bottles."
|
||||
id = "greenroad"
|
||||
reagents_list = list(/datum/reagent/consumable/vitfro = 50, /datum/reagent/consumable/ethanol/rum = 50, /datum/reagent/ash = 10)
|
||||
reagents_list = list(/datum/reagent/consumable/vitfro = 50, /datum/reagent/consumable/ethanol/rum = 30, /datum/reagent/ash = 10)
|
||||
category = list("Beers")
|
||||
build_path = /obj/item/export/bottle/greenroad
|
||||
@@ -103,7 +103,17 @@
|
||||
/datum/design/rcd_ammo
|
||||
name = "Compressed Matter Cartridge"
|
||||
id = "rcd_ammo"
|
||||
build_type = AUTOLATHE
|
||||
materials = list(MAT_METAL = 12000, MAT_GLASS=8000)
|
||||
build_type = AUTOLATHE | PROTOLATHE
|
||||
materials = list(MAT_METAL = 12000, MAT_GLASS = 8000)
|
||||
build_path = /obj/item/rcd_ammo
|
||||
category = list("initial","Construction")
|
||||
category = list("initial","Construction","Tool Designs")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_ENGINEERING
|
||||
|
||||
/datum/design/rcd_ammo_large
|
||||
name = "Large Compressed Matter Cartridge"
|
||||
id = "rcd_ammo_large"
|
||||
build_type = AUTOLATHE | PROTOLATHE
|
||||
materials = list(MAT_METAL = 48000, MAT_GLASS = 32000)
|
||||
build_path = /obj/item/rcd_ammo/large
|
||||
category = list("Tool Designs")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_ENGINEERING
|
||||
|
||||
@@ -584,7 +584,7 @@
|
||||
id = "foam_magrifle"
|
||||
build_type = AUTOYLATHE
|
||||
materials = list(MAT_PLASTIC = 4000, MAT_METAL = 500)
|
||||
build_path = /obj/item/gun/ballistic/automatic/magrifle/toy
|
||||
build_path = /obj/item/gun/ballistic/automatic/toy/magrifle
|
||||
category = list("initial", "Rifles")
|
||||
|
||||
/datum/design/foam_hyperburst
|
||||
|
||||
@@ -403,6 +403,16 @@
|
||||
category = list("Equipment")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_ENGINEERING
|
||||
|
||||
/datum/design/holosigncombifan
|
||||
name = "ATMOS Holo-Combifan Projector"
|
||||
desc = "A holographic projector that creates holographic barriesr that prevent changes in atmospheric and temperature conditions."
|
||||
id = "holosigncombifan"
|
||||
build_type = PROTOLATHE
|
||||
materials = list(MAT_METAL = 7500, MAT_GLASS = 2500, MAT_SILVER = 2500, MAT_GOLD = 2500, MAT_TITANIUM = 1750)
|
||||
build_path = /obj/item/holosign_creator/combifan
|
||||
category = list("Equipment")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_ENGINEERING
|
||||
|
||||
/datum/design/forcefield_projector
|
||||
name = "Forcefield Projector"
|
||||
desc = "A device which can project temporary forcefields to seal off an area."
|
||||
|
||||
@@ -47,6 +47,44 @@
|
||||
category = list("Ammo")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_SECURITY
|
||||
|
||||
//////////////////
|
||||
//Mag-Rifle Mags//
|
||||
//////////////////
|
||||
|
||||
/datum/design/mag_magrifle
|
||||
name = "Magrifle Magazine (Lethal)"
|
||||
desc = "A 24-round magazine for the Magrifle."
|
||||
id = "mag_magrifle"
|
||||
build_type = PROTOLATHE
|
||||
materials = list(MAT_METAL = 8000, MAT_SILVER = 1000)
|
||||
build_path = /obj/item/ammo_box/magazine/mmag/lethal
|
||||
category = list("Ammo")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_SECURITY
|
||||
|
||||
/datum/design/mag_magrifle/nl
|
||||
name = "Magrifle Magazine (Non-Lethal)"
|
||||
desc = "A 24- round non-lethal magazine for the Magrifle."
|
||||
id = "mag_magrifle_nl"
|
||||
materials = list(MAT_METAL = 6000, MAT_SILVER = 500, MAT_TITANIUM = 500)
|
||||
build_path = /obj/item/ammo_box/magazine/mmag
|
||||
|
||||
/datum/design/mag_magpistol
|
||||
name = "Magpistol Magazine"
|
||||
desc = "A 14 round magazine for the Magpistol."
|
||||
id = "mag_magpistol"
|
||||
build_type = PROTOLATHE
|
||||
materials = list(MAT_METAL = 4000, MAT_SILVER = 500)
|
||||
build_path = /obj/item/ammo_box/magazine/mmag/small/lethal
|
||||
category = list("Ammo")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_SECURITY
|
||||
|
||||
/datum/design/mag_magpistol/nl
|
||||
name = "Magpistol Magazine (Non-Lethal)"
|
||||
desc = "A 14 round non-lethal magazine for the Magpistol."
|
||||
id = "mag_magpistol_nl"
|
||||
materials = list(MAT_METAL = 3000, MAT_SILVER = 250, MAT_TITANIUM = 250)
|
||||
build_path = /obj/item/ammo_box/magazine/mmag/small
|
||||
|
||||
//////////////
|
||||
//WT550 Mags//
|
||||
//////////////
|
||||
@@ -323,6 +361,26 @@
|
||||
category = list("Weapons")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_SECURITY
|
||||
|
||||
/datum/design/magpistol
|
||||
name = "Magpistol"
|
||||
desc = "A weapon which fires ferromagnetic slugs."
|
||||
id = "magpistol"
|
||||
build_type = PROTOLATHE
|
||||
materials = list(MAT_METAL = 7500, MAT_GLASS = 1000, MAT_URANIUM = 1000, MAT_TITANIUM = 5000, MAT_SILVER = 2000)
|
||||
build_path = /obj/item/gun/ballistic/automatic/magrifle/pistol/nopin
|
||||
category = list("Weapons")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_SECURITY
|
||||
|
||||
/datum/design/magrifle
|
||||
name = "Magrifle"
|
||||
desc = "An upscaled Magpistol in rifle form."
|
||||
id = "magrifle"
|
||||
build_type = PROTOLATHE
|
||||
materials = list(MAT_METAL = 10000, MAT_GLASS = 2000, MAT_URANIUM = 2000, MAT_TITANIUM = 10000, MAT_SILVER = 4000, MAT_GOLD = 2000)
|
||||
build_path = /obj/item/gun/ballistic/automatic/magrifle/nopin
|
||||
category = list("Weapons")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_SECURITY
|
||||
|
||||
///////////
|
||||
//Grenades/
|
||||
///////////
|
||||
|
||||
@@ -573,7 +573,8 @@
|
||||
else if(loc == user)
|
||||
cooldown = TRUE
|
||||
call(src,realProc)(user)
|
||||
addtimer(CALLBACK(src, .proc/cd), cooldownMax)
|
||||
if(!QDELETED(src))
|
||||
addtimer(CALLBACK(src, .proc/cd), cooldownMax)
|
||||
else
|
||||
to_chat(user, "<span class='notice'>You aren't quite sure what to do with this yet.</span>")
|
||||
|
||||
|
||||
@@ -142,7 +142,7 @@
|
||||
var/new_sentence = stripped_input(user, "Choose the sentence that the host will be forced to say.", "Sentence", sentence, MAX_MESSAGE_LEN)
|
||||
if(!new_sentence)
|
||||
return
|
||||
if(copytext(new_sentence, 1, 2) == "*") //emotes are abusable, like surrender
|
||||
if(new_sentence[1] == "*") //emotes are abusable, like surrender
|
||||
return
|
||||
sentence = new_sentence
|
||||
if(setting == "Comm Code")
|
||||
|
||||
@@ -52,7 +52,7 @@ Nothing else in the console has ID requirements.
|
||||
research_control = FALSE
|
||||
|
||||
/proc/CallMaterialName(ID)
|
||||
if (copytext(ID, 1, 2) == "$" && GLOB.materials_list[ID])
|
||||
if (ID[1] == "$" && GLOB.materials_list[ID])
|
||||
var/datum/material/material = GLOB.materials_list[ID]
|
||||
return material.name
|
||||
|
||||
|
||||
@@ -200,7 +200,7 @@
|
||||
display_name = "Advanced Engineering"
|
||||
description = "Pushing the boundaries of physics, one chainsaw-fist at a time."
|
||||
prereq_ids = list("engineering", "emp_basic")
|
||||
design_ids = list("engine_goggles", "magboots", "forcefield_projector", "weldingmask" , "rcd_loaded", "rpd", "tray_goggles_prescription", "engine_goggles_prescription", "mesons_prescription", "rcd_upgrade_frames", "rcd_upgrade_simple_circuits")
|
||||
design_ids = list("engine_goggles", "magboots", "forcefield_projector", "weldingmask" , "rcd_loaded", "rpd", "tray_goggles_prescription", "engine_goggles_prescription", "mesons_prescription", "rcd_upgrade_frames", "rcd_upgrade_simple_circuits", "rcd_ammo_large")
|
||||
research_costs = list(TECHWEB_POINT_TYPE_GENERIC = 4000)
|
||||
export_price = 5000
|
||||
|
||||
@@ -231,6 +231,7 @@
|
||||
research_costs = list(TECHWEB_POINT_TYPE_GENERIC = 3000)
|
||||
export_price = 5000
|
||||
|
||||
/*
|
||||
/datum/techweb_node/basic_meteor_defense
|
||||
id = "basic_meteor_defense"
|
||||
display_name = "Meteor Defense Research"
|
||||
@@ -239,6 +240,7 @@
|
||||
design_ids = list("meteor_defence", "meteor_console")
|
||||
research_costs = list(TECHWEB_POINT_TYPE_GENERIC = 5000)
|
||||
export_price = 5000
|
||||
*/
|
||||
|
||||
//datum/techweb_node/adv_meteor_defense
|
||||
//id = "adv_meteor_defense"
|
||||
@@ -644,7 +646,7 @@
|
||||
id = "exp_tools"
|
||||
display_name = "Experimental Tools"
|
||||
description = "Highly advanced construction tools."
|
||||
design_ids = list("exwelder", "jawsoflife", "handdrill")
|
||||
design_ids = list("exwelder", "jawsoflife", "handdrill", "holosigncombifan")
|
||||
prereq_ids = list("adv_engi")
|
||||
research_costs = list(TECHWEB_POINT_TYPE_GENERIC = 2750)
|
||||
export_price = 5000
|
||||
@@ -695,6 +697,15 @@
|
||||
research_costs = list(TECHWEB_POINT_TYPE_GENERIC = 2500)
|
||||
export_price = 5000
|
||||
|
||||
/datum/techweb_node/magnetic_weapons
|
||||
id = "magnetic_weapons"
|
||||
display_name = "Magnetic Weapons"
|
||||
description = "Weapons using magnetic technology"
|
||||
prereq_ids = list("weaponry", "adv_weaponry", "emp_adv")
|
||||
design_ids = list("magrifle", "magpistol", "mag_magrifle", "mag_magrifle_nl", "mag_magpistol", "mag_magpistol_nl")
|
||||
research_costs = list(TECHWEB_POINT_TYPE_GENERIC = 2500)
|
||||
export_price = 5000
|
||||
|
||||
/datum/techweb_node/medical_weapons
|
||||
id = "medical_weapons"
|
||||
display_name = "Medical Weaponry"
|
||||
|
||||
@@ -154,7 +154,7 @@ Burning extracts:
|
||||
|
||||
/obj/item/slimecross/burning/sepia/do_effect(mob/user)
|
||||
user.visible_message("<span class='notice'>[src] shapes itself into a camera!</span>")
|
||||
new /obj/item/camera/timefreeze(get_turf(user))
|
||||
new /obj/item/camera/rewind(get_turf(user))
|
||||
..()
|
||||
|
||||
/obj/item/slimecross/burning/cerulean
|
||||
@@ -289,25 +289,88 @@ Burning extracts:
|
||||
|
||||
//Misc. things added
|
||||
|
||||
//Rewind camera - I'm already Burning Sepia
|
||||
/obj/item/camera/rewind
|
||||
name = "sepia-tinted camera"
|
||||
desc = "They say a picture is like a moment stopped in time."
|
||||
pictures_left = 1
|
||||
pictures_max = 1
|
||||
can_customise = FALSE
|
||||
default_picture_name = "A nostalgic picture"
|
||||
var/used = FALSE
|
||||
|
||||
/datum/saved_bodypart
|
||||
var/obj/item/bodypart/old_part
|
||||
var/bodypart_type
|
||||
var/brute_dam
|
||||
var/burn_dam
|
||||
var/stamina_dam
|
||||
|
||||
/datum/saved_bodypart/New(obj/item/bodypart/part)
|
||||
old_part = part
|
||||
bodypart_type = part.type
|
||||
brute_dam = part.brute_dam
|
||||
burn_dam = part.burn_dam
|
||||
stamina_dam = part.stamina_dam
|
||||
|
||||
/mob/living/carbon/proc/apply_saved_bodyparts(list/datum/saved_bodypart/parts)
|
||||
var/list/dont_chop = list()
|
||||
for(var/zone in parts)
|
||||
var/datum/saved_bodypart/saved_part = parts[zone]
|
||||
var/obj/item/bodypart/already = get_bodypart(zone)
|
||||
if(QDELETED(saved_part.old_part))
|
||||
saved_part.old_part = new saved_part.bodypart_type
|
||||
if(!already || already != saved_part.old_part)
|
||||
saved_part.old_part.replace_limb(src, TRUE)
|
||||
saved_part.old_part.heal_damage(INFINITY, INFINITY, INFINITY, null, FALSE)
|
||||
saved_part.old_part.receive_damage(saved_part.brute_dam, saved_part.burn_dam, saved_part.stamina_dam)
|
||||
dont_chop[zone] = TRUE
|
||||
for(var/_part in bodyparts)
|
||||
var/obj/item/bodypart/part = _part
|
||||
if(dont_chop[part.body_zone])
|
||||
continue
|
||||
part.drop_limb(TRUE)
|
||||
|
||||
/mob/living/carbon/proc/save_bodyparts()
|
||||
var/list/datum/saved_bodypart/ret = list()
|
||||
for(var/_part in bodyparts)
|
||||
var/obj/item/bodypart/part = _part
|
||||
var/datum/saved_bodypart/saved_part = new(part)
|
||||
|
||||
ret[part.body_zone] = saved_part
|
||||
return ret
|
||||
|
||||
/obj/item/camera/rewind/afterattack(atom/target, mob/user, flag)
|
||||
if(!on || !pictures_left || !isturf(target.loc))
|
||||
return
|
||||
if(!used)//selfie time
|
||||
if(user == target)
|
||||
to_chat(user, "<span class=notice>You take a selfie!</span>")
|
||||
else
|
||||
to_chat(user, "<span class=notice>You take a photo with [target]!</span>")
|
||||
to_chat(target, "<span class=notice>[user] takes a photo with you!</span>")
|
||||
to_chat(target, "<span class=notice>You'll remember this moment forever!</span>")
|
||||
|
||||
used = TRUE
|
||||
target.AddComponent(/datum/component/dejavu, 2)
|
||||
.=..()
|
||||
|
||||
//Timefreeze camera - Old Burning Sepia result. Kept in case admins want to spawn it
|
||||
/obj/item/camera/timefreeze
|
||||
name = "sepia-tinted camera"
|
||||
desc = "They say a picture is like a moment stopped in time."
|
||||
pictures_left = 1
|
||||
pictures_max = 1
|
||||
var/used = FALSE
|
||||
|
||||
/obj/item/camera/timefreeze/afterattack(atom/target, mob/user, flag)
|
||||
if(!on || !pictures_left || !isturf(target.loc))
|
||||
return
|
||||
new /obj/effect/timestop(get_turf(target), 2, 50, list(user))
|
||||
. = ..()
|
||||
var/text = "The camera fades away"
|
||||
if(disk)
|
||||
text += ", leaving the disk behind!"
|
||||
user.put_in_hands(disk)
|
||||
else
|
||||
text += "!"
|
||||
to_chat(user,"<span class='notice'>[text]</span>")
|
||||
qdel(src)
|
||||
if(!used) //refilling the film does not refill the timestop
|
||||
new /obj/effect/timestop(get_turf(target), 2, 50, list(user))
|
||||
used = TRUE
|
||||
desc = "This camera has seen better days."
|
||||
return ..()
|
||||
|
||||
/obj/item/slimepotion/extract_cloner
|
||||
name = "extract cloning potion"
|
||||
|
||||
@@ -212,7 +212,7 @@ Consuming extracts:
|
||||
taste = "sugar and starlight"
|
||||
|
||||
/obj/item/slime_cookie/bluespace/do_effect(mob/living/M, mob/user)
|
||||
var/list/L = get_area_turfs(get_area(get_turf(M)))
|
||||
var/list/L = get_sub_areas_turfs(get_area(M))
|
||||
var/turf/target
|
||||
while (L.len && !target)
|
||||
var/I = rand(1, L.len)
|
||||
|
||||
@@ -148,8 +148,9 @@ Regenerative extracts:
|
||||
/obj/item/slimecross/regenerative/sepia
|
||||
colour = "sepia"
|
||||
|
||||
/obj/item/slimecross/regenerative/sepia/core_effect(mob/living/target, mob/user)
|
||||
new /obj/effect/timestop(get_turf(target), 2, 50, list(user,target))
|
||||
/obj/item/slimecross/regenerative/sepia/core_effect_before(mob/living/target, mob/user)
|
||||
to_chat(target, "<span class=notice>You try to forget how you feel.</span>")
|
||||
target.AddComponent(/datum/component/dejavu)
|
||||
|
||||
/obj/item/slimecross/regenerative/cerulean
|
||||
colour = "cerulean"
|
||||
|
||||
@@ -134,7 +134,7 @@ Stabilized extracts:
|
||||
saved_mind = null
|
||||
START_PROCESSING(SSobj, src)
|
||||
if(choice == "Familiar Name")
|
||||
var/newname = copytext(sanitize(input(user, "Would you like to change the name of [mob_name]", "Name change", mob_name) as null|text),1,MAX_NAME_LEN)
|
||||
var/newname = reject_bad_name(stripped_input(user, "Would you like to change the name of [mob_name]", "Name change", mob_name, MAX_NAME_LEN), TRUE)
|
||||
if(newname)
|
||||
mob_name = newname
|
||||
to_chat(user, "<span class='notice'>You speak softly into [src], and it shakes slightly in response.</span>")
|
||||
|
||||
@@ -486,7 +486,7 @@
|
||||
if(!(upgradetier & XENOBIO_UPGRADE_MONKEYS)) // CIT CHANGE - makes monkey-related actions require XENOBIO_UPGRADE_MONKEYS
|
||||
to_chat(user, "<span class='warning'>This console does not have the monkey upgrade.</span>")
|
||||
return
|
||||
if(!GLOB.cameranet.checkTurfVis(M.loc))
|
||||
if(!isturf(M.loc) || !GLOB.cameranet.checkTurfVis(M.loc))
|
||||
to_chat(user, "<span class='warning'>Target is not near a camera. Cannot proceed.</span>")
|
||||
return
|
||||
var/mob/living/C = user
|
||||
|
||||
@@ -644,7 +644,7 @@
|
||||
M.nutrition = 700
|
||||
to_chat(M, "<span class='warning'>You absorb the potion and feel your intense desire to feed melt away.</span>")
|
||||
to_chat(user, "<span class='notice'>You feed the slime the potion, removing its hunger and calming it.</span>")
|
||||
var/newname = copytext(sanitize(input(user, "Would you like to give the slime a name?", "Name your new pet", "pet slime") as null|text),1,MAX_NAME_LEN)
|
||||
var/newname = reject_bad_name(stripped_input(user, "Would you like to give the slime a name?", "Name your new pet", "pet slime", MAX_NAME_LEN), TRUE)
|
||||
|
||||
if (!newname)
|
||||
newname = "pet slime"
|
||||
@@ -909,12 +909,15 @@
|
||||
to_chat(user, "<span class='warning'>The potion can only be used on gendered things!</span>")
|
||||
return
|
||||
|
||||
if(L.gender == MALE)
|
||||
if(L.gender == MALE && (L.client?.prefs.cit_toggles & FORCED_FEM))
|
||||
L.gender = FEMALE
|
||||
L.visible_message("<span class='boldnotice'>[L] suddenly looks more feminine!</span>", "<span class='boldwarning'>You suddenly feel more feminine!</span>")
|
||||
else
|
||||
else if(L.gender == FEMALE && (L.client?.prefs.cit_toggles & FORCED_MASC))
|
||||
L.gender = MALE
|
||||
L.visible_message("<span class='boldnotice'>[L] suddenly looks more masculine!</span>", "<span class='boldwarning'>You suddenly feel more masculine!</span>")
|
||||
else
|
||||
to_chat(user,"<span class='warning'>It won't work on [L]!</span>")
|
||||
return
|
||||
L.regenerate_icons()
|
||||
qdel(src)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user