mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Filters the lesser borgs
You now have to be a greater borg (or the god-emperor of borgs) to rename airlock assemblies.
This commit is contained in:
@@ -144,8 +144,9 @@
|
||||
created_name = t
|
||||
update_state()
|
||||
|
||||
/obj/structure/door_assembly/attack_robot(mob/living/user)
|
||||
if(Adjacent(user))
|
||||
/obj/structure/door_assembly/attack_robot(mob/living/silicon/robot/user)
|
||||
if(Adjacent(user) && (user.module && (istype(user.module,/obj/item/weapon/robot_module/engineering/general)) \
|
||||
|| istype(user.module,/obj/item/weapon/robot_module/drone))) //Only dron (and engiborg) needs this.
|
||||
rename_door(user)
|
||||
|
||||
/obj/structure/door_assembly/attackby(obj/item/W as obj, mob/user as mob)
|
||||
|
||||
@@ -77,8 +77,9 @@ obj/structure/windoor_assembly/Destroy()
|
||||
created_name = t
|
||||
update_state()
|
||||
|
||||
/obj/structure/windoor_assembly/attack_robot(mob/living/user)
|
||||
if(Adjacent(user))
|
||||
/obj/structure/windoor_assembly/attack_robot(mob/living/silicon/robot/user)
|
||||
if(Adjacent(user) && (user.module && (istype(user.module,/obj/item/weapon/robot_module/engineering/general)) \
|
||||
|| istype(user.module,/obj/item/weapon/robot_module/drone))) //Only dron (and engiborg) needs this.
|
||||
rename_door(user)
|
||||
|
||||
/obj/structure/windoor_assembly/attackby(obj/item/W as obj, mob/user as mob)
|
||||
|
||||
@@ -34,5 +34,5 @@ delete-after: True
|
||||
# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog.
|
||||
changes:
|
||||
- rscadd: "Windoors can now be disassembled. Apply crowbar when open."
|
||||
- rscadd: "Borgs can name doors and windoors now. Click an adjacent assembly with no modules active."
|
||||
- rscadd: "Engiborgs and drons can name door and windoor assemblines now. Click an adjacent assembly with no modules active."
|
||||
- bugfix: "Windoors now know how to name themselves. In addition, unnamed windoors now spawn with their default name instead of null."
|
||||
|
||||
Reference in New Issue
Block a user