mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 13:37:58 +01:00
Added access restrictions on the syndie shuttle airlocks and controls.
Only agent cards have access to these equipment. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5404 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -458,7 +458,7 @@
|
||||
|
||||
/obj/item/weapon/card/id/syndicate
|
||||
name = "agent card"
|
||||
access = list(access_maint_tunnels)
|
||||
access = list(access_maint_tunnels, access_syndicate)
|
||||
origin_tech = "syndicate=3"
|
||||
|
||||
/obj/item/weapon/card/id/syndicate/afterattack(var/obj/item/weapon/O as obj, mob/user as mob)
|
||||
|
||||
@@ -200,8 +200,14 @@
|
||||
name = "ProComp Executive IIc"
|
||||
desc = "The Syndicate operate on a tight budget. Operates external airlocks."
|
||||
title = "External Airlock Controls"
|
||||
req_access = list(access_syndicate)
|
||||
|
||||
|
||||
/obj/machinery/computer/pod/old/syndicate/attack_hand(var/mob/user as mob)
|
||||
if(!allowed(user))
|
||||
user << "\red Access Denied"
|
||||
return
|
||||
else
|
||||
..()
|
||||
|
||||
/obj/machinery/computer/pod/old/swf
|
||||
name = "Magix System IV"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
name = "syndicate shuttle terminal"
|
||||
icon = 'icons/obj/computer.dmi'
|
||||
icon_state = "syndishuttle"
|
||||
req_access = list()
|
||||
req_access = list(access_syndicate)
|
||||
var/area/curr_location
|
||||
var/moving = 0
|
||||
var/lastMove = 0
|
||||
@@ -47,7 +47,7 @@
|
||||
|
||||
/obj/machinery/computer/syndicate_station/attack_hand(mob/user as mob)
|
||||
if(!allowed(user))
|
||||
user << "<span class='notice'>Access Denied.</span>"
|
||||
user << "\red Access Denied"
|
||||
return
|
||||
|
||||
user.set_machine(src)
|
||||
|
||||
@@ -48,6 +48,13 @@ Stuff which is in development and not yet visible to players or just code relate
|
||||
should be listed in the changelog upon commit tho. Thanks. -->
|
||||
|
||||
<!-- To take advantage of the pretty new format (well it was new when I wrote this anyway), open the "add-to-changelog.html" file in any browser and add the stuff and then generate the html code and paste it here -->
|
||||
<div class="commit sansserif">
|
||||
<h2 class="date">26 December 2012</h2>
|
||||
<h3 class="author">Ikarrus updated:</h3>
|
||||
<ul class="changes bgimages16">
|
||||
<li class="rscadd">An agent card is now required to use doors and controls on the Syndicate Shuttle (Nuke).</li>
|
||||
</ul>
|
||||
|
||||
<div class="commit sansserif">
|
||||
<h2 class="date">23 December 2012</h2>
|
||||
<h3 class="author">Giacom updated:</h3>
|
||||
|
||||
+4581
-4581
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user