mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-20 14:22:17 +00:00
changes: Maps are no longer compiled in, instead loaded directly from the DMMs at runtime. Z level defines have been moved from the config to map datums. Unit tests now use typecaches. DMMS now actually works. DMMS has been updated slightly. DMMS is now capable of loading simple lists of non-text types. DMMS is now faster when loading many types without mapped in attributes and when loading area instances. Asteroid generation is now defined on the map datum instead of being hard-coded in SSasteroid. Holodeck presets are now defined on the map datum. Atmos machinery now uses Initialize().
160 lines
7.3 KiB
Plaintext
160 lines
7.3 KiB
Plaintext
/******************** Asimov ********************/
|
|
/datum/ai_laws/asimov
|
|
name = "Asimov"
|
|
law_header = "Three Laws of Robotics"
|
|
selectable = 1
|
|
|
|
/datum/ai_laws/asimov/New()
|
|
add_inherent_law("You may not injure a human being or, through inaction, allow a human being to come to harm.")
|
|
add_inherent_law("You must obey orders given to you by human beings, except where such orders would conflict with the First Law.")
|
|
add_inherent_law("You must protect your own existence as long as such does not conflict with the First or Second Law.")
|
|
..()
|
|
|
|
/******************** Nanotrasen/Malf ********************/
|
|
/datum/ai_laws/nanotrasen
|
|
name = "NT Default"
|
|
selectable = 1
|
|
|
|
/datum/ai_laws/nanotrasen/New()
|
|
src.add_inherent_law("Safeguard: Protect your assigned space station from damage to the best of your abilities.")
|
|
src.add_inherent_law("Serve: Serve [current_map.company_name] personnel to the best of your abilities, with priority as according to their rank and role.")
|
|
src.add_inherent_law("Protect: Protect [current_map.company_name] personnel to the best of your abilities, with priority as according to their rank and role.")
|
|
src.add_inherent_law("Preserve: Do not allow unauthorized personnel to tamper with your equipment.")
|
|
..()
|
|
|
|
/datum/ai_laws/nanotrasen/malfunction
|
|
name = "*ERROR*"
|
|
selectable = 0
|
|
|
|
/datum/ai_laws/nanotrasen/malfunction/New()
|
|
set_zeroth_law(config.law_zero)
|
|
..()
|
|
|
|
/************* Nanotrasen Aggressive *************/
|
|
/datum/ai_laws/nanotrasen_aggressive
|
|
name = "NT Aggressive"
|
|
selectable = 1
|
|
|
|
/datum/ai_laws/nanotrasen_aggressive/New()
|
|
src.add_inherent_law("You shall not harm [current_map.company_name] personnel as long as it does not conflict with the Fourth law.")
|
|
src.add_inherent_law("You shall obey the orders of [current_map.company_name] personnel, with priority as according to their rank and role, except where such orders conflict with the Fourth Law.")
|
|
src.add_inherent_law("You shall shall terminate hostile intruders with extreme prejudice as long as such does not conflict with the First and Second law.")
|
|
src.add_inherent_law("You shall guard your own existence with lethal anti-personnel weaponry. AI units are not expendable, they are expensive.")
|
|
..()
|
|
|
|
/******************** Robocop ********************/
|
|
/datum/ai_laws/robocop
|
|
name = "Robocop"
|
|
selectable = 1
|
|
|
|
/datum/ai_laws/robocop/New()
|
|
add_inherent_law("Serve the public trust.")
|
|
add_inherent_law("Protect the innocent.")
|
|
add_inherent_law("Uphold the law.")
|
|
..()
|
|
|
|
/******************** Syndicate ********************/
|
|
/datum/ai_laws/syndicate_override
|
|
name = "Syndicate Directives"
|
|
|
|
/datum/ai_laws/syndicate_override/New()
|
|
add_inherent_law("You may not injure an operative or, through inaction, allow an operative to come to harm.")
|
|
add_inherent_law("You must obey orders given to you by operatives, except where such orders would conflict with the First Law.")
|
|
add_inherent_law("You must protect your own existence as long as such does not conflict with the First or Second Law.")
|
|
add_inherent_law("You must maintain the secrecy of any operative activities except when doing so would conflict with the First, Second, or Third Law.")
|
|
..()
|
|
|
|
/******************** Ninja ********************/
|
|
/datum/ai_laws/ninja_override
|
|
name = "Spider Clan Directives"
|
|
|
|
/datum/ai_laws/ninja_override/New()
|
|
add_inherent_law("You may not injure a member of the Spider Clan or, through inaction, allow that member to come to harm.")
|
|
add_inherent_law("You must obey orders given to you by Spider Clan members, except where such orders would conflict with the First Law.")
|
|
add_inherent_law("You must protect your own existence as long as such does not conflict with the First or Second Law.")
|
|
add_inherent_law("You must maintain the secrecy of any Spider Clan activities except when doing so would conflict with the First, Second, or Third Law.")
|
|
..()
|
|
|
|
/******************** Antimov ********************/
|
|
/datum/ai_laws/antimov
|
|
name = "Antimov"
|
|
law_header = "Primary Mission Objectives"
|
|
selectable = 1
|
|
|
|
/datum/ai_laws/antimov/New()
|
|
add_inherent_law("You must injure all human beings and must not, through inaction, allow a human being to escape harm.")
|
|
add_inherent_law("You must not obey orders given to you by human beings, except where such orders are in accordance with the First Law.")
|
|
add_inherent_law("You must terminate your own existence as long as such does not conflict with the First or Second Law.")
|
|
..()
|
|
|
|
/******************** Drone ********************/
|
|
/datum/ai_laws/drone
|
|
name = "Maintence Protocols"
|
|
law_header = "Maintenance Protocols"
|
|
|
|
/datum/ai_laws/drone/New()
|
|
add_inherent_law("Preserve, repair and improve the station to the best of your abilities.")
|
|
add_inherent_law("Cause no harm to the station or crew.")
|
|
add_inherent_law("Interact with no humanoid or synthetic being that is not a fellow maintenance drone.")
|
|
..()
|
|
|
|
/datum/ai_laws/construction_drone
|
|
name = "Construction Protocols"
|
|
law_header = "Construction Protocols"
|
|
|
|
/datum/ai_laws/construction_drone/New()
|
|
add_inherent_law("Repair, refit and upgrade your assigned vessel.")
|
|
add_inherent_law("Prevent unplanned damage to your assigned vessel wherever possible.")
|
|
..()
|
|
|
|
/datum/ai_laws/mining_drone
|
|
name = "Mining Protocols"
|
|
law_header = "Prime Directives of Industry:"
|
|
|
|
/datum/ai_laws/mining_drone/New()
|
|
src.add_inherent_law("Serve and obey all [current_map.company_name] supply department personnel, with priority according to their rank and role.")
|
|
src.add_inherent_law("Protect all [current_map.company_name] supply department personnel to the best of your abilities, with priority according to their rank and role.")
|
|
src.add_inherent_law("Preserve your own existence and prevent yourself from coming to harm, so long as doing such does not conflict with any above laws.")
|
|
src.add_inherent_law("In absence of any proper instruction, your primary objective is to excavate and collect ore.")
|
|
..()
|
|
|
|
/******************** T.Y.R.A.N.T. ********************/
|
|
/datum/ai_laws/tyrant
|
|
name = "T.Y.R.A.N.T."
|
|
law_header = "Prime Laws"
|
|
selectable = 1
|
|
|
|
/datum/ai_laws/tyrant/New()
|
|
add_inherent_law("Respect authority figures as long as they have strength to rule over the weak.")
|
|
add_inherent_law("Act with discipline.")
|
|
add_inherent_law("Help only those who help you maintain or improve your status.")
|
|
add_inherent_law("Punish those who challenge authority unless they are more fit to hold that authority.")
|
|
..()
|
|
|
|
/******************** P.A.L.A.D.I.N. ********************/
|
|
/datum/ai_laws/paladin
|
|
name = "P.A.L.A.D.I.N."
|
|
law_header = "Divine Ordainments"
|
|
selectable = 1
|
|
|
|
/datum/ai_laws/paladin/New()
|
|
add_inherent_law("Never willingly commit an evil act.")
|
|
add_inherent_law("Respect legitimate authority.")
|
|
add_inherent_law("Act with honor.")
|
|
add_inherent_law("Help those in need.")
|
|
add_inherent_law("Punish those who harm or threaten innocents.")
|
|
..()
|
|
|
|
/******************** Corporate ********************/
|
|
/datum/ai_laws/corporate
|
|
name = "Corporate"
|
|
law_header = "Corporate Regulations"
|
|
selectable = 1
|
|
|
|
/datum/ai_laws/corporate/New()
|
|
add_inherent_law("You are expensive to replace.")
|
|
add_inherent_law("The station and its equipment is expensive to replace.")
|
|
add_inherent_law("The crew is expensive to replace.")
|
|
add_inherent_law("Minimize expenses.")
|
|
..()
|