mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 16:10:02 +01:00
Stationbound RPDs (#9007)
Both classes of engineering stationbound and maintenance drone has been given rapid piping fabricators.
This commit is contained in:
@@ -587,6 +587,19 @@ RFD Piping-Class
|
||||
pipe_examine = "Universal Pipe Adapter"
|
||||
selected_pipe = 28
|
||||
|
||||
/obj/item/rfd/piping/borg/useResource(var/amount, var/mob/user)
|
||||
if(isrobot(user))
|
||||
var/mob/living/silicon/robot/R = user
|
||||
if(R.cell)
|
||||
var/cost = amount * 30
|
||||
if(R.cell.charge >= cost)
|
||||
R.cell.use(cost)
|
||||
return TRUE
|
||||
return FALSE
|
||||
|
||||
/obj/item/rfd/piping/borg/attackby()
|
||||
return
|
||||
|
||||
#undef STANDARD_PIPE
|
||||
#undef SUPPLY_PIPE
|
||||
#undef SCRUBBER_PIPE
|
||||
|
||||
Reference in New Issue
Block a user