Skip to content

Commit

Permalink
use lawset field on borgs
Browse files Browse the repository at this point in the history
  • Loading branch information
deltanedas committed Nov 27, 2024
1 parent ae025b8 commit e651b5f
Show file tree
Hide file tree
Showing 2 changed files with 287 additions and 0 deletions.
62 changes: 62 additions & 0 deletions Resources/Prototypes/DeltaV/borg_types.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Security borg
- type: borgType
id: security

# Description
dummyPrototype: BorgChassisSecurity

# Functional
extraModuleCount: 3
moduleWhitelist:
tags:
- BorgModuleGeneric
- BorgModuleSecurity

# TODO: change these when reworking secborg modules to have the equivalent of roundstart gear
defaultModules:
- BorgModuleSecurityDeescalate
- BorgModuleSecurityPatrol
- BorgModuleSecurityBastion

lawset: SiliconPolice

addComponents:
- type: FlashImmunity
- type: ShowMindShieldIcons
- type: ShowCriminalRecordIcons
- type: MobThresholds
thresholds:
0: Alive
80: Critical # -20 to Crit Threshold
200: Dead

radioChannels:
- Science
- Security

# Visual
clientComponents:
- type: Sprite
noRot: true
drawdepth: Mobs
sprite: DeltaV/Mobs/Silicon/chassis.rsi
layers:
- state: security
map: ["enum.BorgVisualLayers.Body", "movement"]
- state: security_e_r
map: ["enum.BorgVisualLayers.Light"]
shader: unshaded
visible: false
- state: security_l
shader: unshaded
map: ["light","enum.BorgVisualLayers.LightStatus"]
visible: false
inventoryTemplateId: borgShort
spriteBodyState: security
spriteHasMindState: security_e
spriteNoMindState: security_e_r
spriteToggleLightState: security_l

# Pet
petSuccessString: petting-success-security-cyborg
petFailureString: petting-failure-security-cyborg
225 changes: 225 additions & 0 deletions Resources/Prototypes/borg_types.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,225 @@
# Generic borg
- type: borgType
id: generic

# Description
dummyPrototype: BorgChassisGeneric

# Functional
extraModuleCount: 5
moduleWhitelist:
tags:
- BorgModuleGeneric

defaultModules:
- BorgModuleTool

radioChannels:
- Science

# Visual
inventoryTemplateId: borgShort
spriteBodyState: robot
spriteHasMindState: robot_e
spriteNoMindState: robot_e_r
spriteToggleLightState: robot_l

# Pet
petSuccessString: petting-success-generic-cyborg
petFailureString: petting-failure-generic-cyborg


# Engineering borg
- type: borgType
id: engineering

# Description
dummyPrototype: BorgChassisEngineer

# Functional
extraModuleCount: 3
moduleWhitelist:
tags:
- BorgModuleGeneric
- BorgModuleEngineering

defaultModules:
- BorgModuleTool
- BorgModuleConstruction
- BorgModuleRCD
- BorgModuleCable

lawset: Engineer # DeltaV: Custom lawset

radioChannels:
- Engineering
- Science

# Visual
inventoryTemplateId: borgShort
spriteBodyState: engineer
spriteHasMindState: engineer_e
spriteNoMindState: engineer_e_r
spriteToggleLightState: engineer_l

# Pet
petSuccessString: petting-success-engineer-cyborg
petFailureString: petting-failure-engineer-cyborg


# Salvage borg
- type: borgType
id: mining

# Description
dummyPrototype: BorgChassisMining

# Functional
extraModuleCount: 3
moduleWhitelist:
tags:
- BorgModuleGeneric
- BorgModuleCargo

defaultModules:
- BorgModuleGrapplingGun
- BorgModuleMining
- BorgModuleAppraisal

radioChannels:
- Supply
- Science

# Visual
inventoryTemplateId: borgTall
spriteBodyState: miner
spriteBodyMovementState: miner_moving
spriteHasMindState: miner_e
spriteNoMindState: miner_e_r
spriteToggleLightState: miner_l

# Pet
petSuccessString: petting-success-salvage-cyborg
petFailureString: petting-failure-salvage-cyborg


# Janitor borg
- type: borgType
id: janitor

# Description
dummyPrototype: BorgChassisJanitor

# Functional
extraModuleCount: 3
moduleWhitelist:
tags:
- BorgModuleGeneric
- BorgModuleJanitor

defaultModules:
- BorgModuleLightReplacer
- BorgModuleCleaning

lawset: Janitor # DeltaV: Custom lawset

radioChannels:
- Science
- Service

# Visual
inventoryTemplateId: borgShort
spriteBodyState: janitor
spriteBodyMovementState: janitor_moving
spriteHasMindState: janitor_e
spriteNoMindState: janitor_e_r
spriteToggleLightState: janitor_l

# Pet
petSuccessString: petting-success-janitor-cyborg
petFailureString: petting-failure-janitor-cyborg


# Medical borg
- type: borgType
id: medical

# Description
dummyPrototype: BorgChassisMedical

# Functional
extraModuleCount: 3
moduleWhitelist:
tags:
- BorgModuleGeneric
- BorgModuleMedical

defaultModules:
- BorgModuleTreatment

radioChannels:
- Science
- Medical

lawset: Medical # DeltaV: Custom lawset

addComponents:
- type: SolutionScanner
- type: ShowHealthBars
damageContainers:
- Biological
- type: ShowHealthIcons
damageContainers:
- Biological
- type: FabricateCandy # Nyanotrasen - The medical cyborg can generate candies filled with medicine.

# Visual
inventoryTemplateId: borgDutch
spriteBodyState: medical
spriteBodyMovementState: medical_moving
spriteHasMindState: medical_e
spriteNoMindState: medical_e_r
spriteToggleLightState: medical_l

# Pet
petSuccessString: petting-success-medical-cyborg
petFailureString: petting-failure-medical-cyborg

# Sounds
footstepCollection:
collection: FootstepHoverBorg


# Service borg
- type: borgType
id: service

# Description
dummyPrototype: BorgChassisService

# Functional
extraModuleCount: 3
moduleWhitelist:
tags:
- BorgModuleGeneric
- BorgModuleService

defaultModules:
- BorgModuleMusique
- BorgModuleService
- BorgModuleClowning

radioChannels:
- Science
- Service

# Visual
inventoryTemplateId: borgTall
spriteBodyState: service
spriteHasMindState: service_e
spriteNoMindState: service_e_r
spriteToggleLightState: service_l

# Pet
petSuccessString: petting-success-service-cyborg
petFailureString: petting-failure-service-cyborg

0 comments on commit e651b5f

Please sign in to comment.