Bleeding edgy refresh (#303)
* not code stuff * other things * global vars, defines, helpers * onclick hud stuff, orphans, world.dm * controllers and datums * game folder * everything not client/mobs in modules * client folder * stage 1 mob stuff * simple animal things * silicons * carbon things * ayylmaos and monkeys * hyoomahn * icons n shit * sprite fixes * compile fixes * some fixes I cherrypicked. * qdel fixes * forgot brain refractors
This commit is contained in:
@@ -43,10 +43,10 @@
|
||||
return
|
||||
if(istype(W, /obj/item/weapon/wrench))
|
||||
if(anchored)
|
||||
user << "Unweld the [src] first!"
|
||||
to_chat(user, "Unweld the [src] first!")
|
||||
if(do_after(user, 80*W.toolspeed, target = src))
|
||||
playsound(src.loc, W.usesound, 50, 1)
|
||||
user << "You dismantle the [src]."
|
||||
to_chat(user, "You dismantle the [src].")
|
||||
new framebuildstacktype(loc, framebuildstackamount)
|
||||
new buildstacktype(loc, buildstackamount)
|
||||
qdel(src)
|
||||
@@ -63,7 +63,7 @@
|
||||
if(!src || !WT.isOn())
|
||||
return
|
||||
anchored = 1
|
||||
user << "<span class='notice'>You weld \the [src] to the floor.</span>"
|
||||
to_chat(user, "<span class='notice'>You weld \the [src] to the floor.</span>")
|
||||
if(1)
|
||||
if (WT.remove_fuel(0,user))
|
||||
playsound(src.loc, 'sound/items/Welder2.ogg', 50, 1)
|
||||
@@ -74,7 +74,7 @@
|
||||
if(!src || !WT.isOn())
|
||||
return
|
||||
anchored = 0
|
||||
user << "<span class='notice'>You cut \the [src] free from the floor.</span>"
|
||||
to_chat(user, "<span class='notice'>You cut \the [src] free from the floor.</span>")
|
||||
//Finishing the frame
|
||||
else if(istype(W,/obj/item/stack/sheet))
|
||||
if(finished)
|
||||
@@ -82,7 +82,7 @@
|
||||
var/obj/item/stack/sheet/S = W
|
||||
if(istype(W, /obj/item/stack/sheet/glass))
|
||||
if(S.get_amount() < 5)
|
||||
user << "<span class='warning'>You need five sheets of glass to create a reflector!</span>"
|
||||
to_chat(user, "<span class='warning'>You need five sheets of glass to create a reflector!</span>")
|
||||
return
|
||||
else
|
||||
S.use(5)
|
||||
@@ -90,7 +90,7 @@
|
||||
qdel (src)
|
||||
if(istype(W,/obj/item/stack/sheet/rglass))
|
||||
if(S.get_amount() < 10)
|
||||
user << "<span class='warning'>You need ten sheets of reinforced glass to create a double reflector!</span>"
|
||||
to_chat(user, "<span class='warning'>You need ten sheets of reinforced glass to create a double reflector!</span>")
|
||||
return
|
||||
else
|
||||
S.use(10)
|
||||
@@ -116,7 +116,7 @@
|
||||
if(usr.stat || !usr.canmove || usr.restrained())
|
||||
return
|
||||
if (src.anchored)
|
||||
usr << "<span class='warning'>It is fastened to the floor!</span>"
|
||||
to_chat(usr, "<span class='warning'>It is fastened to the floor!</span>")
|
||||
return 0
|
||||
src.setDir(turn(src.dir, 270))
|
||||
return 1
|
||||
@@ -125,7 +125,7 @@
|
||||
/obj/structure/reflector/AltClick(mob/user)
|
||||
..()
|
||||
if(!user.canUseTopic(src, be_close=TRUE))
|
||||
user << "<span class='warning'>You can't do that right now!</span>"
|
||||
to_chat(user, "<span class='warning'>You can't do that right now!</span>")
|
||||
return
|
||||
else
|
||||
rotate()
|
||||
|
||||
Reference in New Issue
Block a user