Skip to content

Commit

Permalink
crates!
Browse files Browse the repository at this point in the history
  • Loading branch information
FalloutFalcon committed Apr 29, 2024
1 parent 4a11781 commit db3c264
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
28 changes: 28 additions & 0 deletions code/modules/cargo/packs/gun.dm
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,31 @@
cost = 5000
contains = list(/obj/item/gun/ballistic/automatic/assault/skm)
crate_name = "auto rifle crate"

/datum/supply_pack/gun/attachment/rail_light
name = "Tactical Rail Light Crate"
desc = "Rail mounted gun light for better visibility down range."
cost = 250
contains = list(/obj/item/attachment/rail_light)
crate_name = "rail light crate"

/datum/supply_pack/gun/attachment/laser_sight
name = "Laser Sight Crate"
desc = "Laser sight for better accuracy down range."
cost = 250
contains = list(/obj/item/attachment/laser_sight)
crate_name = "laser sight crate"

/datum/supply_pack/gun/attachment/bayonet
name = "Bayonet Crate"
desc = "Bayonet for close quarters combat."
cost = 250
contains = list(/obj/item/attachment/bayonet)
crate_name = "bayonet crate"

/datum/supply_pack/gun/attachment/silencer
name = "Silencer Crate"
desc = "Silencer for stealthy operations."
cost = 250
contains = list(/obj/item/attachment/silencer)
crate_name = "silencer crate"
2 changes: 0 additions & 2 deletions code/modules/projectiles/guns/ballistic.dm
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
. += "[icon_state]_bolt[bolt_locked ? "_locked" : ""]"
if (bolt_type == BOLT_TYPE_OPEN && bolt_locked)
. += "[icon_state]_bolt"
if (suppressed)
. += "[icon_state]_suppressor"
if (magazine)
if (special_mags)
. += "[icon_state]_mag_[magazine.base_icon_state]"
Expand Down
Binary file modified icons/obj/guns/projectile.dmi
Binary file not shown.

0 comments on commit db3c264

Please sign in to comment.