diff --git a/code/game/objects/items/blueprints.dm b/code/game/objects/items/blueprints.dm index 8a0afa2a953..a0ac1d735bc 100644 --- a/code/game/objects/items/blueprints.dm +++ b/code/game/objects/items/blueprints.dm @@ -4,7 +4,6 @@ icon_state = "blueprints" attack_verb = list("attacked", "bapped", "hit") var/fluffnotice = "Nobody's gonna read this stuff!" - var/read_only = FALSE var/const/AREA_ERRNONE = 0 var/const/AREA_STATION = 1 @@ -40,7 +39,7 @@ if(..()) return if(href_list["create_area"]) - if(get_area_type()==AREA_SPACE && !read_only) // Never trust user input + if(get_area_type()==AREA_SPACE) create_area() @@ -108,8 +107,7 @@ var/area/A = get_area() if(get_area_type() == AREA_STATION) . += "
According to [src], you are now in \"[sanitize(A.name)]\".
" - if(!read_only) - . += "You may move an amendment to the drawing.
" + . += "You may move an amendment to the drawing.
" if(!viewing) . += "" else @@ -124,7 +122,7 @@ /obj/item/areaeditor/blueprints/Topic(href, href_list) ..() if(href_list["edit_area"]) - if(get_area_type() != AREA_STATION || read_only) // Never trust user input + if(get_area_type()!=AREA_STATION) return edit_area() if(href_list["view_blueprints"]) @@ -191,8 +189,6 @@ /obj/item/areaeditor/proc/create_area() var/area_created = FALSE var/res = detect_room(get_turf(usr)) - if(read_only) // Sanity checks are good - return if(!istype(res,/list)) switch(res) if(ROOM_ERR_SPACE) @@ -241,8 +237,6 @@ var/area/A = get_area() var/prevname = "[sanitize(A.name)]" var/str = trim(stripped_input(usr,"New area name:", "Blueprint Editing", prevname, MAX_NAME_LEN)) - if(read_only) // Sanity checks are good - return if(!str || !length(str) || str==prevname) //cancel return if(length(str) > 50) @@ -346,8 +340,4 @@ desc = "A digital copy of the station blueprints stored in your memory." fluffnotice = "Intellectual Property of Nanotrasen. For use in engineering cyborgs only. Wipe from memory upon departure from the station." -/obj/item/areaeditor/blueprints/cyborg/drone - fluffnotice = "Intellectual Property of Nanotrasen. For use in maintence drones only. Wipe from memory upon storage." - read_only = TRUE - /obj/item/areaeditor/blueprints/ce diff --git a/code/modules/mob/living/silicon/robot/robot_modules.dm b/code/modules/mob/living/silicon/robot/robot_modules.dm index e3b366d4185..73ad13885e9 100644 --- a/code/modules/mob/living/silicon/robot/robot_modules.dm +++ b/code/modules/mob/living/silicon/robot/robot_modules.dm @@ -717,7 +717,6 @@ /obj/item/t_scanner, /obj/item/rpd, /obj/item/analyzer, - /obj/item/areaeditor/blueprints/cyborg/drone, /obj/item/stack/sheet/metal/cyborg, /obj/item/stack/rods/cyborg, /obj/item/stack/tile/plasteel/cyborg,