Skip to content

Commit

Permalink
Небольшие изменения плазма оружия (TauCetiStation#11773)
Browse files Browse the repository at this point in the history
  • Loading branch information
NinjaPikachuska committed Jul 29, 2023
1 parent 7f1692b commit 15cdf98
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
6 changes: 3 additions & 3 deletions code/modules/clothing/suits/armor.dm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/obj/item/clothing/suit/armor
allowed = list(/obj/item/weapon/gun/energy,/obj/item/weapon/reagent_containers/spray/pepper,/obj/item/weapon/gun/projectile,/obj/item/ammo_box/magazine,/obj/item/ammo_casing,/obj/item/weapon/melee/baton,/obj/item/weapon/handcuffs,/obj/item/clothing/head/helmet)
allowed = list(/obj/item/weapon/gun/energy,/obj/item/weapon/gun/plasma,/obj/item/weapon/reagent_containers/spray/pepper,/obj/item/weapon/gun/projectile,/obj/item/ammo_box/magazine,/obj/item/ammo_casing,/obj/item/weapon/melee/baton,/obj/item/weapon/handcuffs,/obj/item/clothing/head/helmet)
body_parts_covered = UPPER_TORSO|LOWER_TORSO
pierce_protection = UPPER_TORSO|LOWER_TORSO
cold_protection = UPPER_TORSO|LOWER_TORSO
Expand Down Expand Up @@ -42,7 +42,7 @@
icon_state = "armorsec"
item_state = "armor"
blood_overlay_type = "armor"
allowed = list(/obj/item/weapon/gun/energy,/obj/item/weapon/reagent_containers/spray/pepper,/obj/item/weapon/gun/projectile,/obj/item/ammo_box/magazine,/obj/item/ammo_casing,/obj/item/weapon/melee/baton,/obj/item/weapon/handcuffs,/obj/item/clothing/head/helmet)
allowed = list(/obj/item/weapon/gun/energy,/obj/item/weapon/gun/plasma,/obj/item/weapon/reagent_containers/spray/pepper,/obj/item/weapon/gun/projectile,/obj/item/ammo_box/magazine,/obj/item/ammo_casing,/obj/item/weapon/melee/baton,/obj/item/weapon/handcuffs,/obj/item/clothing/head/helmet)
body_parts_covered = UPPER_TORSO|LOWER_TORSO
pierce_protection = UPPER_TORSO|LOWER_TORSO
cold_protection = UPPER_TORSO|LOWER_TORSO
Expand Down Expand Up @@ -197,7 +197,7 @@
pierce_protection = UPPER_TORSO|LOWER_TORSO|ARMS|LEGS
slowdown = 0.2
armor = list(melee = 80, bullet = 70, laser = 70,energy = 70, bomb = 70, bio = 0, rad = 0)
allowed = list(/obj/item/weapon/gun/energy,/obj/item/weapon/gun/projectile,/obj/item/ammo_box/magazine,/obj/item/ammo_casing,/obj/item/weapon/melee/baton,/obj/item/clothing/head/helmet, /obj/item/weapon/tank)
allowed = list(/obj/item/weapon/gun/energy,/obj/item/weapon/gun/plasma,/obj/item/weapon/gun/projectile,/obj/item/ammo_box/magazine,/obj/item/ammo_casing,/obj/item/weapon/melee/baton,/obj/item/clothing/head/helmet, /obj/item/weapon/tank)
flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT|HIDETAIL
cold_protection = UPPER_TORSO|LOWER_TORSO|ARMS|LEGS
min_cold_protection_temperature = SPACE_SUIT_MIN_COLD_PROTECTION_TEMPERATURE
Expand Down
2 changes: 1 addition & 1 deletion code/modules/clothing/suits/utility.dm
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
/obj/item/clothing/suit/bomb_suit/security
icon_state = "bombsuitsec"
item_state = "bombsuitsec"
allowed = list(/obj/item/weapon/gun/energy,/obj/item/weapon/melee/baton,/obj/item/weapon/handcuffs)
allowed = list(/obj/item/weapon/gun/energy,/obj/item/weapon/gun/plasma,/obj/item/weapon/melee/baton,/obj/item/weapon/handcuffs)
body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|ARMS

/*
Expand Down
4 changes: 2 additions & 2 deletions code/modules/holidays/new_year/clothing.dm
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
icon_state = "coatcaptain"
hoodtype = /obj/item/clothing/head/wintercoat/captain
armor = list(melee = 35, bullet = 25, laser = 20, energy = 10, bomb = 15, bio = 0, rad = 0)
allowed = list(/obj/item/weapon/gun/energy,/obj/item/weapon/reagent_containers/spray/pepper,/obj/item/weapon/gun/projectile,/obj/item/ammo_box,/obj/item/ammo_casing,/obj/item/weapon/melee/baton,/obj/item/weapon/melee/telebaton)
allowed = list(/obj/item/weapon/gun/energy,/obj/item/weapon/gun/plasma,/obj/item/weapon/reagent_containers/spray/pepper,/obj/item/weapon/gun/projectile,/obj/item/ammo_box,/obj/item/ammo_casing,/obj/item/weapon/melee/baton,/obj/item/weapon/melee/telebaton)

/obj/item/clothing/head/wintercoat/captain
name = "captain's winter hood"
Expand All @@ -64,7 +64,7 @@
icon_state = "coatsecurity"
hoodtype = /obj/item/clothing/head/wintercoat/security
armor = list(melee = 50, bullet = 45, laser = 40, energy = 25, bomb = 25, bio = 0, rad = 0)
allowed = list(/obj/item/weapon/gun/energy,/obj/item/weapon/reagent_containers/spray/pepper,/obj/item/weapon/gun/projectile,/obj/item/ammo_box,/obj/item/ammo_casing,/obj/item/weapon/melee/baton,/obj/item/weapon/melee/telebaton)
allowed = list(/obj/item/weapon/gun/energy,/obj/item/weapon/gun/plasma,/obj/item/weapon/reagent_containers/spray/pepper,/obj/item/weapon/gun/projectile,/obj/item/ammo_box,/obj/item/ammo_casing,/obj/item/weapon/melee/baton,/obj/item/weapon/melee/telebaton)

/obj/item/clothing/head/wintercoat/security
name = "security winter hood"
Expand Down
4 changes: 1 addition & 3 deletions code/modules/projectiles/guns/plasma/plasma.dm
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,10 @@
icon_state = "plasma10_car"
item_state = "plasma10_car"
fire_delay = 1
w_class = SIZE_NORMAL
origin_tech = "combat=3;magnets=2"
fire_sound = 'sound/weapons/guns/plasma10_shot.ogg'
recoil = FALSE
can_be_holstered = FALSE
two_hand_weapon = ONLY_TWOHAND

var/overcharge_fire_sound = 'sound/weapons/guns/plasma10_overcharge_shot.ogg'

Expand Down Expand Up @@ -50,7 +48,7 @@
PLASMAGUN_OVERCHARGE_TYPE = /obj/item/ammo_casing/plasma/overcharge/massive
)

w_class = SIZE_BIG
w_class = SIZE_NORMAL
fire_delay = 15
number_of_shots = 7 // It can be more than that (but no more than 1 extra), if there is a bit of charge left after 7th shot.
max_projectile_per_fire = 5
Expand Down
Binary file modified icons/mob/belt_mirror.dmi
Binary file not shown.

0 comments on commit 15cdf98

Please sign in to comment.