Leaf maze demiplane + crayon update (#901)
* crayons update * Update workbench.yml * leaf maze demiplane * Update t2_leaf_maze.yml
@@ -30,7 +30,7 @@ namespace Content.Client.Crayon.UI
|
||||
|
||||
private void PopulateCrayons()
|
||||
{
|
||||
var crayonDecals = _protoManager.EnumeratePrototypes<DecalPrototype>().Where(x => x.Tags.Contains("crayon"));
|
||||
var crayonDecals = _protoManager.EnumeratePrototypes<DecalPrototype>().Where(x => x.Tags.Contains("CP14crayon")); //CP14 crayon
|
||||
_menu?.Populate(crayonDecals.ToList());
|
||||
}
|
||||
|
||||
|
||||
@@ -106,7 +106,7 @@ public sealed class CrayonSystem : SharedCrayonSystem
|
||||
private void OnCrayonBoundUI(EntityUid uid, CrayonComponent component, CrayonSelectMessage args)
|
||||
{
|
||||
// Check if the selected state is valid
|
||||
if (!_prototypeManager.TryIndex<DecalPrototype>(args.State, out var prototype) || !prototype.Tags.Contains("crayon"))
|
||||
if (!_prototypeManager.TryIndex<DecalPrototype>(args.State, out var prototype) || !prototype.Tags.Contains("CP14crayon")) //CP14 crayon
|
||||
return;
|
||||
|
||||
component.SelectedState = args.State;
|
||||
@@ -130,7 +130,7 @@ public sealed class CrayonSystem : SharedCrayonSystem
|
||||
component.Charges = component.Capacity;
|
||||
|
||||
// Get the first one from the catalog and set it as default
|
||||
var decal = _prototypeManager.EnumeratePrototypes<DecalPrototype>().FirstOrDefault(x => x.Tags.Contains("crayon"));
|
||||
var decal = _prototypeManager.EnumeratePrototypes<DecalPrototype>().FirstOrDefault(x => x.Tags.Contains("CP14crayon")); //CP14 crayon
|
||||
component.SelectedState = decal?.ID ?? string.Empty;
|
||||
Dirty(uid, component);
|
||||
}
|
||||
|
||||
@@ -2,4 +2,5 @@ cp14-demiplane-location-cave = Dark caves
|
||||
cp14-demiplane-location-cave-grass = Overgrown caves
|
||||
cp14-demiplane-location-grassland-island = Green Island
|
||||
cp14-demiplane-location-ice-cave = Ice caves
|
||||
cp14-demiplane-location-snow-island = Snowy island
|
||||
cp14-demiplane-location-snow-island = Snowy island
|
||||
cp14-demiplane-location-leaf-maze = Leaf maze
|
||||
@@ -2,4 +2,5 @@ cp14-demiplane-location-cave = Темные пещеры
|
||||
cp14-demiplane-location-cave-grass = Заросшие пещеры
|
||||
cp14-demiplane-location-grassland-island = Зеленый остров
|
||||
cp14-demiplane-location-ice-cave = Ледяные пещеры
|
||||
cp14-demiplane-location-snow-island = Заснеженный остров
|
||||
cp14-demiplane-location-snow-island = Заснеженный остров
|
||||
cp14-demiplane-location-leaf-maze = Травяной лабиринт
|
||||
@@ -1,6 +1,6 @@
|
||||
- type: decal
|
||||
id: 0
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
- type: decal
|
||||
id: 1
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
- type: decal
|
||||
id: 2
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
- type: decal
|
||||
id: 3
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
- type: decal
|
||||
id: 4
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -50,7 +50,7 @@
|
||||
|
||||
- type: decal
|
||||
id: 5
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -60,7 +60,7 @@
|
||||
|
||||
- type: decal
|
||||
id: 6
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -70,7 +70,7 @@
|
||||
|
||||
- type: decal
|
||||
id: 7
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -80,7 +80,7 @@
|
||||
|
||||
- type: decal
|
||||
id: 8
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -90,7 +90,7 @@
|
||||
|
||||
- type: decal
|
||||
id: 9
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -1040,7 +1040,7 @@
|
||||
|
||||
- type: decal
|
||||
id: a
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -1050,7 +1050,7 @@
|
||||
|
||||
- type: decal
|
||||
id: b
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -1060,7 +1060,7 @@
|
||||
|
||||
- type: decal
|
||||
id: c
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -1070,7 +1070,7 @@
|
||||
|
||||
- type: decal
|
||||
id: d
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -1080,7 +1080,7 @@
|
||||
|
||||
- type: decal
|
||||
id: e
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -1090,7 +1090,7 @@
|
||||
|
||||
- type: decal
|
||||
id: f
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -1100,7 +1100,7 @@
|
||||
|
||||
- type: decal
|
||||
id: g
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -1110,7 +1110,7 @@
|
||||
|
||||
- type: decal
|
||||
id: h
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -1120,7 +1120,7 @@
|
||||
|
||||
- type: decal
|
||||
id: i
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -1130,7 +1130,7 @@
|
||||
|
||||
- type: decal
|
||||
id: j
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -1140,7 +1140,7 @@
|
||||
|
||||
- type: decal
|
||||
id: k
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -1150,7 +1150,7 @@
|
||||
|
||||
- type: decal
|
||||
id: l
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -1160,7 +1160,7 @@
|
||||
|
||||
- type: decal
|
||||
id: m
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -1170,7 +1170,7 @@
|
||||
|
||||
- type: decal
|
||||
id: n
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -1180,7 +1180,7 @@
|
||||
|
||||
- type: decal
|
||||
id: o
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -1190,7 +1190,7 @@
|
||||
|
||||
- type: decal
|
||||
id: p
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -1200,7 +1200,7 @@
|
||||
|
||||
- type: decal
|
||||
id: q
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -1210,7 +1210,7 @@
|
||||
|
||||
- type: decal
|
||||
id: r
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -1220,7 +1220,7 @@
|
||||
|
||||
- type: decal
|
||||
id: s
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -1230,7 +1230,7 @@
|
||||
|
||||
- type: decal
|
||||
id: t
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -1240,7 +1240,7 @@
|
||||
|
||||
- type: decal
|
||||
id: u
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -1250,7 +1250,7 @@
|
||||
|
||||
- type: decal
|
||||
id: v
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -1260,7 +1260,7 @@
|
||||
|
||||
- type: decal
|
||||
id: w
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -1270,7 +1270,7 @@
|
||||
|
||||
- type: decal
|
||||
id: x
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -1280,7 +1280,7 @@
|
||||
|
||||
- type: decal
|
||||
id: y
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
@@ -1290,7 +1290,7 @@
|
||||
|
||||
- type: decal
|
||||
id: z
|
||||
tags: ["crayon", "crayon-2-alphanum"]
|
||||
tags: ["crayon", "CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultCustomColor: true
|
||||
defaultSnap: false
|
||||
|
||||
99
Resources/Prototypes/_CP14/Decal/crayon.yml
Normal file
@@ -0,0 +1,99 @@
|
||||
- type: decal
|
||||
id: CP14CrayonArrowUp
|
||||
tags: ["CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultSnap: false
|
||||
showMenu: true
|
||||
sprite:
|
||||
sprite: _CP14/Decals/crayon.rsi
|
||||
state: arrow_u
|
||||
|
||||
- type: decal
|
||||
id: CP14CrayonArrowDown
|
||||
tags: ["CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultSnap: false
|
||||
showMenu: true
|
||||
sprite:
|
||||
sprite: _CP14/Decals/crayon.rsi
|
||||
state: arrow_d
|
||||
|
||||
- type: decal
|
||||
id: CP14CrayonArrowLeft
|
||||
tags: ["CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultSnap: false
|
||||
showMenu: true
|
||||
sprite:
|
||||
sprite: _CP14/Decals/crayon.rsi
|
||||
state: arrow_l
|
||||
|
||||
- type: decal
|
||||
id: CP14CrayonArrowRight
|
||||
tags: ["CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultSnap: false
|
||||
showMenu: true
|
||||
sprite:
|
||||
sprite: _CP14/Decals/crayon.rsi
|
||||
state: arrow_r
|
||||
|
||||
- type: decal
|
||||
id: CP14CrayonArrowDownRight
|
||||
tags: ["CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultSnap: false
|
||||
showMenu: true
|
||||
sprite:
|
||||
sprite: _CP14/Decals/crayon.rsi
|
||||
state: arrow_dr
|
||||
|
||||
- type: decal
|
||||
id: CP14CrayonArrowDownLeft
|
||||
tags: ["CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultSnap: false
|
||||
showMenu: true
|
||||
sprite:
|
||||
sprite: _CP14/Decals/crayon.rsi
|
||||
state: arrow_dl
|
||||
|
||||
- type: decal
|
||||
id: CP14CrayonArrowUpLeft
|
||||
tags: ["CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultSnap: false
|
||||
showMenu: true
|
||||
sprite:
|
||||
sprite: _CP14/Decals/crayon.rsi
|
||||
state: arrow_ul
|
||||
|
||||
- type: decal
|
||||
id: CP14CrayonArrowUpRight
|
||||
tags: ["CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultSnap: false
|
||||
showMenu: true
|
||||
sprite:
|
||||
sprite: _CP14/Decals/crayon.rsi
|
||||
state: arrow_ur
|
||||
|
||||
- type: decal
|
||||
id: CP14CrayonArrowSkull
|
||||
tags: ["CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultSnap: false
|
||||
showMenu: true
|
||||
sprite:
|
||||
sprite: _CP14/Decals/crayon.rsi
|
||||
state: skull
|
||||
|
||||
- type: decal
|
||||
id: CP14CrayonArrowPoint
|
||||
tags: ["CP14crayon", "crayon-2-alphanum"]
|
||||
defaultCleanable: true
|
||||
defaultSnap: false
|
||||
showMenu: true
|
||||
sprite:
|
||||
sprite: _CP14/Decals/crayon.rsi
|
||||
state: point
|
||||
@@ -123,4 +123,17 @@
|
||||
color: blue
|
||||
- state: frame
|
||||
- type: CP14BiomeSpawner
|
||||
biome: CP14IceCavesGeneric
|
||||
biome: CP14IceCavesGeneric
|
||||
|
||||
- type: entity
|
||||
id: CP14BiomeSpawnerLeafMaze
|
||||
parent: CP14BaseBiomeSpawner
|
||||
suffix: Leaf maze
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: snow
|
||||
color: green
|
||||
- state: frame
|
||||
- type: CP14BiomeSpawner
|
||||
biome: CP14LeafMaze
|
||||
@@ -52,26 +52,35 @@
|
||||
parent: CP14Crayon
|
||||
id: CP14CrayonRainbow
|
||||
name: magic rainbow crayon
|
||||
suffix: Artifact, DO NOT MAP
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: handle
|
||||
- state: crayon
|
||||
color: white
|
||||
shader: unshaded
|
||||
- type: Item
|
||||
inhandVisuals:
|
||||
left:
|
||||
- state: handle-inhand-left
|
||||
- state: crayon-inhand-left
|
||||
color: white
|
||||
shader: unshaded
|
||||
right:
|
||||
- state: handle-inhand-right
|
||||
- state: crayon-inhand-right
|
||||
color: white
|
||||
shader: unshaded
|
||||
- type: Crayon
|
||||
color: Red
|
||||
selectableColor: true
|
||||
capacity: 30
|
||||
capacity: 1000
|
||||
- type: PointLight
|
||||
radius: 1.5
|
||||
energy: 1
|
||||
- type: RgbLightController
|
||||
layers: [ 1 ]
|
||||
|
||||
- type: entity
|
||||
parent: CP14Crayon
|
||||
@@ -105,19 +114,19 @@
|
||||
layers:
|
||||
- state: handle
|
||||
- state: crayon
|
||||
color: red
|
||||
color: "#ed5f5f"
|
||||
- type: Item
|
||||
inhandVisuals:
|
||||
left:
|
||||
- state: handle-inhand-left
|
||||
- state: crayon-inhand-left
|
||||
color: red
|
||||
color: "#ed5f5f"
|
||||
right:
|
||||
- state: handle-inhand-right
|
||||
- state: crayon-inhand-right
|
||||
color: red
|
||||
color: "#ed5f5f"
|
||||
- type: Crayon
|
||||
color: red
|
||||
color: "#ed5f5f"
|
||||
|
||||
- type: entity
|
||||
parent: CP14Crayon
|
||||
@@ -128,19 +137,19 @@
|
||||
layers:
|
||||
- state: handle
|
||||
- state: crayon
|
||||
color: yellow
|
||||
color: "#ebe46e"
|
||||
- type: Item
|
||||
inhandVisuals:
|
||||
left:
|
||||
- state: handle-inhand-left
|
||||
- state: crayon-inhand-left
|
||||
color: yellow
|
||||
color: "#ebe46e"
|
||||
right:
|
||||
- state: handle-inhand-right
|
||||
- state: crayon-inhand-right
|
||||
color: yellow
|
||||
color: "#ebe46e"
|
||||
- type: Crayon
|
||||
color: yellow
|
||||
color: "#ebe46e"
|
||||
|
||||
- type: entity
|
||||
parent: CP14Crayon
|
||||
@@ -151,19 +160,19 @@
|
||||
layers:
|
||||
- state: handle
|
||||
- state: crayon
|
||||
color: green
|
||||
color: "#6eeb87"
|
||||
- type: Item
|
||||
inhandVisuals:
|
||||
left:
|
||||
- state: handle-inhand-left
|
||||
- state: crayon-inhand-left
|
||||
color: green
|
||||
color: "#6eeb87"
|
||||
right:
|
||||
- state: handle-inhand-right
|
||||
- state: crayon-inhand-right
|
||||
color: green
|
||||
color: "#6eeb87"
|
||||
- type: Crayon
|
||||
color: green
|
||||
color: "#6eeb87"
|
||||
|
||||
- type: entity
|
||||
parent: CP14Crayon
|
||||
@@ -174,19 +183,19 @@
|
||||
layers:
|
||||
- state: handle
|
||||
- state: crayon
|
||||
color: blue
|
||||
color: "#6eaaeb"
|
||||
- type: Item
|
||||
inhandVisuals:
|
||||
left:
|
||||
- state: handle-inhand-left
|
||||
- state: crayon-inhand-left
|
||||
color: blue
|
||||
color: "#6eaaeb"
|
||||
right:
|
||||
- state: handle-inhand-right
|
||||
- state: crayon-inhand-right
|
||||
color: blue
|
||||
color: "#6eaaeb"
|
||||
- type: Crayon
|
||||
color: lightblue
|
||||
color: "#6eaaeb"
|
||||
|
||||
- type: entity
|
||||
parent: CP14Crayon
|
||||
@@ -197,16 +206,16 @@
|
||||
layers:
|
||||
- state: handle
|
||||
- state: crayon
|
||||
color: purple
|
||||
color: "#d46eeb"
|
||||
- type: Item
|
||||
inhandVisuals:
|
||||
left:
|
||||
- state: handle-inhand-left
|
||||
- state: crayon-inhand-left
|
||||
color: purple
|
||||
color: "#d46eeb"
|
||||
right:
|
||||
- state: handle-inhand-right
|
||||
- state: crayon-inhand-right
|
||||
color: purple
|
||||
color: "#d46eeb"
|
||||
- type: Crayon
|
||||
color: purple
|
||||
color: "#d46eeb"
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
- type: entity
|
||||
id: CP14WallmountButtonBase
|
||||
abstract: true
|
||||
parent:
|
||||
- CP14BaseWallmount
|
||||
categories: [ ForkFiltered ]
|
||||
name: wall button
|
||||
description: This button can activate something!
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Wallmount/buttons.rsi
|
||||
- type: Clickable
|
||||
- type: InteractionOutline
|
||||
- type: Physics
|
||||
canCollide: false
|
||||
- type: UseDelay
|
||||
delay: 0.5 # prevent light-toggling auto-clickers.
|
||||
- type: SignalSwitch
|
||||
onPort: Pressed
|
||||
offPort: Pressed
|
||||
statusPort: Pressed
|
||||
- type: Fixtures
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Wireless
|
||||
- type: WirelessNetworkConnection
|
||||
range: 100
|
||||
- type: DeviceLinkSource
|
||||
ports:
|
||||
- Pressed
|
||||
|
||||
- type: entity
|
||||
id: CP14WallmouontButtonWooden
|
||||
parent: CP14WallmountButtonBase
|
||||
name: wooden wall button
|
||||
components:
|
||||
- type: Sprite
|
||||
state: wooden
|
||||
@@ -0,0 +1,35 @@
|
||||
- type: cp14DemiplaneLocation
|
||||
id: T1LeafMaze
|
||||
tier: 1
|
||||
locationConfig: CP14DemiplaneLeafMaze
|
||||
name: cp14-demiplane-location-leaf-maze
|
||||
tags:
|
||||
- CP14DemiplaneHerbals
|
||||
- CP14DemiplaneOpenSky
|
||||
- CP14DemiplanePeacefulAnimals
|
||||
- CP14DemiplaneWater
|
||||
- CP14DemiplaneAnimalsSwamp
|
||||
|
||||
- type: dungeonConfig
|
||||
id: CP14DemiplaneLeafMaze
|
||||
layers:
|
||||
# Masks
|
||||
- !type:PrototypeDunGen
|
||||
proto: CP14DemiplanePlatingMaskBorder
|
||||
- !type:PrototypeDunGen
|
||||
proto: CP14DemiplaneCavesFloorMaskStone
|
||||
- !type:PrototypeDunGen
|
||||
proto: CP14DemiplaneCavesFloorMaskAir
|
||||
# Biomes
|
||||
- !type:BiomeDunGen
|
||||
biomeTemplate: CP14CavesIndestructibleFill
|
||||
tileMask:
|
||||
- Plating
|
||||
- !type:BiomeDunGen
|
||||
biomeTemplate: CP14LeafMaze
|
||||
tileMask:
|
||||
- CP14FloorSand
|
||||
- !type:BiomeDunGen
|
||||
biomeTemplate: CP14Grassland
|
||||
tileMask:
|
||||
- CP14FloorGrass
|
||||
101
Resources/Prototypes/_CP14/Procedural/leaf_maze.yml
Normal file
@@ -0,0 +1,101 @@
|
||||
- type: biomeTemplate
|
||||
id: CP14LeafMaze
|
||||
layers:
|
||||
- !type:BiomeMetaLayer
|
||||
template: CP14Grassland
|
||||
- !type:BiomeTileLayer
|
||||
tile: CP14FloorDirt
|
||||
threshold: 0.2
|
||||
noise:
|
||||
seed: 14
|
||||
noiseType: OpenSimplex2
|
||||
fractalType: FBm
|
||||
frequency: 0.2
|
||||
- !type:BiomeEntityLayer # More Trees
|
||||
threshold: 0.4
|
||||
noise:
|
||||
seed: 4
|
||||
noiseType: OpenSimplex2
|
||||
fractalType: FBm
|
||||
frequency: 1.5
|
||||
allowedTiles:
|
||||
- CP14FloorGrass
|
||||
- CP14FloorGrassLight
|
||||
- CP14FloorGrassTall
|
||||
entities:
|
||||
- CP14FloraTreeGreen
|
||||
- CP14FloraTreeGreenLarge
|
||||
- !type:BiomeEntityLayer # Walls
|
||||
threshold: -0.6
|
||||
invert: true
|
||||
noise:
|
||||
seed: 0
|
||||
noiseType: Perlin
|
||||
fractalType: Ridged
|
||||
octaves: 1
|
||||
frequency: 0.15
|
||||
gain: 0.5
|
||||
allowedTiles:
|
||||
- CP14FloorGrass
|
||||
- CP14FloorGrassLight
|
||||
- CP14FloorGrassTall
|
||||
entities:
|
||||
- CP14WallLeaf
|
||||
- !type:BiomeEntityLayer # Walls
|
||||
threshold: -0.6
|
||||
invert: true
|
||||
noise:
|
||||
seed: 0
|
||||
noiseType: Perlin
|
||||
fractalType: Ridged
|
||||
octaves: 1
|
||||
frequency: 0.15
|
||||
gain: 0.5
|
||||
allowedTiles:
|
||||
- CP14FloorDirt
|
||||
entities:
|
||||
- CP14WallDirt
|
||||
- !type:BiomeEntityLayer # Tall grass!
|
||||
threshold: -0.3
|
||||
noise:
|
||||
seed: 23
|
||||
noiseType: OpenSimplex2
|
||||
fractalType: Ridged
|
||||
frequency: 0.05
|
||||
octaves: 3
|
||||
lacunarity: 1.8
|
||||
gain: 0.7
|
||||
domainWarpType: OpenSimplex2
|
||||
domainWarpAmp: 120
|
||||
allowedTiles:
|
||||
- CP14FloorGrassTall
|
||||
entities:
|
||||
- CP14RandomBushOffsetSpawner
|
||||
- !type:BiomeEntityLayer #Water!
|
||||
allowedTiles:
|
||||
- CP14FloorDirt
|
||||
- CP14FloorGrass
|
||||
- CP14FloorGrassLight
|
||||
- CP14FloorGrassTall
|
||||
threshold: 0.6
|
||||
noise:
|
||||
seed: 14
|
||||
noiseType: OpenSimplex2
|
||||
fractalType: FBm
|
||||
frequency: 0.03
|
||||
entities:
|
||||
- CP14FloorWaterReeds
|
||||
- !type:BiomeEntityLayer #Water!
|
||||
allowedTiles:
|
||||
- CP14FloorDirt
|
||||
- CP14FloorGrass
|
||||
- CP14FloorGrassLight
|
||||
- CP14FloorGrassTall
|
||||
threshold: 0.7
|
||||
noise:
|
||||
seed: 14
|
||||
noiseType: OpenSimplex2
|
||||
fractalType: FBm
|
||||
frequency: 0.03
|
||||
entities:
|
||||
- CP14FloorWaterLilies
|
||||
@@ -139,3 +139,69 @@
|
||||
count: 1
|
||||
result: CP14Arrow
|
||||
resultCount: 4
|
||||
|
||||
- type: CP14Recipe
|
||||
id: CP14CrayonWhite
|
||||
tag: CP14RecipeWorkbench
|
||||
craftTime: 1
|
||||
requirements:
|
||||
- !type:StackResource
|
||||
stack: CP14WoodenPlanks
|
||||
- !type:ProtoIdResource
|
||||
protoId: CP14CrystalShardBase
|
||||
result: CP14CrayonWhite
|
||||
|
||||
- type: CP14Recipe
|
||||
id: CP14CrayonRed
|
||||
tag: CP14RecipeWorkbench
|
||||
craftTime: 1
|
||||
requirements:
|
||||
- !type:ProtoIdResource
|
||||
protoId: CP14CrayonWhite
|
||||
- !type:ProtoIdResource
|
||||
protoId: CP14DyeRed
|
||||
result: CP14CrayonRed
|
||||
|
||||
- type: CP14Recipe
|
||||
id: CP14CrayonBlue
|
||||
tag: CP14RecipeWorkbench
|
||||
craftTime: 1
|
||||
requirements:
|
||||
- !type:ProtoIdResource
|
||||
protoId: CP14CrayonWhite
|
||||
- !type:ProtoIdResource
|
||||
protoId: CP14DyeBlue
|
||||
result: CP14CrayonBlue
|
||||
|
||||
- type: CP14Recipe
|
||||
id: CP14CrayonYellow
|
||||
tag: CP14RecipeWorkbench
|
||||
craftTime: 1
|
||||
requirements:
|
||||
- !type:ProtoIdResource
|
||||
protoId: CP14CrayonWhite
|
||||
- !type:ProtoIdResource
|
||||
protoId: CP14DyeYellow
|
||||
result: CP14CrayonYellow
|
||||
|
||||
- type: CP14Recipe
|
||||
id: CP14CrayonGreen
|
||||
tag: CP14RecipeWorkbench
|
||||
craftTime: 1
|
||||
requirements:
|
||||
- !type:ProtoIdResource
|
||||
protoId: CP14CrayonWhite
|
||||
- !type:ProtoIdResource
|
||||
protoId: CP14DyeGreen
|
||||
result: CP14CrayonGreen
|
||||
|
||||
- type: CP14Recipe
|
||||
id: CP14CrayonPurple
|
||||
tag: CP14RecipeWorkbench
|
||||
craftTime: 1
|
||||
requirements:
|
||||
- !type:ProtoIdResource
|
||||
protoId: CP14CrayonWhite
|
||||
- !type:ProtoIdResource
|
||||
protoId: CP14DyePurple
|
||||
result: CP14CrayonPurple
|
||||
|
||||
@@ -16,4 +16,8 @@
|
||||
|
||||
- type: uniqueLoot
|
||||
id: CP14MagicShadowStaff
|
||||
entity: CP14MagicShadowStaff
|
||||
entity: CP14MagicShadowStaff
|
||||
|
||||
- type: uniqueLoot
|
||||
id: CP14CrayonRainbow
|
||||
entity: CP14CrayonRainbow
|
||||
BIN
Resources/Textures/_CP14/Decals/crayon.rsi/arrow_d.png
Normal file
|
After Width: | Height: | Size: 256 B |
BIN
Resources/Textures/_CP14/Decals/crayon.rsi/arrow_dl.png
Normal file
|
After Width: | Height: | Size: 261 B |
BIN
Resources/Textures/_CP14/Decals/crayon.rsi/arrow_dr.png
Normal file
|
After Width: | Height: | Size: 261 B |
BIN
Resources/Textures/_CP14/Decals/crayon.rsi/arrow_l.png
Normal file
|
After Width: | Height: | Size: 208 B |
BIN
Resources/Textures/_CP14/Decals/crayon.rsi/arrow_r.png
Normal file
|
After Width: | Height: | Size: 209 B |
BIN
Resources/Textures/_CP14/Decals/crayon.rsi/arrow_u.png
Normal file
|
After Width: | Height: | Size: 252 B |
BIN
Resources/Textures/_CP14/Decals/crayon.rsi/arrow_ul.png
Normal file
|
After Width: | Height: | Size: 265 B |
BIN
Resources/Textures/_CP14/Decals/crayon.rsi/arrow_ur.png
Normal file
|
After Width: | Height: | Size: 254 B |
41
Resources/Textures/_CP14/Decals/crayon.rsi/meta.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-4.0",
|
||||
"copyright": "By TheShuEd(Github)",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "arrow_d"
|
||||
},
|
||||
{
|
||||
"name": "arrow_u"
|
||||
},
|
||||
{
|
||||
"name": "arrow_l"
|
||||
},
|
||||
{
|
||||
"name": "arrow_r"
|
||||
},
|
||||
{
|
||||
"name": "arrow_dl"
|
||||
},
|
||||
{
|
||||
"name": "arrow_dr"
|
||||
},
|
||||
{
|
||||
"name": "arrow_ur"
|
||||
},
|
||||
{
|
||||
"name": "arrow_ul"
|
||||
},
|
||||
{
|
||||
"name": "point"
|
||||
},
|
||||
{
|
||||
"name": "skull"
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Resources/Textures/_CP14/Decals/crayon.rsi/point.png
Normal file
|
After Width: | Height: | Size: 155 B |
BIN
Resources/Textures/_CP14/Decals/crayon.rsi/skull.png
Normal file
|
After Width: | Height: | Size: 286 B |
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-4.0",
|
||||
"copyright": "Created by TheShuEd",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 96
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "wooden",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 395 B |