mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 12:37:50 +01:00
up port muffle items (#17380)
* up port muffle items * fix that * Update exonet_node.dm * fix that...
This commit is contained in:
@@ -20,11 +20,12 @@
|
||||
// Proc: New()
|
||||
// Parameters: None
|
||||
// Description: Adds components to the machine for deconstruction.
|
||||
/obj/machinery/exonet_node/map/Initialize(mapload)
|
||||
/obj/machinery/exonet_node/Initialize(mapload)
|
||||
. = ..()
|
||||
default_apply_parts()
|
||||
desc = "This machine is one of many, many nodes inside [using_map.starsys_name]'s section of the Exonet, connecting the [using_map.station_short] to the rest of the system, at least \
|
||||
electronically."
|
||||
if(mapload)
|
||||
desc = "This machine is one of many, many nodes inside [using_map.starsys_name]'s section of the Exonet, connecting the [using_map.station_short] to the rest of the system, at least \
|
||||
electronically."
|
||||
|
||||
// Proc: update_icon()
|
||||
// Parameters: None
|
||||
|
||||
@@ -28,7 +28,12 @@
|
||||
/*
|
||||
/obj/item/storage/backpack/dropped(mob/user)
|
||||
if (loc == user && src.use_sound)
|
||||
playsound(src, src.use_sound, 50, 1, -5)
|
||||
if(isbelly(user.loc))
|
||||
var/obj/belly/B = user.loc
|
||||
if(B.mode_flags & DM_FLAG_MUFFLEITEMS)
|
||||
return
|
||||
else
|
||||
playsound(src, src.use_sound, 50, 1, -5)
|
||||
..(user)
|
||||
*/
|
||||
|
||||
|
||||
@@ -237,7 +237,9 @@
|
||||
|
||||
/obj/item/storage/proc/open(mob/user as mob)
|
||||
if (use_sound)
|
||||
playsound(src, src.use_sound, 50, 0, -5)
|
||||
var/obj/belly/B = user.loc
|
||||
if(isliving(user) && (!isbelly(B) || !(B.mode_flags & DM_FLAG_MUFFLEITEMS)))
|
||||
playsound(src, src.use_sound, 50, 0, -5)
|
||||
|
||||
orient2hud(user)
|
||||
if(user.s_active)
|
||||
|
||||
@@ -26,20 +26,12 @@
|
||||
var/icon_update = 0 // Timer in ticks for icon update.
|
||||
var/ui_tick = 0
|
||||
should_be_mapped = TRUE
|
||||
circuit = /obj/item/circuitboard/batteryrack
|
||||
|
||||
|
||||
/obj/machinery/power/smes/batteryrack/Initialize(mapload)
|
||||
. = ..()
|
||||
add_parts()
|
||||
RefreshParts()
|
||||
|
||||
/obj/machinery/power/smes/batteryrack/proc/add_parts()
|
||||
component_parts = list()
|
||||
component_parts += new /obj/item/circuitboard/batteryrack
|
||||
component_parts += new /obj/item/stock_parts/capacitor // Capacitors: Maximal I/O
|
||||
component_parts += new /obj/item/stock_parts/capacitor
|
||||
component_parts += new /obj/item/stock_parts/capacitor
|
||||
component_parts += new /obj/item/stock_parts/matter_bin // Matter Bin: Max. amount of cells.
|
||||
default_apply_parts()
|
||||
|
||||
/obj/machinery/power/smes/batteryrack/RefreshParts()
|
||||
var/capacitor_efficiency = 0
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
|
||||
/obj/machinery/chem_master/Initialize(mapload)
|
||||
. = ..()
|
||||
default_apply_parts()
|
||||
var/datum/reagents/R = new/datum/reagents(900) //Just a huge random number so the buffer should (probably) never dump your reagents.
|
||||
reagents = R //There should be a nano ui thingy to warn of this.
|
||||
R.my_atom = src
|
||||
|
||||
Reference in New Issue
Block a user