mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-28 07:20:09 +01:00
sdfa (#18053)
This commit is contained in:
@@ -18,13 +18,20 @@
|
||||
var/list/attached_overlays = null
|
||||
var/obj/item/device/assembly_holder/holder = null
|
||||
var/cooldown = 0 //To prevent spam
|
||||
var/wires = WIRE_RECEIVE_ASSEMBLY | WIRE_PULSE_ASSEMBLY
|
||||
|
||||
var/const/WIRE_RECEIVE_ASSEMBLY = 1 //Allows Pulsed(0) to call Activate()
|
||||
var/const/WIRE_PULSE_ASSEMBLY = 2 //Allows Pulse(0) to act on the holder
|
||||
var/const/WIRE_PULSE_SPECIAL = 4 //Allows Pulse(0) to act on the holders special assembly
|
||||
var/const/WIRE_RADIO_RECEIVE = 8 //Allows Pulsed(1) to call Activate()
|
||||
var/const/WIRE_RADIO_PULSE = 16 //Allows Pulse(1) to send a radio message
|
||||
/**
|
||||
* Wires that the assembly has installed
|
||||
*
|
||||
* Refer to `code\__defines\wires.dm` in the dedicated section for the supported wires, which _must_ be bitflags
|
||||
*
|
||||
* At the time of writing this, it supports:
|
||||
* * WIRE_RECEIVE_ASSEMBLY
|
||||
* * WIRE_PULSE_ASSEMBLY
|
||||
* * WIRE_PULSE_SPECIAL
|
||||
* * WIRE_RADIO_RECEIVE
|
||||
* * WIRE_RADIO_PULSE
|
||||
*/
|
||||
var/wires = WIRE_RECEIVE_ASSEMBLY | WIRE_PULSE_ASSEMBLY
|
||||
|
||||
/obj/item/device/assembly/proc/holder_movement()
|
||||
return
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 500, MATERIAL_GLASS = 50)
|
||||
|
||||
secured = TRUE
|
||||
wires = WIRE_RECEIVE
|
||||
wires = WIRE_RECEIVE_ASSEMBLY
|
||||
|
||||
/obj/item/device/assembly/igniter/activate()
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user