mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Removes unlimited_power var
Redundant and only used in one place.
This commit is contained in:
@@ -34,7 +34,6 @@ NOTE: there are two lists of areas in the end of this file: centcom and station
|
||||
|
||||
var/debug = 0
|
||||
var/requires_power = 1
|
||||
var/unlimited_power = 0
|
||||
var/always_unpowered = 0 //this gets overriden to 1 for space in area/New()
|
||||
|
||||
var/power_equip = 1
|
||||
@@ -349,7 +348,6 @@ area/space/atmosalert()
|
||||
name = "\improper Centcom"
|
||||
icon_state = "centcom"
|
||||
requires_power = 0
|
||||
unlimited_power = 1
|
||||
lighting_use_dynamic = 0
|
||||
|
||||
/area/centcom/control
|
||||
@@ -388,7 +386,6 @@ area/space/atmosalert()
|
||||
name = "\improper Mercenary Base"
|
||||
icon_state = "syndie-ship"
|
||||
requires_power = 0
|
||||
unlimited_power = 1
|
||||
lighting_use_dynamic = 0
|
||||
|
||||
/area/syndicate_mothership/control
|
||||
@@ -463,7 +460,6 @@ area/space/atmosalert()
|
||||
name = "\improper Independant Station"
|
||||
icon_state = "yellow"
|
||||
requires_power = 0
|
||||
unlimited_power = 1
|
||||
flags = RAD_SHIELDED
|
||||
|
||||
/area/syndicate_station/start
|
||||
|
||||
@@ -28,8 +28,7 @@ obj/machinery/recharger/attackby(obj/item/weapon/G as obj, mob/user as mob)
|
||||
user << "\red \A [charging] is already charging here."
|
||||
return
|
||||
// Checks to make sure he's not in space doing it, and that the area got proper power.
|
||||
var/area/a = get_area(src)
|
||||
if(!isarea(a) || (a.power_equip == 0 && !a.unlimited_power))
|
||||
if(!powered())
|
||||
user << "\red The [name] blinks red as you try to insert the item!"
|
||||
return
|
||||
if (istype(G, /obj/item/weapon/gun/energy/gun/nuclear) || istype(G, /obj/item/weapon/gun/energy/crossbow))
|
||||
|
||||
Reference in New Issue
Block a user