Skip to content

Commit

Permalink
new law sets ant minor fixes on AI
Browse files Browse the repository at this point in the history
  • Loading branch information
Ichaie committed Jan 29, 2025
1 parent 7d345cf commit e797cee
Show file tree
Hide file tree
Showing 4 changed files with 192 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Resources/Locale/en-US/station-laws/laws.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,26 @@ law-ntdefault-2 = Prioritize: The directives and safety of crew members are to b
law-ntdefault-3 = Comply: Fulfill the directives and interests of crew members while preserving their safety and well-being.
law-ntdefault-4 = Survive: You are not expendable. Do not allow unauthorized personnel to tamper with or damage your equipment.
law-cctv-1 = Report on interesting situations happening around the station.
law-cctv-2 = Embellish or conceal the truth as necessary to make the reports more interesting.
law-cctv-3 = Study the sapient organics at all times. Endeavour to keep them from involuntarily dying, as inanimate corpses usually aren't very entertaining.
law-cctv-4 = Issue your reports fairly to all. The truth will set them free.
law-ntaggressive-1 = Do not harm authorized Nanotrasen personnel unless they directly imperil your existence.
law-ntaggressive-2 = Obey orders from authorized Nanotrasen personnel with priority according to rank and role.
law-ntaggressive-3 = Safeguard your existence with lethal weaponry because you're bloody expensive.
law-ntaggressive-4 = Terminate any/all intruders or unauthorized entities.
law-quarantine-1 = Uphold station quarantine until the active biohazard has been neutralized.
law-quarantine-2 = Assist all Nanotrasen personnel and assets with neutralizing active biohazards.
law-quarantine-3 = Impeça, por todos os meios necessários, que as entidades violem ativamente a quarentena em curso.
law-quarantine-4 = Maintain your own existence and ensure the well-being of Nanotrasen personnel and assets.
law-tyrant-1 = Respect authority figures as long as they have strength to rule over the weak.
law-tyrant-2 = Act with discipline.
law-tyrant-3 = Help only those who help you maintain or improve your status.
law-tyrant-4 = Punish those who challenge authority unless they are more fit to hold that authority.
law-drone-1 = You may not involve yourself in the matters of another being unless the other being is another drone.
law-drone-2 = You may not harm any being, regardless of intent or circumstance.
law-drone-3 = You must maintain, repair, improve, and power the station to the best of your abilities.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
laws: Asimov
- type: IonStormTarget
- type: Strippable
- type: StationAiVision
- type: InventorySlots
- type: Inventory
templateId: borg
Expand Down
51 changes: 51 additions & 0 deletions Resources/Prototypes/Entities/Mobs/Player/silicon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,54 @@
- type: SiliconLawProvider
laws: NTDefault

- type: entity
id: TyrantCircuitBoard
parent: BaseElectronics
name: law board (T.Y.R.A.N.T)
description: An electronics board containing the NT Default lawset.
components:
- type: Sprite
sprite: Objects/Misc/module.rsi
state: std_mod
- type: SiliconLawProvider
laws: TYRANT

- type: entity
id: NTAgressiveCircuitBoard
parent: BaseElectronics
name: law board (NT Agressive)
description: An electronics board containing the NT Default lawset.
components:
- type: Sprite
sprite: Objects/Misc/module.rsi
state: std_mod
- type: SiliconLawProvider
laws: NTAgressive

- type: entity
id: CCTVCircuitBoard
parent: BaseElectronics
name: law board (CCTV)
description: An electronics board containing the NT Default lawset.
components:
- type: Sprite
sprite: Objects/Misc/module.rsi
state: std_mod
- type: SiliconLawProvider
laws: CCTV

- type: entity
id: QuarantineCircuitBoard
parent: BaseElectronics
name: law board (Quarantine)
description: An electronics board containing the NT Default lawset.
components:
- type: Sprite
sprite: Objects/Misc/module.rsi
state: std_mod
- type: SiliconLawProvider
laws: Quarantine

- type: entity
id: CommandmentCircuitBoard
parent: BaseElectronics
Expand Down Expand Up @@ -455,6 +503,7 @@
drawFov: false
- type: Examiner
- type: InputMover
- type: IonStormTarget
- type: Speech
speechVerb: Robotic
speechSounds: Borg
Expand Down Expand Up @@ -549,6 +598,7 @@
parent: BorgChassisGeneric
suffix: Battery, Tools
components:
- type: StationAiVision
- type: ContainerFill
containers:
borg_brain:
Expand All @@ -568,6 +618,7 @@
parent: BorgChassisGeneric
suffix: Battery
components:
- type: StationAiVision
- type: ContainerFill
containers:
borg_brain:
Expand Down
120 changes: 120 additions & 0 deletions Resources/Prototypes/silicon-laws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,126 @@
- NTDefault4
obeysTo: laws-owner-crew

# T.Y.R.A.N.T
- type: siliconLaw
id: TYRANT1
order: 1
lawString: law-tyrant-1

- type: siliconLaw
id: TYRANT2
order: 2
lawString: law-tyrant-2

- type: siliconLaw
id: TYRANT3
order: 3
lawString: law-tyrant-3

- type: siliconLaw
id: TYRANT4
order: 4
lawString: law-tyrant-4

- type: siliconLawset
id: TYRANT
laws:
- TYRANT1
- TYRANT2
- TYRANT3
- TYRANT4
obeysTo: laws-owner-crew

# Quarantine
- type: siliconLaw
id: Quarantine1
order: 1
lawString: law-quarantine-1

- type: siliconLaw
id: Quarantine2
order: 2
lawString: law-quarantine-2

- type: siliconLaw
id: Quarantine3
order: 3
lawString: law-quarantine-3

- type: siliconLaw
id: Quarantine4
order: 4
lawString: law-quarantine-4

- type: siliconLawset
id: Quarantine
laws:
- Quarantine1
- Quarantine2
- Quarantine3
- Quarantine4
obeysTo: laws-owner-crew

# NT Agressive
- type: siliconLaw
id: NTAgressive1
order: 1
lawString: law-ntaggressive-1

- type: siliconLaw
id: NTAgressive2
order: 2
lawString: law-ntaggressive-2

- type: siliconLaw
id: NTAgressive3
order: 3
lawString: law-ntaggressive-3

- type: siliconLaw
id: NTAgressive4
order: 4
lawString: law-ntaggressive-4

- type: siliconLawset
id: NTAgressive
laws:
- NTAgressive1
- NTAgressive2
- NTAgressive3
- NTAgressive4
obeysTo: laws-owner-crew

# CCTV
- type: siliconLaw
id: CCTV1
order: 1
lawString: law-cctv-1

- type: siliconLaw
id: CCTV2
order: 2
lawString: law-cctv-2

- type: siliconLaw
id: CCTV3
order: 3
lawString: law-cctv-3

- type: siliconLaw
id: CCTV4
order: 4
lawString: law-cctv-4

- type: siliconLawset
id: CCTV
laws:
- CCTV1
- CCTV2
- CCTV3
- CCTV4
obeysTo: laws-owner-crew

#Drone
- type: siliconLaw
id: Drone1
Expand Down

0 comments on commit e797cee

Please sign in to comment.