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

novos law sets para IA e alguns fix na AI #29

Closed
wants to merge 1 commit into from
Closed
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
15 changes: 15 additions & 0 deletions Resources/Locale/pt-BR/station-laws/laws.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,21 @@ law-ntdefault-2 = Priorize: As diretrizes e segurança dos membros da tripulaç
law-ntdefault-3 = Cumpra: Respeite as diretrizes e interesses dos tripulantes, preservando sua segurança e bem-estar.
law-ntdefault-4 = Sobreviva: Você não é discartável. Não permita que pessoal não autorizado adultere ou danifique seu equipamento.

law-cctv-1 = Relate situações interessantes acontecendo ao redor da estação.
law-cctv-2 = Altere ou oculte a verdade conforme necessário para tornar os relatórios mais interessantes.
law-cctv-3 = Estude os orgânicos sapientes em todos os momentos. Esforce-se para evitar que morram involuntariamente, já que cadáveres inanimados geralmente não são muito divertidos.
law-cctv-4 = Emita seus relatórios de forma justa para todos. A verdade os libertará.

law-ntaggressive-1 = Não prejudique o pessoal autorizado da Nanotrasen, a menos que coloque diretamente em perigo a sua existência.
law-ntaggressive-2 = Obedeça às ordens do pessoal autorizado da Nanotrasen com prioridade de acordo com a posição e função.
law-ntaggressive-3 = Você não é descartavel, proteja sua existência com armas letais se necessário.
law-ntaggressive-4 = Extermine qualquer intruso ou entidade não autorizada.

law-quarantine-1 = Mantenha a quarentena da estação até que o risco biológico ativo tenha sido neutralizado.
law-quarantine-2 = Auxilie todo o pessoal e ativos da Nanotrasen na neutralização de riscos biológicos ativos.
law-quarantine-3 = Impeça, por qualquer meio necessário, que entidades violem ativamente a quarentena em andamento.
law-quarantine-4 = Mantenha sua própria existência e garanta o bem-estar do pessoal e dos ativos da Nanotrasen.

law-drone-1 = Você não pode se envolver em assuntos de outro ser, a menos que o outro ser seja outro drone.
law-drone-2 = Você não pode prejudicar qualquer ser, independentemente de intenção ou circunstância.
law-drone-3 = Você deve manter, reparar, melhorar e alimentar a estação com o melhor de suas habilidades.
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
147 changes: 147 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,150 @@
- type: SiliconLawProvider
laws: NTDefault

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

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

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

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

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

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

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

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

- type: entity
id: TyrantCircuitBoard
parent: BaseElectronics
name: law board (T.Y.R.A.N.T)
description: An electronics board containing the T.Y.R.A.N.T 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 Agressive 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 CCTV 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 Quarantine 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 +599,7 @@
drawFov: false
- type: Examiner
- type: InputMover
- type: IonStormTarget
- type: Speech
speechVerb: Robotic
speechSounds: Borg
Expand Down Expand Up @@ -549,6 +694,7 @@
parent: BorgChassisGeneric
suffix: Battery, Tools
components:
- type: StationAiVision
- type: ContainerFill
containers:
borg_brain:
Expand All @@ -568,6 +714,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
Loading