Browse Source

barley seeds and ale

Taislin 5 tháng trước cách đây
mục cha
commit
56f139279d
20 tập tin đã thay đổi với 162 bổ sung1 xóa
  1. 4 1
      Resources/Locale/en-US/reagents/meta/consumable/food/ingredients.ftl
  2. 3 0
      Resources/Locale/en-US/seeds/seeds.ftl
  3. 19 0
      Resources/Prototypes/Civ14/Entities/Objects/Specific/Farming/seeds.yml
  4. 15 0
      Resources/Prototypes/Civ14/Recipes/Chemical/brewing.yml
  5. 23 0
      Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml
  6. 27 0
      Resources/Prototypes/Hydroponics/seeds.yml
  7. 22 0
      Resources/Prototypes/Reagents/Consumable/Food/ingredients.yml
  8. BIN
      Resources/Textures/Objects/Specific/Hydroponics/barley.rsi/dead.png
  9. BIN
      Resources/Textures/Objects/Specific/Hydroponics/barley.rsi/harvest.png
  10. 49 0
      Resources/Textures/Objects/Specific/Hydroponics/barley.rsi/meta.json
  11. BIN
      Resources/Textures/Objects/Specific/Hydroponics/barley.rsi/produce-inhand-left.png
  12. BIN
      Resources/Textures/Objects/Specific/Hydroponics/barley.rsi/produce-inhand-right.png
  13. BIN
      Resources/Textures/Objects/Specific/Hydroponics/barley.rsi/produce.png
  14. BIN
      Resources/Textures/Objects/Specific/Hydroponics/barley.rsi/seed.png
  15. BIN
      Resources/Textures/Objects/Specific/Hydroponics/barley.rsi/stage-1.png
  16. BIN
      Resources/Textures/Objects/Specific/Hydroponics/barley.rsi/stage-2.png
  17. BIN
      Resources/Textures/Objects/Specific/Hydroponics/barley.rsi/stage-3.png
  18. BIN
      Resources/Textures/Objects/Specific/Hydroponics/barley.rsi/stage-4.png
  19. BIN
      Resources/Textures/Objects/Specific/Hydroponics/barley.rsi/stage-5.png
  20. BIN
      Resources/Textures/Objects/Specific/Hydroponics/barley.rsi/stage-6.png

+ 4 - 1
Resources/Locale/en-US/reagents/meta/consumable/food/ingredients.ftl

@@ -1,6 +1,9 @@
-reagent-name-flour = flour
+reagent-name-flour = wheat flour
 reagent-desc-flour = Used for baking.
 
+reagent-name-barleyflour = barley flour
+reagent-desc-barleyflour = Used for baking.
+
 reagent-name-cornmeal = cornmeal
 reagent-desc-cornmeal = Used for baking.
 

+ 3 - 0
Resources/Locale/en-US/seeds/seeds.ftl

@@ -7,6 +7,9 @@ seeds-noun-spores = spores
 seeds-wheat-name = wheat
 seeds-wheat-display-name = wheat stalks
 
+seeds-barley-name = barley
+seeds-barley-display-name = barley stalks
+
 seeds-hemp-wheat-name = hemp
 seeds-hemp-display-name = hemp stalks
 seeds-meatwheat-name = meatwheat

+ 19 - 0
Resources/Prototypes/Civ14/Entities/Objects/Specific/Farming/seeds.yml

@@ -29,6 +29,18 @@
     - type: Stack
       stackType: StackWheatSeedsCiv
       count: 1
+- type: entity
+  parent: SeedBaseCiv
+  id: BarleySeedsCiv
+  name: "barley seeds"
+  components:
+    - type: Seed
+      seedId: barley
+    - type: Sprite
+      color: "#599e04"
+    - type: Stack
+      stackType: StackBarleySeedsCiv
+      count: 1
 - type: entity
   parent: SeedBaseCiv
   id: CornSeedsCiv
@@ -204,6 +216,13 @@
   spawn: WheatSeedsCiv
   maxCount: 30
 
+- type: stack
+  id: StackBarleySeedsCiv
+  name: barley seeds
+  icon: { sprite: /Textures/Civ14/Objects/Farming/seeds.rsi, state: seeds_old }
+  spawn: BarleySeedsCiv
+  maxCount: 30
+
 - type: stack
   id: StackCornSeedsCiv
   name: corn seeds

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

@@ -13,6 +13,21 @@
   products:
     Beer: 20
 
+- type: reaction
+  id: BrewingBarley
+  source: true
+  requiredMixerCategories:
+    - Fermentation
+  reactants:
+    Water:
+      amount: 20
+    BarleyFlour:
+      amount: 10
+    Yeast:
+      amount: 1
+  products:
+    Ale: 20
+
 - type: construction
   name: brewing barrel
   id: BrewingBarrel

+ 23 - 0
Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml

@@ -63,6 +63,29 @@
         - Wheat
         - Compostable
 
+- type: entity
+  name: barley bushel
+  description: A bushel of barley
+  id: BarleyBushel
+  parent: ProduceBase
+  components:
+    - type: Sprite
+      sprite: Objects/Specific/Hydroponics/barley.rsi
+    - type: Item
+      heldPrefix: produce
+    - type: SolutionContainerManager
+      solutions:
+        food:
+          reagents:
+            - ReagentId: BarleyFlour
+              Quantity: 10
+    - type: Produce
+      seedId: barley
+    - type: Tag
+      tags:
+        - Compostable
+
+
 - type: entity
   name: meatwheat bushel
   description: Some blood-drenched wheat stalks. You can crush them into what passes for meat if you squint hard enough.

+ 27 - 0
Resources/Prototypes/Hydroponics/seeds.yml

@@ -27,6 +27,33 @@
       Max: 20
       PotencyDivisor: 20
 
+- type: seed
+  id: barley
+  name: seeds-barley-name
+  noun: seeds-noun-seeds
+  displayName: seeds-barley-display-name
+  plantRsi: Objects/Specific/Hydroponics/barley.rsi
+  packetPrototype: BarleySeedsCiv
+  productPrototypes:
+    - BarleyBushel
+    - BarleySeedsCiv
+  lifespan: 25
+  maturation: 6
+  production: 3
+  yield: 2
+  potency: 5
+  idealLight: 8
+  nutrientConsumption: 0.40
+  chemicals:
+    Nutriment:
+      Min: 1
+      Max: 20
+      PotencyDivisor: 20
+    BarleyFlour:
+      Min: 5
+      Max: 20
+      PotencyDivisor: 20
+
 - type: seed
   id: hemp
   name: seeds-hemp-name

+ 22 - 0
Resources/Prototypes/Reagents/Consumable/Food/ingredients.yml

@@ -19,6 +19,28 @@
         reagent: Nutriment
         amount: 0.1
 
+- type: reagent
+  id: BarleyFlour
+  name: reagent-name-barleyflour
+  group: Foods
+  desc: reagent-desc-barleyflour
+  physicalDesc: reagent-physical-desc-powdery
+  flavor: chalky
+  color: white
+  recognizable: true
+  metabolisms:
+    Food:
+      effects:
+      - !type:AdjustReagent
+        reagent: Sugar
+        amount: 0.4
+      - !type:SatiateThirst
+        factor: -0.2 #its flour
+      - !type:AdjustReagent
+        reagent: Nutriment
+        amount: 0.1
+
+
 - type: reagent
   id: Cornmeal
   name: reagent-name-cornmeal

BIN
Resources/Textures/Objects/Specific/Hydroponics/barley.rsi/dead.png


BIN
Resources/Textures/Objects/Specific/Hydroponics/barley.rsi/harvest.png


+ 49 - 0
Resources/Textures/Objects/Specific/Hydroponics/barley.rsi/meta.json

@@ -0,0 +1,49 @@
+{
+    "version": 1,
+    "license": "CC-BY-SA-3.0",
+    "copyright": "Taken from https://github.com/vgstation-coders/vgstation13/commit/1dbcf389b0ec6b2c51b002df5fef8dd1519f8068, inhands by mubururu_ (github)",
+    "size": {
+        "x": 32,
+        "y": 32
+    },
+    "states": [
+        {
+            "name": "dead"
+        },
+        {
+            "name": "harvest"
+        },
+        {
+            "name": "produce"
+        },
+        {
+            "name": "seed"
+        },
+        {
+            "name": "stage-1"
+        },
+        {
+            "name": "stage-2"
+        },
+        {
+            "name": "stage-3"
+        },
+        {
+            "name": "stage-4"
+        },
+        {
+            "name": "stage-5"
+        },
+        {
+            "name": "stage-6"
+        },
+        {
+            "name": "produce-inhand-left",
+            "directions": 4
+        },
+        {
+            "name": "produce-inhand-right",
+            "directions": 4
+        }
+    ]
+}

BIN
Resources/Textures/Objects/Specific/Hydroponics/barley.rsi/produce-inhand-left.png


BIN
Resources/Textures/Objects/Specific/Hydroponics/barley.rsi/produce-inhand-right.png


BIN
Resources/Textures/Objects/Specific/Hydroponics/barley.rsi/produce.png


BIN
Resources/Textures/Objects/Specific/Hydroponics/barley.rsi/seed.png


BIN
Resources/Textures/Objects/Specific/Hydroponics/barley.rsi/stage-1.png


BIN
Resources/Textures/Objects/Specific/Hydroponics/barley.rsi/stage-2.png


BIN
Resources/Textures/Objects/Specific/Hydroponics/barley.rsi/stage-3.png


BIN
Resources/Textures/Objects/Specific/Hydroponics/barley.rsi/stage-4.png


BIN
Resources/Textures/Objects/Specific/Hydroponics/barley.rsi/stage-5.png


BIN
Resources/Textures/Objects/Specific/Hydroponics/barley.rsi/stage-6.png