Order board (#546)

* orders board! work for the Witcher

* stamps

* wtf

* Update closets.yml
This commit is contained in:
Ed
2024-11-08 00:10:59 +03:00
committed by GitHub
parent 12a838ac8e
commit 87dc3f9fa5
27 changed files with 1160 additions and 429 deletions

View File

@@ -0,0 +1,3 @@
cp14-stamp-denied = Denied
cp14-stamp-approved = Approved
cp14-stamp-bank = Commandant

View File

@@ -0,0 +1,3 @@
cp14-stamp-denied = Отказано
cp14-stamp-approved = Утверждено
cp14-stamp-bank = Комендант

File diff suppressed because it is too large Load Diff

View File

@@ -5,16 +5,17 @@
components:
- type: StorageFill
contents:
- id: CP14KeyRingAlchemist
- id: HandLabeler #TODO custom cp14 labeler
- id: Syringe #TODO custom cp14 syringe
amount: 3
amount: 2
- id: CP14Cauldron
- id: CP14Pestle
amount: 2
amount: 1
- id: CP14Mortar
amount: 2
amount: 1
- id: CP14Dropper
amount: 2
amount: 1
- id: CP14VialTiny
amount: 7
- id: CP14VialSmall
@@ -42,7 +43,10 @@
components:
- type: StorageFill
contents:
- id: CP14KeyRingBanker
- id: HandLabeler #TODO custom cp14 labeler
- id: CP14StampDenied
- id: CP14StampApproved
- id: CP14PaperFolderRed
amount: 2
- id: CP14PaperFolderBlue
@@ -60,4 +64,17 @@
- id: CP14CopperCoin5
prob: 0.2
- id: CP14SilverCoin1
prob: 0.2
prob: 0.2
- type: entity
parent: CP14WoodenCloset
id: CP14WoodenClosetCommandantFilled
suffix: Commandant, Filled
components:
- type: StorageFill
contents:
- id: CP14KeyRingCommandant
- id: HandLabeler #TODO custom cp14 labeler
- id: CP14StampDenied
- id: CP14StampApproved
- id: CP14StampCommandant

View File

@@ -31,5 +31,25 @@
prob: 0.5
- id: CP14ClothingEyesMonocle
prob: 0.2
- id: CP14ClothingEyesGlasses
prob: 0.3
- type: entity
parent: CP14WoodenCabinet
id: CP14WoodenCabinetCommandant
suffix: Commandant, Filled
components:
- type: StorageFill
contents:
- id: CP14ClothingCloakCommandantJacket
prob: 1
- id: CP14ClothingHeadBowlerGolden
prob: 0.5
- id: CP14ClothingPantsAristocratic
prob: 0.5
- id: CP14ClothingShirtBanker
prob: 0.5
- id: CP14ClothingEyesMonocle
prob: 0.2
- id: CP14ClothingEyesGlasses
prob: 0.3

View File

@@ -73,6 +73,6 @@
- state: paper_filled
map: ["enum.PaperVisualLayers.Writing"]
visible: false
#- state: paper_stamp-generic
# map: ["enum.PaperVisualLayers.Stamp"]
# visible: false
- state: paper_stamp-generic
map: ["enum.PaperVisualLayers.Stamp"]
visible: false

View File

@@ -0,0 +1,59 @@
- type: entity
name: generic rubber stamp
parent: BaseItem
id: CP14StampBase
description: A rubber stamp for stamping important documents.
abstract: true
categories: [ ForkFiltered ]
components:
- type: Stamp
stampedName: stamp-component-stamped-name-default
stampState: "denied_on_paper"
stampedColor: "#a23e3e"
sound:
path: /Audio/Items/Stamp/thick_stamp_sub.ogg
params:
volume: -2
maxDistance: 5
- type: Sprite
sprite: _CP14/Objects/Bureaucracy/stamp.rsi
state: denied
- type: Item
size: Tiny
- type: entity
id: CP14StampDenied
parent: CP14StampBase
name: denied stamp
components:
- type: Stamp
stampedName: cp14-stamp-denied
stampedColor: "#b53535"
stampState: "denied_on_paper"
- type: Sprite
state: denied
- type: entity
id: CP14StampApproved
parent: CP14StampBase
name: approved stamp
components:
- type: Stamp
stampedName: cp14-stamp-approved
stampedColor: "#35b56c"
stampState: "approved_on_paper"
- type: Sprite
state: approved
- type: entity
id: CP14StampCommandant
parent: CP14StampBase
name: commandant stamp
suffix: DO NOT MAP
components:
- type: Stamp
stampedName: cp14-stamp-bank
stampedColor: "#e8c348"
stampState: "bank_on_paper"
- type: Sprite
state: bank

View File

@@ -0,0 +1,58 @@
- type: entity
id: CP14WallmountOrdersBorder
parent:
- CP14BaseWallmount
- CP14BaseFlammableSpreading
name: orders board
description: Is there a job for a witcher?
categories: [ ForkFiltered ]
components:
- type: Sprite
drawdepth: Mobs
sprite: _CP14/Structures/Furniture/wallmount_order_board.rsi
layers:
- state: base
- state: paper-0
- map: ["enum.StorageFillLayers.Fill"]
- type: StorageFillVisualizer
maxFillLevels: 4
fillBaseName: paper
- type: Appearance
- type: InteractionOutline
- type: Clickable
- type: Damageable
damageModifierSet: Wood
damageContainer: StructuralInorganic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 30
behaviors:
- !type:PlaySoundBehavior
sound:
collection: WoodDestroy
- !type:SpawnEntitiesBehavior
spawn:
CP14WoodenPlanks1:
min: 1
max: 2
- !type:DoActsBehavior
acts: ["Destruction"]
- type: Storage
grid:
- 0,0,4,3
maxItemSize: Small
whitelist:
tags:
- Document
- type: UserInterface
interfaces:
enum.StorageUiKey.Key:
type: StorageBoundUserInterface
- type: ContainerContainer
containers:
storagebase: !type:Container
- type: Construction
graph: CP14WallmountOrdersBorder
node: CP14WallmountOrdersBorder

View File

@@ -35,8 +35,6 @@
- node: CP14WallmountTorch
entity: CP14WallmountTorch
- type: constructionGraph
id: CP14WallmountLampEmpty
start: start
@@ -54,3 +52,20 @@
- node: CP14WallmountLampEmpty
entity: CP14WallmountLampEmpty
- type: constructionGraph
id: CP14WallmountOrdersBorder
start: start
graph:
- node: start
actions:
- !type:DestroyEntity {}
edges:
- to: CP14WallmountOrdersBorder
steps:
- material: CP14WoodenPlanks
amount: 3
doAfter: 3
- node: CP14WallmountOrdersBorder
entity: CP14WallmountOrdersBorder

View File

@@ -108,6 +108,26 @@
- !type:TileNotBlocked
- !type:CP14WallRequired
- type: construction
crystallPunkAllowed: true
name: Wallmount orders board
description: Is there a job for a witcher?
id: CP14WallmountOrdersBorder
graph: CP14WallmountOrdersBorder
startNode: start
targetNode: CP14WallmountOrdersBorder
category: construction-category-furniture
icon:
sprite: _CP14/Structures/Furniture/wallmount_order_board.rsi
state: base
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
canRotate: true
conditions:
- !type:TileNotBlocked
- !type:CP14WallRequired
- type: construction
crystallPunkAllowed: true
name: Crystal wall lamp

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 B

View File

@@ -1,7 +1,7 @@
{
"version": 1,
"license": "CLA",
"copyright": "Created by Max Gab for CrystallPunk, folders by TheShuEd",
"copyright": "Created by Max Gab for CrystallPunk, folders by TheShuEd, stamps on paper by viator1748",
"size": {
"x": 32,
"y": 32
@@ -26,6 +26,18 @@
{
"name": "inhand-right",
"directions": 4
},
{
"name": "approved_on_paper"
},
{
"name": "bank_on_paper"
},
{
"name": "denied_on_paper"
},
{
"name": "paper_stamp-generic"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 547 B

After

Width:  |  Height:  |  Size: 531 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 303 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 B

View File

@@ -0,0 +1,20 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Created by viator1748 (discord) for CrystallPunk",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "approved"
},
{
"name": "bank"
},
{
"name": "denied"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -0,0 +1,35 @@
{
"version": 1,
"license": "CLA",
"copyright": "Created by TheShuEd for CrystallPunk14",
"size": {
"x": 46,
"y": 84
},
"states": [
{
"name": "base",
"directions": 4
},
{
"name": "paper-0",
"directions": 4
},
{
"name": "paper-1",
"directions": 4
},
{
"name": "paper-2",
"directions": 4
},
{
"name": "paper-3",
"directions": 4
},
{
"name": "paper-4",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 550 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 699 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 825 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 913 B