Order board (#546)
* orders board! work for the Witcher * stamps * wtf * Update closets.yml
3
Resources/Locale/en-US/_CP14/stamp/stamp.ftl
Normal file
@@ -0,0 +1,3 @@
|
||||
cp14-stamp-denied = Denied
|
||||
cp14-stamp-approved = Approved
|
||||
cp14-stamp-bank = Commandant
|
||||
3
Resources/Locale/ru-RU/_CP14/stamp/stamp.ftl
Normal file
@@ -0,0 +1,3 @@
|
||||
cp14-stamp-denied = Отказано
|
||||
cp14-stamp-approved = Утверждено
|
||||
cp14-stamp-bank = Комендант
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
After Width: | Height: | Size: 149 B |
|
After Width: | Height: | Size: 150 B |
|
After Width: | Height: | Size: 154 B |
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 547 B After Width: | Height: | Size: 531 B |
|
After Width: | Height: | Size: 154 B |
|
After Width: | Height: | Size: 303 B |
BIN
Resources/Textures/_CP14/Objects/Bureaucracy/stamp.rsi/bank.png
Normal file
|
After Width: | Height: | Size: 310 B |
|
After Width: | Height: | Size: 305 B |
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 2.0 KiB |
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 153 B |
|
After Width: | Height: | Size: 550 B |
|
After Width: | Height: | Size: 699 B |
|
After Width: | Height: | Size: 825 B |
|
After Width: | Height: | Size: 913 B |