]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Rubber chicken toy (#29637)
authorxprospero <116504990+xprospero@users.noreply.github.com>
Sun, 15 Sep 2024 23:57:53 +0000 (13:57 -1000)
committerGitHub <noreply@github.com>
Sun, 15 Sep 2024 23:57:53 +0000 (01:57 +0200)
* -added rubber chicken toy

* -Removed faulty SolutionContainerManager type

-Replaced default toy squeak sound with rubber chicken sound for on-trigger and on-collide.

* fixed raw material cost

* adjusted material composition

* - Added rubber chicken to CrateFunToyBox
- Added rubber chicken to MaintFluffTable under "uncommon group" so that it will spawn in maintenance

* Update Resources/Prototypes/Entities/Objects/Fun/toys.yml

---------

Co-authored-by: gambesun <116504990+gambesun@users.noreply.github.com>
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
Resources/Audio/Items/Toys/attributions.yml
Resources/Audio/Items/Toys/rubber_chicken_1.ogg [new file with mode: 0644]
Resources/Audio/Items/Toys/rubber_chicken_2.ogg [new file with mode: 0644]
Resources/Audio/Items/Toys/rubber_chicken_3.ogg [new file with mode: 0644]
Resources/Prototypes/Catalog/Fills/Crates/fun.yml
Resources/Prototypes/Entities/Markers/Spawners/Random/maintenance.yml
Resources/Prototypes/Entities/Objects/Fun/toys.yml
Resources/Prototypes/SoundCollections/rubber_chicken.yml [new file with mode: 0644]
Resources/Textures/Objects/Fun/toys.rsi/meta.json
Resources/Textures/Objects/Fun/toys.rsi/rubber_chicken.png [new file with mode: 0644]

index 290539b9849dbc26a08d959cac3fa8df5d5eb067..162ee8c1c337c63d4523a1bf40fa5e0f8dadff01 100644 (file)
   license: "CC-BY-SA-3.0"
   copyright: "Taken from ss200, made by Daeberdir"
   source: "https://github.com/ss220-space/Paradise/pull/3756"
+
+- files: ["rubber_chicken_1.ogg"]
+  license: "CC0-1.0"
+  copyright: "Created by xprospero for ss14"
+  source: "https://github.com/space-wizards/space-station-14/blob/master/Resources/Audio/Items/Toys/rubber_chicken_1.ogg"
+
+- files: ["rubber_chicken_2.ogg"]
+  license: "CC0-1.0"
+  copyright: "Created by xprospero for ss14"
+  source: "https://github.com/space-wizards/space-station-14/blob/master/Resources/Audio/Items/Toys/rubber_chicken_2.ogg"
+
+- files: ["rubber_chicken_3.ogg"]
+  license: "CC0-1.0"
+  copyright: "Created by xprospero for ss14"
+  source: "https://github.com/space-wizards/space-station-14/blob/master/Resources/Audio/Items/Toys/rubber_chicken_3.ogg"
diff --git a/Resources/Audio/Items/Toys/rubber_chicken_1.ogg b/Resources/Audio/Items/Toys/rubber_chicken_1.ogg
new file mode 100644 (file)
index 0000000..e4ba815
Binary files /dev/null and b/Resources/Audio/Items/Toys/rubber_chicken_1.ogg differ
diff --git a/Resources/Audio/Items/Toys/rubber_chicken_2.ogg b/Resources/Audio/Items/Toys/rubber_chicken_2.ogg
new file mode 100644 (file)
index 0000000..ae79d97
Binary files /dev/null and b/Resources/Audio/Items/Toys/rubber_chicken_2.ogg differ
diff --git a/Resources/Audio/Items/Toys/rubber_chicken_3.ogg b/Resources/Audio/Items/Toys/rubber_chicken_3.ogg
new file mode 100644 (file)
index 0000000..97d93ed
Binary files /dev/null and b/Resources/Audio/Items/Toys/rubber_chicken_3.ogg differ
index 4d34fa4290db629c066dc51339d4cf6dab56c020..411dc3072103513353814b8f57635884ad5d1947 100644 (file)
       - id: ClothingHeadHatMagician
       - id: BeachBall
       - id: ClothingShoesSkates
+      - id: RubberChicken
 
 - type: entity
   id: CrateFunBikeHornImplants
index 8bd9d8ca30d190fc48cba6d4a1e1f051e0c286cf..0aaaaf99b57f9d9fb8bc94420dda9469b6ba6f24 100644 (file)
       - id: BalloonNT
       - id: BalloonCorgi
       - id: MysteryFigureBox
+      - id: RubberChicken
       # Cult
       - !type:AllSelector
         children:
index 62e63935499902d4c744a599d5752d48bbbc1957..ffb1611a71d18704b13b3e195f09eb5982e441d6 100644 (file)
       params:
         volume: -9
         maxDistance: 3
+
+- type: entity
+  parent: BasePlushie
+  id: RubberChicken
+  name: rubber chicken
+  description: A stress inducing parody of nature's most delectable avian.
+  components:
+  - type: Sprite
+    state: rubber_chicken
+  - type: EmitSoundOnUse
+    sound:
+      collection: RubberChicken
+      params:
+        variation: 0.125
+  - type: EmitSoundOnLand
+    sound:
+      collection: RubberChicken
+      params:
+        variation: 0.125
+  - type: EmitSoundOnActivate
+    sound:
+      collection: RubberChicken
+      params:
+        variation: 0.125
+  - type: EmitSoundOnCollide
+    sound:
+      collection: RubberChicken
+      params:
+        variation: 0.125
+  - type: EmitSoundOnTrigger
+    sound:
+      collection: RubberChicken
+      params:
+        variation: 0.125
+  - type: Food
+    requiresSpecialDigestion: true
+    useSound:
+      collection: RubberChicken
+      params:
+        variation: 0.125
+  - type: MeleeWeapon
+    wideAnimationRotation: 110
+    soundHit:
+      collection: RubberChicken
+      params:
+        variation: 0.125
+  - type: PhysicalComposition
+    materialComposition:
+      Plastic: 25
diff --git a/Resources/Prototypes/SoundCollections/rubber_chicken.yml b/Resources/Prototypes/SoundCollections/rubber_chicken.yml
new file mode 100644 (file)
index 0000000..c468516
--- /dev/null
@@ -0,0 +1,6 @@
+- type: soundCollection
+  id: RubberChicken
+  files:
+  - /Audio/Items/Toys/rubber_chicken_1.ogg
+  - /Audio/Items/Toys/rubber_chicken_2.ogg
+  - /Audio/Items/Toys/rubber_chicken_3.ogg
index 4975ba04611ebbad64342a7b30dc49b96d9950e5..45f429f3e69fb7b3a7f670e69155633616176467 100644 (file)
@@ -1,7 +1,7 @@
 {
   "version": 1,
   "license": "CC-BY-SA-3.0",
-  "copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/e1142f20f5e4661cb6845cfcf2dd69f864d67432, orb, orb-inhand-left and orb-inhand-right created by Pancake, plushie_diona and plushie_diona1 created by discord user Deos#5630, toy-mouse-equipped-HELMET is a resprited 1-equipped-HELMET in mouse.rsi by PuroSlavKing (Github), plushie_xeno by LinkUyx#6557, plushie_hampter by RenLou#4333, beachball taken from https://github.com/ss220-space/Paradise/commit/662c08272acd7be79531550919f56f846726eabb, beachb-inhand by ;3#1161, bee hat and in-hand sprites drawn by Ubaser, plushie_penguin by netwy, plushie_arachnid by PixelTheKermit (github), plushie human by TheShuEd, NanoTrasen Balloon by MACMAN2003, holoplush and magicplush modified by deltanedas (github). Lizard hat sprite made by Cinder",
+  "copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/e1142f20f5e4661cb6845cfcf2dd69f864d67432, orb, orb-inhand-left and orb-inhand-right created by Pancake, plushie_diona and plushie_diona1 created by discord user Deos#5630, toy-mouse-equipped-HELMET is a resprited 1-equipped-HELMET in mouse.rsi by PuroSlavKing (Github), plushie_xeno by LinkUyx#6557, plushie_hampter by RenLou#4333, beachball taken from https://github.com/ss220-space/Paradise/commit/662c08272acd7be79531550919f56f846726eabb, beachb-inhand by ;3#1161, bee hat and in-hand sprites drawn by Ubaser, plushie_penguin by netwy, plushie_arachnid by PixelTheKermit (github), plushie human by TheShuEd, NanoTrasen Balloon by MACMAN2003, holoplush and magicplush modified by deltanedas (github). Lizard hat sprite made by Cinder, rubber_chicken by xprospero",
   "size": {
     "x": 32,
     "y": 32
     {
       "name": "beachb-inhand-right",
       "directions": 4
+    },
+    {
+      "name": "rubber_chicken"
     }
   ]
 }
diff --git a/Resources/Textures/Objects/Fun/toys.rsi/rubber_chicken.png b/Resources/Textures/Objects/Fun/toys.rsi/rubber_chicken.png
new file mode 100644 (file)
index 0000000..543a3fb
Binary files /dev/null and b/Resources/Textures/Objects/Fun/toys.rsi/rubber_chicken.png differ