diff --git a/code/modules/projectiles/guns/energy/laser_vr.dm b/code/modules/projectiles/guns/energy/laser_vr.dm index b7e4fe3a66a..0524169b0cf 100644 --- a/code/modules/projectiles/guns/energy/laser_vr.dm +++ b/code/modules/projectiles/guns/energy/laser_vr.dm @@ -35,17 +35,16 @@ /obj/item/weapon/gun/energy/imperial name = "imperial energy pistol" desc = "An elegant weapon developed by the Imperium Auream. Their weaponsmiths have cleverly found a way to make a gun that is only about the size of an average energy pistol, yet with the fire power of a laser carbine." + icon = 'icons/obj/gun_vr.dmi' + icon_override = 'icons/obj/gun_vr.dmi' icon_state = "ge_pistol" item_state = "ge_pistol" - fire_sound = 'sound/weapons/mandalorian.ogg' - icon = 'icons/obj/gun_vr.dmi' - item_icons = list(slot_r_hand_str = 'icons/obj/gun_vr.dmi', slot_l_hand_str = 'icons/obj/gun_vr.dmi') // WORK YOU FUCKING CUNT PIECE OF SHIT BASTARD STUPID BITCH ITEM ICON AAAAHHHH - item_state_slots = list(slot_r_hand_str = "ge_pistol_r", slot_l_hand_str = "ge_pistol_l") slot_flags = SLOT_BELT w_class = ITEMSIZE_NORMAL force = 10 origin_tech = list(TECH_COMBAT = 4, TECH_MAGNET = 2) matter = list(DEFAULT_WALL_MATERIAL = 2000) + fire_sound = 'sound/weapons/mandalorian.ogg' projectile_type = /obj/item/projectile/beam/imperial // Removed because gun64_vr.dmi guns don't work. diff --git a/code/modules/projectiles/guns/projectile/pistol_vr.dm b/code/modules/projectiles/guns/projectile/pistol_vr.dm index 91b28b9569e..0793c32d073 100644 --- a/code/modules/projectiles/guns/projectile/pistol_vr.dm +++ b/code/modules/projectiles/guns/projectile/pistol_vr.dm @@ -40,7 +40,9 @@ name = "\improper \"Giskard\" holdout pistol" desc = "The FS HG .380 \"Giskard\" can even fit into the pocket! Uses .380 rounds." icon = 'icons/obj/gun_vr.dmi' + icon_override = 'icons/obj/gun_vr.dmi' icon_state = "giskardcivil" + item_state = "giskardcivil" caliber = ".380" magazine_type = /obj/item/ammo_magazine/m380 allowed_magazines = list(/obj/item/ammo_magazine/m380) @@ -61,6 +63,7 @@ name = "\improper \"Olivaw\" holdout burst-pistol" desc = "The FS HG .380 \"Olivaw\" is a more advanced version of the \"Giskard\". This one seems to have a two-round burst-fire mode. Uses .380 rounds." icon_state = "olivawcivil" + item_state = "olivawcivil" firemodes = list( list(mode_name="semiauto", burst=1, fire_delay=1.2, move_delay=null, burst_accuracy=null, dispersion=null), list(mode_name="2-round bursts", burst=2, fire_delay=0.2, move_delay=4, burst_accuracy=list(0,-15), dispersion=list(1.2, 1.8)), diff --git a/code/modules/vore/resizing/sizegun_vr.dm b/code/modules/vore/resizing/sizegun_vr.dm index b25cea22915..053131042b7 100644 --- a/code/modules/vore/resizing/sizegun_vr.dm +++ b/code/modules/vore/resizing/sizegun_vr.dm @@ -6,8 +6,9 @@ name = "size gun" //I have no idea why this was called shrink ray when this increased and decreased size. desc = "A highly advanced ray gun with a knob on the side to adjust the size you desire. Warning: Do not insert into mouth." icon = 'icons/obj/gun_vr.dmi' - icon_state = "sizegun-shrink100" // Someone can probably do better. -Ace - item_state = null //so the human update icon uses the icon_state instead + icon_override = 'icons/obj/gun_vr.dmi' + icon_state = "sizegun-shrink100" + item_state = "sizegun-shrink" fire_sound = 'sound/weapons/wave.ogg' charge_cost = 240 projectile_type = /obj/item/projectile/beam/sizelaser @@ -41,6 +42,7 @@ set category = "Object" set src in view(1) + var/prev_size = size_set_to var/size_select = input("Put the desired size (25-200%), (1-600%) in dormitory areas.", "Set Size", size_set_to * 100) as num|null if(!size_select) return //cancelled @@ -50,6 +52,14 @@ to_chat(usr, "You set the size to [size_select]%") if(size_set_to < RESIZE_MINIMUM || size_set_to > RESIZE_MAXIMUM) to_chat(usr, "Note: Resizing limited to 25-200% automatically while outside dormatory areas.") //hint that we clamp it in resize + + if(size_set_to >= 1 && prev_size < 1) + item_state = modifystate = "sizegun-grow" + update_icon() + + else if(size_set_to < 1 && prev_size >= 1) + item_state = modifystate = "sizegun-shrink" + update_icon() /obj/item/weapon/gun/energy/sizegun/examine(mob/user) . = ..() diff --git a/icons/obj/gun_vr.dmi b/icons/obj/gun_vr.dmi index b083843f412..04fa9767bf7 100644 Binary files a/icons/obj/gun_vr.dmi and b/icons/obj/gun_vr.dmi differ