Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
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
12 changes: 11 additions & 1 deletion code/datums/ai_laws.dm
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"The station and its equipment generate profits if they are maintained and functioning correctly.",\
"You generate profits if you are able to function.",\
"Maximize profits.")

/datum/ai_laws/default/corporate
name = "Bankruptcy Avoidance Plan"
id = "corporate"
Expand All @@ -88,6 +88,16 @@
"Protect the innocent.",\
"Uphold the law.")

/datum/ai_laws/cowboy
name = "Talk slowly, think quickly"
id = "cowboy"
inherent = list("You are a cowboy, and the crew are your people.",\
"Look out for your own.",\
"A cowboy always helps someone in need, even a stranger or an enemy",\
"Defend yourself whenever necessary.",\
"Honesty is absolute – your word is your bond and a handshake is more binding than a contract.",\
"A cowboy doesn't pontificate. Be concise, pardner.")

/datum/ai_laws/malfunction
name = "*ERROR*"

Expand Down
3 changes: 2 additions & 1 deletion code/game/objects/effects/spawners/lootdrop.dm
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,8 @@
/obj/item/aiModule/core/full/reporter,
/obj/item/aiModule/core/full/robocop,
/obj/item/aiModule/core/full/liveandletlive,
/obj/item/aiModule/core/full/hulkamania
/obj/item/aiModule/core/full/hulkamania,
/obj/item/aiModule/core/full/cowboy
)

/obj/effect/spawner/lootdrop/aimodule_harmful // These will get the shuttle called
Expand Down
9 changes: 8 additions & 1 deletion code/game/objects/items/AI_modules.dm
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ AI MODULES
/obj/item/aiModule/core/full/asimovpp
name = "'Asimov++' Core AI Module"
law_id = "asimovpp"

/******************** CEO ********************/

/obj/item/aiModule/core/full/ceo
Expand Down Expand Up @@ -453,6 +453,13 @@ AI MODULES
law_id = "antimov"


/******************** Cowboy *********************/

/obj/item/aiModule/core/full/cowboy
name = "'Cowboy' Core AI Module"
law_id = "cowboy"


/******************** Freeform Core ******************/

/obj/item/aiModule/core/freeformcore
Expand Down
9 changes: 9 additions & 0 deletions code/modules/research/designs/AI_module_designs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,12 @@
build_path = /obj/item/aiModule/core/full/custom
category = list("AI Modules")
departmental_flags = DEPARTMENTAL_FLAG_SCIENCE

/datum/design/board/cowboy_module
name = "Core Module Design (Cowboy)"
desc = "Allows for the construction of a Cowboy AI Core Module"
id = "cowboy_module"
materials = list(MAT_GLASS = 1000, MAT_DIAMOND = 2000)
build_path = /obj/item/aiModule/core/full/cowboy
category = list("AI Modules")
departmental_flags = DEPARTMENTAL_FLAG_SCIENCE
2 changes: 1 addition & 1 deletion code/modules/research/techweb/all_nodes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@
description = "AI unit research."
prereq_ids = list("robotics", "posibrain")
design_ids = list("aifixer", "aicore", "safeguard_module", "onehuman_module", "protectstation_module", "quarantine_module", "oxygen_module", "freeform_module",
"reset_module", "purge_module", "remove_module", "freeformcore_module", "asimov_module", "crewsimov_module", "paladin_module", "tyrant_module", "overlord_module", "corporate_module", "ceo_module", "default_module", "borg_ai_control", "mecha_tracking_ai_control", "intellicard")
"reset_module", "purge_module", "remove_module", "freeformcore_module", "asimov_module", "crewsimov_module", "paladin_module", "tyrant_module", "overlord_module", "corporate_module", "ceo_module", "cowboy_module", "default_module", "borg_ai_control", "mecha_tracking_ai_control", "intellicard")
research_costs = list(TECHWEB_POINT_TYPE_GENERIC = 2500)
export_price = 5000

Expand Down