a variety of fixes (#1191)

This commit is contained in:
Nim
2025-04-17 16:12:04 +03:00
committed by GitHub
parent 11f68df6f5
commit 1a0136c21f
11 changed files with 94 additions and 8 deletions

View File

@@ -0,0 +1,2 @@
cp14-reagent-name-burnt-food = burnt food
cp14-reagent-desc-burnt-food = A burnt and smoke-smelling black substance.

View File

@@ -0,0 +1,2 @@
cp14-reagent-name-burnt-food = сгоревшая еда
cp14-reagent-desc-burnt-food = Обгоревшая и пахнущая дымом черная субстанция.

View File

@@ -31,7 +31,7 @@
- type: storePositionSell
id: CP14FoodPieMeat
special: true
price: 60
price: 100
factions:
- SpiceStream
service: !type:CP14SellPrototypeService
@@ -41,7 +41,7 @@
- type: storePositionSell
id: CP14FoodPiePumpkin
special: true
price: 60
price: 100
factions:
- SpiceStream
service: !type:CP14SellPrototypeService

View File

@@ -126,7 +126,7 @@
- type: CP14TemperatureTransformation
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
transformTo: CP14FoodPieBurnt
- type: entity
name: raw meat pie
@@ -170,7 +170,7 @@
- type: CP14TemperatureTransformation
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
transformTo: CP14FoodPieBurnt
- type: entity
name: raw fish pie
@@ -214,7 +214,7 @@
- type: CP14TemperatureTransformation
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
transformTo: CP14FoodPieBurnt
- type: entity
name: raw pumpkin pie
@@ -284,4 +284,32 @@
- type: CP14TemperatureTransformation
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
transformTo: CP14FoodPieBurnt
- type: entity
name: burnt pie
parent: CP14FoodPieBaseRaw
id: CP14FoodPieBurnt
description: The pie is burnt and is a burnt and inedible mass.
components:
- type: FlavorProfile
flavors:
- terrible
- type: Sprite
layers:
- state: tin
- state: burnt_pie
- type: SolutionContainerManager
solutions:
food:
maxVol: 15
reagents:
- ReagentId: Nutriment
Quantity: 2
- ReagentId: CP14BurntFood
Quantity: 8
- type: Butcherable
butcheringType: Knife
spawned:
- id: CP14PlatePie
amount: 1

View File

@@ -56,4 +56,7 @@
- type: Sprite
sprite: _CP14/Objects/keys.rsi
state: lockpick
- type: CP14Lockpick
- type: CP14Lockpick
- type: Tag
tags:
- CP14Lockpick

View File

@@ -24,6 +24,7 @@
whitelist:
tags:
- CP14Key
- CP14Lockpick
- type: UserInterface
interfaces:
enum.StorageUiKey.Key:

View File

@@ -16,6 +16,28 @@
- state: wooden
- type: Physics
bodyType: Static
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 150
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 100
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
collection: WoodDestroy
- !type:SpawnEntitiesBehavior
spawn:
CP14WoodenPlanks1:
min: 1
max: 2
- type: Construction
graph: CP14BenchWood
node: CP14BenchWood

View File

@@ -0,0 +1,22 @@
- type: reagent
id: CP14BurntFood
name: cp14-reagent-name-burnt-food
group: Foods
desc: cp14-reagent-desc-burnt-food
physicalDesc: reagent-physical-desc-powdery
flavor: terrible
color: black
recognizable: true
metabolisms:
Food:
effects:
- !type:SatiateThirst
factor: -0.2
- !type:AdjustReagent
reagent: Nutriment
amount: 0.1
- !type:ChemVomit
conditions:
- !type:ReagentThreshold
min: 3
probability: 0.3

View File

@@ -135,3 +135,6 @@
- type: Tag
id: CP14Sheep
- type: Tag
id: CP14Lockpick

Binary file not shown.

After

Width:  |  Height:  |  Size: 536 B

View File

@@ -5,7 +5,7 @@
"y": 32
},
"license": "CC-BY-SA-4.0",
"copyright": "Created by Artista, pumpkin by aeoli (discord)",
"copyright": "Created by Artista, pumpkin by aeoli (discord), burnt_pie by nimfar11",
"states": [
{
"name": "apple"
@@ -31,6 +31,9 @@
{
"name": "pumpkin_raw"
},
{
"name": "burnt_pie"
},
{
"name": "tin"
}