Changes code so the Warden's shotgun updates in-hands. Fixes Enviro Sensors on LL.

This commit is contained in:
Captain277
2021-02-18 07:28:21 -08:00
parent 4a93253125
commit 91a74ce6b6
7 changed files with 10 additions and 10 deletions

View File

@@ -71,7 +71,6 @@
name = "warden's shotgun"
desc = "A heavily modified Hephaestus Industries KS-40. This version bears multiple after-market mods, including a laser sight to help compensate for its shortened stock. 'Property of the Warden' has been etched into the side of the reciever. Uses 12g rounds."
icon_state = "shotgun_w"
item_state = "sawnshotgun"
slot_flags = SLOT_BELT|SLOT_HOLSTER
w_class = ITEMSIZE_NORMAL
ammo_type = /obj/item/ammo_casing/a12g/beanbag
@@ -105,10 +104,13 @@ obj/item/gun/projectile/shotgun/pump/combat/warden/verb/rename_gun()
options["KS-40 CQC"] = "shotgun_w"
options["NT Limted Run CQ-6"] = "shotgun_w_corp"
options["WT Sabot Stinger"] = "shotgun_w_sting"
options["Donksoft Prank Kit"] = "shotgun_w_donk"
var/choice = input(M,"Choose your sprite!","Resprite Gun") in options
if(src && choice && !M.stat && in_range(M,src))
icon_state = options[choice]
item_state = options[choice]
to_chat(M, "Your gun is now sprited as [choice]. Lock and load.")
update_icon()
return 1
/obj/item/gun/projectile/shotgun/doublebarrel

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 59 KiB

View File

@@ -434,14 +434,6 @@
/obj/machinery/microwave,
/turf/simulated/floor/wood,
/area/lavaland/base/common)
"jK" = (
/obj/effect/map_helper/airlock/sensor/ext_sensor,
/obj/machinery/airlock_sensor/airlock_exterior{
dir = 4;
pixel_x = -25
},
/turf/simulated/floor/outdoors/lavaland,
/area/lavaland/base)
"jY" = (
/obj/structure/closet/secure_closet/personal,
/obj/machinery/light/small{
@@ -718,6 +710,12 @@
/obj/machinery/door/airlock/glass_external{
req_one_access = list(48)
},
/obj/machinery/airlock_sensor/airlock_exterior{
dir = 4;
pixel_x = 10;
pixel_y = 25
},
/obj/effect/map_helper/airlock/sensor/ext_sensor,
/turf/simulated/floor/plating,
/area/lavaland/base/common)
"oU" = (
@@ -9949,7 +9947,7 @@ Hr
Hr
Hr
Hr
jK
Hr
nw
Ma
hS