mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-19 04:08:55 +01:00
Last of the RCD fixes I swear (#6744)
This commit is contained in:
@@ -369,7 +369,7 @@ rborosilicate = 12
|
||||
airlock_type = /obj/machinery/door/airlock
|
||||
airlock_glass = FALSE
|
||||
|
||||
/obj/item/weapon/rcd/verb/change_airlock_access(mob/user)
|
||||
/obj/item/weapon/rcd/proc/change_airlock_access(mob/user)
|
||||
|
||||
if (!ishuman(user) && !istype(user,/mob/living/silicon/robot))
|
||||
return
|
||||
@@ -695,6 +695,8 @@ rborosilicate = 12
|
||||
to_chat(user, span("notice", "You build a conveyor"))
|
||||
return TRUE
|
||||
if(RCD_TURRET)
|
||||
if(locate(/obj/machinery/porta_turret) in src)
|
||||
return FALSE
|
||||
var/obj/machinery/porta_turret/T = new /obj/machinery/porta_turret/rcd(src)
|
||||
T.faction = the_rcd.turret_faction
|
||||
return TRUE
|
||||
@@ -744,6 +746,9 @@ rborosilicate = 12
|
||||
else
|
||||
if(dx > 0) direction = EAST
|
||||
else direction = WEST
|
||||
if(gotwallitem(get_step(src,direction), direction))
|
||||
to_chat(user, span("warning", "There is already a wall item there!"))
|
||||
return FALSE
|
||||
var/obj/O = new the_rcd.wall_frame_type(get_step(src,direction))
|
||||
O.dir = direction
|
||||
if(istype(O,/obj/machinery/light))
|
||||
|
||||
Reference in New Issue
Block a user