Ported Uplinks, Door stuff, Hacktools, Compressed Matter implant.

This commit is contained in:
SkyMarshal
2012-01-27 20:15:06 -07:00
parent 21fe68972f
commit 12afd61ffc
43 changed files with 2399 additions and 557 deletions
+14
View File
@@ -342,6 +342,20 @@
origin_tech = "magnets=1;engineering=1"
var/obj/machinery/telecomms/buffer // simple machine buffer for device linkage
/obj/item/device/hacktool
name = "hacktool"
icon_state = "hacktool"
flags = FPRINT | TABLEPASS | CONDUCT
var/in_use = 0
force = 5.0
w_class = 2.0
throwforce = 5.0
throw_range = 15
throw_speed = 3
desc = "An item of dubious origins, with wires and antennas protruding out of it."
m_amt = 60
g_amt = 20
/obj/item/blueprints
name = "station blueprints"
desc = "Blueprints of the station. There's stamp \"Classified\" and several coffee stains on it."
+3 -1
View File
@@ -6,13 +6,15 @@
opacity = 1
density = 1
layer = 2.7
anchored = 1
var/secondsElectrified = 0
var/visible = 1
var/p_open = 0
var/operating = 0
anchored = 1
var/autoclose = 0
var/glass = 0
var/forcecrush = 0
var/holdopen = 0
/obj/machinery/door/firedoor
+1
View File
@@ -59,6 +59,7 @@
desc = "Full of masks and emergency anesthetic tanks."
/obj/item/weapon/storage/box/syndicate
icon_state = "box_of_doom"
/obj/item/weapon/storage/box/ert
name = "medical box"
+26 -8
View File
@@ -25,20 +25,36 @@
return A
return 0
/proc/in_range(source, user)
/proc/get_random_turf(var/atom/A, var/list/L)
while(L.len > 0)
var/dir = pick(L)
L -= dir
var/turf/T = get_step(A,dir)
var/possible = 1
if(T.density == 0)
for(var/obj/I in T)
if(I.density == 1)
possible = 0
break
if(possible)
return T
return
/proc/in_range(source, user, telepathy=1)
if(get_dist(source, user) <= 1)
return 1
/*
else//TK TODO: remove this
if(istype(user, /mob/living/carbon))
if(user:mutations & TK && get_dist(source, user) <= 7)
if(user:equipped()) return 0
else
if (istype(user, /mob/living/carbon))
if (user:mutations & telepathy)
var/X = source:x
var/Y = source:y
var/Z = source:z
spawn(0)
//I really shouldnt put this here but i dont have a better idea
var/obj/effect/overlay/O = new /obj/effect/overlay ( locate(X,Y,Z) )
var/obj/effect/overlay/O = new /obj/effect/overlay( locate(X,Y,Z) )
O.name = "sparkles"
O.anchored = 1
O.density = 0
@@ -49,7 +65,9 @@
flick("empdisable",O)
spawn(5)
del(O)
return 1*/
return 1
return 0 //not in range and not telekinetic
+21 -1
View File
@@ -1470,4 +1470,24 @@ proc/get_opposite(var/checkdir)
if(SOUTHEAST)
return NORTHWEST
if(SOUTHWEST)
return NORTHEAST
return NORTHEAST
/proc/stringsplit(txt, character)
var
cur_text = txt
last_found = 1
found_char = findtext(cur_text,character)
list/list = list()
if(found_char)
var/fs = copytext(cur_text,last_found,found_char)
list += fs
last_found = found_char+length(character)
found_char = findtext(cur_text,character,last_found)
while(found_char)
var
found_string = copytext(cur_text,last_found,found_char)
last_found = found_char+length(character)
list += found_string
found_char = findtext(cur_text,character,last_found)
list += copytext(cur_text,last_found,length(cur_text)+1)
return list