mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
# Conflicts: # .github/workflows/compile_all_maps.yml # .github/workflows/run_integration_tests.yml # _maps/map_files/CatwalkStation/CatwalkStation_2023.dmm # code/_onclick/hud/credits.dm # code/controllers/subsystem/networks/id_access.dm # code/datums/diseases/advance/advance.dm # code/datums/diseases/advance/symptoms/heal.dm # code/game/machinery/doors/door.dm # code/game/objects/structures/crates_lockers/closets/secure/medical.dm # code/game/objects/structures/crates_lockers/closets/secure/security.dm # code/modules/antagonists/malf_ai/malf_ai_modules.dm # code/modules/jobs/job_types/_job.dm # code/modules/loadout/categories/accessories.dm # code/modules/loadout/loadout_helpers.dm # code/modules/loadout/loadout_items.dm # code/modules/loadout/loadout_preference.dm # code/modules/mob/living/silicon/robot/robot_defense.dm # code/modules/mod/mod_theme.dm # code/modules/projectiles/ammunition/energy/laser.dm # code/modules/reagents/reagent_containers/cups/drinks.dm # code/modules/shuttle/mobile_port/variants/supply.dm # code/modules/surgery/organs/internal/eyes/_eyes.dm # code/modules/unit_tests/screenshots/screenshot_antag_icons_heretic.png # icons/hud/screen_full.dmi
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
|
|
|
|
// Regal Condor (10mm) //
|
|
|
|
/obj/item/ammo_box/magazine/r10mm
|
|
name = "regal condor magazine (10mm Reaper)"
|
|
desc = "A very expensive 10mm handgun magazine, suitable for the Regal Condor. Loaded with \"reaper\" rounds, which are dangerously effective against everything."
|
|
icon_state = "r10mm-8"
|
|
base_icon_state = "r10mm"
|
|
ammo_type = /obj/item/ammo_casing/c10mm/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,
|
|
)
|
|
|
|
// 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
|