Demiplane maps aftertest tweaks (#1256)
* admin info panel in demiplane map * fix core chasm destruction * dimensit resource, more resources in demiplanes * more fixes
This commit is contained in:
@@ -6,11 +6,10 @@
|
||||
xmlns:nodeTree="clr-namespace:Content.Client._CP14.UserInterface.Systems.NodeTree"
|
||||
xmlns:demiplaneTraveling="clr-namespace:Content.Client._CP14.DemiplaneTraveling"
|
||||
Title="{Loc 'cp14-demiplane-map-title'}"
|
||||
MinSize="1200 850"
|
||||
SetSize="1200 850">
|
||||
MinSize="1000 650"
|
||||
SetSize="1800 950">
|
||||
|
||||
<BoxContainer Orientation="Horizontal" HorizontalExpand="True" VerticalExpand="True">
|
||||
|
||||
<!-- Selected Location -->
|
||||
<BoxContainer Margin="10 10 10 10" MaxWidth="240" SetWidth="240" Orientation="Vertical"
|
||||
HorizontalExpand="False" VerticalExpand="True">
|
||||
@@ -20,9 +19,10 @@
|
||||
<graphics:StyleBoxTexture Modulate="#1B1B1E" PatchMarginBottom="10" PatchMarginLeft="10"
|
||||
PatchMarginRight="10" PatchMarginTop="10" />
|
||||
</PanelContainer.PanelOverride>
|
||||
<BoxContainer HorizontalExpand="True" VerticalExpand="True" >
|
||||
<TextureRect Stretch="Scale" Name="LocationView" SetSize="64 64" HorizontalAlignment="Center" VerticalAlignment="Center" MinSize="64 64"
|
||||
HorizontalExpand="True" VerticalExpand="True" Access="Public"/>
|
||||
<BoxContainer HorizontalExpand="True" VerticalExpand="True">
|
||||
<TextureRect Stretch="Scale" Name="LocationView" SetSize="64 64" HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center" MinSize="64 64"
|
||||
HorizontalExpand="True" VerticalExpand="True" Access="Public" />
|
||||
</BoxContainer>
|
||||
</PanelContainer>
|
||||
<customControls:HSeparator StyleClasses="HighDivider" Margin="0 15 0 10" />
|
||||
@@ -30,25 +30,30 @@
|
||||
<BoxContainer Name="NodeViewContainer" Orientation="Vertical" VerticalExpand="True">
|
||||
<ScrollContainer HScrollEnabled="False" HorizontalExpand="True" VerticalExpand="True">
|
||||
<BoxContainer Orientation="Vertical" HorizontalExpand="False" VerticalExpand="True">
|
||||
<BoxContainer Name="InfoContainer" Orientation="Vertical" HorizontalExpand="True" VerticalExpand="True">
|
||||
<BoxContainer Name="InfoContainer" Orientation="Vertical" HorizontalExpand="True"
|
||||
VerticalExpand="True">
|
||||
<BoxContainer HorizontalExpand="True">
|
||||
<Label Name="Name" Access="Public" StyleClasses="LabelHeadingBigger" VAlign="Center"
|
||||
HorizontalExpand="True" HorizontalAlignment="Center" />
|
||||
</BoxContainer>
|
||||
<!-- Description -->
|
||||
<BoxContainer HorizontalExpand="True">
|
||||
<RichTextLabel Name="Description" HorizontalExpand="True" Access="Public"/>
|
||||
<RichTextLabel Name="Description" HorizontalExpand="True" Access="Public" />
|
||||
</BoxContainer>
|
||||
</BoxContainer>
|
||||
</BoxContainer>
|
||||
</ScrollContainer>
|
||||
<Control MinHeight="5"/>
|
||||
<Control MinHeight="5" />
|
||||
<!-- Buttons -->
|
||||
<BoxContainer Orientation="Horizontal" HorizontalExpand="True">
|
||||
<Button Name="EjectButton" Text="{Loc 'cp14-demiplane-map-eject'}" ToolTip="{Loc 'cp14-demiplane-map-eject-tooltip'}" StyleClasses="OpenRight" HorizontalExpand="True" MinHeight="35" Access="Public"/>
|
||||
<Button Name="EjectButton" Text="{Loc 'cp14-demiplane-map-eject'}"
|
||||
ToolTip="{Loc 'cp14-demiplane-map-eject-tooltip'}" StyleClasses="OpenRight"
|
||||
HorizontalExpand="True" MinHeight="35" Access="Public" />
|
||||
</BoxContainer>
|
||||
<BoxContainer Orientation="Horizontal" HorizontalExpand="True">
|
||||
<Button Name="RevokeButton" Text="{Loc 'cp14-demiplane-map-revoke'}" ToolTip="{Loc 'cp14-demiplane-map-revoke-tooltip'}" StyleClasses="OpenRight" HorizontalExpand="True" MinHeight="35" Access="Public"/>
|
||||
<Button Name="RevokeButton" Text="{Loc 'cp14-demiplane-map-revoke'}"
|
||||
ToolTip="{Loc 'cp14-demiplane-map-revoke-tooltip'}" StyleClasses="OpenRight"
|
||||
HorizontalExpand="True" MinHeight="35" Access="Public" />
|
||||
</BoxContainer>
|
||||
</BoxContainer>
|
||||
</BoxContainer>
|
||||
@@ -62,9 +67,16 @@
|
||||
HorizontalExpand="True" HorizontalAlignment="Center" />
|
||||
</BoxContainer>
|
||||
<PanelContainer Margin="10 10 10 10" HorizontalExpand="True" VerticalExpand="True" RectClipContent="True">
|
||||
<parallax:ParallaxControl Name="ParallaxBackground" ScaleX="4" ScaleY="4" ParallaxPrototype="CP14Astral" Access="Public" SpeedX="10" SpeedY="5"/>
|
||||
<BoxContainer Margin="10 10 10 10" Orientation="Horizontal" HorizontalExpand="True" VerticalExpand="True">
|
||||
<nodeTree:CP14NodeTreeGraphControl Name="GraphControl" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Access="Public"/>
|
||||
<parallax:ParallaxControl Name="ParallaxBackground" ScaleX="4" ScaleY="4"
|
||||
ParallaxPrototype="CP14Astral" Access="Public" SpeedX="10" SpeedY="5" />
|
||||
<BoxContainer Margin="10 10 10 10" Orientation="Horizontal" HorizontalExpand="True"
|
||||
VerticalExpand="True">
|
||||
<nodeTree:CP14NodeTreeGraphControl Name="GraphControl" HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Stretch" Access="Public" />
|
||||
</BoxContainer>
|
||||
<!-- Admin Description -->
|
||||
<BoxContainer Name="AdminPanel" Visible="False" HorizontalExpand="True" HorizontalAlignment="Right" VerticalAlignment="Top">
|
||||
<RichTextLabel Name="AdminDescription" HorizontalExpand="True" Access="Public" />
|
||||
</BoxContainer>
|
||||
</PanelContainer>
|
||||
</BoxContainer>
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
using System.Numerics;
|
||||
using System.Text;
|
||||
using Content.Client._CP14.UserInterface.Systems.NodeTree;
|
||||
using Content.Client.Administration.Managers;
|
||||
using Content.Shared._CP14.DemiplaneTraveling;
|
||||
using Content.Shared.Administration;
|
||||
using Robust.Client.AutoGenerated;
|
||||
using Robust.Client.Player;
|
||||
using Robust.Client.UserInterface.Controls;
|
||||
using Robust.Client.UserInterface.CustomControls;
|
||||
using Robust.Client.UserInterface.XAML;
|
||||
@@ -17,6 +20,8 @@ public sealed partial class CP14DemiplaneMapWindow : DefaultWindow
|
||||
{
|
||||
[Dependency] private readonly IPrototypeManager _prototype = default!;
|
||||
[Dependency] private readonly ILogManager _log = default!;
|
||||
[Dependency] private readonly IPlayerManager _player = default!;
|
||||
[Dependency] private readonly IClientAdminManager _admin = default!;
|
||||
|
||||
private CP14DemiplaneMapUiState? _cachedState;
|
||||
private CP14DemiplaneMapNode? _selectedNode;
|
||||
@@ -167,6 +172,9 @@ public sealed partial class CP14DemiplaneMapWindow : DefaultWindow
|
||||
private void SelectNode(CP14DemiplaneMapNode? node)
|
||||
{
|
||||
_selectedNode = node;
|
||||
|
||||
var isAdmin = _admin.IsAdmin();
|
||||
|
||||
if (node == null)
|
||||
{
|
||||
DeselectNode();
|
||||
@@ -233,6 +241,18 @@ public sealed partial class CP14DemiplaneMapWindow : DefaultWindow
|
||||
|
||||
EjectButton.Disabled = !node.InFrontierZone || node.InUsing;
|
||||
RevokeButton.Disabled = !node.InUsing;
|
||||
|
||||
//Admin part
|
||||
AdminPanel.Visible = isAdmin;
|
||||
|
||||
var adminSb = new StringBuilder();
|
||||
|
||||
adminSb.Append("Modifiers: \n");
|
||||
foreach (var modifier in node.Modifiers)
|
||||
{
|
||||
adminSb.Append("- " + Loc.GetString(modifier.Id) + "\n");
|
||||
}
|
||||
AdminDescription.Text = adminSb.ToString();
|
||||
}
|
||||
|
||||
private void DeselectNode()
|
||||
|
||||
@@ -2,6 +2,7 @@ using System.Linq;
|
||||
using System.Numerics;
|
||||
using Content.Server._CP14.Demiplane;
|
||||
using Content.Server._CP14.Demiplane.Components;
|
||||
using Content.Server.Destructible;
|
||||
using Content.Server.Station.Systems;
|
||||
using Content.Shared._CP14.Demiplane.Components;
|
||||
using Content.Shared._CP14.Demiplane.Prototypes;
|
||||
@@ -27,6 +28,8 @@ public sealed partial class CP14StationDemiplaneMapSystem : CP14SharedStationDem
|
||||
[Dependency] private readonly CP14DemiplaneSystem _demiplane = default!;
|
||||
[Dependency] private readonly SharedAudioSystem _audio = default!;
|
||||
[Dependency] private readonly SharedPopupSystem _popup = default!;
|
||||
[Dependency] private readonly DestructibleSystem _destructible = default!;
|
||||
[Dependency] private readonly DamageableSystem _damageable = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
@@ -41,10 +44,10 @@ public sealed partial class CP14StationDemiplaneMapSystem : CP14SharedStationDem
|
||||
SubscribeLocalEvent<CP14DemiplaneMapNodeBlockerComponent, ComponentShutdown>(OnNodeBlockerShutdown);
|
||||
|
||||
SubscribeLocalEvent<CP14DemiplaneCoreComponent, MapInitEvent>(OnCoreInit);
|
||||
SubscribeLocalEvent<CP14DemiplaneCoreComponent, DestructionEventArgs>(OnCoreDestroyed);
|
||||
SubscribeLocalEvent<CP14DemiplaneCoreComponent, DestructionEventArgs>(OnCoreShutdown);
|
||||
}
|
||||
|
||||
private void OnCoreDestroyed(Entity<CP14DemiplaneCoreComponent> ent, ref DestructionEventArgs args)
|
||||
private void OnCoreShutdown(Entity<CP14DemiplaneCoreComponent> ent, ref DestructionEventArgs args)
|
||||
{
|
||||
if (TryComp<CP14DemiplaneComponent>(ent.Comp.Demiplane, out var demiplane))
|
||||
{
|
||||
@@ -151,7 +154,8 @@ public sealed partial class CP14StationDemiplaneMapSystem : CP14SharedStationDem
|
||||
SpawnAttachedTo("CP14ImpactEffectMagicSplitting", Transform(uid).Coordinates);
|
||||
_popup.PopupEntity(Loc.GetString("cp14-demiplane-revoke-item"), ent);
|
||||
_popup.PopupEntity(Loc.GetString("cp14-demiplane-revoke-item"), uid);
|
||||
QueueDel(uid);
|
||||
_damageable.TryChangeDamage(uid, ent.Comp.RevokeDamage, true);
|
||||
_destructible.DestroyEntity(uid);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
using Content.Shared.Damage;
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
@@ -17,4 +18,13 @@ public sealed partial class CP14DemiplaneNavigationMapComponent : Component
|
||||
|
||||
[DataField]
|
||||
public SoundSpecifier EjectSound = new SoundPathSpecifier("/Audio/Magic/ethereal_exit.ogg");
|
||||
|
||||
[DataField]
|
||||
public DamageSpecifier RevokeDamage = new()
|
||||
{
|
||||
DamageDict = new()
|
||||
{
|
||||
{ "Blunt", 100 },
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
@@ -402,7 +402,7 @@ entities:
|
||||
rot: -1.5707963267948966 rad
|
||||
pos: 22.5,1.5
|
||||
parent: 1
|
||||
- proto: CP14IronDoorGuardWeaponStorage
|
||||
- proto: CP14IronDoorRandomLocked
|
||||
entities:
|
||||
- uid: 62
|
||||
components:
|
||||
|
||||
@@ -70,6 +70,7 @@
|
||||
- type: CP14AreaEntityEffect
|
||||
range: 1
|
||||
effects:
|
||||
- !type:CP14SpellThrowFromUser
|
||||
- !type:CP14SpellApplyEntityEffect
|
||||
effects:
|
||||
- !type:Electrocute
|
||||
@@ -78,11 +79,6 @@
|
||||
damage:
|
||||
types:
|
||||
Shock: 15
|
||||
- !type:FlammableReaction
|
||||
multiplier: 1.5
|
||||
- !type:AdjustTemperature
|
||||
amount: 15000
|
||||
- !type:Ignite
|
||||
- type: CP14FarSound
|
||||
closeSound:
|
||||
path: /Audio/_CP14/Ambience/Lightning/lightning_close1.ogg
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
- type: entity
|
||||
id: CP14CrystalShardQuartz
|
||||
parent: BaseItem
|
||||
id: CP14CrystalShardQuartz
|
||||
name: quartz shard
|
||||
description: Natural quartz crystals that can absorb the magical energy of the world around them.
|
||||
categories: [ ForkFiltered ]
|
||||
@@ -26,4 +26,31 @@
|
||||
juiceSolution:
|
||||
reagents:
|
||||
- ReagentId: CP14GroundQuartz
|
||||
Quantity: 7
|
||||
Quantity: 7
|
||||
|
||||
- type: entity
|
||||
parent: BaseItem
|
||||
id: CP14DimensitCrystal
|
||||
name: dimensit shard
|
||||
description: A fragment of the fabric of reality. An extremely valuable resource for those who know what they can do with it.
|
||||
categories: [ ForkFiltered ]
|
||||
components:
|
||||
#- type: Tag
|
||||
# tags:
|
||||
# - CP14FitInMortar
|
||||
- type: Item
|
||||
size: Tiny
|
||||
shape:
|
||||
- 0,0,0,1
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Dungeon/demiplan_rift_core.rsi
|
||||
layers:
|
||||
- state: core1
|
||||
map: ["random"]
|
||||
- type: RandomSprite
|
||||
available:
|
||||
- random:
|
||||
core1: ""
|
||||
core2: ""
|
||||
core3: ""
|
||||
core4: ""
|
||||
@@ -2,15 +2,17 @@
|
||||
parent: BaseItem
|
||||
id: CP14BaseDemiplaneKey
|
||||
categories: [ ForkFiltered ]
|
||||
name: demiplane key
|
||||
description: The core that connects the real world to the demiplane. Use it to open a temporary passage to the other world.
|
||||
name: demiplane coordinate key
|
||||
description: A temporary blob of energy linking the real world and the demiplane. Use it before it dissipates.
|
||||
components:
|
||||
- type: Item
|
||||
size: Normal
|
||||
size: Ginormous
|
||||
- type: Sprite
|
||||
sprite: /Textures/_CP14/Structures/Dungeon/demiplan_rift_core.rsi
|
||||
noRot: true
|
||||
drawdepth: Effects
|
||||
sprite: _CP14/Structures/Dungeon/demiplan_rift_core.rsi
|
||||
layers:
|
||||
- state: core
|
||||
- state: coord
|
||||
- type: GuideHelp
|
||||
guides:
|
||||
- CP14_RU_Demiplanes
|
||||
@@ -22,37 +24,30 @@
|
||||
- Core
|
||||
- EntryRoom
|
||||
- Exit
|
||||
|
||||
#- type: entity
|
||||
# id: CP14DemiplaneKeyT1
|
||||
# parent: CP14BaseDemiplaneKey
|
||||
# suffix: Level 3
|
||||
# components:
|
||||
# - type: CP14DemiplaneRandomGenerator
|
||||
# level: 3
|
||||
# limits:
|
||||
# Reward: 1
|
||||
# Danger: 1
|
||||
# GhostRoleDanger: 1
|
||||
# Fun: 1
|
||||
# Weather: 1
|
||||
# MapLight: 1
|
||||
#
|
||||
#- type: entity
|
||||
# id: CP14DemiplaneKeyT2
|
||||
# parent: CP14BaseDemiplaneKey
|
||||
# suffix: Level 6
|
||||
# components:
|
||||
# - type: Sprite
|
||||
# layers:
|
||||
# - state: core
|
||||
# color: red
|
||||
# - type: CP14DemiplaneRandomGenerator
|
||||
# level: 6
|
||||
# limits:
|
||||
# Reward: 1
|
||||
# Danger: 1.5
|
||||
# GhostRoleDanger: 1
|
||||
# Fun: 1
|
||||
# Weather: 1
|
||||
# MapLight: 1
|
||||
- type: TimedDespawn
|
||||
lifetime: 120
|
||||
- type: CanMoveInAir
|
||||
- type: RandomWalk
|
||||
minSpeed: 0.25
|
||||
maxSpeed: 0.75
|
||||
- type: Physics
|
||||
bodyType: Dynamic
|
||||
bodyStatus: InAir
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.25,-0.25,0.25,0.25"
|
||||
density: 20
|
||||
mask:
|
||||
#- ItemMask # CP14 swap ItemMask to Impassable only
|
||||
- Impassable
|
||||
restitution: 0.3 # fite me
|
||||
friction: 0.2
|
||||
- type: PointLight
|
||||
enabled: true
|
||||
color: "#8f42ff"
|
||||
energy: 1
|
||||
radius: 2
|
||||
netsync: false
|
||||
@@ -55,6 +55,7 @@
|
||||
- type: ActivatableUI
|
||||
key: enum.CP14DemiplaneMapUiKey.Key
|
||||
requiresComplex: true
|
||||
singleUser: true
|
||||
- type: CP14DemiplaneNavigationMap
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
@@ -168,12 +169,6 @@
|
||||
collection: GlassSmash
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 350
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 50
|
||||
@@ -182,4 +177,14 @@
|
||||
sound:
|
||||
collection: GlassBreak
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
acts: ["Destruction"]
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
CP14DimensitCrystal:
|
||||
min: 4
|
||||
max: 6
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
CP14SkyLightningPurple:
|
||||
min: 1
|
||||
max: 1
|
||||
@@ -298,9 +298,4 @@
|
||||
sound:
|
||||
collection: GlassBreak
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
#- !type:SpawnEntitiesBehavior
|
||||
# spawn:
|
||||
# CP14StoneBlock1:
|
||||
# min: 5
|
||||
# max: 7
|
||||
acts: ["Destruction"]
|
||||
@@ -1,7 +1,7 @@
|
||||
- type: cp14DemiplaneLocation
|
||||
id: T1IceCaves
|
||||
levels:
|
||||
min: 4
|
||||
min: 3
|
||||
max: 7
|
||||
icon:
|
||||
sprite: _CP14/Interface/Misc/demiplane_locations.rsi
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
- type: cp14DemiplaneLocation
|
||||
id: T1SnowIsland
|
||||
levels:
|
||||
min: 3
|
||||
min: 2
|
||||
max: 5
|
||||
icon:
|
||||
sprite: _CP14/Interface/Misc/demiplane_locations.rsi
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: T1LeafMaze
|
||||
levels:
|
||||
min: 3
|
||||
max: 5
|
||||
max: 6
|
||||
icon:
|
||||
sprite: _CP14/Interface/Misc/demiplane_locations.rsi
|
||||
state: leaf_maze
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
- type: cp14DemiplaneLocation
|
||||
id: T1Wastelands
|
||||
levels:
|
||||
min: 5
|
||||
min: 3
|
||||
max: 7
|
||||
icon:
|
||||
sprite: _CP14/Interface/Misc/demiplane_locations.rsi
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
name: cp14-modifier-chasm
|
||||
generationWeight: 0.6
|
||||
categories:
|
||||
Danger: 0.33
|
||||
Danger: 0.25
|
||||
layers:
|
||||
- !type:OreDunGen
|
||||
entity: CP14Chasm
|
||||
@@ -28,7 +28,7 @@
|
||||
max: 10
|
||||
generationWeight: 0.3
|
||||
categories:
|
||||
Danger: 0.33
|
||||
Danger: 0.25
|
||||
blacklistTags:
|
||||
- CP14DemiplaneCold
|
||||
- CP14DemiplaneHerbals
|
||||
@@ -66,7 +66,7 @@
|
||||
max: 10
|
||||
name: cp14-modifier-shadow-kudzu
|
||||
categories:
|
||||
Danger: 0.3
|
||||
Danger: 0.25
|
||||
layers:
|
||||
- !type:OreDunGen
|
||||
entity: CP14AstralHaze
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
name: cp14-modifier-zombie
|
||||
generationWeight: 1.5
|
||||
categories:
|
||||
Danger: 0.3
|
||||
Danger: 0.25
|
||||
blacklistTags:
|
||||
- CP14DemiplaneHot
|
||||
layers:
|
||||
@@ -43,7 +43,7 @@
|
||||
max: 5
|
||||
name: cp14-modifier-dyno
|
||||
categories:
|
||||
Danger: 0.2
|
||||
Danger: 0.25
|
||||
requiredTags:
|
||||
- CP14DemiplaneHerbals
|
||||
blacklistTags:
|
||||
@@ -62,7 +62,7 @@
|
||||
max: 5
|
||||
name: cp14-modifier-dyno
|
||||
categories:
|
||||
Danger: 0.3
|
||||
Danger: 0.25
|
||||
requiredTags:
|
||||
- CP14DemiplaneHerbals
|
||||
layers:
|
||||
@@ -72,39 +72,6 @@
|
||||
minGroupSize: 2
|
||||
maxGroupSize: 3
|
||||
|
||||
- type: cp14DemiplaneModifier
|
||||
id: EnemySkeletonT1
|
||||
levels:
|
||||
min: 3
|
||||
max: 5
|
||||
name: cp14-modifier-skeleton
|
||||
generationWeight: 1.5
|
||||
generationProb: 0.5
|
||||
categories:
|
||||
GhostRoleDanger: 1
|
||||
layers:
|
||||
- !type:OreDunGen
|
||||
entity: CP14SpawnPointGhostDemiplaneSkeletonT1
|
||||
count: 1
|
||||
minGroupSize: 1
|
||||
maxGroupSize: 3
|
||||
|
||||
- type: cp14DemiplaneModifier
|
||||
id: EnemyLurker
|
||||
levels:
|
||||
min: 1
|
||||
max: 10
|
||||
generationWeight: 0.33
|
||||
generationProb: 0.25
|
||||
categories:
|
||||
GhostRoleDanger: 1
|
||||
layers:
|
||||
- !type:OreDunGen
|
||||
entity: SpawnPointGhostDemiplaneLurker
|
||||
count: 1
|
||||
minGroupSize: 1
|
||||
maxGroupSize: 1
|
||||
|
||||
# TIER 2
|
||||
|
||||
- type: cp14DemiplaneModifier
|
||||
@@ -213,7 +180,7 @@
|
||||
id: MobSlimeBase
|
||||
levels:
|
||||
min: 1
|
||||
max: 10
|
||||
max: 5
|
||||
categories:
|
||||
Danger: 0.25
|
||||
layers:
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
- type: cp14DemiplaneModifier
|
||||
id: EnemySkeletonT1
|
||||
levels:
|
||||
min: 3
|
||||
max: 5
|
||||
name: cp14-modifier-skeleton
|
||||
generationWeight: 1.5
|
||||
generationProb: 0.5
|
||||
categories:
|
||||
GhostRoleDanger: 1
|
||||
layers:
|
||||
- !type:OreDunGen
|
||||
entity: CP14SpawnPointGhostDemiplaneSkeletonT1
|
||||
count: 1
|
||||
minGroupSize: 1
|
||||
maxGroupSize: 3
|
||||
|
||||
- type: cp14DemiplaneModifier
|
||||
id: EnemyLurker
|
||||
levels:
|
||||
min: 1
|
||||
max: 10
|
||||
generationWeight: 0.33
|
||||
generationProb: 0.25
|
||||
categories:
|
||||
GhostRoleDanger: 1
|
||||
layers:
|
||||
- !type:OreDunGen
|
||||
entity: SpawnPointGhostDemiplaneLurker
|
||||
count: 1
|
||||
minGroupSize: 1
|
||||
maxGroupSize: 1
|
||||
@@ -4,7 +4,7 @@
|
||||
min: 1
|
||||
max: 8
|
||||
categories:
|
||||
Reward: 0.1
|
||||
Reward: 0.15
|
||||
layers:
|
||||
- !type:OreDunGen
|
||||
tileMask:
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
max: 10
|
||||
name: cp14-modifier-dayflin
|
||||
categories:
|
||||
Reward: 0.1
|
||||
Reward: 0.15
|
||||
requiredTags:
|
||||
- CP14DemiplaneHerbals
|
||||
- CP14DemiplaneOpenSky
|
||||
@@ -29,7 +29,7 @@
|
||||
max: 10
|
||||
name: cp14-modifier-fly-agaric
|
||||
categories:
|
||||
Reward: 0.1
|
||||
Reward: 0.15
|
||||
requiredTags:
|
||||
- CP14DemiplaneHerbals
|
||||
layers:
|
||||
@@ -51,7 +51,7 @@
|
||||
max: 10
|
||||
name: cp14-modifier-blue-amanita
|
||||
categories:
|
||||
Reward: 0.1
|
||||
Reward: 0.15
|
||||
requiredTags:
|
||||
- CP14DemiplaneHerbals
|
||||
layers:
|
||||
@@ -72,7 +72,7 @@
|
||||
max: 10
|
||||
name: cp14-modifier-blood-flower
|
||||
categories:
|
||||
Reward: 0.1
|
||||
Reward: 0.15
|
||||
requiredTags:
|
||||
- CP14DemiplaneHerbals
|
||||
layers:
|
||||
@@ -93,7 +93,7 @@
|
||||
max: 10
|
||||
name: cp14-modifier-wild-sage
|
||||
categories:
|
||||
Reward: 0.1
|
||||
Reward: 0.15
|
||||
requiredTags:
|
||||
- CP14DemiplaneHerbals
|
||||
- CP14DemiplaneOpenSky
|
||||
@@ -115,7 +115,7 @@
|
||||
max: 10
|
||||
name: cp14-modifier-air-lily
|
||||
categories:
|
||||
Reward: 0.1
|
||||
Reward: 0.15
|
||||
requiredTags:
|
||||
- CP14DemiplaneHerbals
|
||||
- CP14DemiplaneWater
|
||||
@@ -138,7 +138,7 @@
|
||||
max: 10
|
||||
name: cp14-modifier-lumisroom
|
||||
categories:
|
||||
Reward: 0.1
|
||||
Reward: 0.15
|
||||
requiredTags:
|
||||
- CP14DemiplaneUnderground
|
||||
layers:
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
id: LootT1
|
||||
levels:
|
||||
min: 1
|
||||
max: 5
|
||||
max: 3
|
||||
generationWeight: 2
|
||||
categories:
|
||||
Reward: 0.35
|
||||
Reward: 0.15
|
||||
layers:
|
||||
- !type:OreDunGen
|
||||
entity: CP14SpawnerDemiplaneLootT1
|
||||
@@ -23,7 +23,7 @@
|
||||
name: cp14-modifier-rabbits
|
||||
generationWeight: 0.4
|
||||
categories:
|
||||
Reward: 0.1
|
||||
Reward: 0.15
|
||||
requiredTags:
|
||||
- CP14DemiplanePeacefulAnimals
|
||||
layers:
|
||||
@@ -58,7 +58,7 @@
|
||||
max: 10
|
||||
generationWeight: 0.4
|
||||
categories:
|
||||
Reward: 0.05
|
||||
Reward: 0.1
|
||||
requiredTags:
|
||||
- CP14DemiplaneAnimalsSwamp
|
||||
layers:
|
||||
@@ -80,7 +80,7 @@
|
||||
name: cp14-modifier-sheeps
|
||||
generationWeight: 0.4
|
||||
categories:
|
||||
Reward: 0.2
|
||||
Reward: 0.15
|
||||
requiredTags:
|
||||
- CP14DemiplanePeacefulAnimals
|
||||
layers:
|
||||
@@ -97,7 +97,7 @@
|
||||
max: 10
|
||||
name: cp14-modifier-ruins
|
||||
categories:
|
||||
Reward: 0.15
|
||||
Reward: 0.2
|
||||
generationProb: 0.8
|
||||
layers:
|
||||
- !type:OreDunGen
|
||||
@@ -115,7 +115,7 @@
|
||||
max: 10
|
||||
generationWeight: 2
|
||||
categories:
|
||||
Reward: 0.35
|
||||
Reward: 0.15
|
||||
layers:
|
||||
- !type:OreDunGen
|
||||
entity: CP14SpawnerDemiplaneLootT2
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
name: cp14-modifier-iron-ore
|
||||
unique: false
|
||||
categories:
|
||||
Reward: 0.4
|
||||
Reward: 0.25
|
||||
requiredTags:
|
||||
- CP14DemiplaneOres
|
||||
- CP14DemiplaneOpenSky
|
||||
@@ -17,7 +17,7 @@
|
||||
entityMask:
|
||||
- CP14WallStone
|
||||
entity: CP14WallStoneIronOre
|
||||
count: 15
|
||||
count: 20
|
||||
minGroupSize: 2
|
||||
maxGroupSize: 4
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
name: cp14-modifier-iron-ore
|
||||
unique: false
|
||||
categories:
|
||||
Reward: 0.4
|
||||
Reward: 0.25
|
||||
requiredTags:
|
||||
- CP14DemiplaneOres
|
||||
- CP14DemiplaneUnderground
|
||||
@@ -38,7 +38,7 @@
|
||||
entityMask:
|
||||
- CP14WallStone
|
||||
entity: CP14WallStoneIronOre
|
||||
count: 10
|
||||
count: 15
|
||||
minGroupSize: 4
|
||||
maxGroupSize: 6
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
name: cp14-modifier-copper-ore
|
||||
unique: false
|
||||
categories:
|
||||
Reward: 0.3
|
||||
Reward: 0.25
|
||||
requiredTags:
|
||||
- CP14DemiplaneOres
|
||||
- CP14DemiplaneOpenSky
|
||||
@@ -59,7 +59,7 @@
|
||||
entityMask:
|
||||
- CP14WallStone
|
||||
entity: CP14WallStoneCopperOre
|
||||
count: 15
|
||||
count: 20
|
||||
minGroupSize: 2
|
||||
maxGroupSize: 4
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
name: cp14-modifier-copper-ore
|
||||
unique: false
|
||||
categories:
|
||||
Reward: 0.3
|
||||
Reward: 0.25
|
||||
requiredTags:
|
||||
- CP14DemiplaneOres
|
||||
- CP14DemiplaneUnderground
|
||||
@@ -80,7 +80,7 @@
|
||||
entityMask:
|
||||
- CP14WallStone
|
||||
entity: CP14WallStoneCopperOre
|
||||
count: 10
|
||||
count: 15
|
||||
minGroupSize: 4
|
||||
maxGroupSize: 6
|
||||
|
||||
@@ -94,7 +94,7 @@
|
||||
name: cp14-modifier-gold-ore
|
||||
unique: false
|
||||
categories:
|
||||
Reward: 0.5
|
||||
Reward: 0.25
|
||||
requiredTags:
|
||||
- CP14DemiplaneOres
|
||||
- CP14DemiplaneOpenSky
|
||||
@@ -115,7 +115,7 @@
|
||||
name: cp14-modifier-gold-ore
|
||||
unique: false
|
||||
categories:
|
||||
Reward: 0.5
|
||||
Reward: 0.25
|
||||
requiredTags:
|
||||
- CP14DemiplaneOres
|
||||
- CP14DemiplaneUnderground
|
||||
@@ -136,7 +136,7 @@
|
||||
name: cp14-modifier-mithril-ore
|
||||
unique: false
|
||||
categories:
|
||||
Reward: 0.5
|
||||
Reward: 0.25
|
||||
requiredTags:
|
||||
- CP14DemiplaneOres
|
||||
- CP14DemiplaneOpenSky
|
||||
@@ -157,7 +157,7 @@
|
||||
name: cp14-modifier-mithril-ore
|
||||
unique: false
|
||||
categories:
|
||||
Reward: 0.5
|
||||
Reward: 0.25
|
||||
requiredTags:
|
||||
- CP14DemiplaneOres
|
||||
- CP14DemiplaneUnderground
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 543 B |
Binary file not shown.
|
After Width: | Height: | Size: 363 B |
Binary file not shown.
|
After Width: | Height: | Size: 436 B |
Binary file not shown.
|
After Width: | Height: | Size: 393 B |
Binary file not shown.
|
After Width: | Height: | Size: 370 B |
@@ -1,14 +1,23 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC0-1.0",
|
||||
"copyright": "Core created by TheShuEd, connective created by omsoyk",
|
||||
"copyright": "core1 core2 core3 core4 created by TheShuEd, connective created by omsoyk",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "core"
|
||||
"name": "core1"
|
||||
},
|
||||
{
|
||||
"name": "core2"
|
||||
},
|
||||
{
|
||||
"name": "core3"
|
||||
},
|
||||
{
|
||||
"name": "core4"
|
||||
},
|
||||
{
|
||||
"name": "connective",
|
||||
@@ -26,6 +35,21 @@
|
||||
0.15
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "coord",
|
||||
"delays": [
|
||||
[
|
||||
0.3,
|
||||
0.3,
|
||||
0.3,
|
||||
0.3,
|
||||
0.3,
|
||||
0.3,
|
||||
0.3,
|
||||
0.3
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user