Merge branch 'master' of https://github.com/Citadel-Station-13/Citadel-Station-13 into proc-define-shit
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
desc = "Allows for the construction of a Safeguard AI Module."
|
||||
id = "safeguard_module"
|
||||
materials = list(/datum/material/glass = 1000, /datum/material/gold = 2000)
|
||||
build_path = /obj/item/aiModule/supplied/safeguard
|
||||
build_path = /obj/item/ai_module/supplied/safeguard
|
||||
category = list("AI Modules")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_SCIENCE
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
desc = "Allows for the construction of a OneCrew AI Module."
|
||||
id = "onehuman_module"
|
||||
materials = list(/datum/material/glass = 1000, /datum/material/diamond = 6000)
|
||||
build_path = /obj/item/aiModule/zeroth/oneHuman
|
||||
build_path = /obj/item/ai_module/zeroth/oneHuman
|
||||
category = list("AI Modules")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_SCIENCE
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
desc = "Allows for the construction of a ProtectStation AI Module."
|
||||
id = "protectstation_module"
|
||||
materials = list(/datum/material/glass = 1000, /datum/material/gold = 2000)
|
||||
build_path = /obj/item/aiModule/supplied/protectStation
|
||||
build_path = /obj/item/ai_module/supplied/protectStation
|
||||
category = list("AI Modules")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_SCIENCE
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
desc = "Allows for the construction of a Quarantine AI Module."
|
||||
id = "quarantine_module"
|
||||
materials = list(/datum/material/glass = 1000, /datum/material/gold = 2000)
|
||||
build_path = /obj/item/aiModule/supplied/quarantine
|
||||
build_path = /obj/item/ai_module/supplied/quarantine
|
||||
category = list("AI Modules")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_SCIENCE
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
desc = "Allows for the construction of a Safeguard AI Module."
|
||||
id = "oxygen_module"
|
||||
materials = list(/datum/material/glass = 1000, /datum/material/gold = 2000)
|
||||
build_path = /obj/item/aiModule/supplied/oxygen
|
||||
build_path = /obj/item/ai_module/supplied/oxygen
|
||||
category = list("AI Modules")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_SCIENCE
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
desc = "Allows for the construction of a Freeform AI Module."
|
||||
id = "freeform_module"
|
||||
materials = list(/datum/material/glass = 1000, /datum/material/gold = 10000)//Custom inputs should be more expensive to get
|
||||
build_path = /obj/item/aiModule/supplied/freeform
|
||||
build_path = /obj/item/ai_module/supplied/freeform
|
||||
category = list("AI Modules")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_SCIENCE
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
desc = "Allows for the construction of a Reset AI Module."
|
||||
id = "reset_module"
|
||||
materials = list(/datum/material/glass = 1000, /datum/material/gold = 2000)
|
||||
build_path = /obj/item/aiModule/reset
|
||||
build_path = /obj/item/ai_module/reset
|
||||
category = list("AI Modules")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_SCIENCE
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
desc = "Allows for the construction of a Purge AI Module."
|
||||
id = "purge_module"
|
||||
materials = list(/datum/material/glass = 1000, /datum/material/diamond = 2000)
|
||||
build_path = /obj/item/aiModule/reset/purge
|
||||
build_path = /obj/item/ai_module/reset/purge
|
||||
category = list("AI Modules")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_SCIENCE
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
desc = "Allows for the construction of a Law Removal AI Core Module."
|
||||
id = "remove_module"
|
||||
materials = list(/datum/material/glass = 1000, /datum/material/diamond = 2000)
|
||||
build_path = /obj/item/aiModule/remove
|
||||
build_path = /obj/item/ai_module/remove
|
||||
category = list("AI Modules")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_SCIENCE
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
desc = "Allows for the construction of a Freeform AI Core Module."
|
||||
id = "freeformcore_module"
|
||||
materials = list(/datum/material/glass = 1000, /datum/material/diamond = 10000)//Ditto
|
||||
build_path = /obj/item/aiModule/core/freeformcore
|
||||
build_path = /obj/item/ai_module/core/freeformcore
|
||||
category = list("AI Modules")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_SCIENCE
|
||||
|
||||
@@ -105,7 +105,7 @@
|
||||
desc = "Allows for the construction of an Asimov AI Core Module."
|
||||
id = "asimov_module"
|
||||
materials = list(/datum/material/glass = 1000, /datum/material/diamond = 2000)
|
||||
build_path = /obj/item/aiModule/core/full/asimov
|
||||
build_path = /obj/item/ai_module/core/full/asimov
|
||||
category = list("AI Modules")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_SCIENCE
|
||||
|
||||
@@ -115,7 +115,7 @@
|
||||
id = "paladin_module"
|
||||
build_type = IMPRINTER
|
||||
materials = list(/datum/material/glass = 1000, /datum/material/diamond = 2000)
|
||||
build_path = /obj/item/aiModule/core/full/paladin
|
||||
build_path = /obj/item/ai_module/core/full/paladin
|
||||
category = list("AI Modules")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_SCIENCE
|
||||
|
||||
@@ -124,7 +124,7 @@
|
||||
desc = "Allows for the construction of a T.Y.R.A.N.T. AI Module."
|
||||
id = "tyrant_module"
|
||||
materials = list(/datum/material/glass = 1000, /datum/material/diamond = 2000)
|
||||
build_path = /obj/item/aiModule/core/full/tyrant
|
||||
build_path = /obj/item/ai_module/core/full/tyrant
|
||||
category = list("AI Modules")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_SCIENCE
|
||||
|
||||
@@ -133,7 +133,7 @@
|
||||
desc = "Allows for the construction of a Corporate AI Core Module."
|
||||
id = "corporate_module"
|
||||
materials = list(/datum/material/glass = 1000, /datum/material/diamond = 2000)
|
||||
build_path = /obj/item/aiModule/core/full/corp
|
||||
build_path = /obj/item/ai_module/core/full/corp
|
||||
category = list("AI Modules")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_SCIENCE
|
||||
|
||||
@@ -142,6 +142,6 @@
|
||||
desc = "Allows for the construction of a Default AI Core Module."
|
||||
id = "default_module"
|
||||
materials = list(/datum/material/glass = 1000, /datum/material/diamond = 2000)
|
||||
build_path = /obj/item/aiModule/core/full/custom
|
||||
build_path = /obj/item/ai_module/core/full/custom
|
||||
category = list("AI Modules")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_SCIENCE
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
build_path = /obj/item/mod/construction/armor/mining
|
||||
materials = list(/datum/material/iron = 6000, /datum/material/titanium = 2000, /datum/material/glass = 1000, /datum/material/plasma = 1000)
|
||||
departmental_flags = DEPARTMENTAL_FLAG_CARGO
|
||||
research_icon_state = "atmospheric-mining"
|
||||
research_icon_state = "mining-plating"
|
||||
|
||||
/datum/design/mod_plating/medical
|
||||
name = "MOD Medical Plating"
|
||||
|
||||
@@ -107,7 +107,7 @@
|
||||
|
||||
/obj/machinery/rnd/production/proc/check_mat(datum/design/being_built, var/mat) // now returns how many times the item can be built with the material
|
||||
if (!materials.mat_container) // no connected silo
|
||||
return 0
|
||||
return FALSE
|
||||
var/list/all_materials = being_built.reagents_list + being_built.materials
|
||||
|
||||
var/A = materials.mat_container.get_material_amount(mat)
|
||||
@@ -344,10 +344,10 @@
|
||||
var/datum/component/material_container/mat_container = materials.mat_container
|
||||
if (!mat_container)
|
||||
say("No access to material storage, please contact the quartermaster.")
|
||||
return 0
|
||||
return FALSE
|
||||
if (materials.on_hold())
|
||||
say("Mineral access is on hold, please contact the quartermaster.")
|
||||
return 0
|
||||
return FALSE
|
||||
var/count = mat_container.retrieve_sheets(text2num(eject_amt), eject_sheet, drop_location())
|
||||
var/list/matlist = list()
|
||||
matlist[eject_sheet] = MINERAL_MATERIAL_AMOUNT
|
||||
|
||||
@@ -554,7 +554,7 @@
|
||||
|
||||
if(sheets.len > 0)
|
||||
var/obj/item/stack/sheet/S = pick(sheets)
|
||||
S.amount++
|
||||
S.add(1) // Dare var edit directly again and i'll strangle you.
|
||||
to_chat(owner, "<span class='notice'>[linked_extract] adds a layer of slime to [S], which metamorphosizes into another sheet of material!</span>")
|
||||
return ..()
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
/obj/item/gun/magic/bloodchill/process()
|
||||
charge_tick++
|
||||
if(charge_tick < recharge_rate || charges >= max_charges)
|
||||
return 0
|
||||
return FALSE
|
||||
charge_tick = 0
|
||||
var/mob/living/M = loc
|
||||
if(istype(M) && M.blood_volume >= 5)
|
||||
@@ -32,7 +32,7 @@
|
||||
M.blood_volume -= 5
|
||||
if(charges == 1)
|
||||
recharge_newshot()
|
||||
return 1
|
||||
return TRUE
|
||||
|
||||
/obj/item/ammo_casing/magic/bloodchill
|
||||
projectile_type = /obj/item/projectile/magic/bloodchill
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
//Effect when activated by a Luminescent. Separated into a minor and major effect. Returns cooldown in deciseconds.
|
||||
/obj/item/slime_extract/proc/activate(mob/living/carbon/human/user, datum/species/jelly/luminescent/species, activation_type)
|
||||
to_chat(user, "<span class='notice'>Nothing happened... This slime extract cannot be activated this way.</span>")
|
||||
return 0
|
||||
return FALSE
|
||||
|
||||
//Core-crossing: Feeding adult slimes extracts to obtain a much more powerful, single extract.
|
||||
/obj/item/slime_extract/attack(mob/living/simple_animal/slime/M, mob/user)
|
||||
@@ -97,7 +97,7 @@
|
||||
to_chat(user, "<span class='notice'>You spit out [S].</span>")
|
||||
return 350
|
||||
else
|
||||
return 0
|
||||
return FALSE
|
||||
|
||||
/obj/item/slime_extract/gold
|
||||
name = "gold slime extract"
|
||||
|
||||
Reference in New Issue
Block a user