mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-07-20 20:52:52 +01:00
Finally allows RPD to be used. (#9028)
* Adds RPD to borgs and drones. * Adds RPD to cargo. * Fix oversight of Recipe being kept null. * Example.
This commit is contained in:
@@ -82,6 +82,14 @@
|
||||
containername = "Disposal Dispenser Crate"
|
||||
access = access_atmospherics
|
||||
|
||||
/datum/supply_pack/atmos/rapid_pipe_dispenser
|
||||
contains = list(/obj/item/pipe_dispenser)
|
||||
name = "Rapid Pipe Dispenser"
|
||||
cost = 100
|
||||
containertype = /obj/structure/closet/crate/secure/aether
|
||||
containername = "Rapid Pipe Dispenser Crate"
|
||||
access = access_atmospherics
|
||||
|
||||
/datum/supply_pack/atmos/internals
|
||||
name = "Internals crate"
|
||||
contains = list(
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
/obj/item/pipe_dispenser/proc/SetupPipes()
|
||||
if(!first_atmos)
|
||||
first_atmos = GLOB.atmos_pipe_recipes[GLOB.atmos_pipe_recipes[1]][1]
|
||||
recipe = first_atmos
|
||||
recipe = first_atmos
|
||||
if(!first_disposal)
|
||||
first_disposal = GLOB.disposal_pipe_recipes[GLOB.disposal_pipe_recipes[1]][1]
|
||||
|
||||
|
||||
@@ -433,6 +433,7 @@ var/global/list/robot_modules = list(
|
||||
src.emag = new /obj/item/melee/baton/robot/arm(src)
|
||||
src.modules += new /obj/item/geiger(src)
|
||||
src.modules += new /obj/item/rcd/electric/mounted/borg(src)
|
||||
src.modules += new /obj/item/pipe_dispenser(src)
|
||||
src.modules += new /obj/item/pickaxe/plasmacutter(src)
|
||||
src.modules += new /obj/item/gripper/no_use/loader(src)
|
||||
|
||||
@@ -971,6 +972,8 @@ var/global/list/robot_modules = list(
|
||||
P.synths = list(plastic)
|
||||
src.modules += P
|
||||
|
||||
src.modules += new /obj/item/pipe_dispenser(src) // At the end to go beside the construction's RCD.
|
||||
|
||||
/obj/item/robot_module/drone/construction
|
||||
name = "construction drone module"
|
||||
hide_on_manifest = TRUE
|
||||
|
||||
Reference in New Issue
Block a user