Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buff Marine Armour During HvH #6937

Merged
merged 15 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion code/__DEFINES/mode.dm
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
#define MODE_BASIC_RT (1<<11)
#define MODE_RANDOM_HIVE (1<<12)// Makes Join-as-Xeno choose a hive to join as burrowed larva at random rather than at user's input..
#define MODE_THUNDERSTORM (1<<13)// Enables thunderstorm effects on maps that are compatible with it. (Lit exterior tiles, rain effects)
#define MODE_FACTION_CLASH (1<<14)// Disables scopes, sniper sentries, OBs, shooting corpses, dragging enemy corpses, stripping enemy corpses
#define MODE_FACTION_CLASH (1<<14)// Disables scopes, sniper sentries, OBs, shooting corpses, dragging enemy corpses, stripping enemy corpses, increase armor bullet/bomb/internal damage protection

// Gamemode Toggleable Flags
#define MODE_NO_SNIPER_SENTRY (1<<0) /// Upgrade kits will no longer allow you to select long-range upgrades
Expand Down
76 changes: 76 additions & 0 deletions code/datums/decorators/gamemode_decorator.dm
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,79 @@
/datum/decorator/gamemode/decorate(atom/object)
for(var/edit in edits)
object.vars[edit] = edits[edit]

//*********************** Human Versus Human ***********************//
//************ USCM Armour Values ************//

//**** Medium Armor ****//
GAMEMODE_DECORATOR(/obj/item/clothing/suit/storage/marine/medium, /datum/game_mode/extended/faction_clash, list(
ARMOR_EDIT(armor_bullet, CLOTHING_ARMOR_HIGH),
ARMOR_EDIT(armor_bomb, CLOTHING_ARMOR_MEDIUM),
ARMOR_EDIT(armor_internaldamage, CLOTHING_ARMOR_HIGH)
))

//**** Light Armor ****//
GAMEMODE_DECORATOR(/obj/item/clothing/suit/storage/marine/light, /datum/game_mode/extended/faction_clash, list(
ARMOR_EDIT(armor_bullet, CLOTHING_ARMOR_MEDIUM),
ARMOR_EDIT(armor_bomb, CLOTHING_ARMOR_MEDIUMLOW),
ARMOR_EDIT(armor_internaldamage, CLOTHING_ARMOR_MEDIUMHIGH)
))

//**** Heavy Armor ****//
GAMEMODE_DECORATOR(/obj/item/clothing/suit/storage/marine/heavy, /datum/game_mode/extended/faction_clash, list(
ARMOR_EDIT(armor_internaldamage, CLOTHING_ARMOR_HIGH)
))

//**** Smartgunner ****//
GAMEMODE_DECORATOR(/obj/item/clothing/suit/storage/marine/smartgunner, /datum/game_mode/extended/faction_clash, list(
ARMOR_EDIT(armor_bullet, CLOTHING_ARMOR_HIGH),
ARMOR_EDIT(armor_internaldamage, CLOTHING_ARMOR_HIGH)
))

//**** Military Police and Command ****//
GAMEMODE_DECORATOR(/obj/item/clothing/suit/storage/marine/MP, /datum/game_mode/extended/faction_clash, list(
ARMOR_EDIT(armor_bullet, CLOTHING_ARMOR_HIGH),
ARMOR_EDIT(armor_bomb, CLOTHING_ARMOR_MEDIUMHIGH),
ARMOR_EDIT(armor_internaldamage, CLOTHING_ARMOR_HIGH)
))

//**** B18 Spec Armor ****//
GAMEMODE_DECORATOR(/obj/item/clothing/suit/storage/marine/specialist, /datum/game_mode/extended/faction_clash, list(
ARMOR_EDIT(armor_bullet, CLOTHING_ARMOR_HIGHPLUS),
ARMOR_EDIT(armor_internaldamage, CLOTHING_ARMOR_HIGHPLUS)
))

//**** Grenadier Spec Armor ****//
GAMEMODE_DECORATOR(/obj/item/clothing/suit/storage/marine/M3G, /datum/game_mode/extended/faction_clash, list(
ARMOR_EDIT(armor_bullet, CLOTHING_ARMOR_HIGH),
ARMOR_EDIT(armor_internaldamage, CLOTHING_ARMOR_HIGH)
))

//**** RPG Spec Armor ****//
GAMEMODE_DECORATOR(/obj/item/clothing/suit/storage/marine/M3T, /datum/game_mode/extended/faction_clash, list(
ARMOR_EDIT(armor_bullet, CLOTHING_ARMOR_HIGH),
ARMOR_EDIT(armor_internaldamage, CLOTHING_ARMOR_HIGH)
))

//**** Scout Spec Armor ****//
GAMEMODE_DECORATOR(/obj/item/clothing/suit/storage/marine/M3S, /datum/game_mode/extended/faction_clash, list(
ARMOR_EDIT(armor_bullet, CLOTHING_ARMOR_HIGH),
ARMOR_EDIT(armor_bomb, CLOTHING_ARMOR_MEDIUM),
ARMOR_EDIT(armor_internaldamage, CLOTHING_ARMOR_HIGH)
))

//**** Sniper Spec Armor ****//
GAMEMODE_DECORATOR(/obj/item/clothing/suit/storage/marine/ghillie, /datum/game_mode/extended/faction_clash, list(
ARMOR_EDIT(armor_bullet, CLOTHING_ARMOR_HIGH),
ARMOR_EDIT(armor_bomb, CLOTHING_ARMOR_MEDIUM),
ARMOR_EDIT(armor_internaldamage, CLOTHING_ARMOR_HIGH)
))

//**** Pyro Spec Armor ****//
GAMEMODE_DECORATOR(/obj/item/clothing/suit/storage/marine/M35, /datum/game_mode/extended/faction_clash, list(
ARMOR_EDIT(armor_bullet, CLOTHING_ARMOR_HIGH),
ARMOR_EDIT(armor_bomb, CLOTHING_ARMOR_MEDIUM),
ARMOR_EDIT(armor_internaldamage, CLOTHING_ARMOR_HIGH)
))

//*********************** ------------------ ***********************//
Loading