]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Vox now can eat trash other other inedible things (#35681)
authorMissKay1994 <15877268+MissKay1994@users.noreply.github.com>
Thu, 1 May 2025 18:16:51 +0000 (14:16 -0400)
committerGitHub <noreply@github.com>
Thu, 1 May 2025 18:16:51 +0000 (20:16 +0200)
* EAT TRASH EXHALE AMMONIA

Update to files

* Forgot to port this file

* 1D4 Guidance

* Summary (required)

Suggested changes and fixes

* Cries in conflicts

* Why do we exist? To suffer?

* 1 citation for being stupid

* THE ANTIDOTE, THE ANTIDOTE FOR THE POISON

* I was inverted sir

* vox organs cleanup

* vox reagents

* guidebook

* weh

---------

Co-authored-by: Errant <35878406+Errant-4@users.noreply.github.com>
20 files changed:
Resources/Locale/en-US/flavors/flavor-profiles.ftl
Resources/Locale/en-US/reagents/meta/toxins.ftl
Resources/Prototypes/Body/Organs/vox.yml
Resources/Prototypes/Body/Prototypes/vox.yml
Resources/Prototypes/Entities/Objects/Consumable/Food/Baked/bagel.yml
Resources/Prototypes/Entities/Objects/Consumable/Food/Baked/bread.yml
Resources/Prototypes/Entities/Objects/Consumable/Food/Baked/cake.yml
Resources/Prototypes/Entities/Objects/Consumable/Food/Baked/donut.yml
Resources/Prototypes/Entities/Objects/Consumable/Food/Baked/misc.yml
Resources/Prototypes/Entities/Objects/Consumable/Food/Baked/pie.yml
Resources/Prototypes/Entities/Objects/Consumable/Food/meals.yml
Resources/Prototypes/Entities/Objects/Consumable/Food/noodles.yml
Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml
Resources/Prototypes/Entities/Objects/Consumable/Food/snacks.yml
Resources/Prototypes/Entities/Objects/Consumable/Food/soup.yml
Resources/Prototypes/Flavors/flavors.yml
Resources/Prototypes/Reagents/pyrotechnic.yml
Resources/Prototypes/Reagents/toxins.yml
Resources/Prototypes/tags.yml
Resources/ServerInfo/Guidebook/Mobs/Vox.xml

index f9249a7f1375b632aee0e6b5c79c93243334b263..da8c7ed6223ffeb11afc2424e6b3539484a23486 100644 (file)
@@ -52,6 +52,7 @@ flavor-base-horrible = horrible
 flavor-base-terrible = terrible
 flavor-base-mindful = mindful
 flavor-base-chewy = chewy
+flavor-base-trashy = trashy
 
 # Complex flavors. Put a flavor here when you want something that's more
 # specific.
index 6d92d81079baab8f91dbe5d95195f44d2cb1d30c..43c450988fba5d50b92b17a911d0cebd21083dbb 100644 (file)
@@ -81,3 +81,6 @@ reagent-desc-lipolicide = A powerful toxin that will destroy fat cells, massivel
 
 reagent-name-mechanotoxin = mechanotoxin
 reagent-desc-mechanotoxin = A neurotoxin used as venom by some species of spider. Degrades movement when built up.
+
+reagent-name-toxintrash = trash 
+reagent-desc-toxintrash = An awful-smelling fluid. Deadly to non-vox.
\ No newline at end of file
index 70e078327120217fbc16ea49836bfbafb4d47423..8b38bb8d0b6508869e184da86f7394f491039a25 100644 (file)
   - type: Item
     size: Small
     heldPrefix: lungs
+
+- type: entity
+  parent: OrganHumanStomach
+  id: OrganVoxStomach
+  name: stomach
+  description: "A stomach that smells of ammonia."
+  components:
+  - type: Metabolizer #Skreeeee!
+    metabolizerTypes: [Vox]
+  - type: Stomach
+#Bird vs tags
+    specialDigestible:
+      tags:
+      - Trash
+      - Fruit
+      - ReptilianFood
+      - Meat
+      - Pill
+      - Crayon
+      - Paper
+      - VoxFood
+      - Vegetable
+
+- type: entity
+  parent: OrganHumanLiver
+  id: OrganVoxLiver
+  name: liver
+  description: "Smells flammable."
+  components:
+  - type: Metabolizer
+    metabolizerTypes: [Vox]
+
+- type: entity
+  parent: OrganHumanHeart
+  id: OrganVoxHeart
+  name: heart
+  description: "The strange heart of a vox."
+  components:
+  - type: Metabolizer
+    metabolizerTypes: [Vox]
index 2a1f6d9dca730c7404dfa7765b8bc3756bbecdb2..75824521bd21ceea6dfc1a8811501e791bb0b278 100644 (file)
       - right leg
       - left leg
       organs:
-        heart: OrganHumanHeart
+        heart: OrganVoxHeart
         lungs: OrganVoxLungs
-        stomach: OrganHumanStomach
-        liver: OrganHumanLiver
+        stomach: OrganVoxStomach
+        liver: OrganVoxLiver
         kidneys: OrganHumanKidneys
     right arm:
       part: RightArmVox
index 114b3e01f22d10c394de042b78ccec230f982349..ef0d43be3f285e912c721a1a6186c77777176b81 100644 (file)
@@ -20,6 +20,9 @@
         reagents:
         - ReagentId: Nutriment
           Quantity: 5
+  - type: Tag
+    tags:
+    - VoxFood
 
 - type: entity
   id: FoodBagel
index d817d53b18a683c51d06af720fd65320751070ed..1945da67f33e9ddcdaf0f3f564bb79533cd433ce 100644 (file)
@@ -15,6 +15,7 @@
   - type: Tag
     tags:
     - Bread
+    - VoxFood
   - type: SolutionContainerManager
     solutions:
       food:
index 3b9ae17b6a3ad6a0619143655e1c4c27c48df543..763e8d358052ea6c1fcd45bf055d3d7a697b1b2d 100644 (file)
@@ -26,6 +26,7 @@
   - type: Tag
     tags:
     - Cake
+    - VoxFood
   - type: SecretStash
     maxItemSize: "Normal"
     secretStashName: secret-stash-cake
index 52ac7b2fe9872a8c67c44cd30591affda23728f5..4cdca4799c648ddf0540b1f7f3af2dd12680d4ea 100644 (file)
@@ -10,6 +10,7 @@
   - type: Tag
     tags:
     - Donut
+    - VoxFood
   - type: Sprite
     sprite: Objects/Consumable/Food/Baked/donut.rsi
   - type: SolutionContainerManager
index c7a10d42120a110313427b3d3e073e04aaf9bdcd..7776906b752e2fc338c859a8b316354f7e3a22c1 100644 (file)
@@ -18,6 +18,9 @@
           Quantity: 5
   - type: Item
     size: Tiny
+  - type: Tag
+    tags:
+    - VoxFood
 
 # Muffins
 
index b86a4201e8b797c6a7963ce50641a0dbf02f9b05..8633d0f718a4577c9d54c76747ab2467e4849102 100644 (file)
@@ -30,6 +30,7 @@
   - type: Tag
     tags:
     - Pie
+    - VoxFood
 
 - type: entity
   parent: FoodInjectableBase # Not sliceable
index 0ba1bdf6ab72ae99de7859cea240586076053f01..3576fdfc15638fab1f478d5b79bef6376d346745 100644 (file)
@@ -22,6 +22,9 @@
         reagents:
         - ReagentId: Nutriment
           Quantity: 20
+  - type: Tag
+    tags:
+    - VoxFood
 
 # Meals
 
index 4bff8252aa8a2c618425e0defcebba73c26cf25d..b11b38be1c7f6b8a95be5f172af2ca628567caee 100644 (file)
         reagents:
         - ReagentId: Nutriment
           Quantity: 20
-
+  - type: Tag
+    tags:
+    - VoxFood
+    
 # Noodles
 
 - type: entity
index 25a60dfc75c6326ae66b9e4e40b08ce629673d14..75a27c9754ab69306a332261683a34ee67422e7a 100644 (file)
   - type: Extractable
     grindableSolutionName: food
   - type: SpaceGarbage
+  - type: Food
+    requiresSpecialDigestion: true
 
 - type: entity
   name: baked banana peel
index 8c67a3d037c7c1406245258f226777a6443f8d44..72243b6d06cd13f4ff43e1be385e0650fc77f769 100644 (file)
@@ -10,6 +10,7 @@
   - type: Tag
     tags:
       - FoodSnack
+      - VoxFood
   - type: Sprite
     sprite: Objects/Consumable/Food/snacks.rsi
   - type: SolutionContainerManager
     sound:
       path: /Audio/Effects/unwrap.ogg
 
-
 - type: entity
   id: FoodSnackMREBrownieOpen
   parent: FoodSnackBase
           Quantity: 10
         - ReagentId: Theobromine
           Quantity: 3
+  - type: Tag
+    tags:
+    - VoxFood
 
 # Trash
 
   - type: SpaceGarbage
   - type: StaticPrice
     price: 0
+  - type: SolutionContainerManager
+    solutions:
+      food:
+        maxVol: 10
+        reagents:
+        - ReagentId: ToxinTrash
+          Quantity: 5
+  - type: Food
+    requiresSpecialDigestion: true
 
 - type: entity
   categories: [ HideSpawnMenu ]
index 0d9ba21e53e009bba47cbc5d1517859842a4e32c..2450f6ab4f2d931a763c3dec17027cdc91db5759 100644 (file)
@@ -42,6 +42,7 @@
   - type: Tag
     tags:
     - Soup
+    - VoxFood
   - type: Destructible
     thresholds:
     - trigger:
index a24de46b55e39beca6d532cef0f2185db2ced358..8ec899c57c8bf69b76262bd8f9166f8a9cb70a1e 100644 (file)
   id: bacchusblessing
   flavorType: Complex
   description: flavor-complex-bacchus-blessing
+
+- type: flavor
+  id: trashy
+  flavorType: Base
+  description: flavor-base-trashy
+
index 3ff7eb5ad66d317f3d2b0bf42340326569495e0f..510cf8aa93ea06d22e6d3d1b9badada1ccda07e5 100644 (file)
   tileReactions:
   - !type:FlammableTileReaction {}
   metabolisms:
+    Food:
+      effects:
+      - !type:SatiateThirst
+        factor: 1
+        conditions:
+        - !type:OrganType
+          type: Vox
     Poison:
       effects:
       - !type:HealthChange
+        conditions:
+        - !type:OrganType
+          type: Vox
+          shouldHave: false
         damage:
           types:
             Poison: 1
index 5f6e5581dda1c95f4e663c688cd387d9dbc272c4..27057cb7158070de5f30e2338ea228c53c417a4e 100644 (file)
           - !type:OrganType
             type: Animal
             shouldHave: false
+          - !type:OrganType
+            type: Vox
+            shouldHave: false
         type: Local
         visualType: MediumCaution
         messages: [ "generic-reagent-effect-sick" ]
           - !type:OrganType
             type: Animal
             shouldHave: false
+          - !type:OrganType
+            type: Vox
+            shouldHave: false
       - !type:HealthChange
         conditions:
         - !type:OrganType
           type: Animal
           shouldHave: false
+        - !type:OrganType
+          type: Vox
+          shouldHave: false
         damage:
           types:
             Poison: 1
         conditions:
         - !type:OrganType
           type: Animal
-          shouldHave: true
         reagent: Protein
         amount: 0.5
+      - !type:AdjustReagent
+        conditions:
+        - !type:OrganType
+          type: Vox
+        reagent: Protein
+        amount: 0.25
 
 - type: reagent
   id: Allicin
           shouldHave: false
         walkSpeedModifier: 0.4
         sprintSpeedModifier: 0.4
+
+- type: reagent
+  id: ToxinTrash
+  name: reagent-name-toxintrash
+  group: Toxins
+  desc: reagent-desc-toxintrash
+  flavor: trashy
+  physicalDesc: reagent-physical-desc-nondescript
+  metabolisms:
+    Food:
+      effects:
+      - !type:SatiateHunger
+        factor: 1
+        conditions:
+        - !type:OrganType
+          type: Vox
index 7a778953c5bd55e59eab7d651c2d36894d4b2d76..e258a4da0f07e4bb83b4dce352b35f338b1afcff 100644 (file)
 - type: Tag
   id: VoiceTrigger
 
+- type: Tag # Eating fix tag
+  id: VoxFood
+
 - type: Tag
   id: Wall
 
index 95e9df4c760ce198b2c9719ae031269fcf6d5698..9500c95aeaef15d8575f56d423b7188634d8fae9 100644 (file)
@@ -14,6 +14,8 @@
   Vox always spawn wearing working nitrogen internals equipment.
   A spare breathing mask and an emergency nitrogen canister is provided in their survival box.
 
+  In addition to regular foods, Vox can also eat various snack packaging, banana peels, eggshells, and raw meat without any ill effects. They also like to drink welding fuel.
+
   Vox [color=#1e90ff]slowly recover from low levels of poison damage[/color] on their own,
   so long as they are careful not to exceed 20 poison damage.
   This allows them to endure breathing station air for up to thirty seconds at a time without lasting damage,