mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 19:52:40 +00:00
Merge pull request #7553 from VOREStation/aro-talonmaint
Add talon access to talon maint drones
This commit is contained in:
@@ -154,15 +154,22 @@ Once in open space, consider disabling nonessential power-consuming electronics
|
|||||||
/obj/machinery/drone_fabricator/talon
|
/obj/machinery/drone_fabricator/talon
|
||||||
name = "somewhat glitchy drone fabricator"
|
name = "somewhat glitchy drone fabricator"
|
||||||
desc = "Obtained from a derelict, it seems to work sometimes, not work sometimes, and work TOO good sometimes. Didn't come with a control console either..."
|
desc = "Obtained from a derelict, it seems to work sometimes, not work sometimes, and work TOO good sometimes. Didn't come with a control console either..."
|
||||||
|
drone_type = /mob/living/silicon/robot/drone/talon
|
||||||
|
|
||||||
/obj/machinery/drone_fabricator/talon/create_drone(var/client/player)
|
/mob/living/silicon/robot/drone/talon
|
||||||
var/mob/living/silicon/robot/drone/new_drone = ..()
|
foreign_droid = TRUE
|
||||||
if(!istype(new_drone))
|
idcard_type = /obj/item/weapon/card/id/synthetic/talon
|
||||||
return
|
|
||||||
|
|
||||||
new_drone.foreign_droid = TRUE
|
/obj/item/weapon/card/id/synthetic/talon
|
||||||
|
name = "\improper Talon synthetic ID"
|
||||||
|
desc = "Access module for Talon synthetics"
|
||||||
|
icon_state = "id-robot"
|
||||||
|
item_state = "tdgreen"
|
||||||
|
assignment = "Talon synthetic"
|
||||||
|
|
||||||
return new_drone
|
/obj/item/weapon/card/id/synthetic/talon/Initialize()
|
||||||
|
. = ..()
|
||||||
|
access = list(access_talon, access_synth)
|
||||||
|
|
||||||
/obj/machinery/power/smes/buildable/offmap_spawn/New()
|
/obj/machinery/power/smes/buildable/offmap_spawn/New()
|
||||||
..(1)
|
..(1)
|
||||||
|
|||||||
Reference in New Issue
Block a user