Kaynağa Gözat

brewing basics

Taislin 5 ay önce
ebeveyn
işleme
73fd15be0e

+ 3 - 0
Resources/Locale/en-US/chemistry/components/mixing-component.ftl

@@ -9,6 +9,9 @@ mixing-verb-holy = bless
 mixing-verb-stir = stir
 mixing-verb-shake = shake
 
+mixing-verb-distillation = distill
+mixing-verb-fermentation = ferment
+
 ## Entity
 
 default-mixing-success = You mix the {$mixed} with the {$mixer}

+ 3 - 0
Resources/Locale/en-US/reagents/meta/biological.ftl

@@ -30,3 +30,6 @@ reagent-desc-vomit = You can see a few chunks of someone's last meal in it.
 
 reagent-name-grey-matter = grey matter
 reagent-desc-grey-matter = Thought juice, the stuff that leaks out of your ears.
+
+reagent-name-yeast = yeast
+reagent-desc-yeast = A single celled fungus that can be used to make alcohol.

Dosya farkı çok büyük olduğundan ihmal edildi
+ 1 - 1
Resources/Maps/civ/nomads_classic.yml


+ 15 - 0
Resources/Prototypes/Chemistry/mixing_types.yml

@@ -65,3 +65,18 @@
   icon:
     sprite: Objects/Misc/utensils.rsi
     state: spoon
+
+# Civ brewing
+- type: mixingCategory
+  id: Fermentation
+  verbText: mixing-verb-fermentation
+  icon:
+    sprite: Civ14/Objects/beer_barrel.rsi
+    state: base
+
+- type: mixingCategory
+  id: Distillation
+  verbText: mixing-verb-distillation
+  icon:
+    sprite: Civ14/Objects/structures.rsi
+    state: distillery

+ 46 - 0
Resources/Prototypes/Civ14/Entities/Structures/Machines/brewing.yml

@@ -0,0 +1,46 @@
+- type: entity
+  id: BrewingBarrel
+  parent: BaseTabletopChemicalMachine
+  name: fermentation barrel
+  description: A large wooden barrel for brewing fermentable drinks.
+  components:
+    - type: SolutionContainerMixer
+      mixDuration: 80
+      mixingSound:
+        path: /Audio/Effects/Chemistry/bubbles.ogg
+        params:
+          volume: -4
+    - type: ReactionMixer
+      reactionTypes:
+        - Fermentation
+    - type: Sprite
+      sprite: Civ14/Objects/barrel.rsi
+      state: beer_barrel
+    - type: ItemSlots
+      slots:
+        mixer:
+          whitelist:
+            tags:
+              - FermentationCompatible
+    - type: ApcPowerReceiver
+      needsPower: false
+      powerLoad: 0
+    - type: Anchorable
+      delay: 2
+
+- type: entity
+  parent: [ReagentPacketBase, ItemHeftyBase]
+  id: ReagentContainerYeast
+  name: yeast
+  description: A clump of yeast. Good for making beer!
+  components:
+    - type: Sprite
+      sprite: Civ14/Objects/food/food.rsi
+      state: enzyme
+    - type: SolutionContainerManager
+      solutions:
+        food:
+          maxVol: 20
+          reagents:
+            - ReagentId: Yeast
+              Quantity: 20

+ 14 - 0
Resources/Prototypes/Civ14/Recipes/Chemical/brewing.yml

@@ -0,0 +1,14 @@
+- type: reaction
+  id: BrewingBeer
+  source: true
+  requiredMixerCategories:
+    - Fermentation
+  reactants:
+    Water:
+      amount: 20
+    Flour:
+      amount: 10
+    Yeast:
+      amount: 1
+  products:
+    Beer: 20

+ 14 - 0
Resources/Prototypes/Civ14/Recipes/Chemical/reagents.yml

@@ -0,0 +1,14 @@
+- type: reagent
+  id: Yeast
+  name: reagent-name-yeast
+  group: Foods
+  desc: reagent-desc-yeast
+  physicalDesc: reagent-physical-desc-powdery
+  flavor: chalky
+  color: tan
+  metabolisms:
+    Food:
+      effects:
+        - !type:AdjustReagent
+          reagent: Nutriment
+          amount: 0.1

+ 1 - 0
Resources/Prototypes/Entities/Objects/Tools/bucket.yml

@@ -68,6 +68,7 @@
     - type: Tag
       tags:
         - Bucket
+        - FermentationCompatible
     - type: PhysicalComposition
       materialComposition:
         Plastic: 50

+ 3 - 0
Resources/Prototypes/tags.yml

@@ -304,6 +304,9 @@
 - type: Tag
   id: CentrifugeCompatible
 
+- type: Tag
+  id: FermentationCompatible
+
 - type: Tag
   id: Chicken
 

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor