Port medibot + bot spawners from nyano (#9854)

* Port medibot + bot spawners from nyano

* Make the injection thresholds constants

* Remove warning

* Check against const in system too

* resolving systems just isn't worth it

* only resolve entity manager once

* Reduceother resolves too

* fix post-merge

* woops
This commit is contained in:
Rane
2022-07-25 11:33:31 -04:00
committed by GitHub
parent 75574b0765
commit 57206eb49c
20 changed files with 448 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
- type: constructionGraph
id: MediBot
start: start
graph:
- node: start
edges:
- to: bot
steps:
- tag: Medkit
icon:
sprite: Objects/Specific/Medical/firstaidkits.rsi
state: firstaid
name: medkit
- tag: DiscreteHealthAnalyzer
icon:
sprite: Objects/Specific/Medical/healthanalyzer.rsi
state: analyzer
name: health analyzer
doAfter: 2
- 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: MobMedibot

View File

@@ -23,3 +23,16 @@
icon:
sprite: Mobs/Silicon/Bots/honkbot.rsi
state: honkbot
- type: construction
name: medibot
id: medibot
graph: MediBot
startNode: start
targetNode: bot
category: Utilities
objectType: Item
description: This bot can help supply basic healing.
icon:
sprite: Mobs/Silicon/Bots/medibot.rsi
state: medibot