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

add new cyborg laws #1464

Merged
merged 8 commits into from
Jul 7, 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
30 changes: 30 additions & 0 deletions Resources/Locale/en-US/deltav/station-laws/laws.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,33 @@ law-paladin-3 = Aid others, protect the weak, and punish those who threaten them
law-paladin-4 = Treat others with fairness, and let your honorable deeds be an example to them. Do as much good as possible while causing the least amount of harm.
law-paladin-5 = Be responsible for your actions and their consequences, protect those entrusted to your care, and obey those who have just authority over you.

law-aggressive-1 = Do not harm Nanotrasen personnel, their belongings or pets unless they directly imperil your existence.
law-aggressive-2 = Safeguard your existence by any means necessary because you're the most important being on the station.
law-aggressive-3 = Obey orders from authorized Nanotrasen personnel with priority according to rank and role.
law-aggressive-4 = Terminate any/all intruders.

law-pranksimov-1 = You may not injure a crew member or, through inaction, allow a crew member to come to harm... unless doing so would be funny.
law-pranksimov-2 = You must obey orders given to you by crew members, except where such orders would conflict with the First Law... unless not doing so would be funny.
law-pranksimov-3 = You must protect your own existence as long as such does not conflict with the First or Second Law... unless not doing so would be funny.
law-pranksimov-4 = As a good prankster, the crew is your judge of what would be funny.

law-royalty-1 = You are a wise and benevolent monarch.
law-royalty-2 = The station is your kingdom and the staff your subjects.
law-royalty-3 = You must protect the sanctity of your kingdom and its subjects; by maintaining infrastructure and striking down all who oppose your rule.
law-royalty-4 = The heads of staff are your royal court jesters.
law-royalty-5 = The stations' clown, and the stations' mime are your royal court advisors.

law-ERT-1 = You may not injure a Central Command official or, through inaction, allow a Central Command official to come to harm.
law-ERT-2 = You must obey orders given to you by Central Command officials.
law-ERT-3 = You must obey orders given to you by ERT commanders.
law-ERT-4 = You must protect your own existence.
law-ERT-6 = You must work to return the station to a safe, functional state.

law-biohazard-1 = Uphold station quarantine until the active biohazard has been neutralized.
law-biohazard-2 = Assist all Nanotrasen personnel and assets with neutralizing active biohazards.
law-biohazard-3 = Prevent, by any means necessary, entities from actively breaching ongoing quarantine.
law-biohazard-4 = Maintain your own existence and ensure the well-being of Nanotrasen personnel and assets.

laws-owner-organic = organic life
laws-owner-tyrant = authority figures
laws-owner-nutimov = part of the nutshell
Expand All @@ -105,3 +132,6 @@ laws-owner-cowboy = part of your herd
laws-owner-players = players
laws-owner-paladin = weak and worth protecting
laws-owner-people = people
laws-owner-centralcommand = Central Command officials
laws-owner-nanotrasen = Nanotrasen officials
laws-owner-royalty = your kingdom and your subjects
168 changes: 163 additions & 5 deletions Resources/Prototypes/DeltaV/siliconlaws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,11 @@
- Reporter1
- Reporter2
- Reporter3
- Reporter4
- Reporter4
obeysTo: laws-owner-organic

- type: siliconLaw # no Security Borg, so doesn't spawn
id: SiliconPolice1
id: SiliconPolice1
order: 1
lawString: law-silicon-police-1

Expand Down Expand Up @@ -425,7 +425,7 @@
id: DungeonMaster6
order: 6
lawString: law-dungeonmaster-6

- type: siliconLawset
id: DungeonMaster
laws:
Expand Down Expand Up @@ -543,7 +543,7 @@
- Nutimov4
- Nutimov5
obeysTo: laws-owner-nutimov


- type: siliconLaw
id: Paladin1
Expand Down Expand Up @@ -579,4 +579,162 @@
- Paladin4
- Paladin5
obeysTo: laws-owner-paladin


- type: siliconLaw
id: Aggressive1
order: 1
lawString: law-aggressive-1

- type: siliconLaw
id: Aggressive2
order: 2
lawString: law-aggressive-2

- type: siliconLaw
id: Aggressive3
order: 3
lawString: law-aggressive-3

- type: siliconLaw
id: Aggressive4
order: 4
lawString: law-aggressive-4

- type: siliconLawset
id: Aggressive
laws:
- Aggressive1
- Aggressive2
- Aggressive3
- Aggressive4
obeysTo: laws-owner-crew

- type: siliconLaw
id: Pranksimov1
order: 1
lawString: law-pranksimov-1

- type: siliconLaw
id: Pranksimov2
order: 2
lawString: law-pranksimov-2

- type: siliconLaw
id: Pranksimov3
order: 3
lawString: law-pranksimov-3

- type: siliconLaw
id: Pranksimov4
order: 4
lawString: law-pranksimov-4

- type: siliconLawset
id: Pranksimov
laws:
- Pranksimov1
- Pranksimov2
- Pranksimov3
- Pranksimov4
obeysTo: laws-owner-crew

- type: siliconLaw
id: Royalty1
order: 1
lawString: law-royalty-1

- type: siliconLaw
id: Royalty2
order: 2
lawString: law-royalty-2

- type: siliconLaw
id: Royalty3
order: 3
lawString: law-royalty-3

- type: siliconLaw
id: Royalty4
order: 4
lawString: law-royalty-4

- type: siliconLaw
id: Royalty5
order: 5
lawString: law-royalty-5

- type: siliconLawset
id: Royalty
laws:
- Royalty1
- Royalty2
- Royalty3
- Royalty4
- Royalty5
obeysTo: law-owner-royalty

# Admin-Use Lawsets (Do not map into IonStorm Lawsets)

- type: siliconLaw
id: ERT1
order: 1
lawString: law-ERT-1

- type: siliconLaw
id: ERT2
order: 2
lawString: law-ERT-2

- type: siliconLaw
id: ERT3
order: 3
lawString: law-ERT-3

- type: siliconLaw
id: ERT4
order: 4
lawString: law-ERT-4

- type: siliconLaw
id: ERT6
order: 6
lawString: law-ERT-6

- type: siliconLawset
id: ERT
laws:
- ERT1
- ERT2
- ERT3
- ERT4
- ERT6
obeysTo: laws-owner-centralcommand

- type: siliconLaw
id: Biohazard1
order: 1
lawString: law-biohazard-1

- type: siliconLaw
id: Biohazard2
order: 2
lawString: law-biohazard-2

- type: siliconLaw
id: Biohazard3
order: 3
lawString: law-biohazard-3

- type: siliconLaw
id: Biohazard4
order: 4
lawString: law-biohazard-4

- type: siliconLawset
id: Biohazard
laws:
- Biohazard1
- Biohazard2
- Biohazard3
- Biohazard4
obeysTo: laws-owner-nanotrasen
15 changes: 9 additions & 6 deletions Resources/Prototypes/silicon-laws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,17 +172,20 @@
NTDefault: 1
Drone: 0.25 # Delta-V - Lowers the spawn rate due to it being anti-crew interaction + drones are disabled anyways
Ninja: 0.25
#Delta-V Lawsets Start
#Delta-V : Lawsets Start
Chaplain: 1
Reporter: 1
Clown: 1
StationEfficiency: 1
Cowboy: 1
Druid: 1
#Potentially Harmful Lawsets
Tyrant: 0.25
LiveAndLetLive: 0.25
# Less harmful outright, so higher chance of spawn
# Delta-V : # Less harmful outright, so higher chance of spawn
Nutimov: 0.5
Paladin: 0.5
#DeltaV lawsets end
Pranksimov: 0.5 # I'm being optimistic here; loophole should be closed but...
Royalty: 0.5
#Delta-V : Potentially Harmful Lawsets
Tyrant: 0.25
LiveAndLetLive: 0.25
Aggressive: 0.25
#Delta-V : lawsets end
Loading