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
@@ -32,6 +32,8 @@
. = ..()
if(SSticker.current_state == GAME_STATE_PLAYING)
enable_drone_spawn()
else
LAZYADD(SSatoms.late_misc_firers, src)
/obj/machinery/drone_fabricator/Destroy()
. = ..()
@@ -119,7 +119,7 @@ var/global/list/robot_modules = list(
else if(F.times_used)
F.times_used--
if(E?.reagents.total_volume < E.reagents.maximum_volume)
if(E && E.reagents.total_volume < E.reagents.maximum_volume)
E.reagents.add_reagent(/datum/reagent/toxin/fertilizer/monoammoniumphosphate, E.max_water * 0.2)
if(!synths.len)
@@ -975,13 +975,20 @@ var/global/list/robot_modules = list(
modules += new /obj/item/mining_scanner(src)
modules += new /obj/item/device/gps/mining(src)
modules += new /obj/item/tank/jetpack/carbondioxide(src)
modules += new /obj/item/rfd/mining(src)
modules += new /obj/item/tethering_device(src)
var/datum/matter_synth/metal = new /datum/matter_synth/metal(20000)
synths += metal
var/obj/item/stack/rods/cyborg/rods = new /obj/item/stack/rods/cyborg(src)
rods.synths = list(metal)
modules += rods
var/obj/item/stack/flag/purple/borg/beacons = new /obj/item/stack/flag/purple/borg(src)
beacons.synths = list(metal)
modules += beacons
emag = new /obj/item/gun/energy/plasmacutter/mounted(src)
emag.name = "Mounted Plasma Cutter"