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

New Colonial Marines ERT, and lavaland ruin. #11948

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
762 changes: 762 additions & 0 deletions _maps/RandomRuins/LavaRuins/lavaland_surface_colonial_marines1.dmm

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions code/datums/ert.dm
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,15 @@
mission = "Assist the station in catching perps, dead or alive."
polldesc = "a Centcom-hired bounty hunting gang"
random_names = FALSE

/datum/ert/marine

opendoors = FALSE
leader_role = /datum/antagonist/ert/marine/squadlead
enforce_human = TRUE
roles = list(/datum/antagonist/ert/marine, /datum/antagonist/ert/marine/breacher, /datum/antagonist/ert/marine/medic)
rename_team = "United States Colonial Marines"
code = "Code X"
mission = "Investigate the distress signal from SS13."
teamsize = 4
polldesc = "An elite squad of Marines sent by the USCM."
8 changes: 8 additions & 0 deletions code/datums/ruins/lavaland.dm
Original file line number Diff line number Diff line change
Expand Up @@ -232,3 +232,11 @@
cost = 5
always_place = TRUE
allow_duplicates = TRUE

/datum/map_template/ruin/lavaland/colonialmarines
name = "Alamo Crashsite"
id = "alamo"
description = "The crashsite of a USCM dropship."
suffix = "lavaland_surface_colonial_marines1.dmm"
cost = 5
allow_duplicates = FALSE
12 changes: 12 additions & 0 deletions code/game/objects/items/cards_ids.dm
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,18 @@ update_label("John Doe", "Clowny")
assignment = "CentCom Attorney"
icon_state = "centcom"

/obj/item/card/id/ert/marine
assignment = "Squad Marine"

/obj/item/card/id/ert/marine/leader
assignment = "Squad Leader"

/obj/item/card/id/ert/Security/marine
assignment = "Squad Specialist"

/obj/item/card/id/ert/Medical/marine
assignment = "Squad Corpsman"

/// Trim for Bounty Hunters hired by centcom.
/obj/item/card/id/silver/bounty/ert
registered_name = "Bounty Hunter"
Expand Down
14 changes: 14 additions & 0 deletions code/game/objects/items/storage/backpack.dm
Original file line number Diff line number Diff line change
Expand Up @@ -759,3 +759,17 @@
new /obj/item/implanter/adrenalin(src)
new /obj/item/clothing/mask/luchador/rudos(src)


// Marine Bags

/obj/item/storage/backpack/marine
name = "lightweight IMP backpack"
desc = "The standard-issue pack of the USCM forces. Designed to lug gear into the battlefield."
icon_state = "marinepack"
item_state = "marinepack"

/obj/item/storage/backpack/marine/medic
name = "USCM corpsman backpack"
desc = "A standard-issue backpack worn by USCM medics."
icon_state = "marinepack_medic"
item_state = "marinepack_medic"
16 changes: 16 additions & 0 deletions code/game/objects/items/storage/belt.dm
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,17 @@
/obj/item/multitool = 1)
generate_items_inside(items_inside,src)

/obj/item/storage/belt/military/assault/marine
name = "marines ammo belt"
desc = "Enough ammo to kill an entire hive."

/obj/item/storage/belt/military/assault/marine/PopulateContents()
var/static/items_inside = list(
/obj/item/ammo_box/magazine/m556 = 4,
/obj/item/grenade/chem_grenade/incendiary = 2,
/obj/item/reagent_containers/hypospray/medipen/survival = 1)
generate_items_inside(items_inside,src)

/obj/item/storage/belt/grenade/full/webbing
name = "grenadier chest rig"
desc = "A set of tactical webbing stocked full of grenades."
Expand Down Expand Up @@ -756,6 +767,11 @@
/obj/item/ammo_casing/shotgun
))

/obj/item/storage/belt/bandolier/filled/PopulateContents()
for(var/i in 1 to 18)
new /obj/item/ammo_casing/shotgun/buckshot(src)


/obj/item/storage/belt/bandolier/western
name = "sheriff's bandolier"
desc = "A bandolier that has been retrofitted for .38 cartridges"
Expand Down
16 changes: 16 additions & 0 deletions code/modules/antagonists/ert/ert.dm
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,22 @@
role = "HONKER"
plasmaman_outfit = /datum/outfit/plasmaman/honk_squad

/datum/antagonist/ert/marine
role = "Squad Marine"
outfit = /datum/outfit/centcom/ert/marine

/datum/antagonist/ert/marine/medic
role = "Squad Corpsman"
outfit = /datum/outfit/centcom/ert/marine/medic

/datum/antagonist/ert/marine/breacher
role = "Squad Specialist"
outfit = /datum/outfit/centcom/ert/marine/breacher

/datum/antagonist/ert/marine/squadlead
role = "Squad Leader"
outfit = /datum/outfit/centcom/ert/marine/squadlead

/datum/antagonist/ert/create_team(datum/team/ert/new_team)
if(istype(new_team))
ert_team = new_team
Expand Down
33 changes: 33 additions & 0 deletions code/modules/awaymissions/corpse.dm
Original file line number Diff line number Diff line change
Expand Up @@ -560,3 +560,36 @@ CREATION_TEST_IGNORE_SELF(/obj/effect/mob_spawn)
shoes = /obj/item/clothing/shoes/sneakers/black
suit = /obj/item/clothing/suit/armor/vest
glasses = /obj/item/clothing/glasses/sunglasses/advanced/reagent


///////////////// Colonial Marines! /////////////////
/obj/effect/mob_spawn/human/corpse/marine
outfit = /datum/outfit/marine

/obj/effect/mob_spawn/human/corpse/marine/corpsman
outfit = /datum/outfit/marine/medic

/obj/effect/mob_spawn/human/corpse/marine/squadlead
outfit = /datum/outfit/marine/squadlead

/datum/outfit/marine
name = "Dead Marine Generic"
head = /obj/item/clothing/head/helmet/marine
uniform = /obj/item/clothing/under/misc/marine
back = /obj/item/storage/backpack/marine
shoes = /obj/item/clothing/shoes/combat/swat
suit = /obj/item/clothing/suit/armor/marine
gloves = /obj/item/clothing/gloves/color/black

/datum/outfit/marine/medic
name = "Dead Marine Corpsman"
head = /obj/item/clothing/head/helmet/marine/medicae
uniform = /obj/item/clothing/under/misc/marine/medic
back = /obj/item/storage/backpack/marine/medic
shoes = /obj/item/clothing/shoes/combat/swat
suit = /obj/item/clothing/suit/armor/marine
gloves = /obj/item/clothing/gloves/color/latex/nitrile

/datum/outfit/marine/squadlead
name = "Dead Marine Squad Leader"
head = /obj/item/clothing/head/helmet/marine/squadlead
6 changes: 6 additions & 0 deletions code/modules/clothing/head/hat.dm
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
armor = list(MELEE = 30, BULLET = 15, LASER = 30, ENERGY = 10, BOMB = 25, BIO = 0, RAD = 0, FIRE = 50, ACID = 50, STAMINA = 30)
strip_delay = (8 SECONDS)

/obj/item/clothing/head/hats/centcom_cap/marine
name = "marine dress blues officer cover"
desc = "The combination cover of the legendary Marine dress blues, virtually unchanged since the 19th century. Features a gold stripe and silvered logo, emblematic of an officer."
icon_state = "o_cap"
item_state = "o_cap"

/obj/item/clothing/head/costume/canada
name = "striped red tophat"
desc = "It smells like fresh donut holes. / <i>Il sent comme des trous de beignets frais.</i>"
Expand Down
31 changes: 31 additions & 0 deletions code/modules/clothing/head/helmet.dm
Original file line number Diff line number Diff line change
Expand Up @@ -329,3 +329,34 @@
worn_icon_state = "cowboy_outlaw"
body_parts_covered = HEAD
armor = list(MELEE = 25, BULLET = 25, LASER = 20, ENERGY = 10, BOMB = 30, BIO = 30, RAD = 20, FIRE = 0, ACID = 40, STAMINA = 25, BLEED = 15)

/obj/item/clothing/head/helmet/marine
name = "M10 pattern marine helmet"
desc = "A standard M10 Pattern Helmet. The inside label, along with washing information, reads, 'The difference between an open-casket and closed-casket funeral. Wear on head for best results.'. There is a built-in camera on the right side."
icon = 'icons/obj/clothing/head/helmet.dmi'
icon_state = "marine_helmet"
item_state = "marine_helmet"
worn_icon = 'icons/mob/clothing/head/helmet.dmi'
worn_icon_state = "marine_helmet"
body_parts_covered = HEAD
flags_cover = HEADCOVERSMOUTH
armor = list(MELEE = 30, BULLET = 20, LASER = 0, ENERGY = 10, BOMB = 30, RAD = 0, FIRE = 15, ACID = 45, STAMINA = 0, BLEED = 40)

/obj/item/clothing/head/helmet/marine/squadlead
name = "M11 pattern marine helmet"
desc = "A variant of the standard M10 pattern. The front plate is reinforced. This one contains a small built-in camera and has cushioning to project your fragile brain."
icon = 'icons/obj/clothing/head/helmet.dmi'
icon_state = "sl_helmet"
item_state = "sl_helmet"
worn_icon = 'icons/mob/clothing/head/helmet.dmi'
worn_icon_state = "sl_helmet"

/obj/item/clothing/head/helmet/marine/medicae
name = "M10 corpsman helmet"
desc = "An M10 marine helmet version worn by marine hospital corpsmen. Has red cross painted on its front."
icon = 'icons/obj/clothing/head/helmet.dmi'
icon_state = "med_helmet"
item_state = "med_helmet"
worn_icon = 'icons/mob/clothing/head/helmet.dmi'
worn_icon_state = "med_helmet"
body_parts_covered = HEAD
63 changes: 63 additions & 0 deletions code/modules/clothing/outfits/ert.dm
Original file line number Diff line number Diff line change
Expand Up @@ -520,3 +520,66 @@
/obj/item/gun/ballistic/sniper_rifle=1,\
/obj/item/gun/grenadelauncher/security=1,\
/obj/item/gun/ballistic/automatic/ar=1)


// United States Colonial Marines (oorah)


/datum/outfit/centcom/ert/marine
name = "Marine Generic"

head = /obj/item/clothing/head/helmet/marine
ears = /obj/item/radio/headset/headset_cent/alt
uniform = /obj/item/clothing/under/misc/marine
back = /obj/item/storage/backpack/marine
shoes = /obj/item/clothing/shoes/combat/swat
suit = /obj/item/clothing/suit/armor/marine
gloves = /obj/item/clothing/gloves/combat
belt = /obj/item/storage/belt/military/assault/marine
suit_store = /obj/item/gun/ballistic/automatic/ar
id = /obj/item/card/id/ert/marine
l_pocket = /obj/item/knife/combat
backpack_contents = list(/obj/item/storage/box/survival/engineer=1,\
/obj/item/ammo_box/magazine/m556=1,\
/obj/item/flashlight/seclite)
mask = /obj/item/clothing/mask/cigarette/cigar

/datum/outfit/centcom/ert/marine/medic
name = "Marine Corpsman"

head = /obj/item/clothing/head/helmet/marine/medicae
uniform = /obj/item/clothing/under/misc/marine/medic
back = /obj/item/storage/backpack/marine/medic
shoes = /obj/item/clothing/shoes/combat/swat
suit = /obj/item/clothing/suit/armor/marine
gloves = /obj/item/clothing/gloves/color/latex/nitrile
belt = /obj/item/storage/belt/medical
id = /obj/item/card/id/ert/Medical/marine
suit_store = /obj/item/gun/ballistic/automatic/wt550
glasses = /obj/item/clothing/glasses/hud/health/sunglasses
backpack_contents = list(/obj/item/storage/box/survival/engineer=1,\
/obj/item/ammo_box/magazine/wt550m9=3,\
/obj/item/flashlight/seclite=1)
mask = /obj/item/clothing/mask/surgical
l_hand = /obj/item/storage/firstaid/compact

/datum/outfit/centcom/ert/marine/breacher
name = "Marine Breacher"
belt = /obj/item/storage/belt/bandolier/filled
suit_store = /obj/item/gun/ballistic/shotgun/automatic/combat/compact
id = /obj/item/card/id/ert/Security/marine
backpack_contents = list(/obj/item/storage/box/survival/engineer=1,\
/obj/item/storage/box/lethalshot=1,\
/obj/item/storage/box/breacherslug=1,\
/obj/item/flashlight/seclite=1)

/datum/outfit/centcom/ert/marine/squadlead
name = "Marine Squad Leader"
head = /obj/item/clothing/head/helmet/marine/squadlead
suit_store = /obj/item/gun/ballistic/rocketlauncher/unrestricted
backpack_contents = list(/obj/item/storage/box/survival/engineer=1,\
/obj/item/ammo_casing/caseless/rocket/hedp=3,\
/obj/item/ammo_casing/caseless/rocket=3,\
/obj/item/reagent_containers/hypospray/medipen/survival=1)
belt = /obj/item/gun/energy/e_gun

14 changes: 14 additions & 0 deletions code/modules/clothing/outfits/standard.dm
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,20 @@
back = /obj/item/storage/backpack/satchel/leather
id = /obj/item/card/id/centcom

/datum/outfit/centcom/marinecommander
name = JOB_CENTCOM_COMMANDER
uniform = /obj/item/clothing/under/rank/centcom/commander/marine
suit = /obj/item/clothing/suit/armor/centcom_formal/marine
shoes = /obj/item/clothing/shoes/laceup
ears = /obj/item/radio/headset/headset_cent/commander
belt = /obj/item/gun/ballistic/revolver/mateba
mask = /obj/item/clothing/mask/cigarette/cigar/cohiba
l_pocket = /obj/item/ammo_box/a357
back = /obj/item/storage/backpack/satchel/leather
id = /obj/item/card/id/centcom
head = /obj/item/clothing/head/hats/centcom_cap/marine


/datum/outfit/centcom/commander/plasmaman
name = "CentCom Commander Plasmaman"

Expand Down
14 changes: 14 additions & 0 deletions code/modules/clothing/suits/armor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -313,3 +313,17 @@
. = ..()
AddComponent(/datum/component/toggle_icon)
allowed = GLOB.security_wintercoat_allowed

/obj/item/clothing/suit/armor/marine
name = "\improper M3 pattern marine armor"
desc = "A standard Colonial Marines M3 Pattern Chestplate. Protects the chest from ballistic rounds, bladed objects and accidents. It has a small leather pouch strapped to it for limited storage."
icon_state = "marine_suit"
item_state = "marine_suit"
armor = list(MELEE = 25, BULLET = 30, LASER = 0, ENERGY = 10, BOMB = 10, BIO = 0, RAD = 0, FIRE = 20, ACID = 50, STAMINA = 25, BLEED = 20)
slowdown = 0.05

/obj/item/clothing/suit/armor/centcom_formal/marine
name = "marine officer dress blues jacket"
desc = "The jacket of the legendary Marine dress blues, virtually unchanged since the 19th century. Features the sleek dark design of the uniform worn by a commissioned officer."
icon_state = "o_jacket_su"
item_state = "o_jacket_su"
6 changes: 6 additions & 0 deletions code/modules/clothing/under/jobs/centcom.dm
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
icon_state = "centcom"
item_state = "dg_suit"

/obj/item/clothing/under/rank/centcom/commander/marine
name = "marine senior dress blues uniform"
desc = "The undershirt and trousers of the legendary Marine dress blues, virtually unchanged since the 19th century. This variant features the iconic Blood Stripe, worn by NCOs and officers."
icon_state = "senior"
item_state = "senior"

/obj/item/clothing/under/rank/centcom/official
name = "\improper CentCom official's suit"
desc = "A suit worn by CentCom Officials, with a silver belt buckle to indicate their rank from a glance."
Expand Down
13 changes: 13 additions & 0 deletions code/modules/clothing/under/miscellaneous.dm
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,16 @@
desc = "A cartridge loaded with a compressed extinguisher mix, used to refill the automatic extinguisher on plasma envirosuits."
icon_state = "plasmarefill"
icon = 'icons/obj/device.dmi'

/obj/item/clothing/under/misc/marine
name = "USCM uniform"
desc = "Standard-issue Marine uniform. They have shards of light Kevlar to help protect against stabbing weapons and bullets."
icon_state = "marine_jumpsuit"
item_state = "marine_jumpsuit"
armor = list(MELEE = 20, BULLET = 20, LASER = 0, ENERGY = 0, BOMB = 0, BIO = 0, RAD = 0, FIRE = 10, ACID = 10, STAMINA = 20, BLEED = 30)

/obj/item/clothing/under/misc/marine/medic
name = "USCM corpsman uniform"
desc = "Standard-issue Marine hospital corpsman fatigues. They have shards of light Kevlar to help protect against stabbing weapons and bullets."
icon_state = "marine_medic"
item_state = "marine_medic"
Binary file modified icons/mob/clothing/back.dmi
Binary file not shown.
Binary file modified icons/mob/clothing/head/hats.dmi
Binary file not shown.
Binary file modified icons/mob/clothing/head/helmet.dmi
Binary file not shown.
Binary file modified icons/mob/clothing/suits/armor.dmi
Binary file not shown.
Binary file modified icons/mob/clothing/under/centcom.dmi
Binary file not shown.
Binary file modified icons/mob/clothing/under/misc.dmi
Binary file not shown.
Binary file modified icons/obj/clothing/head/hats.dmi
Binary file not shown.
Binary file modified icons/obj/clothing/head/helmet.dmi
Binary file not shown.
Binary file modified icons/obj/clothing/suits/armor.dmi
Binary file not shown.
Binary file modified icons/obj/clothing/suits/jacket.dmi
Binary file not shown.
Binary file modified icons/obj/clothing/under/centcom.dmi
Binary file not shown.
Binary file modified icons/obj/clothing/under/misc.dmi
Binary file not shown.
Binary file modified icons/obj/storage/backpack.dmi
Binary file not shown.
Loading