Voreupdate

This commit is contained in:
izac112
2021-07-19 09:12:02 +02:00
248 changed files with 427 additions and 235 deletions
@@ -17,7 +17,7 @@
if(L && (ishuman(L) || L.isMonkey() || iscorgi(L)))
if(L.buckled)
L.buckled = 0
L.anchored = 0
L.anchored = FALSE
if(L.client)
L.client.perspective = EYE_PERSPECTIVE
L.client.eye = src
+1 -1
View File
@@ -37,7 +37,7 @@
/obj/structure/displaycase/proc/healthcheck()
if (src.health <= 0)
if (!( src.destroyed ))
src.density = 0
src.density = FALSE
src.destroyed = 1
new /obj/item/weapon/material/shard( src.loc )
playsound(src, "shatter", 70, 1)
+2 -2
View File
@@ -25,7 +25,7 @@
if(istype(W, /obj/item/target))
density = FALSE
W.density = 1
W.density = TRUE
user.remove_from_mob(W)
W.loc = loc
W.layer = ABOVE_JUNK_LAYER
@@ -37,7 +37,7 @@
// taking pinned targets off!
if(pinned_target)
density = TRUE
pinned_target.density = 0
pinned_target.density = FALSE
pinned_target.layer = OBJ_LAYER
pinned_target.loc = user.loc
@@ -113,7 +113,7 @@
if(do_after(user, 40 * W.toolspeed))
if(!src) return
to_chat(user,"<span class='notice'>You've secured the windoor assembly!</span>")
src.anchored = 1
src.anchored = TRUE
step = 0
//Unwrenching an unsecure assembly un-anchors it. Step 4 undone
@@ -124,7 +124,7 @@
if(do_after(user, 40 * W.toolspeed))
if(!src) return
to_chat(user,"<span class='notice'>You've unsecured the windoor assembly!</span>")
src.anchored = 0
src.anchored = FALSE
step = null
//Adding cable to the assembly. Step 5 complete.
@@ -212,7 +212,7 @@
windoor.icon_state = "rightsecureopen"
windoor.base_state = "rightsecure"
windoor.set_dir(src.dir)
windoor.density = 0
windoor.density = FALSE
if(created_name)
windoor.name = created_name
spawn(0)
@@ -234,7 +234,7 @@
windoor.icon_state = "rightopen"
windoor.base_state = "right"
windoor.set_dir(src.dir)
windoor.density = 0
windoor.density = FALSE
if(created_name)
windoor.name = created_name
spawn(0)