mirror of
https://github.com/Yawn-Wider/YWPolarisVore.git
synced 2026-08-27 15:06:35 +01:00
Voreupdate
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user