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:
Nerezza
2016-11-20 16:47:52 -06:00
parent df5906dc6b
commit 812d1b1df4
3 changed files with 7 additions and 5 deletions

View File

@@ -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)

View File

@@ -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)

View File

@@ -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."