Lava + Chest resprite (#1007)

* simple lava

* add into demiplanes

* Update meta.json

* wooden chest update

* Update migration.yml

* Update dev_map.yml

* manual migration

* Update factoria.yml
This commit is contained in:
Ed
2025-03-11 17:39:46 +03:00
committed by GitHub
parent 41e9e9f6ef
commit 56f4012a49
36 changed files with 401 additions and 97 deletions

View File

@@ -8,11 +8,11 @@
factions:
- BradFamily
service: !type:CP14BuyItemsService
product: CP14BrassChestFilledAlchemy
product: CP14WoodenChestFilledAlchemy
- type: entity
parent: CP14BrassChest
id: CP14BrassChestFilledAlchemy
parent: CP14WoodenChest
id: CP14WoodenChestFilledAlchemy
name: alchemical vials chest
components:
- type: StorageFill
@@ -37,11 +37,11 @@
factions:
- BradFamily
service: !type:CP14BuyItemsService
product: CP14BrassChestFilledSmallHealingBrute
product: CP14WoodenChestFilledSmallHealingBrute
- type: entity
parent: CP14BrassChest
id: CP14BrassChestFilledSmallHealingBrute
parent: CP14WoodenChest
id: CP14WoodenChestFilledSmallHealingBrute
name: healing potions chest
components:
- type: StorageFill
@@ -60,11 +60,11 @@
factions:
- BradFamily
service: !type:CP14BuyItemsService
product: CP14BrassChestFilledSmallHealingPoison
product: CP14WoodenChestFilledSmallHealingPoison
- type: entity
parent: CP14BrassChest
id: CP14BrassChestFilledSmallHealingPoison
parent: CP14WoodenChest
id: CP14WoodenChestFilledSmallHealingPoison
name: antidote potions chest
components:
- type: StorageFill
@@ -83,11 +83,11 @@
factions:
- BradFamily
service: !type:CP14BuyItemsService
product: CP14BrassChestFilledSmallHealingAirloss
product: CP14WoodenChestFilledSmallHealingAirloss
- type: entity
parent: CP14BrassChest
id: CP14BrassChestFilledSmallHealingAirloss
parent: CP14WoodenChest
id: CP14WoodenChestFilledSmallHealingAirloss
name: airloss healing potions chest
components:
- type: StorageFill
@@ -106,11 +106,11 @@
factions:
- BradFamily
service: !type:CP14BuyItemsService
product: CP14BrassChestFilledSmallHealingBlood
product: CP14WoodenChestFilledSmallHealingBlood
- type: entity
parent: CP14BrassChest
id: CP14BrassChestFilledSmallHealingBlood
parent: CP14WoodenChest
id: CP14WoodenChestFilledSmallHealingBlood
name: blood restoration potions chest
components:
- type: StorageFill
@@ -129,11 +129,11 @@
factions:
- BradFamily
service: !type:CP14BuyItemsService
product: CP14BrassChestFilledSmallHealingMana
product: CP14WoodenChestFilledSmallHealingMana
- type: entity
parent: CP14BrassChest
id: CP14BrassChestFilledSmallHealingMana
parent: CP14WoodenChest
id: CP14WoodenChestFilledSmallHealingMana
name: mana potions chest
components:
- type: StorageFill
@@ -152,11 +152,11 @@
factions:
- BradFamily
service: !type:CP14BuyItemsService
product: CP14BrassChestFilledSmallSpeedUp
product: CP14WoodenChestFilledSmallSpeedUp
- type: entity
parent: CP14BrassChest
id: CP14BrassChestFilledSmallSpeedUp
parent: CP14WoodenChest
id: CP14WoodenChestFilledSmallSpeedUp
name: accseleration potions chest
components:
- type: StorageFill
@@ -175,11 +175,11 @@
factions:
- BradFamily
service: !type:CP14BuyItemsService
product: CP14BrassChestFilledSmallRainbow
product: CP14WoodenChestFilledSmallRainbow
- type: entity
parent: CP14BrassChest
id: CP14BrassChestFilledSmallRainbow
parent: CP14WoodenChest
id: CP14WoodenChestFilledSmallRainbow
name: funny potions chest
components:
- type: StorageFill

View File

@@ -8,11 +8,11 @@
factions:
- SpiceStream
service: !type:CP14BuyItemsService
product: CP14BrassChestFilledFarmSeeds
product: CP14WoodenChestFilledFarmSeeds
- type: entity
parent: CP14BrassChest
id: CP14BrassChestFilledFarmSeeds
parent: CP14WoodenChest
id: CP14WoodenChestFilledFarmSeeds
name: farm seeds chest
components:
- type: StorageFill
@@ -43,11 +43,11 @@
factions:
- SpiceStream
service: !type:CP14BuyItemsService
product: CP14BrassChestFilledCheese
product: CP14WoodenChestFilledCheese
- type: entity
parent: CP14BrassChest
id: CP14BrassChestFilledCheese
parent: CP14WoodenChest
id: CP14WoodenChestFilledCheese
name: cheese chest
components:
- type: StorageFill
@@ -147,11 +147,11 @@
factions:
- SpiceStream
service: !type:CP14BuyItemsService
product: CP14BrassChestFilledBureaucracy
product: CP14WoodenChestFilledBureaucracy
- type: entity
parent: CP14BrassChest
id: CP14BrassChestFilledBureaucracy
parent: CP14WoodenChest
id: CP14WoodenChestFilledBureaucracy
name: bureaucracy chest
components:
- type: StorageFill
@@ -204,11 +204,11 @@
factions:
- SpiceStream
service: !type:CP14BuyItemsService
product: CP14BrassChestFilledEnergyCrystals
product: CP14WoodenChestFilledEnergyCrystals
- type: entity
parent: CP14BrassChest
id: CP14BrassChestFilledEnergyCrystals
parent: CP14WoodenChest
id: CP14WoodenChestFilledEnergyCrystals
name: energy crystals chest
components:
- type: StorageFill

View File

@@ -0,0 +1,58 @@
- type: entity
id: CP14FloorLava
name: lava
description: Don't jump in. It's not worth it, no matter how funny it is.
categories: [ ForkFiltered ]
placement:
mode: SnapgridCenter
snap:
- Wall
components:
- type: PlacementReplacement
key: floorTile
- type: TileEmission
range: 0.5
color: "#ed811c"
- type: StepTrigger
requiredTriggeredSpeed: 0
intersectRatio: 0.1
blacklist:
tags:
- Catwalk
- type: TileEntityEffect
effects:
- !type:FlammableReaction
multiplier: 3.75
multiplierOnExisting: 0.75
- !type:Ignite
- type: Transform
anchored: true
- type: SyncSprite
- type: Clickable
- type: Sprite
sprite: _CP14/Tiles/Water/lava.rsi
drawdepth: BelowFloor
- type: Icon
sprite: _CP14/Tiles/Water/lava.rsi
state: full
- type: IconSmooth
shader: unshaded
key: CP14Lava
base: water
- type: Physics
bodyType: Static
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.5,-0.5,0.5,0.5"
layer:
- SlipLayer
mask:
- ItemMask
density: 1000
hard: false
- type: Tag
tags:
- HideContextMenu

View File

@@ -8,11 +8,12 @@
- type: Transform
noRot: true
- type: Icon
sprite: _CP14/Structures/Storage/Crates/woodenchest.rsi
sprite: _CP14/Structures/Storage/Crates/chest.rsi
state: icon
- type: Sprite
offset: 0,0.3
noRot: true
sprite: _CP14/Structures/Storage/Crates/woodenchest.rsi
sprite: _CP14/Structures/Storage/Crates/chest.rsi
layers:
- state: base
map: ["enum.StorageVisualLayers.Base"]

View File

@@ -8,10 +8,10 @@
description: Base for any wooden chest
components:
- type: Icon
sprite: _CP14/Structures/Storage/Crates/woodenchest.rsi
sprite: _CP14/Structures/Storage/Crates/chest.rsi
state: base
- type: Sprite
sprite: _CP14/Structures/Storage/Crates/woodenchest.rsi
sprite: _CP14/Structures/Storage/Crates/chest.rsi
noRot: true
state: base
- type: Damageable
@@ -56,10 +56,10 @@
description: A simple wooden chest for easy storage of junk.
components:
- type: Icon
sprite: _CP14/Structures/Storage/Crates/woodenchest.rsi
sprite: _CP14/Structures/Storage/Crates/chest.rsi
state: icon
- type: Sprite
sprite: _CP14/Structures/Storage/Crates/woodenchest.rsi
sprite: _CP14/Structures/Storage/Crates/chest.rsi
layers:
- state: base
map: ["enum.StorageVisualLayers.Base"]
@@ -104,16 +104,3 @@
node: CP14WoodenChest
containers:
- entity_storage
- type: entity
parent:
- CP14WoodenChest
id: CP14BrassChest
name: brass chest
description: A simple brass chest for easy storage of junk.
components:
- type: Icon
sprite: _CP14/Structures/Storage/Crates/brasschest.rsi
state: icon
- type: Sprite
sprite: _CP14/Structures/Storage/Crates/brasschest.rsi

View File

@@ -22,6 +22,27 @@
minGroupSize: 5
maxGroupSize: 8
- type: cp14DemiplaneModifier
id: Lava
tiers:
- 1
- 2
- 3
generationWeight: 0.3
categories:
Danger: 0.33
blacklistTags:
- CP14DemiplaneCold
- CP14DemiplaneHerbals
layers:
- !type:OreDunGen
entity: CP14FloorLava
tileMask:
- CP14FloorBase
count: 8
minGroupSize: 3
maxGroupSize: 5
# TIER 2
- type: cp14DemiplaneModifier

View File

@@ -29,7 +29,7 @@
targetNode: CP14WoodenChest
category: construction-category-storage
icon:
sprite: _CP14/Structures/Storage/Crates/woodenchest.rsi
sprite: _CP14/Structures/Storage/Crates/chest.rsi
state: icon
objectType: Structure
placementMode: SnapgridCenter