Stationbound RPDs (#9007)

Both classes of engineering stationbound and maintenance drone has been given rapid piping fabricators.
This commit is contained in:
Geeves
2020-06-10 09:03:54 +03:00
committed by GitHub
parent 1f213e48c0
commit 90adc9f4be
3 changed files with 22 additions and 0 deletions
+13
View File
@@ -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