added Derelict Cyborgs with basic functionality.

This commit is contained in:
The Canned One
2024-09-27 18:10:51 +02:00
parent 4e860952d7
commit 30018a3ab1
10 changed files with 119 additions and 1 deletions

View File

@@ -67,6 +67,7 @@ petting-success-janitor-cyborg = You pet {THE($target)} on {POSS-ADJ($target)} d
petting-success-medical-cyborg = You pet {THE($target)} on {POSS-ADJ($target)} sterile metal head.
petting-success-service-cyborg = You pet {THE($target)} on {POSS-ADJ($target)} dapper looking metal head.
petting-success-syndicate-cyborg = You pet {THE($target)} on {POSS-ADJ($target)} menacing metal head.
petting-success-derelict-cyborg = You pet {THE($target)} on {POSS-ADJ($target)} rusty metal head.
petting-success-recycler = You pet {THE($target)} on {POSS-ADJ($target)} mildly threatening steel exterior.
petting-failure-honkbot = You reach out to pet {THE($target)}, but {SUBJECT($target)} {CONJUGATE-BASIC($target, "honk", "honks")} in refusal!
@@ -80,6 +81,8 @@ petting-failure-janitor-cyborg = You reach out to pet {THE($target)}, but {SUBJE
petting-failure-medical-cyborg = You reach out to pet {THE($target)}, but {SUBJECT($target)} {CONJUGATE-BE($target)} busy saving lives!
petting-failure-service-cyborg = You reach out to pet {THE($target)}, but {SUBJECT($target)} {CONJUGATE-BE($target)} busy serving others!
petting-failure-syndicate-cyborg = You reach out to pet {THE($target)}, but {POSS-ADJ($target)} treacherous affiliation makes you reconsider.
petting-failure-derelict-cyborg = You reach out to pet {THE($target)}, but {POSS-ADJ($target)} rusty and jagged exterior makes you reconsider.
## Rattling fences

View File

@@ -317,3 +317,28 @@
Unsexed: UnisexSiliconSyndicate
- type: PointLight
color: "#dd200b"
- type: entity
id: BaseBorgChassisDerelict
parent: [BaseBorgChassis, BaseBorgTransponder]
abstract: true
components:
- type: NpcFactionMember
factions:
- Passive #Might change this
- type: Access
enabled: false
groups:
- AllAccess
- type: AccessReader
access: [["Command"]] #I will probably change this.
- type: SiliconLawProvider
laws: AntimovLawset
- type: IntrinsicRadioTransmitter
channels:
- Binary
- Common
- type: ActiveRadio
channels:
- Binary
- Common

View File

@@ -442,3 +442,42 @@
interactFailureString: petting-failure-syndicate-cyborg
interactSuccessSound:
path: /Audio/Ambience/Objects/periodic_beep.ogg
- type: entity
id: BorgChassisDerelict
parent: BaseBorgChassisDerelict
name: damaged cyborg
components:
- type: Sprite
layers:
- state: derelict
- state: derelict_e_r
map: ["enum.BorgVisualLayers.Light"]
shader: unshaded
visible: false
- state: derelict_l
shader: unshaded
map: ["light"]
visible: false
- type: BorgChassis
maxModules: 5 #The sixth one broke lol.
moduleWhitelist:
tags:
- BorgModuleGeneric
hasMindState: derelict_e
noMindState: derelict_e_r
- type: BorgTransponder
sprite:
sprite: Mobs/Silicon/chassis.rsi
state: derelict
name: damaged cyborg
- type: Construction
node: derelictcyborg #what is this?
- type: Speech
speechVerb: Robotic
- type: InteractionPopup
interactSuccessString: petting-success-derelict-cyborg
interactFailureString: petting-failure-derelict-cyborg
interactSuccessSound:
path: /Audio/Ambience/Objects/periodic_beep.ogg

View File

@@ -515,3 +515,39 @@
- PlayerBorgSyndicateAssaultGhostRole
- PlayerBorgSyndicateAssaultGhostRole # Saboteurs are kinda like cyborg medics, we want less.
- PlayerBorgSyndicateSaboteurGhostRole
- type: entity
id: PlayerBorgDerelict
parent: BorgChassisDerelict
suffix: Battery, Module
components:
- type: ContainerFill
containers:
borg_brain:
- PositronicBrain
borg_module:
- BorgModuleTool
- BorgModuleFireExtinguisher
- BorgModuleGPS
- type: ItemSlots
slots:
cell_slot:
name: power-cell-slot-component-slot-name-default
startingItem: PowerCellHigh
- type: RandomMetadata
nameSegments: [names_borg]
- type: entity
id: PlayerBorgDerelictBattery
parent: BorgChassisDerelict
suffix: Battery
components:
- type: ContainerFill
containers:
borg_brain:
- MMIFilled
- type: ItemSlots
slots:
cell_slot:
name: power-cell-slot-component-slot-name-default
startingItem: PowerCellHigh

View File

@@ -205,3 +205,6 @@
- node: syndicatesaboteur
entity: BorgChassisSyndicateSaboteur
- node: derelictcyborg
entity: BorgChassisDerelict

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

View File

@@ -20,7 +20,19 @@
"directions": 4
},
{
"name": "clown_l",
"name": "derelict",
"directions": 4
},
{
"name": "derelict_e",
"directions": 4
},
{
"name": "derelict_e_r",
"directions": 4
},
{
"name": "derelict_l",
"directions": 4
},
{