mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 21:40:55 +01:00
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:
@@ -752,8 +752,16 @@
|
||||
return
|
||||
|
||||
if(istype(M) && !M.incapacitated())
|
||||
var/obj/item/gun/gun = mob.get_active_hand()
|
||||
if(istype(gun) && gun.can_autofire())
|
||||
M.set_dir(get_dir(M, over_object))
|
||||
gun.Fire(get_turf(over_object), mob, params, (get_dist(over_object, mob) <= 1), FALSE)
|
||||
CHECK_TICK
|
||||
var/obj/item/I = M.get_active_hand()
|
||||
if(istype(I, /obj/item/gun))
|
||||
var/obj/item/gun/gun = I
|
||||
if(gun.can_autofire())
|
||||
M.set_dir(get_dir(M, over_object))
|
||||
gun.Fire(get_turf(over_object), M, params, (get_dist(over_object, M) <= 1), FALSE)
|
||||
|
||||
if(istype(I, /obj/item/rfd/mining) && isturf(over_object))
|
||||
var/proximity = M.Adjacent(over_object)
|
||||
var/obj/item/rfd/mining/RFDM = I
|
||||
RFDM.afterattack(over_object, M, proximity, params, FALSE)
|
||||
|
||||
CHECK_TICK
|
||||
Reference in New Issue
Block a user