mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-12 08:36:00 +01:00
156 lines
4.6 KiB
Plaintext
156 lines
4.6 KiB
Plaintext
|
|
// Makarov (9mm) //
|
|
|
|
/obj/item/ammo_box/magazine/m9mm
|
|
name = "pistol magazine (9mm)"
|
|
icon_state = "9x19p"
|
|
base_icon_state = "9x19p"
|
|
desc = "A 9mm handgun magazine, suitable for the Makarov pistol."
|
|
ammo_band_icon = "+9x19ab"
|
|
ammo_band_color = null
|
|
ammo_type = /obj/item/ammo_casing/c9mm
|
|
caliber = CALIBER_9MM
|
|
max_ammo = 12
|
|
multiple_sprites = AMMO_BOX_FULL_EMPTY
|
|
multiple_sprite_use_base = TRUE
|
|
|
|
/obj/item/ammo_box/magazine/m9mm/security
|
|
name = "pistol magazine (9mm Security)"
|
|
desc = "A 9mm handgun magazine, suitable for the Service Pistol."
|
|
ammo_type = /obj/item/ammo_casing/c9mm/security
|
|
max_ammo = 10
|
|
|
|
/obj/item/ammo_box/magazine/m9mm/security/rocket
|
|
name = "pistol magazine (9mm Security)"
|
|
desc = "A 9mm handgun magazine, suitable for the Service Pistol."
|
|
ammo_type = /obj/item/ammo_casing/c9mm/security
|
|
max_ammo = 8
|
|
|
|
/obj/item/ammo_box/magazine/m9mm/security/rocket/throw_impact(mob/living/hit_mob, datum/thrownthing/throwingdatum)
|
|
. = ..()
|
|
if(!QDELETED(hit_mob))
|
|
hit_mob.Knockdown(2 SECONDS)
|
|
hit_mob.adjust_brute_loss(40)
|
|
qdel()
|
|
|
|
/obj/item/ammo_box/magazine/m9mm/fire
|
|
name = "pistol magazine (9mm incendiary)"
|
|
MAGAZINE_TYPE_INCENDIARY
|
|
ammo_type = /obj/item/ammo_casing/c9mm/fire
|
|
|
|
/obj/item/ammo_box/magazine/m9mm/hp
|
|
name = "pistol magazine (9mm HP)"
|
|
MAGAZINE_TYPE_HOLLOWPOINT
|
|
ammo_type = /obj/item/ammo_casing/c9mm/hp
|
|
|
|
/obj/item/ammo_box/magazine/m9mm/ap
|
|
name = "pistol magazine (9mm AP)"
|
|
MAGAZINE_TYPE_ARMORPIERCE
|
|
ammo_type = /obj/item/ammo_casing/c9mm/ap
|
|
|
|
// Stechkin APS (9mm) //
|
|
|
|
/obj/item/ammo_box/magazine/m9mm_aps
|
|
name = "stechkin pistol magazine (9mm)"
|
|
desc = "A 9mm handgun magazine, suitable for the Stechkin APS machine pistol."
|
|
icon_state = "9mmaps-15"
|
|
base_icon_state = "9mmaps"
|
|
ammo_band_icon = "+9mmapsab"
|
|
ammo_band_color = null
|
|
ammo_type = /obj/item/ammo_casing/c9mm
|
|
caliber = CALIBER_9MM
|
|
max_ammo = 15
|
|
|
|
/obj/item/ammo_box/magazine/m9mm_aps/update_icon_state()
|
|
. = ..()
|
|
icon_state = "[base_icon_state]-[round(ammo_count(), 5)]"
|
|
|
|
/obj/item/ammo_box/magazine/m9mm_aps/fire
|
|
name = "stechkin pistol magazine (9mm incendiary)"
|
|
MAGAZINE_TYPE_INCENDIARY
|
|
ammo_type = /obj/item/ammo_casing/c9mm/fire
|
|
|
|
/obj/item/ammo_box/magazine/m9mm_aps/hp
|
|
name = "stechkin pistol magazine (9mm HP)"
|
|
MAGAZINE_TYPE_HOLLOWPOINT
|
|
ammo_type = /obj/item/ammo_casing/c9mm/hp
|
|
|
|
/obj/item/ammo_box/magazine/m9mm_aps/ap
|
|
name = "stechkin pistol magazine (9mm AP)"
|
|
MAGAZINE_TYPE_ARMORPIERCE
|
|
ammo_type = /obj/item/ammo_casing/c9mm/ap
|
|
|
|
// Ansem (10mm) //
|
|
|
|
/obj/item/ammo_box/magazine/m10mm
|
|
name = "pistol magazine (10mm)"
|
|
desc = "A 10mm handgun magazine, suitable for the Ansem pistol."
|
|
icon_state = "9x19p"
|
|
base_icon_state = "9x19p"
|
|
ammo_band_icon = "+9x19ab"
|
|
ammo_band_color = null
|
|
|
|
ammo_type = /obj/item/ammo_casing/c10mm
|
|
caliber = CALIBER_10MM
|
|
max_ammo = 8
|
|
multiple_sprites = AMMO_BOX_FULL_EMPTY
|
|
multiple_sprite_use_base = TRUE
|
|
|
|
/obj/item/ammo_box/magazine/m10mm/fire
|
|
name = "pistol magazine (10mm incendiary)"
|
|
MAGAZINE_TYPE_INCENDIARY
|
|
ammo_type = /obj/item/ammo_casing/c10mm/fire
|
|
|
|
/obj/item/ammo_box/magazine/m10mm/hp
|
|
name = "pistol magazine (10mm HP)"
|
|
MAGAZINE_TYPE_HOLLOWPOINT
|
|
ammo_type = /obj/item/ammo_casing/c10mm/hp
|
|
|
|
/obj/item/ammo_box/magazine/m10mm/ap
|
|
name = "pistol magazine (10mm AP)"
|
|
MAGAZINE_TYPE_ARMORPIERCE
|
|
ammo_type = /obj/item/ammo_casing/c10mm/ap
|
|
|
|
// M1911 (.45) //
|
|
|
|
/obj/item/ammo_box/magazine/m45
|
|
name = "handgun magazine (.45)"
|
|
desc = "A .45 handgun magazine, suitable for the M1911."
|
|
icon_state = "45-8"
|
|
base_icon_state = "45"
|
|
ammo_type = /obj/item/ammo_casing/c45
|
|
caliber = CALIBER_45
|
|
max_ammo = 8
|
|
multiple_sprites = AMMO_BOX_PER_BULLET
|
|
multiple_sprite_use_base = TRUE
|
|
|
|
// Desert Eagle (.50 AE) //
|
|
|
|
/obj/item/ammo_box/magazine/m50
|
|
name = "handgun magazine (.50 AE)"
|
|
desc = "A .50 AE handgun magazine, suitable for the Desert Eagle."
|
|
icon_state = "50ae"
|
|
ammo_type = /obj/item/ammo_casing/a50ae
|
|
caliber = CALIBER_50AE
|
|
max_ammo = 7
|
|
multiple_sprites = AMMO_BOX_PER_BULLET
|
|
|
|
// Regal Condor (.45) //
|
|
|
|
/obj/item/ammo_box/magazine/r45
|
|
name = "regal condor magazine (.45 Reaper)"
|
|
desc = "A very expensive .45 handgun magazine, suitable for the Regal Condor. Loaded with \"reaper\" rounds, which are dangerously effective against everything."
|
|
icon_state = "r45-8"
|
|
base_icon_state = "r45"
|
|
ammo_type = /obj/item/ammo_casing/c45/reaper
|
|
caliber = CALIBER_10MM
|
|
max_ammo = 8
|
|
multiple_sprites = AMMO_BOX_PER_BULLET
|
|
multiple_sprite_use_base = TRUE
|
|
custom_materials = list(
|
|
/datum/material/iron = SHEET_MATERIAL_AMOUNT * 10,
|
|
/datum/material/gold = SHEET_MATERIAL_AMOUNT * 10,
|
|
/datum/material/silver = SHEET_MATERIAL_AMOUNT * 10,
|
|
/datum/material/plasma = SHEET_MATERIAL_AMOUNT * 10,
|
|
)
|