TG: -Individual dorms now have a button inside that bolts/unbolts the door

-Door control buttons give the user a message if they lack the access
-Virology door controls now properly restrict access
-Large beaker cost reduced to 5000u glass
-Shooooorts! They're comfy and easy to wear!
Revision: r3602
Author: 	 ericgfw...@hotmail.com
This commit is contained in:
Erthilo
2012-05-17 22:17:02 +01:00
parent 5cbe037881
commit 17fe0e9ac1
3 changed files with 10 additions and 6 deletions
+4 -1
View File
@@ -175,7 +175,10 @@ obj/machinery/access_button
icon_state = "access_button_off"
attack_hand(mob/user)
if(radio_connection)
if(!allowed(user))
user << "\red Access Denied"
else if(radio_connection)
var/datum/signal/signal = new
signal.transmission_method = 1 //radio signal
signal.data["tag"] = master_tag
+5 -4
View File
@@ -63,6 +63,7 @@
return
if(!allowed(user) && (wires & 1))
user << "\red Access Denied"
flick("doorctrl-denied",src)
return
@@ -81,8 +82,8 @@
if(specialfunctions & IDSCAN)
D.aiDisabledIdScanner = 1
if(specialfunctions & BOLTS)
spawn(5)
D.locked = 1
D.locked = 1
D.update_icon()
if(specialfunctions & SHOCK)
D.secondsElectrified = -1
@@ -95,8 +96,8 @@
if(specialfunctions & IDSCAN)
D.aiDisabledIdScanner = 0
if(specialfunctions & BOLTS)
spawn(5)
D.locked = 0
D.locked = 0
D.update_icon()
if(specialfunctions & SHOCK)
D.secondsElectrified = 0
+1 -1
View File
@@ -2034,7 +2034,7 @@
icon_state = "beakerlarge"
item_state = "beaker"
m_amt = 0
g_amt = 15000
g_amt = 5000
volume = 100
amount_per_transfer_from_this = 10
possible_transfer_amounts = list(5,10,15,25,30,50,100)