mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 15:08:34 +01:00
Remove
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
desc = "An oxygen generator using algae to convert carbon dioxide to oxygen."
|
||||
icon = 'icons/obj/machines/algae_vr.dmi'
|
||||
icon_state = "algae-off"
|
||||
circuit = /obj/item/weapon/circuitboard/algae_farm
|
||||
circuit = /obj/item/circuitboard/algae_farm
|
||||
anchored = TRUE
|
||||
density = TRUE
|
||||
power_channel = EQUIP
|
||||
@@ -123,7 +123,7 @@
|
||||
icon_state = "algae-on"
|
||||
return 1
|
||||
|
||||
/obj/machinery/atmospherics/binary/algae_farm/attackby(obj/item/weapon/W as obj, mob/user as mob)
|
||||
/obj/machinery/atmospherics/binary/algae_farm/attackby(obj/item/W as obj, mob/user as mob)
|
||||
add_fingerprint(user)
|
||||
if(default_deconstruction_screwdriver(user, W))
|
||||
return
|
||||
@@ -149,12 +149,12 @@
|
||||
var/bin_rating = 0
|
||||
var/manip_rating = 0
|
||||
|
||||
for(var/obj/item/weapon/stock_parts/P in component_parts)
|
||||
if(istype(P, /obj/item/weapon/stock_parts/capacitor))
|
||||
for(var/obj/item/stock_parts/P in component_parts)
|
||||
if(istype(P, /obj/item/stock_parts/capacitor))
|
||||
cap_rating += P.rating
|
||||
if(istype(P, /obj/item/weapon/stock_parts/matter_bin))
|
||||
if(istype(P, /obj/item/stock_parts/matter_bin))
|
||||
bin_rating += P.rating
|
||||
if(istype(P, /obj/item/weapon/stock_parts/manipulator))
|
||||
if(istype(P, /obj/item/stock_parts/manipulator))
|
||||
manip_rating += P.rating
|
||||
|
||||
power_per_mole = round(initial(power_per_mole) / cap_rating)
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
|
||||
return 1
|
||||
|
||||
/obj/machinery/atmospherics/binary/circulator/attackby(obj/item/weapon/W as obj, mob/user as mob)
|
||||
/obj/machinery/atmospherics/binary/circulator/attackby(obj/item/W as obj, mob/user as mob)
|
||||
if(W.has_tool_quality(TOOL_WRENCH))
|
||||
playsound(src, W.usesound, 75, 1)
|
||||
anchored = !anchored
|
||||
|
||||
@@ -278,7 +278,7 @@
|
||||
update_icon()
|
||||
add_fingerprint(usr)
|
||||
|
||||
/obj/machinery/atmospherics/binary/passive_gate/attackby(var/obj/item/weapon/W as obj, var/mob/user as mob)
|
||||
/obj/machinery/atmospherics/binary/passive_gate/attackby(var/obj/item/W as obj, var/mob/user as mob)
|
||||
if (!W.has_tool_quality(TOOL_WRENCH))
|
||||
return ..()
|
||||
if (unlocked)
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
if (kin_energy > 1000000)
|
||||
add_overlay(image('icons/obj/pipeturbine.dmi', "hi-turb"))
|
||||
|
||||
/obj/machinery/atmospherics/pipeturbine/attackby(obj/item/weapon/W as obj, mob/user as mob)
|
||||
/obj/machinery/atmospherics/pipeturbine/attackby(obj/item/W as obj, mob/user as mob)
|
||||
if(W.has_tool_quality(TOOL_WRENCH))
|
||||
anchored = !anchored
|
||||
playsound(src, W.usesound, 50, 1)
|
||||
@@ -255,7 +255,7 @@
|
||||
turbine.kin_energy -= power_generated
|
||||
add_avail(power_generated)
|
||||
|
||||
/obj/machinery/power/turbinemotor/attackby(obj/item/weapon/W as obj, mob/user as mob)
|
||||
/obj/machinery/power/turbinemotor/attackby(obj/item/W as obj, mob/user as mob)
|
||||
if(W.has_tool_quality(TOOL_WRENCH))
|
||||
anchored = !anchored
|
||||
playsound(src, W.usesound, 50, 1)
|
||||
|
||||
@@ -238,7 +238,7 @@ Thus, the two variables affect pump operation are set in New():
|
||||
if(old_stat != stat)
|
||||
update_icon()
|
||||
|
||||
/obj/machinery/atmospherics/binary/pump/attackby(var/obj/item/weapon/W as obj, var/mob/user as mob)
|
||||
/obj/machinery/atmospherics/binary/pump/attackby(var/obj/item/W as obj, var/mob/user as mob)
|
||||
if (!W.has_tool_quality(TOOL_WRENCH))
|
||||
return ..()
|
||||
if (!(stat & NOPOWER) && use_power)
|
||||
|
||||
Reference in New Issue
Block a user