]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
New plant (#22704)
authorERROR404 <100093430+ERORR404V1@users.noreply.github.com>
Wed, 20 Dec 2023 04:57:02 +0000 (09:57 +0500)
committerGitHub <noreply@github.com>
Wed, 20 Dec 2023 04:57:02 +0000 (21:57 -0700)
New plant

Resources/Prototypes/Entities/Markers/Spawners/Random/pottedplants.yml
Resources/Prototypes/Entities/Structures/Furniture/potted_plants.yml
Resources/Textures/Structures/Furniture/potted_plants.rsi/meta.json
Resources/Textures/Structures/Furniture/potted_plants.rsi/plant-26.png
Resources/Textures/Structures/Furniture/potted_plants.rsi/plant-27.png
Resources/Textures/Structures/Furniture/potted_plants.rsi/plant-28.png
Resources/Textures/Structures/Furniture/potted_plants.rsi/plant-29.png
Resources/Textures/Structures/Furniture/potted_plants.rsi/plant-30.png [new file with mode: 0644]

index 36b646a3e31b4de8e258bda1b1b14152a53cbaea..a61af1467bfe7db6127f66acb292b3f86b5c6da7 100644 (file)
@@ -35,6 +35,7 @@
       - PottedPlant22
       - PottedPlant23
       - PottedPlant24
+      - PottedPlant26
     chance: 1
 
 - type: entity
     layers:
       - state: red
       - sprite: Structures/Furniture/potted_plants.rsi
-        state: plant-26
+        state: plant-27
   - type: RandomSpawner
     offset: 0
     prototypes:
-      - PottedPlant26
       - PottedPlant27
       - PottedPlant28
       - PottedPlant29
+      - PottedPlant30
     chance: 1
index 98f5a001dab42d936f651d4aaece82b945895d22..72a445a8a4bb54647a2b192fa67d96f040eaac1d 100644 (file)
   - type: Sprite
     state: plant-25
 
-#these are all the plastic plants. They inherit from the first one because they don't have
-#enough differences to warrant getting a unique abstract prototype. It's just the name and description.
 - type: entity
   id: PottedPlant26
   parent: PottedPlantBase
-  name: plastic potted plant
-  description: A fake, cheap looking, plastic tree. Perfect for people who kill every plant they touch.
+  description: Is it just me, or is it blinking?
   components:
   - type: Sprite
     state: plant-26
 
+#these are all the plastic plants. They inherit from the first one because they don't have
+#enough differences to warrant getting a unique abstract prototype. It's just the name and description.
 - type: entity
   id: PottedPlant27
-  parent: PottedPlant26
+  parent: PottedPlantBase
+  name: plastic potted plant
+  description: A fake, cheap looking, plastic tree. Perfect for people who kill every plant they touch.
   components:
   - type: Sprite
     state: plant-27
 
 - type: entity
   id: PottedPlant28
-  parent: PottedPlant26
+  parent: PottedPlant27
   components:
   - type: Sprite
     state: plant-28
 
 - type: entity
   id: PottedPlant29
-  parent: PottedPlant26
+  parent: PottedPlant27
   components:
   - type: Sprite
     state: plant-29
+
+- type: entity
+  id: PottedPlant30
+  parent: PottedPlant27
+  components:
+  - type: Sprite
+    state: plant-30
\ No newline at end of file
index 72ae51dc545d06836e85f76c96b339d45263310c..19f57fd672ab243d9b39d467352dedc0297460cc 100644 (file)
@@ -1,7 +1,7 @@
 {
   "version": 1,
   "license": "CC-BY-SA-3.0",
-  "copyright": "Taken from tgstation",
+  "copyright": "Taken from tgstation, plant-26 made by Fazansen(https://github.com/Fazansen)",
   "size": {
     "x": 32,
     "y": 32
       "name": "plant-26",
       "delays": [
         [
-          1.0
+          5,
+          0.2,
+          0.2,
+          0.2,
+          0.2,
+          0.2
         ]
       ]
     },
           1.0
         ]
       ]
+    },
+    {
+      "name": "plant-30",
+      "delays": [
+        [
+          1.0
+        ]
+      ]
     }
   ]
 }
\ No newline at end of file
index a79b9e2da8c8a60ca18040f0806d06ebb0424aa5..10b4667d89d5e65cbac9d31d764b560e170c88db 100644 (file)
Binary files a/Resources/Textures/Structures/Furniture/potted_plants.rsi/plant-26.png and b/Resources/Textures/Structures/Furniture/potted_plants.rsi/plant-26.png differ
index 1019885b91b012cd35390112077b9f5a79cfd670..a79b9e2da8c8a60ca18040f0806d06ebb0424aa5 100644 (file)
Binary files a/Resources/Textures/Structures/Furniture/potted_plants.rsi/plant-27.png and b/Resources/Textures/Structures/Furniture/potted_plants.rsi/plant-27.png differ
index d5cbefe63a2a9f0f59412e1da1e35d4132695fed..1019885b91b012cd35390112077b9f5a79cfd670 100644 (file)
Binary files a/Resources/Textures/Structures/Furniture/potted_plants.rsi/plant-28.png and b/Resources/Textures/Structures/Furniture/potted_plants.rsi/plant-28.png differ
index c59c7e427765396e34829890dbadd712bf8e447c..d5cbefe63a2a9f0f59412e1da1e35d4132695fed 100644 (file)
Binary files a/Resources/Textures/Structures/Furniture/potted_plants.rsi/plant-29.png and b/Resources/Textures/Structures/Furniture/potted_plants.rsi/plant-29.png differ
diff --git a/Resources/Textures/Structures/Furniture/potted_plants.rsi/plant-30.png b/Resources/Textures/Structures/Furniture/potted_plants.rsi/plant-30.png
new file mode 100644 (file)
index 0000000..c59c7e4
Binary files /dev/null and b/Resources/Textures/Structures/Furniture/potted_plants.rsi/plant-30.png differ