Port cleanbots from Nyano (#9853)
This commit is contained in:
@@ -128,3 +128,31 @@
|
||||
makeSentient: true
|
||||
name: honkbot
|
||||
description: An artificial being of pure evil.
|
||||
|
||||
- type: entity
|
||||
parent: MobSiliconBase
|
||||
id: MobCleanBot
|
||||
name: cleanbot
|
||||
description: The creep of automation now threatening space janitors.
|
||||
components:
|
||||
- type: Sprite
|
||||
drawdepth: Mobs
|
||||
sprite: Mobs/Silicon/Bots/cleanbot.rsi
|
||||
state: cleanbot
|
||||
- type: UtilityAI
|
||||
behaviorSets:
|
||||
- CleanBot
|
||||
- type: Drain
|
||||
range: 1
|
||||
unitsDestroyedPerSecond: 6
|
||||
- type: Construction
|
||||
graph: CleanBot
|
||||
node: bot
|
||||
- type: SentienceTarget
|
||||
flavorKind: mechanical
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
drainBuffer:
|
||||
maxVol: 30
|
||||
- type: DrainableSolution
|
||||
solution: drainBuffer
|
||||
|
||||
@@ -27,6 +27,12 @@
|
||||
actions:
|
||||
- MoveRightAndLeftTen
|
||||
|
||||
- type: behaviorSet
|
||||
id: CleanBot
|
||||
actions:
|
||||
- BufferNearbyPuddlesExp
|
||||
- WanderAndWait
|
||||
|
||||
- type: behaviorSet
|
||||
id: Spirate
|
||||
actions:
|
||||
@@ -43,4 +49,4 @@
|
||||
- type: behaviorSet
|
||||
id: UnarmedAttackHostiles
|
||||
actions:
|
||||
- UnarmedAttackNearbyHostilesExp
|
||||
- UnarmedAttackNearbyHostilesExp
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
- type: constructionGraph
|
||||
id: CleanBot
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
edges:
|
||||
- to: bot
|
||||
steps:
|
||||
- prototype: Bucket
|
||||
icon:
|
||||
sprite: Objects/Tools/bucket.rsi
|
||||
state: icon
|
||||
name: bucket
|
||||
- prototype: ProximitySensor
|
||||
icon:
|
||||
sprite: Objects/Misc/proximity_sensor.rsi
|
||||
state: icon
|
||||
name: promixmity sensor
|
||||
doAfter: 2
|
||||
- tag: BorgArm
|
||||
icon:
|
||||
sprite: Mobs/Silicon/drone.rsi
|
||||
state: l_hand
|
||||
name: borg arm
|
||||
doAfter: 2
|
||||
- node: bot
|
||||
entity: MobCleanBot
|
||||
@@ -1,3 +1,16 @@
|
||||
- type: construction
|
||||
name: cleanbot
|
||||
id: cleanbot
|
||||
graph: CleanBot
|
||||
startNode: start
|
||||
targetNode: bot
|
||||
category: Utilities
|
||||
objectType: Item
|
||||
description: This bot wanders around the station, mopping up any puddles it sees.
|
||||
icon:
|
||||
sprite: Mobs/Silicon/Bots/cleanbot.rsi
|
||||
state: cleanbot
|
||||
|
||||
- type: construction
|
||||
name: honkbot
|
||||
id: honkbot
|
||||
|
||||
Reference in New Issue
Block a user