Merge branch 'dev' of https://github.com/Baystation12/Baystation12 into robust-squash

Conflicts: lots
This commit is contained in:
Chinsky
2014-06-29 19:11:09 +04:00
536 changed files with 32466 additions and 11160 deletions

View File

@@ -120,8 +120,9 @@
return 1
/obj/structure/closet/proc/toggle(mob/user as mob)
var/orig = src.opened
. = src.opened ? src.close() : src.open()
if(!.)
if(. == orig)
user << "<span class='notice'>It won't budge!</span>"
return

View File

@@ -99,7 +99,6 @@
new /obj/item/clothing/shoes/white(src)
// new /obj/item/weapon/cartridge/medical(src)
new /obj/item/device/radio/headset/headset_med(src)
new /obj/item/weapon/storage/belt/medical(src)
return
@@ -140,7 +139,6 @@
new /obj/item/clothing/gloves/latex(src)
new /obj/item/clothing/shoes/brown (src)
new /obj/item/device/radio/headset/heads/cmo(src)
new /obj/item/weapon/storage/belt/medical(src)
new /obj/item/device/flash(src)
new /obj/item/weapon/reagent_containers/hypospray(src)
return

View File

@@ -124,7 +124,6 @@
/obj/item/stack/sheet/mineral/phoron,
/obj/item/stack/sheet/mineral/uranium,
/obj/item/stack/sheet/mineral/diamond,
/obj/item/stack/sheet/mineral/clown,
/obj/item/stack/sheet/plasteel,
/obj/item/stack/rods
)

View File

@@ -7,6 +7,7 @@
icon_state = "crate"
icon_opened = "crateopen"
icon_closed = "crate"
climbable = 1
// mouse_drag_pointer = MOUSE_ACTIVE_POINTER //???
var/rigged = 0
@@ -36,7 +37,11 @@
O.loc = get_turf(src)
icon_state = icon_opened
src.opened = 1
return 1
if(climbable)
structure_shaken()
return
/obj/structure/closet/crate/close()
if(!src.opened)