mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 13:37:58 +01:00
Adds wire names.
This commit is contained in:
@@ -50,8 +50,21 @@
|
||||
rig.electrified = 30
|
||||
rig.shock(usr,100)
|
||||
|
||||
/datum/wires/rig/GetWireName(index)
|
||||
switch(index)
|
||||
if(RIG_SECURITY)
|
||||
return "ID check"
|
||||
if(RIG_AI_OVERRIDE)
|
||||
return "AI control"
|
||||
if(RIG_SYSTEM_CONTROL)
|
||||
return "System control"
|
||||
if(RIG_INTERFACE_LOCK)
|
||||
return "Interface lock"
|
||||
if(RIG_INTERFACE_SHOCK)
|
||||
return "Electrification"
|
||||
|
||||
/datum/wires/rig/CanUse(var/mob/living/L)
|
||||
var/obj/item/weapon/rig/rig = holder
|
||||
if(rig.open)
|
||||
return 1
|
||||
return 0
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user