Skip to content

Commit

Permalink
Change cases for pistols
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticalFaceLesS committed Jul 13, 2024
1 parent adbf215 commit 24ffddd
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
1 change: 1 addition & 0 deletions mod_celadon/weapons/_weapons.dme
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include "code/ammo.dm"
#include "code/gun.dm"
#include "code/guncases.dm"
#include "code/pistolcases.dm"

#include "code/modules/research/all_nodes.dm"

Expand Down
4 changes: 2 additions & 2 deletions mod_celadon/weapons/code/gun.dm
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@
name = "Оружейный ящик Glock"
desc = "Содержит пустой пистолет Glock, калибра 9mm."
cost = 1300
contains = list(/obj/item/storage/guncase/glock)
contains = list(/obj/item/storage/pistolcase/glock)
crate_name = "auto rifle crate"

/datum/supply_pack/gun/usp
name = "Оружейный ящик USP"
desc = "Содержит пустой пистолет USP, калибра .45"
cost = 1350
contains = list(/obj/item/storage/guncase/usp)
contains = list(/obj/item/storage/pistolcase/usp)
crate_name = "auto rifle crate"
10 changes: 0 additions & 10 deletions mod_celadon/weapons/code/guncases.dm
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,3 @@
new /obj/item/gun/ballistic/automatic/assault/morita1/swamp/no_mag(src)
new /obj/item/ammo_box/magazine/morita1/drum/empty(src)
new /obj/item/ammo_box/magazine/morita1/empty(src)

/obj/item/storage/guncase/glock
/obj/item/storage/guncase/glock/PopulateContents()
new /obj/item/gun/ballistic/automatic/pistol/glock/no_mag(src)
new /obj/item/ammo_box/magazine/glock_standart/empty(src)

/obj/item/storage/guncase/usp
/obj/item/storage/guncase/usp/PopulateContents()
new /obj/item/gun/ballistic/automatic/pistol/usp45/no_mag(src)
new /obj/item/ammo_box/magazine/usp45_standart/empty(src)
11 changes: 11 additions & 0 deletions mod_celadon/weapons/code/pistolcases.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/obj/item/storage/pistolcase/glock
/obj/item/storage/pistolcase/glock/PopulateContents()
new /obj/item/gun/ballistic/automatic/pistol/glock/no_mag(src)
new /obj/item/ammo_box/magazine/glock_standart/empty(src)
new /obj/item/ammo_box/magazine/glock_standart/empty(src)

/obj/item/storage/pistolcase/usp
/obj/item/storage/pistolcase/usp/PopulateContents()
new /obj/item/gun/ballistic/automatic/pistol/usp45/no_mag(src)
new /obj/item/ammo_box/magazine/usp45_standart/empty(src)
new /obj/item/ammo_box/magazine/usp45_standart/empty(src)

0 comments on commit 24ffddd

Please sign in to comment.