Prevents every gun under the sun from lying about alt skins (#16205)

This commit is contained in:
Qwertytoforty
2021-06-18 21:14:33 +01:00
committed by GitHub
parent 45449da433
commit 810a94e48b
4 changed files with 5 additions and 9 deletions
+1 -1
View File
@@ -40,7 +40,7 @@
var/randomspread = 1
var/unique_rename = TRUE //allows renaming with a pen
var/unique_reskin = TRUE //allows one-time reskinning
var/unique_reskin = FALSE //allows one-time reskinning
var/current_skin = null //the skin choice if we had a reskin
var/list/options = list()
@@ -6,7 +6,6 @@
ammo_type = list(/obj/item/ammo_casing/energy/kinetic)
cell_type = /obj/item/stock_parts/cell/emproof
needs_permit = 0
unique_rename = 1
origin_tech = "combat=3;powerstorage=3;engineering=3"
weapon_weight = WEAPON_LIGHT
can_flashlight = 1
@@ -102,7 +102,7 @@
suppressed = 1
ammo_type = list(/obj/item/ammo_casing/energy/bolt)
weapon_weight = WEAPON_LIGHT
unique_rename = 0
unique_rename = FALSE
overheat_time = 20
holds_charge = TRUE
unique_frequency = TRUE
@@ -92,8 +92,7 @@
name = ".38 Mars Special"
icon_state = "detective"
mag_type = /obj/item/ammo_box/magazine/internal/cylinder/rev38
unique_rename = 1
unique_reskin = 1
unique_reskin = TRUE
/obj/item/gun/projectile/revolver/detective/New()
..()
@@ -343,8 +342,7 @@
fire_sound = 'sound/weapons/gunshots/gunshot_shotgun.ogg'
sawn_desc = "Omar's coming!"
can_holster = FALSE
unique_rename = 1
unique_reskin = 1
unique_reskin = TRUE
/obj/item/gun/projectile/revolver/doublebarrel/New()
..()
@@ -407,8 +405,7 @@
mag_type = /obj/item/ammo_box/magazine/internal/shot/improvised
fire_sound = 'sound/weapons/gunshots/gunshot_shotgun.ogg'
sawn_desc = "I'm just here for the gasoline."
unique_rename = 0
unique_reskin = 0
unique_reskin = FALSE
var/slung = 0
/obj/item/gun/projectile/revolver/doublebarrel/improvised/attackby(obj/item/A, mob/user, params)