Skip to content

Commit

Permalink
more fucking chances
Browse files Browse the repository at this point in the history
  • Loading branch information
KoishiVibe committed Aug 21, 2024
1 parent 06ade15 commit 037c7cc
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 24 deletions.
18 changes: 9 additions & 9 deletions code/game/objects/items/storage/belt.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1776,25 +1776,25 @@
new /obj/item/ammo_magazine/smartgun/dirty(src)

/obj/item/storage/belt/gun/smartgunner/clf
name = "\improper ammo storage rig"
desc = "A pair of pouches and a holster for a sidearm."
name = "\improper improvised MG ammo storage rig"
desc = "A pair of pouches and a holster for a sidearm. Shoddily made, but it'll do for now."
can_hold = list(
/obj/item/device/flashlight/flare,
/obj/item/weapon/gun/flare,
/obj/item/weapon/gun/pistol,
/obj/item/weapon/gun/revolver/cmb,
/obj/item/weapon/gun/revolver,
/obj/item/ammo_magazine/revolver,
/obj/item/ammo_magazine/pistol,
/obj/item/ammo_magazine/smartgun,
/obj/item/ammo_magazine/m60/mook,
)
has_gamemode_skin = TRUE

/obj/item/storage/belt/gun/smartgunner/clf/full/fill_preset_inventory()
handle_item_insertion(new /obj/item/weapon/gun/revolver/mateba())
new /obj/item/ammo_magazine/revolver/mateba/highimpact(src)
new /obj/item/ammo_magazine/smartgun(src)
new /obj/item/ammo_magazine/smartgun(src)
new /obj/item/ammo_magazine/smartgun(src)
handle_item_insertion(new /obj/item/weapon/gun/revolver/cmb/mook())
new /obj/item/ammo_magazine/internal/revolver/cmb/mook(src)
new /obj/item/ammo_magazine/m60/mook(src)
new /obj/item/ammo_magazine/m60/mook(src)
new /obj/item/ammo_magazine/m60/mook(src)

/obj/item/storage/belt/gun/smartgunner/upp
name = "\improper Type 92 pattern machinegunner sidearm rig"
Expand Down
20 changes: 20 additions & 0 deletions code/modules/clothing/head/head.dm
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,26 @@
flags_inventory = BLOCKSHARPOBJ
flags_inv_hide = NO_FLAGS

/obj/item/clothing/head/CMB/mook
name = "battered CMB cap"
desc = "Secondhand, taken from looted armories or from a surplus store."
icon = 'icons/obj/items/clothing/cm_hats.dmi'
item_icons = list(
WEAR_HEAD = 'icons/mob/humans/onmob/head_1.dmi'
)
icon_state = "cmbcap"
flags_armor_protection = BODY_FLAG_HEAD
armor_melee = CLOTHING_ARMOR_VERYLOW
armor_bullet = CLOTHING_ARMOR_NONE
armor_energy = CLOTHING_ARMOR_NONE
armor_bomb = CLOTHING_ARMOR_NONE
armor_bio = CLOTHING_ARMOR_NONE
armor_internaldamage = CLOTHING_ARMOR_NONE
flags_cold_protection = BODY_FLAG_HEAD
min_cold_protection_temperature = ICE_PLANET_MIN_COLD_PROT
flags_inventory = BLOCKSHARPOBJ
flags_inv_hide = HIDETOPHAIR

/obj/item/clothing/head/freelancer
name = "\improper armored Freelancer cap"
desc = "A sturdy freelancer's cap. More protective than it seems."
Expand Down
7 changes: 3 additions & 4 deletions code/modules/gear_presets/_select_equipment.dm
Original file line number Diff line number Diff line change
Expand Up @@ -411,8 +411,8 @@ GLOBAL_LIST_EMPTY(personal_closets)
/datum/equipment_preset/proc/spawn_rebel_helmet(mob/living/carbon/human/new_human)
if(!istype(new_human)) return
var/helmetpath = pick(
/obj/item/clothing/head/militia,
/obj/item/clothing/head/militia/bucket,
/obj/item/clothing/head/helmet/riot/salvaged,
/obj/item/clothing/head/CMB/mook
/obj/item/clothing/head/helmet,
/obj/item/clothing/head/helmet/skullcap,
/obj/item/clothing/head/helmet/swat,
Expand All @@ -433,8 +433,7 @@ GLOBAL_LIST_EMPTY(personal_closets)
/obj/item/clothing/shoes/brown,
/obj/item/clothing/shoes/laceup,
/obj/item/clothing/shoes/leather,
/obj/item/clothing/shoes/combat,
/obj/item/clothing/shoes/swat,
/obj/item/clothing/shoes/combat/surplus,
)
new_human.equip_to_slot_or_del(new shoespath, WEAR_FEET)

Expand Down
17 changes: 8 additions & 9 deletions code/modules/gear_presets/clf.dm
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@
//clothing
new_human.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/militia(new_human), WEAR_JACKET)
new_human.equip_to_slot_or_del(new /obj/item/clothing/head/helmet/swat(new_human), WEAR_HEAD)
new_human.equip_to_slot_or_del(new /obj/item/clothing/shoes/combat(new_human), WEAR_FEET)
new_human.equip_to_slot_or_del(new /obj/item/clothing/shoes/marine/surplus(new_human), WEAR_FEET)
new_human.equip_to_slot_or_del(new /obj/item/clothing/gloves/combat(new_human), WEAR_HANDS)
new_human.equip_to_slot_or_del(new /obj/item/storage/belt/gun/m4a3/mod88(new_human), WEAR_WAIST)
new_human.equip_to_slot_or_del(new /obj/item/clothing/glasses/night(new_human), WEAR_EYES)
Expand Down Expand Up @@ -484,7 +484,7 @@
/datum/equipment_preset/clf/specialist/get_antag_clothing_equipment()
return list(
list("STANDARD EQUIPMENT (TAKE ALL)", 0, null, null, null),
list("Combat Boots", 0, /obj/item/clothing/shoes/combat, MARINE_CAN_BUY_SHOES, VENDOR_ITEM_MANDATORY),
list("Combat Boots", 0, /obj/item/clothing/shoes/marine/surplus, MARINE_CAN_BUY_SHOES, VENDOR_ITEM_MANDATORY),
list("CLF Uniform", 0, /obj/item/clothing/under/colonist/clf, MARINE_CAN_BUY_UNIFORM, VENDOR_ITEM_MANDATORY),
list("CLF Armor", 0, /obj/item/clothing/suit/storage/militia, MARINE_CAN_BUY_ARMOR, VENDOR_ITEM_MANDATORY),
list("Combat Gloves", 0, /obj/item/clothing/gloves/combat, MARINE_CAN_BUY_GLOVES, VENDOR_ITEM_MANDATORY),
Expand Down Expand Up @@ -571,7 +571,7 @@
new_human.equip_to_slot_or_del(new /obj/item/clothing/under/rank/miner(new_human), WEAR_BODY)
new_human.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/militia(new_human), WEAR_JACKET)
new_human.equip_to_slot_or_del(new /obj/item/clothing/head/beret/sec/hos(new_human), WEAR_HEAD)
new_human.equip_to_slot_or_del(new /obj/item/clothing/shoes/combat(new_human), WEAR_FEET)
new_human.equip_to_slot_or_del(new /obj/item/clothing/shoes/marine/surplus(new_human), WEAR_FEET)
new_human.equip_to_slot_or_del(new /obj/item/clothing/gloves/black(new_human), WEAR_HANDS)
new_human.equip_to_slot_or_del(new /obj/item/storage/belt/marine(new_human), WEAR_WAIST)
if(new_human.disabilities & NEARSIGHTED)
Expand Down Expand Up @@ -599,7 +599,7 @@
/datum/equipment_preset/clf/leader/get_antag_clothing_equipment()
return list(
list("STANDARD EQUIPMENT (TAKE ALL)", 0, null, null, null),
list("Combat Boots", 0, /obj/item/clothing/shoes/combat, MARINE_CAN_BUY_SHOES, VENDOR_ITEM_MANDATORY),
list("Combat Boots", 0, /obj/item/clothing/shoes/marine/surplus, MARINE_CAN_BUY_SHOES, VENDOR_ITEM_MANDATORY),
list("CLF Uniform", 0, /obj/item/clothing/under/colonist/clf, MARINE_CAN_BUY_UNIFORM, VENDOR_ITEM_MANDATORY),
list("CLF Armor", 0, /obj/item/clothing/suit/storage/militia, MARINE_CAN_BUY_ARMOR, VENDOR_ITEM_MANDATORY),
list("Black Gloves", 0, /obj/item/clothing/gloves/black, MARINE_CAN_BUY_GLOVES, VENDOR_ITEM_MANDATORY),
Expand Down Expand Up @@ -746,11 +746,10 @@

new_human.equip_to_slot_or_del(new /obj/item/storage/backpack/marine/engineerpack/ert, WEAR_BACK)
new_human.equip_to_slot_or_del(new /obj/item/clothing/gloves/combat, WEAR_HANDS)
new_human.equip_to_slot_or_del(new /obj/item/clothing/shoes/combat, WEAR_FEET)
new_human.equip_to_slot_or_del(new /obj/item/clothing/shoes/marine/surplus, WEAR_FEET)
new_human.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/militia, WEAR_JACKET)
new_human.equip_to_slot_or_del(new /obj/item/storage/belt/medical/full/with_suture_and_graft, WEAR_WAIST)
new_human.equip_to_slot_or_del(new /obj/item/device/healthanalyzer(new_human), WEAR_IN_BELT)
new_human.equip_to_slot_or_del(new /obj/item/device/defibrillator, WEAR_IN_BACK)
new_human.equip_to_slot_or_del(new /obj/item/explosive/plastic, WEAR_IN_BACK)

spawn_weapon(/obj/item/weapon/gun/rifle/mar40/carbine, /obj/item/ammo_magazine/rifle/mar40/extended, new_human, 0, 10)
Expand Down Expand Up @@ -904,8 +903,8 @@
new_human.equip_to_slot_or_del(new /obj/item/device/radio/headset/distress/CLF/command(new_human), WEAR_L_EAR)
new_human.equip_to_slot_or_del(new /obj/item/clothing/under/rank/miner(new_human), WEAR_BODY)
new_human.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/militia(new_human), WEAR_JACKET)
new_human.equip_to_slot_or_del(/obj/item/ammo_magazine/internal/revolver/cmb/mook(new_human), WEAR_IN_JACKET)
new_human.equip_to_slot_or_del(/obj/item/ammo_magazine/internal/revolver/cmb/mook(new_human), WEAR_IN_JACKET)
new_human.equip_to_slot_or_del(new /obj/item/ammo_magazine/internal/revolver/cmb/mook(new_human), WEAR_IN_JACKET)
new_human.equip_to_slot_or_del(new /obj/item/ammo_magazine/internal/revolver/cmb/mook(new_human), WEAR_IN_JACKET)
new_human.equip_to_slot_or_del(new /obj/item/weapon/gun/m60/mook(new_human), WEAR_J_STORE)
new_human.equip_to_slot_or_del(new /obj/item/clothing/gloves/black(new_human), WEAR_HANDS)
new_human.equip_to_slot_or_del(new /obj/item/storage/belt/gun/smartgunner/clf/full(new_human), WEAR_WAIST)
Expand All @@ -917,7 +916,7 @@
/datum/equipment_preset/clf/commander/get_antag_clothing_equipment()
return list(
list("STANDARD EQUIPMENT (TAKE ALL)", 0, null, null, null),
list("Combat Boots", 0, /obj/item/clothing/shoes/combat, MARINE_CAN_BUY_SHOES, VENDOR_ITEM_MANDATORY),
list("Combat Boots", 0, /obj/item/clothing/shoes/marine/surplus, MARINE_CAN_BUY_SHOES, VENDOR_ITEM_MANDATORY),
list("CLF Uniform", 0, /obj/item/clothing/under/colonist/clf, MARINE_CAN_BUY_UNIFORM, VENDOR_ITEM_MANDATORY),
list("Improvised Armor", 0, /obj/item/clothing/suit/storage/militia, MARINE_CAN_BUY_ARMOR, VENDOR_ITEM_MANDATORY),
list("Black Gloves", 0, /obj/item/clothing/gloves/black, MARINE_CAN_BUY_GLOVES, VENDOR_ITEM_MANDATORY),
Expand Down
2 changes: 1 addition & 1 deletion code/modules/projectiles/guns/misc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
return FALSE

//M60 but BAD.
/obj/item/weapon/gun/m60
/obj/item/weapon/gun/m60/mook
name = "\improper H-G Mk70 Machine Gun"
desc = "Part of the Henjin-Garcia repro line, the Mk70 found surprising niche in Frontier colony home defense against aggressive, largescale xenofauna. \n<b>Alt-click to open the feed tray cover for handling reloads.</b>"
icon = 'icons/obj/items/weapons/guns/guns_by_faction/colony.dmi'
Expand Down
4 changes: 4 additions & 0 deletions code/modules/projectiles/guns/revolvers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -751,3 +751,7 @@

/obj/item/weapon/gun/revolver/cmb/normalpoint
current_mag = /obj/item/ammo_magazine/internal/revolver/cmb

/obj/item/weapon/gun/revolver/cmb/mook
desc = "A battered old Spearhead revolver."
current_mag = /obj/item/ammo_magazine/internal/revolver/cmb/mook
2 changes: 1 addition & 1 deletion code/modules/projectiles/magazines/misc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

matter = list("metal" = 10000)
default_ammo = /datum/ammo/bullet/m60/mook
max_rounds = 100
max_rounds = 150
reload_delay = 8
gun_type = /obj/item/weapon/gun/m60

Expand Down

0 comments on commit 037c7cc

Please sign in to comment.