mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-26 01:52:29 +00:00
Fixed issue 222.
Improved closet/secure closet/crate code a bit. (Updated the paths on the map.) git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2585 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
var/obj/screen/close/closer = null
|
||||
var/icon_locking = "secureb"
|
||||
var/icon_sparking = "securespark"
|
||||
var/icon_open = "secure0"
|
||||
var/icon_opened = "secure0"
|
||||
var/locked = 1
|
||||
var/code = ""
|
||||
var/l_code = null
|
||||
@@ -216,7 +216,7 @@
|
||||
else if ((src.code == src.l_code) && (src.emagged == 0) && (src.l_set == 1))
|
||||
src.locked = 0
|
||||
src.overlays = null
|
||||
overlays += image('storage.dmi', icon_open)
|
||||
overlays += image('storage.dmi', icon_opened)
|
||||
src.code = null
|
||||
else
|
||||
src.code = "ERROR"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
name = "secure safe"
|
||||
icon = 'storage.dmi'
|
||||
icon_state = "safe"
|
||||
icon_open = "safe0"
|
||||
icon_opened = "safe0"
|
||||
icon_locking = "safeb"
|
||||
icon_sparking = "safespark"
|
||||
flags = FPRINT | TABLEPASS
|
||||
|
||||
Reference in New Issue
Block a user