Правки

This commit is contained in:
Hero010h
2024-12-29 16:19:04 +03:00
parent 7f20dd1b5a
commit 5aefcb95bf
13 changed files with 33 additions and 19 deletions

View File

@@ -123,6 +123,8 @@
components: components:
- type: StorageFill - type: StorageFill
contents: contents:
- id: PackedSoil
prob: 0.10
- id: Lantern - id: Lantern
prob: 0.20 prob: 0.20
- id: Wirecutter - id: Wirecutter

View File

@@ -18,6 +18,7 @@
HandheldSeedAnalyzer: 2 HandheldSeedAnalyzer: 2
EZNutrientChemistryBottle: 3 EZNutrientChemistryBottle: 3
Eftpos: 4 Eftpos: 4
PackedSoil: 5 #WD edit
emaggedInventory: emaggedInventory:
Left4ZedChemistryBottle: 1 Left4ZedChemistryBottle: 1

View File

@@ -300,9 +300,9 @@
- type: cargoProduct - type: cargoProduct
id: cargoPackedSoil id: cargoPackedSoil
icon: icon:
sprite: White/Objects/Weapons/Guns/Shotguns/rubber_pump.rsi sprite: White/Structures/growingpot.rsi
state: icon state: packed_soil
product: CratePackedSoil product: CratePackedSoil
cost: 2000 cost: 500
category: cargoproduct-category-name-hydroponics category: cargoproduct-category-name-hydroponics
group: market group: market

View File

@@ -2,8 +2,9 @@
parent: CrateHydroponics parent: CrateHydroponics
id: CratePackedSoil id: CratePackedSoil
name: ящик с почвой name: ящик с почвой
description: Ящик, содержащий три упаковки с почвой
components: components:
- type: StorageFill - type: StorageFill
contents: contents:
- id: packedSoil - id: PackedSoil
amount: 3 amount: 5

View File

@@ -1,14 +1,16 @@
- type: entity - type: entity
name: упаковка почвы name: упаковка почвы
description: Можно засыпать в каркас грядки. description: Можно засыпать в каркас грядки.
id: packedSoil id: PackedSoil
parent: BaseItem parent: BaseItem
components: components:
- type: Item - type: Item
size: Small size: Small
- type: Sprite - type: Sprite
sprite: Clothing/OuterClothing/Misc/apronbar.rsi sprite: White/Structures/growingpot.rsi
state: icon state: packed_soil
- type: Tag - type: Tag
tags: tags:
- PackedSoil - PackedSoilTag
- type: StaticPrice
price: 50

View File

@@ -5,7 +5,7 @@
description: Позволяет выращивать различные культуры. description: Позволяет выращивать различные культуры.
components: components:
- type: Sprite - type: Sprite
sprite: Structures/Hydroponics/growingpot.rsi sprite: White/Structures/growingpot.rsi
state: pot_filled state: pot_filled
- type: Transform - type: Transform
anchored: true anchored: true
@@ -43,7 +43,7 @@
components: components:
- type: InteractionOutline - type: InteractionOutline
- type: Sprite - type: Sprite
sprite: Structures/Hydroponics/growingpot.rsi sprite: White/Structures/growingpot.rsi
state: pot_empty state: pot_empty
noRot: true noRot: true
- type: Tag - type: Tag

View File

@@ -13,7 +13,7 @@
steps: steps:
- material: WoodPlank - material: WoodPlank
amount: 15 amount: 15
doAfter: 1 doAfter: 4
- material: MetalRod - material: MetalRod
amount: 4 amount: 4
doAfter: 1 doAfter: 1
@@ -22,15 +22,17 @@
entity: GrowingPotNoSoil entity: GrowingPotNoSoil
edges: edges:
- to: growingPot - to: growingPot
conditions:
- !type:EntityAnchored
completed: completed:
- !type:SnapToGrid - !type:SnapToGrid
southRotation: true southRotation: true
steps: steps:
- tag: PackedSoil - tag: PackedSoilTag
name: упаковка почвы name: упаковка почвы
icon: icon:
sprite: Structures/Piping/Atmospherics/pipe.rsi sprite: White/Structures/growingpot.rsi
state: pipeStraight state: packed_soil
- to: start - to: start
completed: completed:
- !type:SpawnPrototype - !type:SpawnPrototype
@@ -47,10 +49,13 @@
entity: GrowingPotEmpty entity: GrowingPotEmpty
edges: edges:
- to: growingPotNoSoil - to: growingPotNoSoil
conditions:
- !type:EntityAnchored
completed: completed:
- !type:SpawnPrototype - !type:SpawnPrototype
prototype: packedSoil prototype: PackedSoil
amount: 1 amount: 1
- !type:EmptyAllContainers
steps: steps:
- tool: Prying - tool: Prying
doAfter: 1 doAfter: 5

View File

@@ -7,7 +7,7 @@
targetNode: growingPot targetNode: growingPot
category: construction-category-furniture category: construction-category-furniture
icon: icon:
sprite: Structures\Hydroponics\growingpot.rsi sprite: White/Structures/growingpot.rsi
state: pot_filled state: pot_filled
objectType: Structure objectType: Structure
placementMode: SnapgridCenter placementMode: SnapgridCenter

View File

@@ -949,7 +949,7 @@
id: Ore id: Ore
- type: Tag - type: Tag
id: PackedSoil # WD edit id: PackedSoilTag # WD edit
- type: Tag - type: Tag
id: Packet id: Packet

View File

@@ -12,6 +12,9 @@
}, },
{ {
"name": "pot_empty" "name": "pot_empty"
},
{
"name": "packed_soil"
} }
] ]
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 646 B

View File

Before

Width:  |  Height:  |  Size: 424 B

After

Width:  |  Height:  |  Size: 424 B