Improved window code, mostly formatting and styles, but also general improvements.

I've tested it a fair bit, but there may be bugs, so please report those if you run into them.

Added an ismetroidadult() helper

Improved L6 code.
Made the syndie shuttle console impervious to bullets.
Made mirrors breakable.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5187 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
petethegoat@gmail.com
2012-11-25 17:09:38 +00:00
parent 8ae9dfd947
commit dbd759477e
5 changed files with 213 additions and 218 deletions

View File

@@ -11,11 +11,11 @@
/obj/item/weapon/gun/projectile/automatic/mini_uzi
name = "mini-uzi"
name = "Uzi"
desc = "A lightweight, fast firing gun, for when you want someone dead. Uses .45 rounds."
icon_state = "mini-uzi"
w_class = 3.0
max_shells = 20
max_shells = 16
caliber = ".45"
origin_tech = "combat=5;materials=2;syndicate=8"
ammo_type = "/obj/item/ammo_casing/c45"
@@ -103,7 +103,7 @@
if(loc != user)
..()
return //let them pick it up
if(!cover_open)
if(!cover_open || (cover_open && !mag_inserted))
..()
else if(cover_open && mag_inserted)
//drop the mag