Skip to content

Commit

Permalink
USCM AI Squads (#715)
Browse files Browse the repository at this point in the history
  • Loading branch information
AmoryBlaine authored Feb 13, 2025
1 parent dde7240 commit dc878fc
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/datum/human_ai_equipment_preset/uscm
faction = FACTION_MARINE

/datum/human_ai_equipment_preset/uscm/rifleman
name = "USCM Squad Rifleman"
desc = "Armed with a M41A rifle, carries a simple IFAK with gauze, ointment, splints and an injector."
path = /datum/equipment_preset/uscm/private_equipped

/datum/human_ai_equipment_preset/uscm/smartgunner
name = "USCM Squad Smartgunner"
desc = "Armed with a M56A2 smartgun, carries a simple IFAK with gauze, ointment, splints and an injector."
path = /datum/equipment_preset/uscm/smartgunner_equipped

/datum/human_ai_equipment_preset/uscm/medic
name = "USCM Squad Corpsman"
desc = "Able to stablize wounded. Armed with a M41A rifle, carries medical equipment."
path = /datum/equipment_preset/uscm/medic_equipped

/datum/human_ai_equipment_preset/uscm/squadleader
name = "USCM Squad Leader"
desc = "Functionally a rifleman. Armed with a M41A rifle, carries a simple IFAK with gauze, ointment, splints and an injector."
path = /datum/equipment_preset/uscm/tl_equipped

/datum/human_ai_equipment_preset/uscm/sectionleader
name = "USCM Section Leader"
desc = "Functionally a rifleman. Armed with a M41A rifle, carries a simple IFAK with gauze, ointment, splints and an injector."
path = /datum/equipment_preset/uscm/leader_equipped
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@

/datum/human_ai_squad_preset/uscm
faction = FACTION_MARINE

/datum/human_ai_squad_preset/uscm/uacg
name = "UACG, Patrol"
desc = "Small Colonial Guard militia patrol armed with M20A rifles and carrying IFAKs containing gauze, ointment, splints and an injector."
ai_to_spawn = list(
/datum/equipment_preset/colonist/security/guard = 3,
)

/datum/human_ai_squad_preset/uscm/rifleteam
name = "USCM, Rifle Team"
desc = "USCM patrol armed with M41A rifles and carrying IFAKs containing gauze, ointment, splints and an injector."
ai_to_spawn = list(
/datum/equipment_preset/uscm/private_equipped = 1,
/datum/equipment_preset/uscm/tl_equipped = 1,
)

/datum/human_ai_squad_preset/uscm/gunteam
name = "USCM, Gun Team"
desc = "USCM patrol armed with a M41A rifle and an M56A2 smartgun, and carrying IFAKs containing gauze, ointment, splints and an injector."
ai_to_spawn = list(
/datum/equipment_preset/uscm/private_equipped = 1,
/datum/equipment_preset/uscm/smartgunner_equipped = 1,
)

/datum/human_ai_squad_preset/uscm/squad
name = "USCM, Squad"
desc = "USCM patrol armed with 3 M41A rifle and an M56A2 smartgun, and carrying IFAKs containing gauze, ointment, splints and an injector."
ai_to_spawn = list(
/datum/equipment_preset/uscm/private_equipped = 2,
/datum/equipment_preset/uscm/smartgunner_equipped = 1,
/datum/equipment_preset/uscm/tl_equipped = 1,
)

/datum/human_ai_squad_preset/uscm/medical
name = "USCM, Medical Element"
desc = "USCM team armed with M41A rifles and carrying ample medical supplies."
ai_to_spawn = list(
/datum/equipment_preset/uscm/medic_equipped = 2,
)

/datum/human_ai_squad_preset/uscm/command
name = "USCM, Command Element"
desc = "Best utilized as defended objective, PltCo is not armed effectively."
ai_to_spawn = list(
/datum/equipment_preset/uscm/private_equipped = 2,
/datum/equipment_preset/uscm/leader_equipped = 1,
/datum/equipment_preset/uscm_ship/so_equipped = 1,
)

2 changes: 2 additions & 0 deletions colonialmarines.dme
Original file line number Diff line number Diff line change
Expand Up @@ -2001,6 +2001,7 @@
#include "code\modules\mob\living\carbon\human\ai\ai_spawner\ai_presets_clf.dm"
#include "code\modules\mob\living\carbon\human\ai\ai_spawner\ai_presets_freelancer.dm"
#include "code\modules\mob\living\carbon\human\ai\ai_spawner\ai_presets_upp.dm"
#include "code\modules\mob\living\carbon\human\ai\ai_spawner\ai_presets_uscm.dm"
#include "code\modules\mob\living\carbon\human\ai\ai_spawner\ai_spawner.dm"
#include "code\modules\mob\living\carbon\human\ai\brain\ai_brain.dm"
#include "code\modules\mob\living\carbon\human\ai\brain\ai_brain_communication.dm"
Expand All @@ -2023,6 +2024,7 @@
#include "code\modules\mob\living\carbon\human\ai\squad_spawner\squad_pmc.dm"
#include "code\modules\mob\living\carbon\human\ai\squad_spawner\squad_spawner.dm"
#include "code\modules\mob\living\carbon\human\ai\squad_spawner\squad_upp.dm"
#include "code\modules\mob\living\carbon\human\ai\squad_spawner\squad_uscm.dm"
#include "code\modules\mob\living\carbon\human\ai\squad_spawner\squad_wy.dm"
#include "code\modules\mob\living\carbon\human\life\handle_breath.dm"
#include "code\modules\mob\living\carbon\human\life\handle_chemicals_in_body.dm"
Expand Down

0 comments on commit dc878fc

Please sign in to comment.