diff --git a/Resources/Prototypes/_CP14/Entities/Objects/Misc/tiles_grass_bag.yml b/Resources/Prototypes/_CP14/Entities/Objects/Misc/tiles_grass_bag.yml new file mode 100644 index 0000000000..364d91a89e --- /dev/null +++ b/Resources/Prototypes/_CP14/Entities/Objects/Misc/tiles_grass_bag.yml @@ -0,0 +1,66 @@ +- type: entity + parent: CP14FloorTileBase + id: CP14FloorTileGrassBagBase + description: A bag of grass seed. A pinch of natural magic and the dirt is covered with a beautiful lawn in the blink of an eye! + abstract: true + categories: [ ForkFiltered ] + components: + - type: Sprite + sprite: _CP14/Objects/Specific/Farming/grass_seeds.rsi + - type: Item + sprite: _CP14/Objects/Tile/tile.rsi + size: Tiny + - type: Stack + count: 1 + - type: FloorTile + placeTileSound: + collection: CP14GrassGathering + params: + variation: 0.05 + - type: Destructible + thresholds: + - trigger: + !type:DamageTrigger + damage: 10 + behaviors: + - !type:DoActsBehavior + acts: [ "Destruction" ] + +- type: entity + parent: CP14FloorTileGrassBagBase + id: CP14FloorTileGrassBag + name: grass bag + components: + - type: Sprite + state: grass2 + - type: FloorTile + outputs: + - CP14FloorGrass + - type: Stack + stackType: CP14FloorTileGrassBag + +- type: entity + parent: CP14FloorTileGrassBagBase + id: CP14FloorTileGrassBagLight + name: light grass bag + components: + - type: Sprite + state: grass + - type: FloorTile + outputs: + - CP14FloorGrassLight + - type: Stack + stackType: CP14FloorTileGrassBagLight + +- type: entity + parent: CP14FloorTileGrassBagBase + id: CP14FloorTileGrassBagTall + name: tall grass bag + components: + - type: Sprite + state: grass3 + - type: FloorTile + outputs: + - CP14FloorGrassTall + - type: Stack + stackType: CP14FloorTileGrassBagTall \ No newline at end of file diff --git a/Resources/Prototypes/_CP14/Procedural/grasslands.yml b/Resources/Prototypes/_CP14/Procedural/grasslands.yml index b72944171a..dc864265ac 100644 --- a/Resources/Prototypes/_CP14/Procedural/grasslands.yml +++ b/Resources/Prototypes/_CP14/Procedural/grasslands.yml @@ -39,6 +39,29 @@ layers: - !type:BiomeMetaLayer template: CP14GrassFill + - !type:BiomeDecalLayer #Rock decal + allowedTiles: + - CP14FloorGrass + - CP14FloorGrassLight + - CP14FloorGrassTall + threshold: 0.6 + divisions: 1 + noise: + seed: 18 + noiseType: OpenSimplex2 + fractalType: Ridged + frequency: 0.11 + octaves: 3 + lacunarity: 1.7 + gain: 0.8 + domainWarpType: OpenSimplex2 + domainWarpAmp: 120 + decals: + - CP14FloraRock01 + - CP14FloraRock02 + - CP14FloraRock03 + - CP14FloraRock04 + - CP14FloraRock05 - !type:BiomeDecalLayer #Grass decal allowedTiles: - CP14FloorGrass diff --git a/Resources/Prototypes/_CP14/Stacks/floor_tile_stacks.yml b/Resources/Prototypes/_CP14/Stacks/floor_tile_stacks.yml index 976204bb86..fea9984e00 100644 --- a/Resources/Prototypes/_CP14/Stacks/floor_tile_stacks.yml +++ b/Resources/Prototypes/_CP14/Stacks/floor_tile_stacks.yml @@ -103,3 +103,26 @@ icon: { sprite: _CP14/Objects/Tile/tile.rsi, state: birch_woodplanks_stairways } maxCount: 30 +- type: stack + id: CP14FloorTileGrassBag + name: cp14-tiles-grass + spawn: CP14FloorTileGrassBag + icon: { sprite: _CP14/Objects/Specific/Farming/grass_seeds.rsi, state: grass } + maxCount: 30 + +- type: stack + id: CP14FloorTileGrassBagLight + name: cp14-tiles-grass-light + spawn: CP14FloorTileGrassBagLight + icon: { sprite: _CP14/Objects/Specific/Farming/grass_seeds.rsi, state: grass2 } + maxCount: 30 + +- type: stack + id: CP14FloorTileGrassBagTall + name: cp14-tiles-grass-tall + spawn: CP14FloorTileGrassBagTall + icon: { sprite: _CP14/Objects/Specific/Farming/grass_seeds.rsi, state: grass3 } + maxCount: 30 + + + diff --git a/Resources/Prototypes/_CP14/Trading/victoria_gardens.yml b/Resources/Prototypes/_CP14/Trading/victoria_gardens.yml index 5bec1f8210..f9cb01c667 100644 --- a/Resources/Prototypes/_CP14/Trading/victoria_gardens.yml +++ b/Resources/Prototypes/_CP14/Trading/victoria_gardens.yml @@ -66,6 +66,46 @@ product: CP14FoodOnion count: 3 + +- type: cp14TradingPosition + id: CP14FloorTileGrassBag + faction: VictoriaGardens + priceMarkup: 2 + reputationLevel: 0 + uiPosition: 7 + icon: + sprite: _CP14/Objects/Specific/Farming/grass_seeds.rsi + state: grass + service: !type:CP14BuyItemsService + product: CP14FloorTileGrassBag + count: 5 + +- type: cp14TradingPosition + id: CP14FloorTileGrassBagLight + faction: VictoriaGardens + priceMarkup: 2 + reputationLevel: 0 + uiPosition: 8 + icon: + sprite: _CP14/Objects/Specific/Farming/grass_seeds.rsi + state: grass2 + service: !type:CP14BuyItemsService + product: CP14FloorTileGrassBagLight + count: 5 + +- type: cp14TradingPosition + id: CP14FloorTileGrassBagTall + faction: VictoriaGardens + priceMarkup: 2 + reputationLevel: 0 + uiPosition: 9 + icon: + sprite: _CP14/Objects/Specific/Farming/grass_seeds.rsi + state: grass3 + service: !type:CP14BuyItemsService + product: CP14FloorTileGrassBagTall + count: 5 + # Rep 1 - type: cp14TradingPosition diff --git a/Resources/Textures/_CP14/Objects/Specific/Farming/grass_seeds.rsi/bag.png b/Resources/Textures/_CP14/Objects/Specific/Farming/grass_seeds.rsi/bag.png new file mode 100644 index 0000000000..78369a0f4d Binary files /dev/null and b/Resources/Textures/_CP14/Objects/Specific/Farming/grass_seeds.rsi/bag.png differ diff --git a/Resources/Textures/_CP14/Objects/Specific/Farming/grass_seeds.rsi/grass.png b/Resources/Textures/_CP14/Objects/Specific/Farming/grass_seeds.rsi/grass.png new file mode 100644 index 0000000000..6c7d8e2f68 Binary files /dev/null and b/Resources/Textures/_CP14/Objects/Specific/Farming/grass_seeds.rsi/grass.png differ diff --git a/Resources/Textures/_CP14/Objects/Specific/Farming/grass_seeds.rsi/grass2.png b/Resources/Textures/_CP14/Objects/Specific/Farming/grass_seeds.rsi/grass2.png new file mode 100644 index 0000000000..9a6f2b65c2 Binary files /dev/null and b/Resources/Textures/_CP14/Objects/Specific/Farming/grass_seeds.rsi/grass2.png differ diff --git a/Resources/Textures/_CP14/Objects/Specific/Farming/grass_seeds.rsi/grass3.png b/Resources/Textures/_CP14/Objects/Specific/Farming/grass_seeds.rsi/grass3.png new file mode 100644 index 0000000000..c07d9d4579 Binary files /dev/null and b/Resources/Textures/_CP14/Objects/Specific/Farming/grass_seeds.rsi/grass3.png differ diff --git a/Resources/Textures/_CP14/Objects/Specific/Farming/grass_seeds.rsi/meta.json b/Resources/Textures/_CP14/Objects/Specific/Farming/grass_seeds.rsi/meta.json new file mode 100644 index 0000000000..3a7ff3160a --- /dev/null +++ b/Resources/Textures/_CP14/Objects/Specific/Farming/grass_seeds.rsi/meta.json @@ -0,0 +1,23 @@ +{ + "version": 1, + "size": { + "x": 32, + "y": 32 + }, + "license": "CC-BY-SA-4.0", + "copyright": "Created by TheShuEd (Github) ", + "states": [ + { + "name": "bag" + }, + { + "name": "grass" + }, + { + "name": "grass2" + }, + { + "name": "grass3" + } + ] +} \ No newline at end of file