]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Adds Mimebot (#16019)
authorbrainfood1183 <113240905+brainfood1183@users.noreply.github.com>
Fri, 5 May 2023 13:15:49 +0000 (14:15 +0100)
committerGitHub <noreply@github.com>
Fri, 5 May 2023 13:15:49 +0000 (23:15 +1000)
16 files changed:
Resources/Locale/en-US/interaction/interaction-popup-component.ftl
Resources/Prototypes/Body/Parts/silicon.yml
Resources/Prototypes/Catalog/Research/technologies.yml
Resources/Prototypes/Entities/Clothing/Belt/belts.yml
Resources/Prototypes/Entities/Mobs/NPCs/silicon.yml
Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/box.yml
Resources/Prototypes/Entities/Structures/Machines/lathe.yml
Resources/Prototypes/InventoryTemplates/head_inventory_template.yml [new file with mode: 0644]
Resources/Prototypes/Recipes/Crafting/Graphs/bots/mimebot.yml [new file with mode: 0644]
Resources/Prototypes/Recipes/Crafting/bots.yml
Resources/Prototypes/Recipes/Lathes/robotics.yml
Resources/Prototypes/tags.yml
Resources/Textures/Mobs/Silicon/Bots/mimebot.rsi/meta.json [new file with mode: 0644]
Resources/Textures/Mobs/Silicon/Bots/mimebot.rsi/mimebot.png [new file with mode: 0644]
Resources/Textures/Objects/Specific/Borg/head.rsi/light_borg_head.png [new file with mode: 0644]
Resources/Textures/Objects/Specific/Borg/head.rsi/meta.json [new file with mode: 0644]

index 953bd4da67e582226129e80ed72eb97a7d4b8fca..e7f38047cc3a74bcd0d60b024d1369d0ecb14f5c 100644 (file)
@@ -44,11 +44,13 @@ petting-failure-bear = You reach out to pet {THE($target)}, but {SUBJECT($target
 ## Petting silicons
 
 petting-success-honkbot = You pet {THE($target)} on {POSS-ADJ($target)} slippery metal head.
+petting-success-mimebot = You pet {THE($target)} on {POSS-ADJ($target)} cold metal head.
 petting-success-cleanbot = You pet {THE($target)} on {POSS-ADJ($target)} damp metal head.
 petting-success-medibot = You pet {THE($target)} on {POSS-ADJ($target)} sterile metal head.
 
 petting-failure-honkbot = You reach out to pet {THE($target)}, but {SUBJECT($target)} honks in refusal!
 petting-failure-cleanbot = You reach out to pet {THE($target)}, but {SUBJECT($target)} {CONJUGATE-BE($target)} busy mopping!
+petting-failure-mimebot = You reach out to pet {THE($target)}, but {SUBJECT($target)} {CONJUGATE-BE($target)} busy miming!
 petting-failure-medibot = You reach out to pet {THE($target)}, but {POSS-ADJ($target)} syringe nearly stabs your hand!
 
 ## Knocking on windows
index ad4e0147906df4f055b5f68a55ad8f82100133a0..90353d65680d4654636ecc7b45c15ff63c8c1906 100644 (file)
     - Trash
     - BorgLeg
     - BorgRightLeg
+
+- type: entity
+  id: LightHeadBorg
+  name: "borg head"
+  parent: PartSilicon
+  components:
+  - type: Sprite
+    netsync: false
+    sprite: Objects/Specific/Borg/head.rsi
+    state: "light_borg_head"
+  - type: Icon
+    sprite: Objects/Specific/Borg/head.rsi
+    state: "light_borg_head"
+  - type: BodyPart
+    partType: Head
+  - type: Tag
+    tags:
+    - Trash
+    - BorgHead
index d5c8738ea76b339d866d25689897b6f45868a3d6..afd7521fc02a338e9d2c5fd4d1335019e2025055 100644 (file)
   unlockedRecipes:
   - ProximitySensor
   - LeftArmBorg
+  - LightHeadBorg
   - RightArmBorg
   - LeftLegBorg
   - RightLegBorg
index 7da9f3fe001bd884a52578d8c9308310fa7bc590..baa1895181302b1d594e06af9119c8885b4c73eb 100644 (file)
   name: suspenders
   description: For holding your pants up.
   components:
+  - type: Tag
+    tags:
+    - MimeBelt
   - type: Sprite
     sprite: Clothing/Belt/suspenders.rsi
     state: icon
index 43826865162ac2099dcdb4c2237a98baf2dd5605..0540b60cc556d4779e07f53c729983bfea8087bd 100644 (file)
     interactFailureString: petting-failure-medibot
     interactSuccessSound:
       path: /Audio/Ambience/Objects/periodic_beep.ogg
+
+- type: entity
+  parent: MobSiliconBase
+  id: MobMimeBot
+  name: mimebot
+  description: Why not give mimebot a friendly wave.
+  components:
+  - type: InventorySlots
+  - type: Strippable
+  - type: UserInterface
+    interfaces:
+    - key: enum.StrippingUiKey.Key
+      type: StrippableBoundUserInterface
+  - type: Sprite
+    drawdepth: Mobs
+    layers:
+    - map: ["enum.DamageStateVisualLayers.Base"]
+      state: mimebot
+      sprite: Mobs/Silicon/Bots/mimebot.rsi
+  - type: MimePowers
+  - type: Appearance
+  - type: Construction
+    graph: MimeBot
+    node: bot
+  - type: GhostRole
+    makeSentient: true
+    name: mimebot
+    description: A Mimebot, act like a mime but dont act like a greytider.
+  - type: GhostTakeoverAvailable
+  - type: InteractionPopup
+    interactSuccessString: petting-success-mimebot
+    interactFailureString: petting-failure-mimebot
+  - type: Inventory
+    templateId: head
index baa7c64658f07b1e2aa24fee461c5091ddc2def9..46ac76b13861dc50ad9c71d8162b06a1bec434a2 100644 (file)
   description: A limited mime edition of the happy honk meal.
   suffix: Toy Safe
   components:
+  - type: Tag
+    tags:
+    - Trash
+    - HappyHonk
+    - MimeHappyHonk
   - type: Sprite
     netsync: false
     sprite: Objects/Storage/Happyhonk/mime.rsi
index 94e9a1d78c58741cfb0a27f23db96d8e6450a417..c183b8f28db39dd6765d1475920ae0bd1171575c 100644 (file)
     - RightArmBorg
     - LeftLegBorg
     - RightLegBorg
+    - LightHeadBorg
     - RipleyHarness
     - RipleyLArm
     - RipleyRArm
diff --git a/Resources/Prototypes/InventoryTemplates/head_inventory_template.yml b/Resources/Prototypes/InventoryTemplates/head_inventory_template.yml
new file mode 100644 (file)
index 0000000..bf62e42
--- /dev/null
@@ -0,0 +1,10 @@
+- type: inventoryTemplate
+  id: head
+  slots:
+  - name: head
+    slotTexture: head
+    slotFlags: HEAD
+    slotGroup: MainHotbar
+    uiWindowPos: 0,0
+    strippingWindowPos: 0,0
+    displayName: Head
diff --git a/Resources/Prototypes/Recipes/Crafting/Graphs/bots/mimebot.yml b/Resources/Prototypes/Recipes/Crafting/Graphs/bots/mimebot.yml
new file mode 100644 (file)
index 0000000..339e960
--- /dev/null
@@ -0,0 +1,44 @@
+- type: constructionGraph
+  id: MimeBot
+  start: start
+  graph:
+  - node: start
+    edges:
+    - to: bot
+      steps:
+      - tag: MimeHappyHonk
+        icon:
+          sprite: Objects/Storage/Happyhonk/mime.rsi
+          state: box
+        name: mime edition happy honk meal
+      - tag: MimeBelt
+        icon:
+            sprite: Clothing/Belt/suspenders.rsi
+            state: icon
+        name: suspenders
+        doAfter: 2
+      - tag: ProximitySensor
+        icon:
+          sprite: Objects/Misc/proximity_sensor.rsi
+          state: icon
+        name: proximity sensor
+      - tag: BorgHead
+        icon:
+          sprite: Objects/Specific/Borg/head.rsi
+          state: light_borg_head
+        name: borg head
+        doAfter: 2
+      - tag: BorgArm
+        icon:
+          sprite: Mobs/Silicon/drone.rsi
+          state: l_hand
+        name: borg arm
+        doAfter: 2
+      - tag: BorgArm
+        icon:
+          sprite: Mobs/Silicon/drone.rsi
+          state: l_hand
+        name: borg arm
+        doAfter: 2
+  - node: bot
+    entity: MobMimeBot
index 2f76f14ec671b3bad761287068b2bba28d1b6a1d..9a70a19c868b392ea13be1dc6ab0958b1a4d5536 100644 (file)
   icon:
     sprite: Mobs/Silicon/Bots/medibot.rsi
     state: medibot
+
+- type: construction
+  name: mimebot
+  id: mimebot
+  graph: MimeBot
+  startNode: start
+  targetNode: bot
+  category: construction-category-utilities
+  objectType: Item
+  description: This bot knows how to wave.
+  icon:
+    sprite: Mobs/Silicon/Bots/mimebot.rsi
+    state: mimebot
index 330aaec1292139dc61406d585c319dc852a0a718..62c6f4d24d58df6de0877a3945c5bb5bd9311f93 100644 (file)
   materials:
     Steel: 70
     Glass: 25
+
+- type: latheRecipe
+  id: LightHeadBorg
+  result: LightHeadBorg
+  completetime: 2
+  materials:
+    Steel: 70
+    Glass: 25
index 813b1404eb74251ba0296893c1e5da716a447115..5c2fac456444bc689d0809ae6efd795b523b5ea9 100644 (file)
@@ -34,6 +34,9 @@
 - type: Tag
   id: BorgArm
 
+- type: Tag
+  id: BorgHead
+
 - type: Tag
   id: BorgLeg
 
 - type: Tag
   id: MicroBomb
 
+- type: Tag
+  id: MimeBelt
+
+- type: Tag
+  id: MimeHappyHonk
+
 # Magazines ordered by slot then caliber
 
 - type: Tag
diff --git a/Resources/Textures/Mobs/Silicon/Bots/mimebot.rsi/meta.json b/Resources/Textures/Mobs/Silicon/Bots/mimebot.rsi/meta.json
new file mode 100644 (file)
index 0000000..7317cce
--- /dev/null
@@ -0,0 +1,15 @@
+{
+  "version": 1,
+  "size": {
+    "x": 32,
+    "y": 32
+  },
+  "license": "CC-BY-SA-3.0",
+  "copyright": "Made by brainfood1183 (github) for ss14",
+  "states": [
+    {
+      "name": "mimebot",
+      "directions": 4
+    }
+  ]
+}
diff --git a/Resources/Textures/Mobs/Silicon/Bots/mimebot.rsi/mimebot.png b/Resources/Textures/Mobs/Silicon/Bots/mimebot.rsi/mimebot.png
new file mode 100644 (file)
index 0000000..b0aada4
Binary files /dev/null and b/Resources/Textures/Mobs/Silicon/Bots/mimebot.rsi/mimebot.png differ
diff --git a/Resources/Textures/Objects/Specific/Borg/head.rsi/light_borg_head.png b/Resources/Textures/Objects/Specific/Borg/head.rsi/light_borg_head.png
new file mode 100644 (file)
index 0000000..140a3a8
Binary files /dev/null and b/Resources/Textures/Objects/Specific/Borg/head.rsi/light_borg_head.png differ
diff --git a/Resources/Textures/Objects/Specific/Borg/head.rsi/meta.json b/Resources/Textures/Objects/Specific/Borg/head.rsi/meta.json
new file mode 100644 (file)
index 0000000..7bc150f
--- /dev/null
@@ -0,0 +1,14 @@
+{
+  "version": 1,
+  "license": "CC-BY-SA-3.0",
+  "copyright": "Taken from https://github.com/goonstation/goonstation/commit/80921812d898aef31f8889d31269254baeff2786#diff-a2065731f293aa1b66d4f8ae294351482c89da49b9dd5e64de3ceec4438c8d95",
+  "size": {
+    "x": 32,
+    "y": 32
+  },
+  "states": [
+    {
+      "name": "light_borg_head"
+    }
+  ]
+}