Wall lantern + floor water (PLaceholders) (#167)
* fix lamp sprite * Update wallmount_torch.yml * add water test sprite * add simple water entity * add reversed crystall sprites * add sand tile
@@ -4,6 +4,7 @@ cp14-tiles-base = rock strata
|
||||
# Natural
|
||||
cp14-tiles-grass = meadow grass
|
||||
cp14-tiles-dirt = soil
|
||||
cp14-tiles-sand = sand
|
||||
|
||||
# Produced
|
||||
cp14-tiles-foundation = foundation
|
||||
|
||||
@@ -4,6 +4,7 @@ cp14-tiles-base = каменная толща
|
||||
# Natural
|
||||
cp14-tiles-grass = луговая трава
|
||||
cp14-tiles-dirt = почва
|
||||
cp14-tiles-sand = песок
|
||||
|
||||
# Produced
|
||||
cp14-tiles-foundation = фундамент
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
- type: entity
|
||||
parent: BaseStructure
|
||||
id: CP14FloorWater
|
||||
name: water
|
||||
description: Bruh
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
snap:
|
||||
- Wall
|
||||
components:
|
||||
- type: PlacementReplacement
|
||||
key: floorTile
|
||||
- type: Sprite
|
||||
sprite: _CP14/Tiles/Water/water.rsi
|
||||
drawdepth: BelowFloor
|
||||
- type: Icon
|
||||
sprite: _CP14/Tiles/Water/water.rsi
|
||||
state: full
|
||||
- type: IconSmooth
|
||||
key: CP14Water
|
||||
base: water
|
||||
- type: FloorOccluder
|
||||
- type: Transform
|
||||
anchored: true
|
||||
- type: SyncSprite
|
||||
- type: SpeedModifierContacts
|
||||
walkSpeedModifier: 0.5
|
||||
sprintSpeedModifier: 0.5
|
||||
- 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: FootstepModifier
|
||||
footstepSoundCollection:
|
||||
collection: FootstepWater
|
||||
params:
|
||||
volume: 8
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
pool:
|
||||
maxVol: 9999999 #.inf seems to break the whole yaml file, but would definitely be preferable.
|
||||
reagents:
|
||||
- ReagentId: CP14Water
|
||||
Quantity: 9999999
|
||||
- type: DrainableSolution
|
||||
solution: pool
|
||||
- type: Drink
|
||||
solution: pool
|
||||
@@ -70,3 +70,39 @@
|
||||
- type: Construction
|
||||
graph: CP14WallmountTorch
|
||||
node: CP14WallmountTorch
|
||||
|
||||
- type: entity
|
||||
id: CP14WallmountLamp
|
||||
name: eternal flame lamp
|
||||
description: A fragile eternal blue fire as proof of the superiority of magic over nature.
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
components:
|
||||
- type: Transform
|
||||
anchored: true
|
||||
- type: Clickable
|
||||
- type: InteractionOutline
|
||||
- type: Sprite
|
||||
drawdepth: Mobs
|
||||
sprite: _CP14/Structures/Wallmount/wallmount_lamp.rsi
|
||||
layers:
|
||||
- state: base
|
||||
- state: on
|
||||
shader: unshaded
|
||||
map: [ "light" ]
|
||||
- type: PointLight
|
||||
radius: 6
|
||||
netsync: false
|
||||
color: "#b0eaf6"
|
||||
- type: Appearance
|
||||
#TODO toggleable
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 40
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
@@ -40,6 +40,37 @@
|
||||
heatCapacity: 10000
|
||||
weather: true
|
||||
|
||||
- type: tile
|
||||
editorHidden: false
|
||||
id: CP14FloorSand
|
||||
name: cp14-tiles-sand
|
||||
sprite: /Textures/_CP14/Tiles/Sand/sand.png
|
||||
variants: 5
|
||||
placementVariants:
|
||||
- 1.0
|
||||
- 1.0
|
||||
- 1.0
|
||||
- 1.0
|
||||
- 1.0
|
||||
edgeSpritePriority: 2
|
||||
edgeSprites:
|
||||
SouthEast: /Textures/_CP14/Tiles/Sand/single_edge.png
|
||||
NorthEast: /Textures/_CP14/Tiles/Sand/single_edge.png
|
||||
NorthWest: /Textures/_CP14/Tiles/Sand/single_edge.png
|
||||
SouthWest: /Textures/_CP14/Tiles/Sand/single_edge.png
|
||||
South: /Textures/_CP14/Tiles/Sand/double_edge.png
|
||||
East: /Textures/_CP14/Tiles/Sand/double_edge.png
|
||||
North: /Textures/_CP14/Tiles/Sand/double_edge.png
|
||||
West: /Textures/_CP14/Tiles/Sand/double_edge.png
|
||||
baseTurf: CP14FloorBase
|
||||
deconstructTools: [ CP14Digging ]
|
||||
itemDrop: CP14DirtEffect #TODO sand variant
|
||||
isSubfloor: true
|
||||
footstepSounds:
|
||||
collection: FootstepSnow #TODO
|
||||
heatCapacity: 10000
|
||||
weather: true
|
||||
|
||||
- type: tile
|
||||
id: CP14FloorGrass
|
||||
editorHidden: false
|
||||
@@ -51,7 +82,7 @@
|
||||
- 1.0
|
||||
- 1.0
|
||||
- 1.0
|
||||
edgeSpritePriority: 2
|
||||
edgeSpritePriority: 3
|
||||
edgeSprites:
|
||||
SouthEast: /Textures/Tiles/Planet/Grass/single_edge.png
|
||||
NorthEast: /Textures/Tiles/Planet/Grass/single_edge.png
|
||||
|
||||
|
Before Width: | Height: | Size: 948 B After Width: | Height: | Size: 946 B |
|
Before Width: | Height: | Size: 689 B After Width: | Height: | Size: 688 B |
BIN
Resources/Textures/_CP14/Structures/crystal.rsi/big_R.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
Resources/Textures/_CP14/Structures/crystal.rsi/medium_R.png
Normal file
|
After Width: | Height: | Size: 900 B |
@@ -16,6 +16,15 @@
|
||||
{
|
||||
"name": "small"
|
||||
},
|
||||
{
|
||||
"name": "big_R"
|
||||
},
|
||||
{
|
||||
"name": "medium_R"
|
||||
},
|
||||
{
|
||||
"name": "small_R"
|
||||
},
|
||||
{
|
||||
"name": "shard"
|
||||
}
|
||||
|
||||
BIN
Resources/Textures/_CP14/Structures/crystal.rsi/small_R.png
Normal file
|
After Width: | Height: | Size: 563 B |
@@ -3,7 +3,7 @@
|
||||
copyright: "Space Station 14, recolored by TheShuEd"
|
||||
source: "https://github.com/crystallpunk-14/crystall-punk-14/"
|
||||
|
||||
- files: ["double_edge.png", "single_edge.png", "triple_edge.png"]
|
||||
- files: ["double_edge.png", "single_edge.png"]
|
||||
license: "CC-BY-SA-3.0"
|
||||
copyright: "Created by TheShuEd"
|
||||
source: "https://github.com/crystallpunk-14/crystall-punk-14/"
|
||||
|
Before Width: | Height: | Size: 1009 B |
9
Resources/Textures/_CP14/Tiles/Sand/attributions.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
- files: ["sand.png"]
|
||||
license: "CC-BY-SA-3.0"
|
||||
copyright: "Space Station 14"
|
||||
source: "https://github.com/crystallpunk-14/crystall-punk-14/"
|
||||
|
||||
- files: ["double_edge.png", "single_edge.png"]
|
||||
license: "CC-BY-SA-3.0"
|
||||
copyright: "Created by TheShuEd"
|
||||
source: "https://github.com/crystallpunk-14/crystall-punk-14/"
|
||||
BIN
Resources/Textures/_CP14/Tiles/Sand/double_edge.png
Normal file
|
After Width: | Height: | Size: 771 B |
BIN
Resources/Textures/_CP14/Tiles/Sand/sand.png
Normal file
|
After Width: | Height: | Size: 7.1 KiB |
BIN
Resources/Textures/_CP14/Tiles/Sand/single_edge.png
Normal file
|
After Width: | Height: | Size: 568 B |
BIN
Resources/Textures/_CP14/Tiles/Water/water.rsi/full.png
Normal file
|
After Width: | Height: | Size: 681 B |
254
Resources/Textures/_CP14/Tiles/Water/water.rsi/meta.json
Normal file
@@ -0,0 +1,254 @@
|
||||
{
|
||||
"version": 1,
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"license": "CC-BY-NC-SA-3.0",
|
||||
"copyright": "Created by TheShuEd for CrystallPunk",
|
||||
"states": [
|
||||
{
|
||||
"name": "full"
|
||||
},
|
||||
{
|
||||
"name": "water0",
|
||||
"directions": 4,
|
||||
"delays": [
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
],
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
],
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
],
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "water1",
|
||||
"directions": 4,
|
||||
"delays": [
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
],
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
],
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
],
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "water2",
|
||||
"directions": 4,
|
||||
"delays": [
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
],
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
],
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
],
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "water3",
|
||||
"directions": 4,
|
||||
"delays": [
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
],
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
],
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
],
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "water4",
|
||||
"directions": 4,
|
||||
"delays": [
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
],
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
],
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
],
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "water5",
|
||||
"directions": 4,
|
||||
"delays": [
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
],
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
],
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
],
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "water6",
|
||||
"directions": 4,
|
||||
"delays": [
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
],
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
],
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
],
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "water7",
|
||||
"directions": 4,
|
||||
"delays": [
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
],
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
],
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
],
|
||||
[
|
||||
0.1,
|
||||
0.1,
|
||||
0.1,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Resources/Textures/_CP14/Tiles/Water/water.rsi/water0.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
Resources/Textures/_CP14/Tiles/Water/water.rsi/water1.png
Normal file
|
After Width: | Height: | Size: 986 B |
BIN
Resources/Textures/_CP14/Tiles/Water/water.rsi/water2.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
Resources/Textures/_CP14/Tiles/Water/water.rsi/water3.png
Normal file
|
After Width: | Height: | Size: 995 B |
BIN
Resources/Textures/_CP14/Tiles/Water/water.rsi/water4.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
Resources/Textures/_CP14/Tiles/Water/water.rsi/water5.png
Normal file
|
After Width: | Height: | Size: 521 B |
BIN
Resources/Textures/_CP14/Tiles/Water/water.rsi/water6.png
Normal file
|
After Width: | Height: | Size: 987 B |
BIN
Resources/Textures/_CP14/Tiles/Water/water.rsi/water7.png
Normal file
|
After Width: | Height: | Size: 330 B |