mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 13:05:44 +01:00
Stops people from messing with the arrivals' shuttle control (#9185)
What it says in the title.
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
|
||||
use_power = 1
|
||||
idle_power_usage = 10
|
||||
var/checks_for_access = FALSE
|
||||
|
||||
var/on = 1
|
||||
|
||||
@@ -31,9 +32,17 @@ obj/machinery/embedded_controller/radio/Destroy()
|
||||
update_icon()
|
||||
|
||||
/obj/machinery/embedded_controller/attack_ai(mob/user as mob)
|
||||
if(checks_for_access)
|
||||
if(!allowed(user))
|
||||
to_chat(user, SPAN_WARNING("Access Denied."))
|
||||
return
|
||||
src.ui_interact(user)
|
||||
|
||||
/obj/machinery/embedded_controller/attack_hand(mob/user as mob)
|
||||
if(checks_for_access)
|
||||
if(!allowed(user))
|
||||
to_chat(user, SPAN_WARNING("Access Denied."))
|
||||
return
|
||||
|
||||
if(!user.IsAdvancedToolUser())
|
||||
return 0
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
author: Alberyk
|
||||
|
||||
delete-after: True
|
||||
|
||||
changes:
|
||||
- tweak: "Crew can no longer interact with the arrival's shuttle docking controller."
|
||||
@@ -1019,6 +1019,9 @@
|
||||
/turf/simulated/floor/shuttle/dark_blue,
|
||||
/area/supply/dock)
|
||||
"aeq" = (
|
||||
/turf/unsimulated/floor{
|
||||
icon_state = "gcircuit"
|
||||
},
|
||||
/obj/structure/artilleryplaceholder/decorative{
|
||||
icon_state = "27"
|
||||
},
|
||||
@@ -1027,14 +1030,14 @@
|
||||
id = "battery3";
|
||||
name = "Battery 3 Firing Control"
|
||||
},
|
||||
/turf/unsimulated/floor{
|
||||
icon_state = "gcircuit"
|
||||
},
|
||||
/turf/unsimulated/floor{
|
||||
icon_state = "wood_siding10"
|
||||
},
|
||||
/area/centcom/control)
|
||||
"aer" = (
|
||||
/turf/unsimulated/floor{
|
||||
icon_state = "gcircuit"
|
||||
},
|
||||
/obj/structure/artilleryplaceholder/decorative{
|
||||
icon_state = "28"
|
||||
},
|
||||
@@ -1042,27 +1045,27 @@
|
||||
desc = "Bluespace Artillery; the thinking man's solution."
|
||||
},
|
||||
/obj/effect/decal/warning_stripes,
|
||||
/turf/unsimulated/floor{
|
||||
icon_state = "gcircuit"
|
||||
},
|
||||
/turf/unsimulated/floor{
|
||||
icon_state = "wood_siding2";
|
||||
dir = 6
|
||||
},
|
||||
/area/centcom/control)
|
||||
"aes" = (
|
||||
/turf/unsimulated/floor{
|
||||
icon_state = "gcircuit"
|
||||
},
|
||||
/obj/structure/artilleryplaceholder/decorative{
|
||||
icon_state = "29"
|
||||
},
|
||||
/obj/machinery/porta_turret/crescent,
|
||||
/turf/unsimulated/floor{
|
||||
icon_state = "gcircuit"
|
||||
},
|
||||
/turf/unsimulated/floor{
|
||||
icon_state = "wood_siding6"
|
||||
},
|
||||
/area/centcom/control)
|
||||
"aet" = (
|
||||
/turf/unsimulated/floor{
|
||||
icon_state = "engine"
|
||||
},
|
||||
/obj/structure/window/phoronreinforced,
|
||||
/obj/structure/window/phoronreinforced{
|
||||
dir = 1
|
||||
@@ -1070,14 +1073,14 @@
|
||||
/obj/structure/window/phoronreinforced{
|
||||
dir = 8
|
||||
},
|
||||
/turf/unsimulated/floor{
|
||||
icon_state = "engine"
|
||||
},
|
||||
/turf/unsimulated/floor{
|
||||
icon_state = "wood_siding9"
|
||||
},
|
||||
/area/centcom/control)
|
||||
"aeu" = (
|
||||
/turf/unsimulated/floor{
|
||||
icon_state = "gcircuit"
|
||||
},
|
||||
/obj/structure/artilleryplaceholder/decorative{
|
||||
icon_state = "27"
|
||||
},
|
||||
@@ -1086,14 +1089,14 @@
|
||||
id = "battery2";
|
||||
name = "Battery 2 Firing Control"
|
||||
},
|
||||
/turf/unsimulated/floor{
|
||||
icon_state = "gcircuit"
|
||||
},
|
||||
/turf/unsimulated/floor{
|
||||
icon_state = "wood_siding10"
|
||||
},
|
||||
/area/centcom/control)
|
||||
"aev" = (
|
||||
/turf/unsimulated/floor{
|
||||
icon_state = "gcircuit"
|
||||
},
|
||||
/obj/structure/artilleryplaceholder/decorative{
|
||||
icon_state = "27"
|
||||
},
|
||||
@@ -1104,40 +1107,37 @@
|
||||
},
|
||||
/obj/effect/decal/cleanable/cobweb,
|
||||
/obj/item/reagent_containers/glass/rag,
|
||||
/turf/unsimulated/floor{
|
||||
icon_state = "gcircuit"
|
||||
},
|
||||
/turf/unsimulated/floor{
|
||||
icon_state = "wood_siding10"
|
||||
},
|
||||
/area/centcom/control)
|
||||
"aew" = (
|
||||
/obj/effect/decal/cleanable/dirt,
|
||||
/turf/unsimulated/floor{
|
||||
icon_state = "engine"
|
||||
},
|
||||
/obj/effect/decal/cleanable/dirt,
|
||||
/turf/unsimulated/floor{
|
||||
icon_state = "wood_siding1";
|
||||
dir = 6
|
||||
},
|
||||
/area/centcom/control)
|
||||
"aex" = (
|
||||
/obj/effect/decal/cleanable/dirt,
|
||||
/obj/item/stool,
|
||||
/turf/unsimulated/floor{
|
||||
icon_state = "engine"
|
||||
},
|
||||
/obj/effect/decal/cleanable/dirt,
|
||||
/obj/item/stool,
|
||||
/turf/unsimulated/floor{
|
||||
icon_state = "wood_siding1";
|
||||
dir = 6
|
||||
},
|
||||
/area/centcom/control)
|
||||
"aey" = (
|
||||
/obj/effect/decal/cleanable/dirt,
|
||||
/obj/item/storage/toolbox/electrical,
|
||||
/turf/unsimulated/floor{
|
||||
icon_state = "engine"
|
||||
},
|
||||
/obj/effect/decal/cleanable/dirt,
|
||||
/obj/item/storage/toolbox/electrical,
|
||||
/turf/unsimulated/floor{
|
||||
icon_state = "wood_siding1";
|
||||
dir = 6
|
||||
@@ -1257,6 +1257,9 @@
|
||||
/turf/unsimulated/wall/riveted,
|
||||
/area/template_noop)
|
||||
"aeS" = (
|
||||
/turf/unsimulated/floor{
|
||||
icon_state = "engine"
|
||||
},
|
||||
/obj/structure/window/phoronreinforced{
|
||||
dir = 8
|
||||
},
|
||||
@@ -1265,9 +1268,6 @@
|
||||
},
|
||||
/obj/effect/decal/cleanable/dirt,
|
||||
/obj/effect/decal/cleanable/generic,
|
||||
/turf/unsimulated/floor{
|
||||
icon_state = "engine"
|
||||
},
|
||||
/turf/unsimulated/floor{
|
||||
icon_state = "wood_siding9"
|
||||
},
|
||||
@@ -2038,18 +2038,18 @@
|
||||
/turf/unsimulated/floor/plating,
|
||||
/area/centcom)
|
||||
"ahx" = (
|
||||
/obj/item/stool/padded,
|
||||
/turf/unsimulated/floor{
|
||||
icon_state = "wood"
|
||||
},
|
||||
/obj/item/stool/padded,
|
||||
/turf/unsimulated/floor{
|
||||
name = "plating";
|
||||
icon_state = "siding2"
|
||||
},
|
||||
/area/centcom/holding)
|
||||
"ahy" = (
|
||||
/obj/effect/decal/cleanable/dirt,
|
||||
/turf/template_noop,
|
||||
/obj/effect/decal/cleanable/dirt,
|
||||
/turf/simulated/wall/shuttle/dark/cardinal{
|
||||
icon_state = "swall_c"
|
||||
},
|
||||
@@ -2081,16 +2081,16 @@
|
||||
/turf/space/transit,
|
||||
/area/space)
|
||||
"ahD" = (
|
||||
/obj/effect/decal/cleanable/dirt,
|
||||
/turf/template_noop,
|
||||
/obj/effect/decal/cleanable/dirt,
|
||||
/turf/simulated/wall/shuttle/dark/cardinal{
|
||||
icon_state = "swall_c";
|
||||
dir = 8
|
||||
},
|
||||
/area/template_noop)
|
||||
"ahE" = (
|
||||
/obj/effect/decal/cleanable/dirt,
|
||||
/turf/template_noop,
|
||||
/obj/effect/decal/cleanable/dirt,
|
||||
/turf/simulated/wall/shuttle/dark/cardinal{
|
||||
icon_state = "swall_c";
|
||||
dir = 4
|
||||
@@ -19330,10 +19330,11 @@
|
||||
/area/shuttle/escape/centcom)
|
||||
"cZH" = (
|
||||
/obj/machinery/embedded_controller/radio/simple_docking_controller{
|
||||
checks_for_access = 1;
|
||||
frequency = 1380;
|
||||
id_tag = "arrival_shuttle";
|
||||
pixel_y = -25;
|
||||
req_one_access = list(13);
|
||||
req_one_access = list(101);
|
||||
tag_door = "arrival_shuttle_hatch"
|
||||
},
|
||||
/turf/simulated/floor/shuttle/dark_blue,
|
||||
@@ -33148,10 +33149,10 @@
|
||||
},
|
||||
/area/centcom/legion)
|
||||
"vdb" = (
|
||||
/turf/unsimulated/floor/plating,
|
||||
/obj/machinery/atmospherics/pipe/simple/visible{
|
||||
dir = 6
|
||||
},
|
||||
/turf/unsimulated/floor/plating,
|
||||
/turf/simulated/wall/shuttle/unique/tcfl{
|
||||
icon_state = "1,5"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user