mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-17 01:53:35 +01:00
Misc Stuff:
* False walls now should update their lighting properly. * False Walls now require 2 metal to finish instead of 1. NO MORE FREE METAL FOR YOU. * False R-walls are now creatable. Instead of using regular metal when making a false wall, just use R-metal. It's still functionally identical to a regular false wall. * Reinforcing Girders with R-Metal actually uses up a sheet of r-metal rather then just fairy dust. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@508 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -26,14 +26,22 @@ obj/structure
|
||||
new /obj/item/weapon/sheet/metal(get_turf(src))
|
||||
del(src)
|
||||
|
||||
else if(istype(W, /obj/item/weapon/sheet/metal) && istype(src,/obj/structure/girder/displaced))
|
||||
W:amount -= 1
|
||||
else if((istype(W, /obj/item/weapon/sheet/metal)) && (W:amount >= 2) && istype(src,/obj/structure/girder/displaced))
|
||||
W:amount -= 2
|
||||
if(W:amount <= 0)
|
||||
del(W)
|
||||
user << "\blue You create a false wall! Push on it to open or close the passage."
|
||||
new /obj/falsewall (src.loc)
|
||||
del(src)
|
||||
|
||||
else if(istype(W, /obj/item/weapon/sheet/r_metal) && istype(src,/obj/structure/girder/displaced))
|
||||
W:amount -= 1
|
||||
if(W:amount <= 0)
|
||||
del(W)
|
||||
user << "\blue You create a false r wall! Push on it to open or close the passage."
|
||||
new /obj/falserwall (src.loc)
|
||||
del(src)
|
||||
|
||||
else if(istype(W, /obj/item/weapon/screwdriver) && state == 2 && istype(src,/obj/structure/girder/reinforced))
|
||||
playsound(src.loc, 'Screwdriver.ogg', 100, 1)
|
||||
var/turf/T = get_turf(user)
|
||||
@@ -106,6 +114,9 @@ obj/structure
|
||||
user << "\blue Now reinforcing girders"
|
||||
sleep(60)
|
||||
user << "\blue Girders reinforced!"
|
||||
W:amount--
|
||||
if (W:amount <= 0)
|
||||
del(W)
|
||||
new/obj/structure/girder/reinforced( src.loc )
|
||||
del(src)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user