]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Reimplement supplybots as non-vehicles (#27769)
authorPlykiya <58439124+Plykiya@users.noreply.github.com>
Wed, 8 May 2024 07:30:03 +0000 (00:30 -0700)
committerGitHub <noreply@github.com>
Wed, 8 May 2024 07:30:03 +0000 (10:30 +0300)
* Reimplement supplybots as non-vehicles

* what the hell is a container container?

* Dumpable

* let them hear supply comms

* unmigrate

* no more QM access

* Skill issue

---------

Co-authored-by: plykiya <plykiya@protonmail.com>
Resources/Prototypes/Entities/Mobs/NPCs/silicon.yml
Resources/Prototypes/Recipes/Crafting/Graphs/bots/supplybot.yml [new file with mode: 0644]
Resources/migration.yml

index 2423082fd8de14e2455ca0c87adb17a59377c8a4..b405a67d069c21fd5778c5375b9068386932282e 100644 (file)
     interactFailureString: petting-failure-mimebot
   - type: Inventory
     templateId: head
+
+- type: entity
+  parent: MobSiliconBase
+  id: MobSupplyBot
+  name: supplybot
+  description: Delivers cargo!
+  components:
+  - type: Sprite
+    sprite: Mobs/Silicon/Bots/supplybot.rsi
+    layers:
+    - state: supplybot
+  - type: GhostRole
+    name: ghost-role-information-supplybot-name
+    description: ghost-role-information-supplybot-description
+  - type: Construction
+    graph: SupplyBot
+    node: bot
+  - type: Access
+    tags:
+    - Cargo
+    - Maintenance
+    - Salvage
+  - type: Dumpable
+  - type: Storage
+    maxItemSize: Huge
+    grid:
+    - 0,0,9,3
+  - type: UserInterface
+    interfaces:
+      enum.StorageUiKey.Key:
+        type: StorageBoundUserInterface
+  - type: ContainerContainer
+    containers:
+      storagebase: !type:Container
+        ents: []
+  - type: UnpoweredFlashlight
+  - type: PointLight
+    enabled: false
+    radius: 3.5
+    softness: 2
+    mask: /Textures/Effects/LightMasks/cone.png
+    autoRot: true
+  - type: FootstepModifier
+    footstepSoundCollection:
+      collection: FootstepBorg
+  - type: Tag
+    tags:
+    - DoorBumpOpener
+    - FootstepSound
+  - type: ActiveRadio
+    channels:
+    - Binary
+    - Common
+    - Supply
diff --git a/Resources/Prototypes/Recipes/Crafting/Graphs/bots/supplybot.yml b/Resources/Prototypes/Recipes/Crafting/Graphs/bots/supplybot.yml
new file mode 100644 (file)
index 0000000..efabb84
--- /dev/null
@@ -0,0 +1,23 @@
+- type: constructionGraph
+  id: SupplyBot
+  start: start
+  graph:
+  - node: start
+    edges:
+    - to: bot
+      steps:
+      - tag: ProximitySensor
+        icon:
+          sprite: Objects/Misc/proximity_sensor.rsi
+          state: icon
+        name: proximity sensor
+      - tag: BorgHead
+        icon:
+          sprite: Objects/Specific/Robotics/cyborg_parts.rsi
+          state: borg_head
+        name: borg head
+        doAfter: 1
+      - material: Steel
+        amount: 10
+  - node: bot
+    entity: MobSupplyBot
index 40154d74af9a5ba646505d76de67c1634247190d..e5131783d2d63bb3054c54d13a9b4d843e127e25 100644 (file)
@@ -201,7 +201,7 @@ ActionVehicleHorn: null
 CrateFunATV: null
 CrateFunSyndicateSegway: null
 MobTaxiBot: null
-MobSupplyBot: null
+MobSupplyBot: null
 SpawnVehicleMotobike: null
 SpawnVehicleATV: null
 SpawnVehicleSecway: null