mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-05 15:03:48 +00:00
Merge pull request #6139 from Mechoid/FixACTDStuff
Fixes Access Code Transmission Device oversight.
This commit is contained in:
@@ -104,6 +104,31 @@
|
||||
desc = "A circuit grafted onto the bottom of an ID card. It is used to transmit access codes into other robot chassis, \
|
||||
allowing you to lock and unlock other robots' panels."
|
||||
|
||||
var/dummy_card = null
|
||||
var/dummy_card_type = /obj/item/weapon/card/id/science/roboticist/dummy_cyborg
|
||||
|
||||
/obj/item/weapon/card/robot/Initialize()
|
||||
..()
|
||||
dummy_card = new dummy_card_type(src)
|
||||
|
||||
/obj/item/weapon/card/robot/Destroy()
|
||||
qdel(dummy_card)
|
||||
dummy_card = null
|
||||
..()
|
||||
|
||||
/obj/item/weapon/card/robot/GetID()
|
||||
return dummy_card
|
||||
|
||||
/obj/item/weapon/card/robot/syndi
|
||||
dummy_card_type = /obj/item/weapon/card/id/syndicate/dummy_cyborg
|
||||
|
||||
/obj/item/weapon/card/id/science/roboticist/dummy_cyborg
|
||||
access = list(access_robotics)
|
||||
|
||||
/obj/item/weapon/card/id/syndicate/dummy_cyborg/Initialize()
|
||||
..()
|
||||
access |= access_robotics
|
||||
|
||||
//A harvest item for serviceborgs.
|
||||
/obj/item/weapon/robot_harvester
|
||||
name = "auto harvester"
|
||||
|
||||
@@ -93,7 +93,7 @@
|
||||
src.modules += new /obj/item/weapon/gripper/no_use/organ/robotics(src)
|
||||
|
||||
// Hacking other things.
|
||||
src.modules += new /obj/item/weapon/card/robot(src)
|
||||
src.modules += new /obj/item/weapon/card/robot/syndi(src)
|
||||
src.modules += new /obj/item/weapon/card/emag(src)
|
||||
|
||||
// Materials.
|
||||
|
||||
Reference in New Issue
Block a user