Mining Drone Stuff (#10739)

Mining drones now come equipped with an RFD-M, a tethering device, and a stack of purple flags.
    Mining drones can now bump against doors to open them.
    Mining drones now have external airlock access.
    You can now click-drag with the RFD-M to lay down track.
    The charge cost for robots using the RFD-M has been lowered to 200, down from 500.
    Mining drones no longer appear as a unique role on the round join menu.
    Mining drone lights are now much brighter, and illuminate in a circle around the drone.
This commit is contained in:
Geeves
2020-12-13 12:36:15 +02:00
committed by GitHub
parent e3aa12ad5d
commit 2473281555
13 changed files with 72 additions and 18 deletions
@@ -13,6 +13,8 @@ var/datum/controller/subsystem/atoms/SSatoms
var/initialized = INITIALIZATION_INSSATOMS
var/old_initialized
var/list/late_misc_firers // this is a list of things that fire when late misc init is called
var/list/late_loaders
var/list/created_atoms
var/list/late_qdel
@@ -37,8 +37,14 @@
populate_code_phrases()
// this covers mapped in drone fabs
for(var/obj/machinery/drone_fabricator/DF in SSmachinery.all_machines)
DF.enable_drone_spawn()
for(var/thing in SSatoms.late_misc_firers)
if(istype(thing, /obj/machinery/drone_fabricator))
var/obj/machinery/drone_fabricator/DF = thing
DF.enable_drone_spawn()
else if(istype(thing, /mob/living/silicon/robot/drone/mining))
var/mob/living/silicon/robot/drone/mining/MD = thing
MD.request_player()
LAZYREMOVE(SSatoms.late_misc_firers, thing)
if (config.use_forumuser_api)
update_admins_from_api(TRUE)