NPC/silicon.yml cleaning (#19731)

This commit is contained in:
lzk
2023-09-04 16:21:52 +02:00
committed by GitHub
parent e7b6314248
commit 33cdcf34dd
2 changed files with 67 additions and 122 deletions

View File

@@ -110,121 +110,72 @@
- type: GuideHelp - type: GuideHelp
guides: guides:
- Robotics - Robotics
- type: Speech
speechVerb: Robotic
- type: TypingIndicator
proto: robot
- type: entity - type: entity
parent: MobSiliconBase parent: [ MobSiliconBase, BaseVehicle]
id: MobSiliconBaseVehicle # for vehicles
abstract: true
components:
- type: NoSlip
- type: GhostTakeoverAvailable
- type: GhostRole
makeSentient: true
- type: UnpoweredFlashlight
toggleAction:
name: action-name-toggle-light
description: action-description-toggle-light
icon: { sprite: Objects/Tools/flashlight.rsi, state: flashlight }
iconOn: Objects/Tools/flashlight.rsi/flashlight-on.png
event: !type:ToggleActionEvent
- type: PointLight
enabled: false
radius: 3.5
softness: 2
mask: /Textures/Effects/LightMasks/cone.png
autoRot: true
- type: entity
parent: MobSiliconBaseVehicle
id: MobTaxiBot id: MobTaxiBot
name: taxibot name: taxibot
description: Give a ride? description: Give a ride?
components: components:
- type: NoSlip
- type: Sprite - type: Sprite
drawdepth: Mobs
sprite: Mobs/Silicon/Bots/taxibot.rsi sprite: Mobs/Silicon/Bots/taxibot.rsi
layers: layers:
- state: taxibot - state: taxibot
map: ["enum.VehicleVisualLayers.AutoAnimate"] map: ["enum.VehicleVisualLayers.AutoAnimate"]
noRot: true
- type: IntrinsicRadioReceiver
- type: ActiveRadio
channels:
- Common
- type: GhostRole - type: GhostRole
makeSentient: true
name: ghost-role-information-taxibot-name name: ghost-role-information-taxibot-name
description: ghost-role-information-taxibot-description description: ghost-role-information-taxibot-description
- type: GhostTakeoverAvailable
- type: MovementSpeedModifier
weightlessModifier: 0
acceleration: 2
friction: 2
frictionNoInput: 6
baseWalkSpeed: 3
baseSprintSpeed: 6
- type: Strap - type: Strap
buckleOffset: "0, 0" buckleOffset: "0, 0"
maxBuckleDistance: 1 maxBuckleDistance: 1
- type: Speech
speechVerb: Robotic
- type: AmbientSound
sound: "/Audio/Effects/Vehicle/vehicleengineidle.ogg"
range: 10
volume: -10
enabled: true
- type: Construction - type: Construction
graph: TaxiBot graph: TaxiBot
node: bot node: bot
- type: UnpoweredFlashlight
toggleAction:
name: action-name-toggle-light
description: action-description-toggle-light
icon: { sprite: Objects/Tools/flashlight.rsi, state: flashlight }
iconOn: Objects/Tools/flashlight.rsi/flashlight-on.png
event: !type:ToggleActionEvent
- type: PointLight
enabled: false
radius: 3.5
softness: 2
mask: /Textures/Effects/LightMasks/cone.png
autoRot: true
- type: TypingIndicator
proto: robot
- type: entity - type: entity
parent: MobSiliconBase parent: MobSiliconBaseVehicle
id: MobSupplyBot id: MobSupplyBot
name: supplybot name: supplybot
description: Delivers cargo! description: Delivers cargo!
components: components:
- type: NoSlip
- type: Sprite - type: Sprite
drawdepth: Mobs
sprite: Mobs/Silicon/Bots/supplybot.rsi sprite: Mobs/Silicon/Bots/supplybot.rsi
layers: layers:
- state: supplybot - state: supplybot
map: ["enum.VehicleVisualLayers.AutoAnimate"] map: ["enum.VehicleVisualLayers.AutoAnimate"]
noRot: true
- type: IntrinsicRadioReceiver
- type: ActiveRadio
channels:
- Common
- type: GhostRole - type: GhostRole
makeSentient: true
name: ghost-role-information-supplybot-name name: ghost-role-information-supplybot-name
description: ghost-role-information-supplybot-description description: ghost-role-information-supplybot-description
- type: GhostTakeoverAvailable
- type: MovementSpeedModifier
weightlessModifier: 0
acceleration: 2
friction: 2.2
frictionNoInput: 6.5
baseWalkSpeed: 3
baseSprintSpeed: 6
- type: AmbientSound
sound: "/Audio/Effects/Vehicle/vehicleengineidle.ogg"
range: 10
volume: -10
enabled: true
- type: Speech
speechVerb: Robotic
- type: Construction - type: Construction
graph: SupplyBot graph: SupplyBot
node: bot node: bot
- type: UnpoweredFlashlight
toggleAction:
name: action-name-toggle-light
description: action-description-toggle-light
icon: { sprite: Objects/Tools/flashlight.rsi, state: flashlight }
iconOn: Objects/Tools/flashlight.rsi/flashlight-on.png
event: !type:ToggleActionEvent
- type: PointLight
enabled: false
radius: 3.5
softness: 2
mask: /Textures/Effects/LightMasks/cone.png
autoRot: true
- type: TypingIndicator
proto: robot
- type: Storage - type: Storage
capacity: 250 capacity: 250
- type: UserInterface - type: UserInterface
@@ -246,7 +197,6 @@
sound: sound:
collection: BikeHorn collection: BikeHorn
- type: Sprite - type: Sprite
drawdepth: Mobs
sprite: Mobs/Silicon/Bots/honkbot.rsi sprite: Mobs/Silicon/Bots/honkbot.rsi
state: honkbot state: honkbot
- type: Slippery - type: Slippery
@@ -295,11 +245,7 @@
sound: sound:
collection: CluwneHorn collection: CluwneHorn
- type: Sprite - type: Sprite
drawdepth: Mobs
sprite: Mobs/Silicon/Bots/honkbot.rsi
state: jonkbot state: jonkbot
- type: Slippery
launchForwardsMultiplier: 2
- type: Construction - type: Construction
graph: JonkBot graph: JonkBot
node: bot node: bot
@@ -328,7 +274,6 @@
description: The creep of automation now threatening space janitors. description: The creep of automation now threatening space janitors.
components: components:
- type: Sprite - type: Sprite
drawdepth: Mobs
sprite: Mobs/Silicon/Bots/cleanbot.rsi sprite: Mobs/Silicon/Bots/cleanbot.rsi
state: cleanbot state: cleanbot
- type: Construction - type: Construction
@@ -385,11 +330,8 @@
emergencyMed: SpaceDrugs emergencyMed: SpaceDrugs
emergencyMedAmount: 25 emergencyMedAmount: 25
- type: Sprite - type: Sprite
drawdepth: Mobs
sprite: Mobs/Silicon/Bots/medibot.rsi sprite: Mobs/Silicon/Bots/medibot.rsi
state: medibot state: medibot
- type: Speech
speechVerb: Robotic
- type: HTN - type: HTN
rootTask: rootTask:
task: MedibotCompound task: MedibotCompound
@@ -417,7 +359,6 @@
- key: enum.StrippingUiKey.Key - key: enum.StrippingUiKey.Key
type: StrippableBoundUserInterface type: StrippableBoundUserInterface
- type: Sprite - type: Sprite
drawdepth: Mobs
layers: layers:
- map: ["enum.DamageStateVisualLayers.Base"] - map: ["enum.DamageStateVisualLayers.Base"]
state: mimebot state: mimebot

View File

@@ -2,19 +2,12 @@
id: BaseVehicle id: BaseVehicle
save: false save: false
abstract: true abstract: true
name: Vehicle
components: components:
- type: Strap
buckleOffset: "0.10, 0.36"
maxBuckleDistance: 1
- type: AmbientSound - type: AmbientSound
sound: "/Audio/Effects/Vehicle/vehicleengineidle.ogg" sound: "/Audio/Effects/Vehicle/vehicleengineidle.ogg"
range: 10 range: 10
volume: -10 volume: -10
enabled: false enabled: false
- type: InputMover
- type: InteractionOutline
- type: Vehicle
- type: MovementSpeedModifier - type: MovementSpeedModifier
weightlessModifier: 0 weightlessModifier: 0
acceleration: 2 acceleration: 2
@@ -22,24 +15,6 @@
frictionNoInput: 6 frictionNoInput: 6
baseWalkSpeed: 4.5 baseWalkSpeed: 4.5
baseSprintSpeed: 6 baseSprintSpeed: 6
- type: Tag
- type: Pullable
- type: Physics
bodyType: KinematicController
- type: Clickable
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.4
density: 360
restitution: 0.0
mask:
- MobMask
layer:
- TableLayer
- type: Appearance
- type: Repairable - type: Repairable
fuelcost: 20 fuelcost: 20
doAfterDelay: 20 doAfterDelay: 20
@@ -64,6 +39,36 @@
sound: sound:
path: /Audio/Effects/metalbreak.ogg path: /Audio/Effects/metalbreak.ogg
- !type:ExplodeBehavior - !type:ExplodeBehavior
- type: entity
parent: BaseVehicle
id: BaseVehicleRideable
abstract: true
name: Vehicle
components:
- type: Strap
buckleOffset: "0.10, 0.36"
maxBuckleDistance: 1
- type: InputMover
- type: InteractionOutline
- type: Vehicle
- type: Pullable
- type: Physics
bodyType: KinematicController
- type: Clickable
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.4
density: 360
restitution: 0.0
mask:
- MobMask
layer:
- TableLayer
- type: Appearance
- type: ItemSlots - type: ItemSlots
slots: slots:
key_slot: #this slot name is important key_slot: #this slot name is important
@@ -79,10 +84,9 @@
- type: StaticPrice - type: StaticPrice
price: 750 # Grand Theft Auto. price: 750 # Grand Theft Auto.
- type: entity - type: entity
id: VehicleJanicart id: VehicleJanicart
parent: BaseVehicle parent: BaseVehicleRideable
name: janicart name: janicart
description: The janitor's trusty steed. description: The janitor's trusty steed.
components: components:
@@ -172,7 +176,7 @@
- type: entity - type: entity
id: VehicleSecway id: VehicleSecway
parent: BaseVehicle parent: BaseVehicleRideable
name: secway name: secway
description: The future of transportation. Popularized by St. James, the patron saint of security officers and internet forum moderators. description: The future of transportation. Popularized by St. James, the patron saint of security officers and internet forum moderators.
components: components:
@@ -219,7 +223,7 @@
volume: -3 volume: -3
- type: entity - type: entity
parent: BaseVehicle parent: BaseVehicleRideable
id: VehicleATV id: VehicleATV
name: ATV name: ATV
description: All-Tile Vehicle. description: All-Tile Vehicle.
@@ -274,7 +278,7 @@
- type: entity - type: entity
id: VehicleSyndicateSegway id: VehicleSyndicateSegway
parent: BaseVehicle parent: BaseVehicleRideable
name: syndicate segway name: syndicate segway
description: Be an enemy of the corporation, in style. description: Be an enemy of the corporation, in style.
components: components:
@@ -316,7 +320,7 @@
volume: -3 volume: -3
- type: entity - type: entity
parent: BaseVehicle parent: BaseVehicleRideable
id: VehicleSkeletonMotorcycle id: VehicleSkeletonMotorcycle
name: skeleton motorcycle name: skeleton motorcycle
description: Bad to the Bone. description: Bad to the Bone.
@@ -369,7 +373,7 @@
- type: entity - type: entity
id: VehicleUnicycle id: VehicleUnicycle
parent: [BaseVehicle, BaseFoldable, BaseItem] parent: [BaseVehicleRideable, BaseFoldable, BaseItem]
name: unicycle name: unicycle
description: It only has one wheel! description: It only has one wheel!
components: components:
@@ -429,7 +433,7 @@
- type: entity - type: entity
id: VehicleWheelchair id: VehicleWheelchair
parent: [BaseVehicle, BaseFoldable, BaseItem] parent: [BaseVehicleRideable, BaseFoldable, BaseItem]
name: Wheelchair name: Wheelchair
description: A chair with big wheels. It looks like you can move in these on your own. description: A chair with big wheels. It looks like you can move in these on your own.
components: components: