Seed sack and craft (#1287)

* seed_sack

* full seed sack

* seed sack sprite

* name and description
This commit is contained in:
Alexsey Bezyuk
2025-05-21 19:41:22 +10:00
committed by GitHub
parent beeea40dc7
commit a73f8e3113
9 changed files with 106 additions and 2 deletions

View File

@@ -3157,6 +3157,13 @@ ent-CP14SackFarmingWheat = { ent-CP14SackFarming }
.desc = { ent-CP14SackFarming.desc }
.suffix = Пшеница
ent-CP14SackFarmingSeed = мешочек для семян
.desc = Мешочек для хранения семян растений.
ent-CP14SackFarmingSeedFull = { ent-CP14SackFarmingSeed }
.desc = { ent-CP14SackFarmingSeed.desc }
.suffix = Полный
ent-CP14SeedWheat = семена пшеницы
.desc = Маленькие семена пшеницы. Что вы будете с ними делать? Размолоть в муку или посадить снова?

View File

@@ -63,6 +63,8 @@
- type: entity
id: CP14SackFarmingWheat
name: seed sack
description: Sack for various plant seeds.
parent: CP14SackFarming
suffix: Wheat
components:
@@ -76,3 +78,62 @@
- id: CP14Wheat
amount: 5
prob: 0.4
- type: entity
id: CP14SackFarmingSeed
parent: CP14SackFarming
suffix: Seed
components:
- type: Sprite
sprite: _CP14/Objects/Storage/sack.rsi
state: seed
- type: Item
size: Small
- type: Storage
maxItemSize: Tiny
grid:
- 0,0,6,3
quickInsert: true
areaInsert: true
whitelist:
tags:
- CP14FarmSeed
- type: entity
id: CP14SackFarmingSeedFull
parent: CP14SackFarmingSeed
suffix: Full
components:
- type: StorageFill
contents:
- id: CP14SeedWheat
amount: 4
- id: CP14SeedWheat
amount: 2
prob: 0.6
- id: CP14SeedWheat
amount: 1
prob: 0.4
- id: CP14SeedPumpkin
amount: 3
- id: CP14SeedPumpkin
amount: 1
prob: 0.4
- id: CP14SeedCucumber
amount: 3
- id: CP14SeedTomato
amount: 3
- id: CP14SeedCabbage
amount: 2
- id: CP14SeedPepper
amount: 2
- id: CP14SeedSage
amount: 2
- id: CP14SeedSage
amount: 1
prob: 0.4
- id: CP14SeedCotton
amount: 2
- id: CP14SeedCotton
amount: 1
prob: 0.4

View File

@@ -9,6 +9,9 @@
- type: Sprite
sprite: _CP14/Objects/Specific/Farming/seeds.rsi
- type: CP14Seed
- type: Tag
tags:
- CP14FarmSeed
- type: entity
id: CP14SeedWheat

View File

@@ -7,6 +7,7 @@
protoId: CP14Wheat
count: 1
result: CP14SeedWheat
resultCount: 3
- type: CP14Recipe
id: CP14SeedTomato

View File

@@ -255,6 +255,18 @@
count: 4
result: CP14SackFarming
- type: CP14Recipe
id: CP14SackFarmingSeed
tag: CP14RecipeSewing
craftTime: 2
requirements:
- !type:ProtoIdResource
protoId: CP14String
- !type:StackResource
stack: CP14Cloth
count: 2
result: CP14SackFarmingSeed
# Wallpaper (TODO: Move to separate workbench?)
- type: CP14Recipe

View File

@@ -112,6 +112,9 @@
- type: Tag
id: CP14FarmFood
- type: Tag
id: CP14FarmSeed
- type: Tag
id: CP14AlchemicalHerbals

View File

@@ -1,14 +1,17 @@
{
"version": 1,
"license": "All right reserved",
"copyright": "Created by Artista",
"copyright": "Created by Artista. Seed sack By Ell_Good",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
"name": "icon"
},
{
"name": "seed"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -7307,6 +7307,20 @@
"parent": "CP14SackFarming",
"suffix": "Wheat"
},
"CP14SackFarmingSeed": {
"id": "CP14SackFarmingSeed",
"name": "seed sack",
"description": "Sack for various plant seeds.",
"parent": "CP14SackFarming",
"suffix": null
},
"CP14SackFarmingSeedFull": {
"id": "CP14SackFarmingSeedFull",
"name": null,
"description": null,
"parent": "CP14SackFarming",
"suffix": "Full"
},
"CP14BaseSeed": {
"id": "CP14BaseSeed",
"name": null,