[MIRROR] [READY]Circuit balance (#5760)
* [READY]Circuit balance * [READY]Circuit balance (#35931) * cooldowns, power cell,disks * NUMBERS NUMBERS NUMBERS * 1 8 9 * PR PR PR * DESC DESCDSCDCC * <br> * GET ALL CONTENTS * Update power.dm * Update power.dm * Update time.dm
This commit is contained in:
committed by
Poojawa
parent
7d9dbcd0c3
commit
59d61d5e0d
@@ -3,6 +3,7 @@
|
||||
|
||||
/obj/item/device/electronic_assembly
|
||||
name = "electronic assembly"
|
||||
obj_flags = CAN_BE_HIT
|
||||
desc = "It's a case, for building small electronics with."
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
icon = 'icons/obj/assemblies/electronic_setups.dmi'
|
||||
@@ -20,6 +21,8 @@
|
||||
var/charge_tick = FALSE
|
||||
var/charge_delay = 4
|
||||
var/use_cyborg_cell = TRUE
|
||||
var/ext_next_use = 0
|
||||
var/atom/movable/collw
|
||||
var/allowed_circuit_action_flags = IC_ACTION_COMBAT | IC_ACTION_LONG_RANGE //which circuit flags are allowed
|
||||
var/combat_circuits = 0 //number of combat cicuits in the assembly, used for diagnostic hud
|
||||
var/long_range_circuits = 0 //number of long range cicuits in the assembly, used for diagnostic hud
|
||||
@@ -31,6 +34,9 @@
|
||||
/obj/item/device/electronic_assembly/proc/check_interactivity(mob/user)
|
||||
return user.canUseTopic(src, BE_CLOSE)
|
||||
|
||||
/obj/item/device/electronic_assembly/CollidedWith(atom/movable/AM)
|
||||
collw = AM
|
||||
..()
|
||||
|
||||
/obj/item/device/electronic_assembly/Initialize()
|
||||
.=..()
|
||||
|
||||
Reference in New Issue
Block a user