mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-09 07:57:00 +00:00
Compare commits
2 Commits
upstream-m
...
upstream-m
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
896094ef9c | ||
|
|
65aa2cbdc7 |
@@ -10,6 +10,7 @@
|
||||
ui_title = "Premium Drink Dispensary"
|
||||
accept_drinking = 1
|
||||
var/max_cartridges = 90
|
||||
import_job = null
|
||||
|
||||
/obj/machinery/chemical_dispenser/premium/full
|
||||
spawn_cartridges = list(
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
var/list/recording_recipe
|
||||
/// Saves all the recipes recorded by the machine
|
||||
var/list/saved_recipes = list()
|
||||
var/import_job = JOB_CHEMIST
|
||||
|
||||
/obj/machinery/chemical_dispenser/Initialize(mapload)
|
||||
. = ..()
|
||||
@@ -203,6 +204,9 @@
|
||||
. = TRUE
|
||||
|
||||
if("import_config")
|
||||
if(import_job && (ui.user.mind.assigned_role != import_job))
|
||||
to_chat(ui.user, span_warning("This option is only available to the job: [import_job]"))
|
||||
return FALSE
|
||||
var/list/our_data = params["config"]
|
||||
if(!islist(our_data))
|
||||
return FALSE
|
||||
|
||||
@@ -64,6 +64,7 @@
|
||||
icon_state = "soda_dispenser"
|
||||
ui_title = "Soda Dispenser"
|
||||
accept_drinking = 1
|
||||
import_job = JOB_BARTENDER
|
||||
|
||||
/obj/machinery/chemical_dispenser/bar_soft/full
|
||||
spawn_cartridges = list(
|
||||
@@ -95,6 +96,7 @@
|
||||
icon_state = "booze_dispenser"
|
||||
ui_title = "Booze Dispenser"
|
||||
accept_drinking = 1
|
||||
import_job = JOB_BARTENDER
|
||||
|
||||
/obj/machinery/chemical_dispenser/bar_alc/full
|
||||
spawn_cartridges = list(
|
||||
@@ -127,6 +129,7 @@
|
||||
icon_state = "coffee_dispenser"
|
||||
ui_title = "Coffee Dispenser"
|
||||
accept_drinking = 1
|
||||
import_job = JOB_BARTENDER
|
||||
|
||||
/obj/machinery/chemical_dispenser/bar_coffee/full
|
||||
spawn_cartridges = list(
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
dispense_reagents = list(
|
||||
REAGENT_ID_WATER, REAGENT_ID_SUGAR, REAGENT_ID_ETHANOL, REAGENT_ID_RADIUM, REAGENT_ID_AMMONIA, REAGENT_ID_DIETHYLAMINE, REAGENT_ID_PLANTBGONE, REAGENT_ID_MUTAGEN, REAGENT_ID_CALCIUM
|
||||
)
|
||||
import_job = JOB_XENOBOTANIST
|
||||
|
||||
/obj/machinery/chemical_dispenser/xenoflora/full
|
||||
spawn_cartridges = list(
|
||||
@@ -24,6 +25,7 @@
|
||||
dispense_reagents = list(
|
||||
REAGENT_ID_NUTRIMENT, REAGENT_ID_PROTEIN, REAGENT_ID_MILK
|
||||
)
|
||||
import_job = null
|
||||
|
||||
/obj/machinery/chemical_dispenser/biochemistry/full
|
||||
spawn_cartridges = list(
|
||||
@@ -32,6 +34,9 @@
|
||||
/obj/item/reagent_containers/chem_disp_cartridge/milk
|
||||
)
|
||||
|
||||
/obj/machinery/chemical_dispenser/ert/specialops
|
||||
import_job = null
|
||||
|
||||
/obj/machinery/chemical_dispenser/ert/specialops
|
||||
spawn_cartridges = list(
|
||||
/obj/item/reagent_containers/chem_disp_cartridge/inaprov,
|
||||
@@ -70,3 +75,4 @@
|
||||
name = "chemical dispenser"
|
||||
icon_state = "dispenser_2way"
|
||||
desc = "A mysterious machine which can fabricate many chemicals."
|
||||
import_job = null
|
||||
|
||||
@@ -438,6 +438,7 @@
|
||||
icon_state = "kettle"
|
||||
ui_title = "kettle"
|
||||
accept_drinking = 1
|
||||
import_job = null
|
||||
|
||||
/obj/machinery/chemical_dispenser/kettle/full
|
||||
spawn_cartridges = list(
|
||||
|
||||
Reference in New Issue
Block a user