Improvised shotgun, double internal boxes and map fixes (#3171)

-fixes some issues with sawing off the ghetto shotgun
-adds cargo access to the maint leading to the elevator, to stop people from breaking so easily into cargo
-Fixes #3169
-Fixes #3158
-Fixes #3157
-Fixes #3147
-Fixes #3148
This commit is contained in:
Alberyk
2017-07-27 15:33:16 -03:00
committed by Erki
parent 7e067bb780
commit 67addca62b
7 changed files with 57 additions and 57 deletions
@@ -687,7 +687,7 @@ var/global/list/robot_modules = list(
channels = list("Supply" = 1)
networks = list(NETWORK_MINE)
sprites = list(
"Basic" = "robotMine",
"Basic" = "robotmine",
"Advanced Droid" = "droid-miner",
"Sleek" = "sleekminer",
"Treadhead" = "miner",
@@ -32,7 +32,7 @@
/obj/item/weapon/gun/projectile/shotgun/improvised/attackby(var/obj/item/A as obj, mob/user as mob)
if(w_class == 3 && (istype(A, /obj/item/weapon/circular_saw) || istype(A, /obj/item/weapon/melee/energy) || istype(A, /obj/item/weapon/gun/energy/plasmacutter)))
if(istype(A, /obj/item/weapon/circular_saw) || istype(A, /obj/item/weapon/melee/energy) || istype(A, /obj/item/weapon/gun/energy/plasmacutter) && w_class != 3)
user << "<span class='notice'>You begin to shorten the barrel of \the [src].</span>"
if(loaded.len)
for(var/i in 1 to max_shells)
@@ -41,7 +41,7 @@
return
if(do_after(user, 30))
icon_state = "ishotgunsawn"
item_state = "sawnshotgun"
item_state = "ishotgunsawn"
w_class = 3
force = 5
slot_flags &= ~SLOT_BACK
@@ -227,5 +227,5 @@
fire_delay = 2
dispersion = list(1.0, -1.0, 2.0, -2.0)
jam_chance = 20
firemodes = null