Skip to content

Commit

Permalink
Added blood as a switchable mode to smartfridge boards (shiptest-ss13…
Browse files Browse the repository at this point in the history
…#3546)

Added blood as a switchable mode to smartfridge boards. It had
everything except that.

:cl:
fix: blood smart-fridge selectable on smartfridge boards now when
screwdrivering them.
/:cl:
  • Loading branch information
Anticept authored and MrCat15352 committed Dec 27, 2024
1 parent fdfd358 commit 41155e6
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions code/game/objects/items/circuitboards/machine_circuitboards.dm
Original file line number Diff line number Diff line change
Expand Up @@ -567,8 +567,21 @@
name = "Smartfridge (Machine Board)"
build_path = /obj/machinery/smartfridge
req_components = list(/obj/item/stock_parts/matter_bin = 1)
// [CELADON-EDIT] - CELADON_QOL - Bloodbank circuit added
var/static/list/fridges_name_paths = list(/obj/machinery/smartfridge/bloodbank = "blood",
// [CELADON-EDIT] - CELADON_QOL - Bloodbank circuit added
// var/static/list/fridges_name_paths = list(/obj/machinery/smartfridge = "plant produce", // CELADON-EDIT - ORIGINAL
// /obj/machinery/smartfridge/food = "food", // CELADON-EDIT - ORIGINAL
// /obj/machinery/smartfridge/drinks = "drinks", // CELADON-EDIT - ORIGINAL
// /obj/machinery/smartfridge/extract = "slimes", // CELADON-EDIT - ORIGINAL
// /obj/machinery/smartfridge/organ = "organs", // CELADON-EDIT - ORIGINAL
// /obj/machinery/smartfridge/chemistry = "chems", // CELADON-EDIT - ORIGINAL
// /obj/machinery/smartfridge/chemistry/virology = "viruses", // CELADON-EDIT - ORIGINAL
// /obj/machinery/smartfridge/disks = "disks")*/ // CELADON-EDIT - ORIGINAL
var/static/list/fridges_name_paths = list(/obj/machinery/smartfridge/bloodbank = "blood", // CELADON-EDIT - ORIGINAL
/obj/machinery/smartfridge/food = "food",
/obj/machinery/smartfridge/drinks = "drinks",
/obj/machinery/smartfridge/extract = "slimes",
/obj/machinery/smartfridge/bloodbank = "blood",
/obj/machinery/smartfridge/organ = "organs",
/obj/machinery/smartfridge/chemistry = "chems",
/obj/machinery/smartfridge/disks = "disks",
/obj/machinery/smartfridge/drinks = "drinks",
Expand All @@ -577,18 +590,10 @@
/obj/machinery/smartfridge = "plant produce",
/obj/machinery/smartfridge/extract = "slimes",
/obj/machinery/smartfridge/chemistry/virology = "viruses")
// [/CELADON-EDIT]
// [/CELADON-EDIT]
needs_anchored = FALSE
// Original is below because var then becomes not connectede to circutboard and problems appera

/* var/static/list/fridges_name_paths = list(/obj/machinery/smartfridge = "plant produce", // CELADON-EDIT - ORIGINAL
/obj/machinery/smartfridge/food = "food", // CELADON-EDIT - ORIGINAL
/obj/machinery/smartfridge/drinks = "drinks", // CELADON-EDIT - ORIGINAL
/obj/machinery/smartfridge/extract = "slimes", // CELADON-EDIT - ORIGINAL
/obj/machinery/smartfridge/organ = "organs", // CELADON-EDIT - ORIGINAL
/obj/machinery/smartfridge/chemistry = "chems", // CELADON-EDIT - ORIGINAL
/obj/machinery/smartfridge/chemistry/virology = "viruses", // CELADON-EDIT - ORIGINAL
/obj/machinery/smartfridge/disks = "disks")*/ // CELADON-EDIT - ORIGINAL
/obj/item/circuitboard/machine/smartfridge/Initialize(mapload, new_type)
if(new_type)
build_path = new_type
Expand Down

0 comments on commit 41155e6

Please sign in to comment.