Compare commits

...

7 Commits

Author SHA1 Message Date
Ed
c20ac07c5b constructuni 2025-04-10 21:20:25 +03:00
Ed
fb5ea85a36 Update t2_magma_caves.yml 2025-04-10 21:19:09 +03:00
Ed
bcfa724f36 Update walls.yml 2025-04-10 21:17:26 +03:00
Ed
dd687e8eaa Update natural.yml 2025-04-10 21:17:09 +03:00
Ed
8ce9d7643c Update tables.yml 2025-04-10 21:16:18 +03:00
Ed
fdaa9a0fa3 a 2025-04-10 00:16:20 +03:00
Ed
0decd375e4 Birch tree (#1154)
* birch

* wooden birch log and planks

* birch tile crafting

* add birch to worldgen

* Update grasslands.yml

* wooden planks (any)

* universal wood crafting

* birch wall
2025-04-09 15:54:38 +03:00
100 changed files with 1136 additions and 419 deletions

View File

@@ -2,6 +2,7 @@ using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Content.Server.Construction.Components;
using Content.Shared._CP14.Workbench.Prototypes;
using Content.Shared.ActionBlocker;
using Content.Shared.Construction;
using Content.Shared.Construction.Prototypes;
@@ -236,6 +237,36 @@ namespace Content.Server.Construction
}
break;
//CP14 stack group support
case CP14StackGroupConstructionGraphStep stackGroupStep:
foreach (var entity in new HashSet<EntityUid>(EnumerateNearby(user)))
{
if (!stackGroupStep.EntityValid(entity, out var stack))
continue;
if (used.Contains(entity))
continue;
var splitStack = _stackSystem.Split(entity, stackGroupStep.Amount, user.ToCoordinates(0, 0), stack);
if (splitStack == null)
continue;
if (string.IsNullOrEmpty(stackGroupStep.Store))
{
if (!_container.Insert(splitStack.Value, container))
continue;
}
else if (!_container.Insert(splitStack.Value, GetContainer(stackGroupStep.Store)))
continue;
handled = true;
break;
}
break;
//CP14 stack group support end
}
if (handled == false)

View File

@@ -97,13 +97,13 @@ public sealed partial class CP14WorkbenchSystem : SharedCP14WorkbenchSystem
foreach (var req in recipe.Requirements)
{
req.PostCraft(EntityManager, placedEntities, args.User);
req.PostCraft(EntityManager, _proto, placedEntities, args.User);
}
//We teleport result to workbench AFTER craft.
foreach (var resultEntity in resultEntities)
{
_transform.SetCoordinates(resultEntity, Transform(ent).Coordinates.Offset(new Vector2(_random.NextFloat(-0.5f, 0.5f), _random.NextFloat(-0.5f, 0.5f))));
_transform.SetCoordinates(resultEntity, Transform(ent).Coordinates.Offset(new Vector2(_random.NextFloat(-0.25f, 0.25f), _random.NextFloat(-0.25f, 0.25f))));
}
UpdateUIRecipes(ent, args.User);

View File

@@ -1,4 +1,5 @@
using Robust.Shared.Serialization;
using Content.Shared._CP14.Workbench.Prototypes;
using Robust.Shared.Serialization;
using Robust.Shared.Serialization.Manager;
using Robust.Shared.Serialization.Markdown.Mapping;
using Robust.Shared.Serialization.Markdown.Validation;
@@ -46,6 +47,13 @@ namespace Content.Shared.Construction.Steps
return typeof(PartAssemblyConstructionGraphStep);
}
//CP14 stack group support
if (node.Has("stackGroup"))
{
return typeof(CP14StackGroupConstructionGraphStep);
}
//CP14 stack group support end
return null;
}

View File

@@ -0,0 +1,65 @@
/*
* This file is sublicensed under MIT License
* https://github.com/space-wizards/space-station-14/blob/master/LICENSE.TXT
*/
using System.Diagnostics.CodeAnalysis;
using Content.Shared.Construction;
using Content.Shared.Construction.Steps;
using Content.Shared.Examine;
using Content.Shared.Stacks;
using Robust.Shared.Prototypes;
using Robust.Shared.Utility;
namespace Content.Shared._CP14.Workbench.Prototypes;
[DataDefinition]
public sealed partial class CP14StackGroupConstructionGraphStep : EntityInsertConstructionGraphStep
{
[DataField]
public ProtoId<CP14StackGroupPrototype> StackGroup = default!;
[DataField]
public int Amount = 1;
public override void DoExamine(ExaminedEvent examinedEvent)
{
var group = IoCManager.Resolve<IPrototypeManager>().Index(StackGroup);
examinedEvent.PushMarkup(Loc.GetString("construction-insert-material-entity", ("amount", Amount), ("materialName", Loc.GetString(group.Name))));
}
public override bool EntityValid(EntityUid uid, IEntityManager entityManager, IComponentFactory compFactory)
{
var group = IoCManager.Resolve<IPrototypeManager>().Index(StackGroup);
return entityManager.TryGetComponent(uid, out StackComponent? stack) && group.Stacks.Contains(stack.StackTypeId) && stack.Count >= Amount;
}
public bool EntityValid(EntityUid entity, [NotNullWhen(true)] out StackComponent? stack)
{
var group = IoCManager.Resolve<IPrototypeManager>().Index(StackGroup);
if (IoCManager.Resolve<IEntityManager>().TryGetComponent(entity, out StackComponent? otherStack) && group.Stacks.Contains(otherStack.StackTypeId) && otherStack.Count >= Amount)
stack = otherStack;
else
stack = null;
return stack != null;
}
public override ConstructionGuideEntry GenerateGuideEntry()
{
var proto = IoCManager.Resolve<IPrototypeManager>();
var group = proto.Index(StackGroup);
var firstStack = group.Stacks.FirstOrNull();
return new ConstructionGuideEntry()
{
Localization = "construction-presenter-material-step",
Arguments = new (string, object)[]{("amount", Amount), ("material", Loc.GetString(group.Name))},
Icon = firstStack != null ? proto.Index(firstStack.Value).Icon : SpriteSpecifier.Invalid,
};
}
}

View File

@@ -0,0 +1,25 @@
/*
* This file is sublicensed under MIT License
* https://github.com/space-wizards/space-station-14/blob/master/LICENSE.TXT
*/
using Content.Shared.Stacks;
using Robust.Shared.Prototypes;
namespace Content.Shared._CP14.Workbench.Prototypes;
/// <summary>
/// Allows you to group several different kinds of stacks into one group. Can be used for situations where different stacks are appropriate for a particular situation
/// </summary>
[Prototype("CP14StackGroup")]
public sealed class CP14StackGroupPrototype : IPrototype
{
[IdDataField]
public string ID { get; private set; } = default!;
[DataField(required: true)]
public LocId Name = default!;
[DataField(required: true)]
public List<ProtoId<StackPrototype>> Stacks = new();
}

View File

@@ -34,7 +34,7 @@ public sealed partial class SkillRequired : CP14WorkbenchCraftRequirement
return haveAllSkills;
}
public override void PostCraft(EntityManager entManager, HashSet<EntityUid> placedEntities, EntityUid user)
public override void PostCraft(EntityManager entManager, IPrototypeManager protoManager, HashSet<EntityUid> placedEntities, EntityUid user)
{
}

View File

@@ -59,7 +59,7 @@ public sealed partial class MaterialResource : CP14WorkbenchCraftRequirement
return true;
}
public override void PostCraft(EntityManager entManager, HashSet<EntityUid> placedEntities, EntityUid user)
public override void PostCraft(EntityManager entManager, IPrototypeManager protoManager, HashSet<EntityUid> placedEntities, EntityUid user)
{
var stackSystem = entManager.System<SharedStackSystem>();

View File

@@ -30,9 +30,7 @@ public sealed partial class ProtoIdResource : CP14WorkbenchCraftRequirement
return indexedIngredients.TryGetValue(ProtoId, out var availableQuantity) && availableQuantity >= Count;
}
public override void PostCraft(EntityManager entManager,
HashSet<EntityUid> placedEntities,
EntityUid user)
public override void PostCraft(EntityManager entManager,IPrototypeManager protoManager, HashSet<EntityUid> placedEntities, EntityUid user)
{
var requiredCount = Count;

View File

@@ -0,0 +1,97 @@
/*
* This file is sublicensed under MIT License
* https://github.com/space-wizards/space-station-14/blob/master/LICENSE.TXT
*/
using Content.Shared._CP14.Workbench.Prototypes;
using Content.Shared.Stacks;
using Robust.Shared.Prototypes;
using Robust.Shared.Utility;
namespace Content.Shared._CP14.Workbench.Requirements;
public sealed partial class StackGroupResource : CP14WorkbenchCraftRequirement
{
public override bool HideRecipe { get; set; } = false;
[DataField(required: true)]
public ProtoId<CP14StackGroupPrototype> Group;
[DataField]
public int Count = 1;
public override bool CheckRequirement(EntityManager entManager,
IPrototypeManager protoManager,
HashSet<EntityUid> placedEntities,
EntityUid user,
CP14WorkbenchRecipePrototype recipe)
{
if (!protoManager.TryIndex(Group, out var indexedGroup))
return false;
var count = 0;
foreach (var ent in placedEntities)
{
if (!entManager.TryGetComponent<StackComponent>(ent, out var stack))
continue;
if (!indexedGroup.Stacks.Contains(stack.StackTypeId))
continue;
count += stack.Count;
}
if (count < Count)
return false;
return true;
}
public override void PostCraft(EntityManager entManager, IPrototypeManager protoManager,
HashSet<EntityUid> placedEntities,
EntityUid user)
{
var stackSystem = entManager.System<SharedStackSystem>();
if (!protoManager.TryIndex(Group, out var indexedGroup))
return;
var requiredCount = Count;
foreach (var placedEntity in placedEntities)
{
if (!entManager.TryGetComponent<StackComponent>(placedEntity, out var stack))
continue;
if (!indexedGroup.Stacks.Contains(stack.StackTypeId))
continue;
var count = (int)MathF.Min(requiredCount, stack.Count);
if (stack.Count - count <= 0)
entManager.DeleteEntity(placedEntity);
else
stackSystem.SetCount(placedEntity, stack.Count - count, stack);
requiredCount -= count;
}
}
public override string GetRequirementTitle(IPrototypeManager protoManager)
{
var indexedGroup = protoManager.Index(Group);
return $"{Loc.GetString(indexedGroup.Name)} x{Count}";
}
public override EntityPrototype? GetRequirementEntityView(IPrototypeManager protoManager)
{
return null;
}
public override SpriteSpecifier? GetRequirementTexture(IPrototypeManager protoManager)
{
var indexedGroup = protoManager.Index(Group);
return !protoManager.TryIndex(indexedGroup.Stacks.FirstOrNull(), out var indexedStack) ? null : indexedStack.Icon;
}
}

View File

@@ -44,7 +44,7 @@ public sealed partial class StackResource : CP14WorkbenchCraftRequirement
return true;
}
public override void PostCraft(EntityManager entManager,
public override void PostCraft(EntityManager entManager, IPrototypeManager protoManager,
HashSet<EntityUid> placedEntities,
EntityUid user)
{

View File

@@ -50,7 +50,7 @@ public sealed partial class TagResource : CP14WorkbenchCraftRequirement
return true;
}
public override void PostCraft(EntityManager entManager, HashSet<EntityUid> placedEntities, EntityUid user)
public override void PostCraft(EntityManager entManager, IPrototypeManager protoManager, HashSet<EntityUid> placedEntities, EntityUid user)
{
var tagSystem = entManager.System<TagSystem>();

View File

@@ -33,6 +33,7 @@ public abstract partial class CP14WorkbenchCraftRequirement
/// An event that is triggered after crafting. This is the place to put important things like removing items, spending stacks or other things.
/// </summary>
public abstract void PostCraft(EntityManager entManager,
IPrototypeManager protoManager,
HashSet<EntityUid> placedEntities,
EntityUid user);

View File

@@ -1,7 +1,8 @@
cp14-stack-dirt-block = dirt blocks
cp14-stack-stone-block = stone blocks
cp14-stack-marble-block = marble rocks
cp14-stack-wood-planks = wooden planks
cp14-stack-wood-planks = oak planks
cp14-stack-wood-planks-birch = birch planks
cp14-stack-nails = nails
cp14-stack-cloth = rolls of fabric
cp14-stack-flora = tufts of grass
@@ -22,3 +23,5 @@ cp14-stack-wallpaper = rolls of wallpaper
cp14-stack-glass-sheet = glass
cp14-stack-ash-pile = pile of ashes
cp14-stack-group-wooden-planks-any = planks (any)

View File

@@ -1,7 +1,8 @@
cp14-stack-dirt-block = блоки земли
cp14-stack-stone-block = каменные блоки
cp14-stack-marble-block = мраморные камни
cp14-stack-wood-planks = деревянные доски
cp14-stack-wood-planks = дубовые доски
cp14-stack-wood-planks-birch = березовые доски
cp14-stack-nails = гвозди
cp14-stack-cloth = рулоны ткани
cp14-stack-flora = пучки травы
@@ -22,3 +23,7 @@ cp14-stack-wallpaper = рулон обоев
cp14-stack-glass-sheet = стекло
cp14-stack-ash-pile = кучка пепла
cp14-stack-group-wooden-planks-any = доски (любые)

View File

@@ -151,4 +151,5 @@
- sprite: _CP14/Objects/Materials/marble_block.rsi
state: stone_3
- type: CP14BiomeSpawner
biome: CP14MarbleCaves
biome: CP14LeafMaze
#biome: CP14MarbleCaves

View File

@@ -1,193 +1,3 @@
- type: entity
id: CP14WoodLog
parent: BaseItem
name: wooden log
description: A piece of unprocessed wood. Good material for building, or starting a fire.
categories: [ ForkFiltered ]
components:
- type: Item
size: Normal
shape:
- 0,0,1,0
- type: Sprite
sprite: _CP14/Objects/Materials/wood.rsi
layers:
- state: log
map: ["random"]
- type: RandomSprite
available:
- random:
log: ""
log_2: ""
log_3: ""
- type: Tag
tags:
- CP14FireplaceFuel
- Wooden
- type: Flammable
fireSpread: false
canResistFire: false
alwaysCombustible: true
canExtinguish: true
cP14FireplaceFuel: 30
damage:
types:
Heat: 1
- type: Log
spawnedPrototype: CP14WoodenPlanks1
spawnCount: 3
- type: Appearance
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Wood
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 25
behaviors:
- !type:PlaySoundBehavior
sound:
collection: WoodDestroy
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
id: CP14WoodenPlanks1
parent: BaseItem
name: wooden planks
description: Treated and ready-to-use wood.
categories: [ ForkFiltered ]
suffix: 1
components:
- type: Item
size: Normal
- type: Sprite
sprite: _CP14/Objects/Materials/wood.rsi
layers:
- state: planks
map: ["base"]
- type: Tag
tags:
- CP14FireplaceFuel
- Wooden
- type: Flammable
fireSpread: false
canResistFire: false
alwaysCombustible: true
canExtinguish: true
cP14FireplaceFuel: 12
damage:
types:
Heat: 1
- type: Appearance
- type: Stack
stackType: CP14WoodenPlanks
count: 1
baseLayer: base
layerStates:
- planks
- planks_2
- planks_3
- type: Material
- type: PhysicalComposition # точно ли это нужно?
materialComposition:
CP14WoodenPlanks: 100
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Wood
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 25
behaviors:
- !type:PlaySoundBehavior
sound:
collection: WoodDestroy
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
id: CP14WoodenPlanks10
parent: CP14WoodenPlanks1
suffix: 10
components:
- type: Stack
count: 10
- type: entity
id: CP14WoodenPlanks20
parent: CP14WoodenPlanks1
suffix: 20
components:
- type: Stack
count: 20
- type: entity
id: CP14LucensWoodLog
parent: CP14WoodLog
name: lucens log
components:
- type: Sprite
sprite: _CP14/Objects/Materials/lucens_wood.rsi
layers:
- state: log
map: ["random"]
- type: RandomSprite
available:
- random:
log: ""
log_2: ""
log_3: ""
- type: Log
spawnedPrototype: CP14LucensWoodenPlanks1
spawnCount: 3
- type: entity
id: CP14LucensWoodenPlanks1
parent: CP14WoodenPlanks1
name: lucens planks
suffix: 1
components:
- type: Sprite
sprite: _CP14/Objects/Materials/lucens_wood.rsi
layers:
- state: planks
map: ["base"]
- type: Stack
stackType: CP14LucensWoodenPlanks
count: 1
baseLayer: base
layerStates:
- planks
- planks_2
- planks_3
- type: FloorTile
placeTileSound:
path: /Audio/Effects/woodenclosetclose.ogg
params:
variation: 0.03
volume: 2
outputs:
- CP14FloorLucensWoodPlanks
- type: entity
id: CP14LucensWoodenPlanks10
parent: CP14LucensWoodenPlanks1
suffix: 10
components:
- type: Stack
count: 10
- type: entity
id: CP14LucensWoodenPlanks20
parent: CP14LucensWoodenPlanks1
suffix: 20
components:
- type: Stack
count: 20
- type: entity
id: CP14Nail1
parent: BaseItem

View File

@@ -0,0 +1,241 @@
- type: entity
id: CP14WoodLog
parent: BaseItem
name: wooden log
description: A piece of unprocessed wood. Good material for building, or starting a fire.
categories: [ ForkFiltered ]
components:
- type: Item
size: Normal
shape:
- 0,0,1,0
- type: Sprite
sprite: _CP14/Objects/Materials/wood.rsi
layers:
- state: log
map: ["random"]
- type: RandomSprite
available:
- random:
log: ""
log_2: ""
log_3: ""
- type: Tag
tags:
- CP14FireplaceFuel
- Wooden
- type: Flammable
fireSpread: false
canResistFire: false
alwaysCombustible: true
canExtinguish: true
cP14FireplaceFuel: 30
damage:
types:
Heat: 1
- type: Log
spawnedPrototype: CP14WoodenPlanks1
spawnCount: 3
- type: Appearance
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Wood
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 25
behaviors:
- !type:PlaySoundBehavior
sound:
collection: WoodDestroy
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
id: CP14WoodenPlanks1
parent: BaseItem
name: wooden planks
description: Treated and ready-to-use wood.
categories: [ ForkFiltered ]
suffix: 1
components:
- type: Item
size: Normal
- type: Sprite
sprite: _CP14/Objects/Materials/wood.rsi
layers:
- state: planks
map: ["base"]
- type: Tag
tags:
- CP14FireplaceFuel
- Wooden
- type: Flammable
fireSpread: false
canResistFire: false
alwaysCombustible: true
canExtinguish: true
cP14FireplaceFuel: 12
damage:
types:
Heat: 1
- type: Appearance
- type: Stack
stackType: CP14WoodenPlanks
count: 1
baseLayer: base
layerStates:
- planks
- planks_2
- planks_3
- type: Material
- type: PhysicalComposition # точно ли это нужно?
materialComposition:
CP14WoodenPlanks: 100
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Wood
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 25
behaviors:
- !type:PlaySoundBehavior
sound:
collection: WoodDestroy
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: entity
id: CP14WoodenPlanks10
parent: CP14WoodenPlanks1
suffix: 10
components:
- type: Stack
count: 10
- type: entity
id: CP14WoodenPlanks20
parent: CP14WoodenPlanks1
suffix: 20
components:
- type: Stack
count: 20
# Lucen
- type: entity
id: CP14LucensWoodLog
parent: CP14WoodLog
name: lucens log
components:
- type: Sprite
sprite: _CP14/Objects/Materials/wood_lucens.rsi
layers:
- state: log
map: ["random"]
- type: RandomSprite
available:
- random:
log: ""
log_2: ""
log_3: ""
- type: Log
spawnedPrototype: CP14LucensWoodenPlanks1
spawnCount: 3
- type: entity
id: CP14LucensWoodenPlanks1
parent: CP14WoodenPlanks1
name: lucens planks
suffix: 1
components:
- type: Sprite
sprite: _CP14/Objects/Materials/wood_lucens.rsi
layers:
- state: planks
map: ["base"]
- type: Stack
stackType: CP14LucensWoodenPlanks
count: 1
baseLayer: base
layerStates:
- planks
- planks_2
- planks_3
- type: entity
id: CP14LucensWoodenPlanks10
parent: CP14LucensWoodenPlanks1
suffix: 10
components:
- type: Stack
count: 10
- type: entity
id: CP14LucensWoodenPlanks20
parent: CP14LucensWoodenPlanks1
suffix: 20
components:
- type: Stack
count: 20
#Birch
- type: entity
id: CP14BirchWoodLog
parent: CP14WoodLog
name: birch log
components:
- type: Sprite
sprite: _CP14/Objects/Materials/wood_birch.rsi
layers:
- state: log
map: ["random"]
- type: RandomSprite
available:
- random:
log: ""
log_2: ""
log_3: ""
- type: Log
spawnedPrototype: CP14BirchWoodenPlanks1
spawnCount: 3
- type: entity
id: CP14BirchWoodenPlanks1
parent: CP14WoodenPlanks1
name: birch planks
suffix: 1
components:
- type: Sprite
sprite: _CP14/Objects/Materials/wood_birch.rsi
layers:
- state: planks
map: ["base"]
- type: Stack
stackType: CP14BirchWoodenPlanks
count: 1
baseLayer: base
layerStates:
- planks
- planks_2
- planks_3
- type: entity
id: CP14BirchWoodenPlanks10
parent: CP14BirchWoodenPlanks1
suffix: 10
components:
- type: Stack
count: 10
- type: entity
id: CP14BirchWoodenPlanks20
parent: CP14BirchWoodenPlanks1
suffix: 20
components:
- type: Stack
count: 20

View File

@@ -87,6 +87,11 @@
- type: Sprite
state: oak_woodplanks
- type: FloorTile
placeTileSound:
path: /Audio/Effects/woodenclosetclose.ogg
params:
variation: 0.03
volume: 2
outputs:
- CP14FloorOakWoodPlanks
- type: Stack
@@ -196,4 +201,77 @@
outputs:
- CP14FloorStonebricksSquareCarved
- type: Stack
stackType: CP14FloorTileStonebricksSquareCarved
stackType: CP14FloorTileStonebricksSquareCarved
- type: entity
parent: CP14FloorTileBase
id: CP14FloorTileBirchWoodplanks
name: birch woodplanks
components:
- type: Sprite
state: birch_woodplanks
- type: FloorTile
placeTileSound:
path: /Audio/Effects/woodenclosetclose.ogg
params:
variation: 0.03
volume: 2
outputs:
- CP14FloorBirchWoodPlanks
- type: Stack
stackType: CP14FloorTileBirchWoodplanks
- type: entity
parent: CP14FloorTileBase
id: CP14FloorTileBirchWoodplanksBig
name: birch big woodplanks
components:
- type: Sprite
state: birch_woodplanks_big
- type: FloorTile
placeTileSound:
path: /Audio/Effects/woodenclosetclose.ogg
params:
variation: 0.03
volume: 2
outputs:
- CP14FloorBirchWoodPlanksBig
- type: Stack
stackType: CP14FloorTileBirchWoodplanksBig
- type: entity
parent: CP14FloorTileBase
id: CP14FloorTileBirchWoodplanksCruciform
name: birch cruciform woodplanks
components:
- type: Sprite
state: birch_woodplanks_cruciform
- type: FloorTile
placeTileSound:
path: /Audio/Effects/woodenclosetclose.ogg
params:
variation: 0.03
volume: 2
outputs:
- CP14FloorBirchWoodPlanksCruciform
- type: Stack
stackType: CP14FloorTileBirchWoodplanksCruciform
- type: entity
parent: CP14FloorTileBase
id: CP14FloorTileBirchWoodplanksStairs
name: birch stairs woodplanks
components:
- type: Sprite
state: birch_woodplanks_stairways
- type: FloorTile
placeTileSound:
path: /Audio/Effects/woodenclosetclose.ogg
params:
variation: 0.03
volume: 2
outputs:
- CP14FloorBirchWoodPlanksStairways
- type: Stack
stackType: CP14FloorTileBirchWoodplanksStairs

View File

@@ -24,7 +24,7 @@
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.35,-0.4,0.35,0.4"
bounds: "-0.2,-0.2,0.2,0.2"
density: 1000
layer:
- WallLayer
@@ -82,15 +82,6 @@
components:
- type: Sprite
offset: 0,1.55
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.18,-0.35,0.18,0.35"
density: 2000
layer:
- WallLayer
- type: Destructible
thresholds:
- trigger:
@@ -148,7 +139,7 @@
id: CP14FloraTreeSnow
components:
- type: Sprite
sprite: _CP14/Structures/Flora/snow_trees.rsi
sprite: _CP14/Structures/Flora/tree_snow.rsi
layers:
- state: tree01
map: ["random"]
@@ -256,15 +247,6 @@
- random:
tree01: ""
tree02: ""
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.18,-0.35,0.18,0.35"
density: 2000
layer:
- WallLayer
- type: Destructible
thresholds:
- trigger:
@@ -297,3 +279,151 @@
CP14LucensWoodLog:
min: 3
max: 6
- type: entity
parent: CP14BaseTree
id: CP14FloraTreeBirchSmall
suffix: Small
components:
- type: Sprite
offset: 0,1.3
sprite: _CP14/Structures/Flora/tree_birch_small.rsi
layers:
- state: tree01
map: ["random"]
- type: RandomSprite
available:
- random:
tree01: ""
tree02: ""
- type: Destructible
thresholds:
- trigger:
!type:DamageTypeTrigger
damageType: Heat
damage: 100
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 200
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 75
behaviors:
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/tree_fell.ogg
params:
volume: 5
variation: 0.05
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:SpawnEntitiesBehavior
spawn:
CP14BirchWoodLog:
min: 1
max: 2
- type: entity
parent: CP14BaseTree
id: CP14FloraTreeBirchMedium
suffix: Medium
components:
- type: Sprite
offset: 0,1.8
sprite: _CP14/Structures/Flora/tree_birch_medium.rsi
layers:
- state: tree01
map: ["random"]
- type: RandomSprite
available:
- random:
tree01: ""
tree02: ""
- type: Destructible
thresholds:
- trigger:
!type:DamageTypeTrigger
damageType: Heat
damage: 100
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 200
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 75
behaviors:
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/tree_fell.ogg
params:
volume: 5
variation: 0.05
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:SpawnEntitiesBehavior
spawn:
CP14BirchWoodLog:
min: 2
max: 4
- type: entity
parent: CP14BaseTree
id: CP14FloraTreeBirchLarge
suffix: Large
components:
- type: Sprite
offset: 0,2.6
sprite: _CP14/Structures/Flora/tree_birch_big.rsi
layers:
- state: tree01
map: ["random"]
- type: RandomSprite
available:
- random:
tree01: ""
tree02: ""
- type: Destructible
thresholds:
- trigger:
!type:DamageTypeTrigger
damageType: Heat
damage: 100
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 200
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 75
behaviors:
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/tree_fell.ogg
params:
volume: 5
variation: 0.05
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:SpawnEntitiesBehavior
spawn:
CP14BirchWoodLog:
min: 3
max: 6

View File

@@ -141,22 +141,22 @@
node: CP14TableWoodenCounter
- type: entity
parent: CP14TableBase
parent: CP14TableWoodenCounter #CP14TableBase
id: CP14TableMarble
name: marble table
description: Exquisite white marble table.
components:
- type: Damageable
damageContainer: StructuralInorganic
damageModifierSet: Metallic
- type: Sprite
sprite: _CP14/Structures/Furniture/Tables/marble.rsi
- type: Icon
sprite: _CP14/Structures/Furniture/Tables/marble.rsi
state: full
- type: IconSmooth
key: state
base: state
- type: FootstepModifier
footstepSoundCollection:
collection: FootstepFloor
#components:
#- type: Damageable
# damageContainer: StructuralInorganic
# damageModifierSet: Metallic
#- type: Sprite
# sprite: _CP14/Structures/Furniture/Tables/marble.rsi
#- type: Icon
# sprite: _CP14/Structures/Furniture/Tables/marble.rsi
# state: full
#- type: IconSmooth
# key: state
# base: state
#- type: FootstepModifier
# footstepSoundCollection:
# collection: FootstepFloor

View File

@@ -41,36 +41,36 @@
- type: entity
id: CP14WallMarbleStone
name: marble
parent: CP14WallStone
components:
- type: Sprite
sprite: _CP14/Structures/Walls/Natural/marble_stone.rsi
- type: Icon
sprite: _CP14/Structures/Walls/Natural/marble_stone.rsi
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 350
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- trigger:
!type:DamageTrigger
damage: 100
behaviors:
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/break_stone.ogg
params:
volume: -6
- !type:SpawnEntitiesBehavior
spawn:
CP14MarbleBlock1:
min: 2
max: 3
- !type:DoActsBehavior
acts: ["Destruction"]
parent: CP14WallStoneIndestructable #CP14WallStone
#components:
#- type: Sprite
# sprite: _CP14/Structures/Walls/Natural/marble_stone.rsi
#- type: Icon
# sprite: _CP14/Structures/Walls/Natural/marble_stone.rsi
#- type: Destructible
# thresholds:
# - trigger:
# !type:DamageTrigger
# damage: 350
# behaviors:
# - !type:DoActsBehavior
# acts: ["Destruction"]
# - trigger:
# !type:DamageTrigger
# damage: 100
# behaviors:
# - !type:PlaySoundBehavior
# sound:
# path: /Audio/Effects/break_stone.ogg
# params:
# volume: -6
# - !type:SpawnEntitiesBehavior
# spawn:
# CP14MarbleBlock1:
# min: 2
# max: 3
# - !type:DoActsBehavior
# acts: ["Destruction"]
- type: entity
id: CP14WallStoneIndestructable

View File

@@ -71,26 +71,26 @@
sprite: _CP14/Structures/Walls/marblebricks_stone_wall.rsi
- type: IconSmooth
base: stonebricks
- type: Damageable
damageContainer: StructuralInorganic
damageModifierSet: Rock
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 200
behaviors:
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/break_stone.ogg
params:
volume: -6
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Construction
graph: CP14WallMarbleBrick
node: CP14WallMarbleBrick
- type: CP14WallpaperHolder
#- type: Damageable
# damageContainer: StructuralInorganic
# damageModifierSet: Rock
#- type: Destructible
# thresholds:
# - trigger:
# !type:DamageTrigger
# damage: 200
# behaviors:
# - !type:PlaySoundBehavior
# sound:
# path: /Audio/Effects/break_stone.ogg
# params:
# volume: -6
# - !type:DoActsBehavior
# acts: [ "Destruction" ]
#- type: Construction
# graph: CP14WallMarbleBrick
# node: CP14WallMarbleBrick
#- type: CP14WallpaperHolder
- type: entity
id: CP14WallBrownbrick
@@ -147,6 +147,18 @@
node: WallWooden
- type: CP14WallpaperHolder
- type: entity
id: CP14WallWoodenBirch
parent: CP14WallWooden
components:
- type: Sprite
sprite: _CP14/Structures/Walls/wooden_wall_birch.rsi
- type: Icon
sprite: _CP14/Structures/Walls/wooden_wall_birch.rsi
- type: Construction
graph: CP14WallWood
node: WallWoodenBirch
- type: entity
id: CP14WallWoodenPalisade
name: palisade

View File

@@ -93,7 +93,7 @@
stackEntity: CP14LucensWoodenPlanks1
name: cp14-material-lucens-planks
unit: materials-unit-bar
icon: { sprite: _CP14/Objects/Materials/lucens_wood.rsi, state: planks_2 }
icon: { sprite: _CP14/Objects/Materials/wood_lucens.rsi, state: planks_2 }
color: "#1a1e22"
price: 0

View File

@@ -41,10 +41,10 @@
biomeTemplate: CP14CavesFloor
tileMask:
- CP14FloorGrass
- !type:BiomeDunGen
biomeTemplate: CP14MarbleCaves
tileMask:
- CP14FloorMarble
#- !type:BiomeDunGen
# biomeTemplate: CP14MarbleCaves
# tileMask:
# - CP14FloorMarble
- type: dungeonConfig
id: CP14DemiplaneCavesRingFloorMaskStone
@@ -106,9 +106,9 @@
- !type:NoiseDistanceDunGen
size: 50, 50
distanceConfig: !type:DunGenEuclideanSquaredDistance
blendWeight: 0.8
blendWeight: 0.6
layers:
- tile: CP14FloorMarble
- tile: Space
threshold: 0.50
noise:
frequency: 0.010

View File

@@ -126,8 +126,12 @@
- CP14FloorGrassLight
- CP14FloorGrassTall
entities:
- CP14FloraTreeGreen
- CP14FloraTreeGreen
- CP14FloraTreeGreenLarge
- CP14FloraTreeBirchSmall
- CP14FloraTreeBirchMedium
- CP14FloraTreeBirchLarge
- !type:BiomeEntityLayer # More Rocks
threshold: 0.7
noise:
@@ -174,8 +178,12 @@
- CP14FloorGrassLight
- CP14FloorGrassTall
entities:
- CP14FloraTreeGreen
- CP14FloraTreeGreen
- CP14FloraTreeGreenLarge
- CP14FloraTreeBirchSmall
- CP14FloraTreeBirchMedium
- CP14FloraTreeBirchLarge
- type: biomeTemplate
id: CP14GrasslandHills # Холмы

View File

@@ -8,7 +8,7 @@
edges:
- to: CP14WoodenBed
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 2
- material: CP14Cloth
amount: 1

View File

@@ -8,7 +8,7 @@
completed:
- !type:SnapToGrid
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 3
- material: CP14Nail
amount: 2

View File

@@ -8,7 +8,7 @@
completed:
- !type:SnapToGrid
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 4
- material: CP14Nail
amount: 2

View File

@@ -8,7 +8,7 @@
edges:
- to: CP14CurtainsWhite
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 1
doAfter: 2
- material: CP14Nail

View File

@@ -11,7 +11,7 @@
- material: CP14Stone
amount: 3
doAfter: 2
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 2
doAfter: 2

View File

@@ -10,7 +10,7 @@
completed:
- !type:SnapToGrid { }
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 5
doAfter: 3
- node: CP14mannequin

View File

@@ -8,7 +8,7 @@
edges:
- to: CP14WallmountOrdersBorder
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 3
doAfter: 3

View File

@@ -8,7 +8,7 @@
edges:
- to: CP14ChairWooden
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 2
doAfter: 2
- node: CP14ChairWooden
@@ -24,7 +24,7 @@
edges:
- to: CP14BenchWood
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 3
doAfter: 2
- node: CP14BenchWood

View File

@@ -8,7 +8,7 @@
edges:
- to: CP14TableWooden
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 3
doAfter: 2
- node: CP14TableWooden
@@ -24,7 +24,7 @@
edges:
- to: CP14TableWoodenRound
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 3
doAfter: 2
- node: CP14TableWoodenRound
@@ -40,7 +40,7 @@
edges:
- to: CP14TableWoodenCounter
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 3
doAfter: 2
- node: CP14TableWoodenCounter
@@ -56,7 +56,7 @@
edges:
- to: CP14Workbench
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 3
doAfter: 2
- node: CP14Workbench
@@ -72,7 +72,7 @@
edges:
- to: CP14WorkbenchCooking
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 3
doAfter: 2
- node: CP14WorkbenchCooking
@@ -88,7 +88,7 @@
edges:
- to: CP14WorkbenchSewing
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 3
doAfter: 2
- node: CP14WorkbenchSewing

View File

@@ -8,7 +8,7 @@
edges:
- to: CP14WoodenPallet
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 2
doAfter: 2
- node: CP14WoodenPallet

View File

@@ -9,7 +9,7 @@
- !type:SnapToGrid
southRotation: true
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 2
doAfter: 2
@@ -18,16 +18,13 @@
edges:
- to: start
completed:
- !type:GivePrototype
prototype: CP14WoodenPlanks1
amount: 2
- !type:DeleteEntity {}
steps:
- tool: Screwing
doAfter: 1
- to: CP14target
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 3
doAfter: 1
- material: CP14Nail
@@ -64,7 +61,7 @@
completed:
- !type:SnapToGrid
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 5
- material: CP14Cloth
amount: 2

View File

@@ -8,7 +8,7 @@
edges:
- to: CP14BaseBarrel
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 5
doAfter: 3
- material: CP14Nail
@@ -27,7 +27,7 @@
edges:
- to: CP14CraneBarrel
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 5
doAfter: 3
- material: CP14Nail
@@ -46,7 +46,7 @@
edges:
- to: CP14CraneBarrelSmall
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 3
doAfter: 3
- material: CP14Nail

View File

@@ -8,7 +8,7 @@
edges:
- to: CP14WoodenChestFrame
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 2
doAfter: 2
@@ -17,7 +17,7 @@
edges:
- to: CP14WoodenChest
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 2
doAfter: 2
- material: CP14Nail

View File

@@ -8,7 +8,7 @@
completed:
- !type:SnapToGrid
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 3
- material: CP14Cloth
amount: 2

View File

@@ -8,7 +8,7 @@
completed:
- !type:SnapToGrid
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 2
- material: CP14Nail
amount: 1
@@ -26,7 +26,7 @@
completed:
- !type:SnapToGrid
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 4
- material: CP14Nail
amount: 2

View File

@@ -8,7 +8,7 @@
edges:
- to: CP14WoodenDoorFrame
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 2
doAfter: 2
@@ -30,7 +30,7 @@
doAfter: 1
- to: CP14WoodenDoor
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 2
doAfter: 2
- to: CP14WoodenDoorWindowed
@@ -47,9 +47,6 @@
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: CP14WoodenPlanks1
amount: 2
- !type:DeleteEntity {}
steps:
- tool: Prying #TODO - new tool
@@ -76,10 +73,6 @@
entity: CP14WoodenDoor
edges:
- to: CP14WoodenDoorFrame
completed:
- !type:SpawnPrototype
prototype: CP14WoodenPlanks1
amount: 2
steps:
- tool: Prying #TODO - new tool
doAfter: 5
@@ -88,10 +81,6 @@
entity: CP14WoodenDoorMirrored
edges:
- to: CP14WoodenDoorFrameMirrored
completed:
- !type:SpawnPrototype
prototype: CP14WoodenPlanks1
amount: 2
steps:
- tool: Prying #TODO - new tool
doAfter: 5
@@ -100,10 +89,6 @@
entity: CP14WoodenDoorWindowed
edges:
- to: CP14WoodenDoorFrame
completed:
- !type:SpawnPrototype
prototype: CP14WoodenPlanks1
amount: 2
steps:
- tool: Prying #TODO - new tool
doAfter: 5
@@ -112,10 +97,6 @@
entity: CP14WoodenDoorWindowedMirrored
edges:
- to: CP14WoodenDoorFrameMirrored
completed:
- !type:SpawnPrototype
prototype: CP14WoodenPlanks1
amount: 2
steps:
- tool: Prying #TODO - new tool
doAfter: 5

View File

@@ -8,32 +8,32 @@
edges:
- to: CP14FenceWoodSmallStraight
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 2
doAfter: 2
- to: CP14FenceWoodSmallCorner
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 2
doAfter: 2
- to: CP14FenceWoodSmallGate
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 2
doAfter: 2
- to: CP14FenceWoodStraight
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 4
doAfter: 2
- to: CP14FenceWoodCorner
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 4
doAfter: 2
- to: CP14FenceWoodGate
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 4
doAfter: 2

View File

@@ -6,7 +6,7 @@
edges:
- to: CP14RoofWooden
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 2
doAfter: 2

View File

@@ -8,7 +8,7 @@
edges:
- to: CP14WallmountTorch
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 3
doAfter: 3
- material: CP14Cloth

View File

@@ -8,7 +8,7 @@
edges:
- to: CP14WallmountBarShelfA
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 2
doAfter: 2
- node: CP14WallmountBarShelfA
@@ -24,7 +24,7 @@
edges:
- to: CP14WallmountBarShelfB
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 2
doAfter: 2
- node: CP14WallmountBarShelfB

View File

@@ -1,16 +0,0 @@
- type: constructionGraph
id: CP14WallMarbleBrick
start: start
graph:
- node: start
edges:
- to: CP14WallMarbleBrick
completed:
- !type:SnapToGrid
southRotation: true
steps:
- material: CP14MarbleStone
amount: 3
doAfter: 2
- node: CP14WallMarbleBrick
entity: CP14WallMarbleBrick

View File

@@ -9,7 +9,7 @@
- !type:SnapToGrid
southRotation: true
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 2
doAfter: 2
@@ -35,6 +35,16 @@
doAfter: 1
- tool: CP14Hammering
doAfter: 2
- to: WallWoodenBirch
steps:
- material: CP14BirchWoodenPlanks
amount: 2
doAfter: 1
- material: CP14Nail
amount: 2
doAfter: 1
- tool: CP14Hammering
doAfter: 2
- to: WindowWooden
steps:
- material: CP14GlassSheet
@@ -49,6 +59,14 @@
- tool: CP14Hammering
doAfter: 2
- node: WallWoodenBirch
entity: CP14WallWoodenBirch
edges:
- to: FrameWooden
steps:
- tool: CP14Hammering
doAfter: 2
- node: WindowWooden
entity: CP14WindowWooden
@@ -63,7 +81,7 @@
completed:
- !type:SnapToGrid
steps:
- material: CP14WoodenPlanks
- stackGroup: WoodenPlanks
amount: 4
doAfter: 2
- node: CP14WallWoodenPalisade

View File

@@ -16,6 +16,24 @@
conditions:
- !type:TileNotBlocked
- type: construction
crystallPunkAllowed: true
name: wooden birch wall
description: Sturdy enough to cover you from threats or cold winds.
id: CP14WoodenWallBirch
graph: CP14WallWood
startNode: start
targetNode: WallWoodenBirch
category: construction-category-structures
icon:
sprite: _CP14/Structures/Walls/wooden_wall_birch.rsi
state: full
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
conditions:
- !type:TileNotBlocked
- type: construction
crystallPunkAllowed: true
name: palisade
@@ -88,24 +106,6 @@
conditions:
- !type:TileNotBlocked
- type: construction
crystallPunkAllowed: true
name: marble brick wall
description: Sturdy enough to cover you from threats or cold winds.
id: CP14WallMarbleBrick
graph: CP14WallMarbleBrick
startNode: start
targetNode: CP14WallMarbleBrick
category: construction-category-structures
icon:
sprite: _CP14/Structures/Walls/marblebricks_stone_wall.rsi
state: full
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
conditions:
- !type:TileNotBlocked
- type: construction
crystallPunkAllowed: true
name: iron grille

View File

@@ -3,8 +3,8 @@
tag: CP14RecipeWorkbench
craftTime: 2
requirements:
- !type:StackResource
stack: CP14WoodenPlanks
- !type:StackGroupResource
group: WoodenPlanks
count: 3
- !type:ProtoIdResource
protoId: CP14Rope
@@ -16,8 +16,8 @@
tag: CP14RecipeWorkbench
craftTime: 3
requirements:
- !type:StackResource
stack: CP14WoodenPlanks
- !type:StackGroupResource
group: WoodenPlanks
count: 2
- !type:StackResource
stack: CP14Nail
@@ -29,8 +29,8 @@
tag: CP14RecipeWorkbench
craftTime: 3
requirements:
- !type:StackResource
stack: CP14WoodenPlanks
- !type:StackGroupResource
group: WoodenPlanks
count: 2
result: CP14SmokingPipe
@@ -39,8 +39,8 @@
tag: CP14RecipeWorkbench
craftTime: 3
requirements:
- !type:StackResource
stack: CP14WoodenPlanks
- !type:StackGroupResource
group: WoodenPlanks
count: 2
result: CP14Plate
@@ -49,8 +49,8 @@
tag: CP14RecipeWorkbench
craftTime: 3
requirements:
- !type:StackResource
stack: CP14WoodenPlanks
- !type:StackGroupResource
group: WoodenPlanks
count: 2
- !type:StackResource
stack: CP14Cloth
@@ -115,8 +115,8 @@
tag: CP14RecipeWorkbench
craftTime: 2
requirements:
- !type:StackResource
stack: CP14WoodenPlanks
- !type:StackGroupResource
group: WoodenPlanks
count: 4
- !type:ProtoIdResource
protoId: CP14String
@@ -150,8 +150,8 @@
tag: CP14RecipeWorkbench
craftTime: 1
requirements:
- !type:StackResource
stack: CP14WoodenPlanks
- !type:StackGroupResource
group: WoodenPlanks
- !type:ProtoIdResource
protoId: CP14CrystalShardBase
result: CP14CrayonWhite

View File

@@ -117,4 +117,48 @@
stack: CP14WoodenPlanks
count: 1
result: CP14FloorTileOakWoodplanksStairs
resultCount: 4
- type: CP14Recipe
id: CP14FloorTileBirchWoodplanks
tag: CP14RecipeWorkbench
craftTime: 1
requirements:
- !type:StackResource
stack: CP14BirchWoodenPlanks
count: 1
result: CP14FloorTileBirchWoodplanks
resultCount: 4
- type: CP14Recipe
id: CP14FloorTileBirchWoodplanksBig
tag: CP14RecipeWorkbench
craftTime: 1
requirements:
- !type:StackResource
stack: CP14BirchWoodenPlanks
count: 1
result: CP14FloorTileBirchWoodplanksBig
resultCount: 4
- type: CP14Recipe
id: CP14FloorTileBirchWoodplanksCruciform
tag: CP14RecipeWorkbench
craftTime: 1
requirements:
- !type:StackResource
stack: CP14BirchWoodenPlanks
count: 1
result: CP14FloorTileBirchWoodplanksCruciform
resultCount: 4
- type: CP14Recipe
id: CP14FloorTileBirchWoodplanksStairs
tag: CP14RecipeWorkbench
craftTime: 1
requirements:
- !type:StackResource
stack: CP14BirchWoodenPlanks
count: 1
result: CP14FloorTileBirchWoodplanksStairs
resultCount: 4

View File

@@ -73,4 +73,32 @@
name: square carved stonebricks
spawn: CP14FloorTileStonebricksSquareCarved
icon: { sprite: _CP14/Objects/Tile/tile.rsi, state: stonebrick_square_carved }
maxCount: 30
- type: stack
id: CP14FloorTileBirchWoodplanks
name: birch woodplanks
spawn: CP14FloorTileOakWoodplanks
icon: { sprite: _CP14/Objects/Tile/tile.rsi, state: birch_woodplanks }
maxCount: 30
- type: stack
id: CP14FloorTileBirchWoodplanksBig
name: birch big woodplanks
spawn: CP14FloorTileBirchWoodplanksBig
icon: { sprite: _CP14/Objects/Tile/tile.rsi, state: birch_woodplanks_big }
maxCount: 30
- type: stack
id: CP14FloorTileBirchWoodplanksCruciform
name: birch cruciform woodplanks
spawn: CP14FloorTileBirchWoodplanksCruciform
icon: { sprite: _CP14/Objects/Tile/tile.rsi, state: birch_woodplanks_cruciform }
maxCount: 30
- type: stack
id: CP14FloorTileBirchWoodplanksStairs
name: birch stairs woodplanks
spawn: CP14FloorTileBirchWoodplanksStairs
icon: { sprite: _CP14/Objects/Tile/tile.rsi, state: birch_woodplanks_stairways }
maxCount: 30

View File

@@ -26,6 +26,20 @@
icon: { sprite: _CP14/Objects/Materials/wood.rsi, state: planks_2 }
maxCount: 20
- type: stack
id: CP14BirchWoodenPlanks
name: cp14-stack-wood-planks-birch
spawn: CP14BirchWoodenPlanks1
icon: { sprite: _CP14/Objects/Materials/wood_birch.rsi, state: planks_2 }
maxCount: 20
- type: stack
id: CP14LucensWoodenPlanks
name: cp14-material-lucens-planks
spawn: CP14LucensWoodenPlanks1
icon: { sprite: _CP14/Objects/Materials/wood_lucens.rsi, state: planks_2 }
maxCount: 20
- type: stack
id: CP14Nail
name: cp14-stack-nails
@@ -68,13 +82,6 @@
icon: { sprite: _CP14/Objects/Materials/mithril_bar.rsi, state: bar_2 }
maxCount: 10
- type: stack
id: CP14LucensWoodenPlanks
name: cp14-material-lucens-planks
spawn: CP14LucensWoodenPlanks1
icon: { sprite: _CP14/Objects/Materials/lucens_wood.rsi, state: planks_2 }
maxCount: 20
- type: stack
id: CP14GlassSheet
name: cp14-stack-glass-sheet

View File

@@ -0,0 +1,7 @@
- type: CP14StackGroup
id: WoodenPlanks
name: cp14-stack-group-wooden-planks-any
stacks:
- CP14WoodenPlanks
- CP14BirchWoodenPlanks
- CP14LucensWoodenPlanks

View File

@@ -276,7 +276,7 @@
baseTurf: CP14FloorFoundation
isSubfloor: false
deconstructTools: [ Prying ]
itemDrop: CP14WoodenPlanks1
itemDrop: CP14FloorTileBirchWoodplanks
footstepSounds:
collection: FootstepWood
heatCapacity: 10000
@@ -307,7 +307,7 @@
baseTurf: CP14FloorFoundation
isSubfloor: false
deconstructTools: [ Prying ]
itemDrop: CP14WoodenPlanks1
itemDrop: CP14FloorTileBirchWoodplanksBig
footstepSounds:
collection: FootstepWood
heatCapacity: 10000
@@ -338,7 +338,7 @@
baseTurf: CP14FloorFoundation
isSubfloor: false
deconstructTools: [ Prying ]
itemDrop: CP14WoodenPlanks1
itemDrop: CP14FloorTileBirchWoodplanksCruciform
footstepSounds:
collection: FootstepWood
heatCapacity: 10000
@@ -369,7 +369,7 @@
baseTurf: CP14FloorFoundation
isSubfloor: false
deconstructTools: [ Prying ]
itemDrop: CP14WoodenPlanks1
itemDrop: CP14FloorTileBirchWoodplanksStairs
footstepSounds:
collection: FootstepWood
heatCapacity: 10000

Binary file not shown.

After

Width:  |  Height:  |  Size: 803 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 769 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 796 B

View File

@@ -0,0 +1,29 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-4.0",
"copyright": "Created by omsoyk",
"states": [
{
"name": "log"
},
{
"name": "log_2"
},
{
"name": "log_3"
},
{
"name": "planks"
},
{
"name": "planks_2"
},
{
"name": "planks_3"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 527 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 623 B

View File

Before

Width:  |  Height:  |  Size: 984 B

After

Width:  |  Height:  |  Size: 984 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 509 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 633 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 637 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 548 B

View File

@@ -7,6 +7,18 @@
"y": 32
},
"states": [
{
"name": "birch_woodplanks"
},
{
"name": "birch_woodplanks_big"
},
{
"name": "birch_woodplanks_cruciform"
},
{
"name": "birch_woodplanks_stairways"
},
{
"name": "foundation"
},

Binary file not shown.

Before

Width:  |  Height:  |  Size: 585 B

After

Width:  |  Height:  |  Size: 588 B

View File

@@ -0,0 +1,17 @@
{
"version": 1,
"license": "CC-BY-SA-4.0",
"copyright": "Created by TheShuEd and Omsoyk",
"size": {
"x": 80,
"y": 204
},
"states": [
{
"name": "tree01"
},
{
"name": "tree02"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

View File

@@ -0,0 +1,17 @@
{
"version": 1,
"license": "CC-BY-SA-4.0",
"copyright": "Created by TheShuEd and Omsoyk",
"size": {
"x": 64,
"y": 156
},
"states": [
{
"name": "tree01"
},
{
"name": "tree02"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

@@ -0,0 +1,17 @@
{
"version": 1,
"license": "CC-BY-SA-4.0",
"copyright": "Created by TheShuEd and Omsoyk",
"size": {
"x": 64,
"y": 124
},
"states": [
{
"name": "tree01"
},
{
"name": "tree02"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 910 B

View File

@@ -0,0 +1,46 @@
{
"version": 1,
"size": {
"x": 32,
"y": 64
},
"license": "All right reserved",
"copyright": "Created by jaraten (Discord/Github), recolor by omsoyk",
"states": [
{
"name": "wood0",
"directions": 4
},
{
"name": "wood1",
"directions": 4
},
{
"name": "wood2",
"directions": 4
},
{
"name": "wood3",
"directions": 4
},
{
"name": "wood4",
"directions": 4
},
{
"name": "wood5",
"directions": 4
},
{
"name": "wood6",
"directions": 4
},
{
"name": "wood7",
"directions": 4
},
{
"name": "full"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 947 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 945 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 949 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 608 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 923 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B