DoNotMap category

This commit is contained in:
Ed
2025-02-16 23:54:55 +03:00
parent 7d6d02c523
commit 2d9f67c354
10 changed files with 37 additions and 29 deletions

View File

@@ -100,24 +100,24 @@ public sealed class CP14RoofSystem : EntitySystem
UpdateVisibility(ent, sprite);
var xform = Transform(ent);
if (_gridQuery.TryComp(xform.GridUid, out var grid))
{
var index = _map.LocalToTile(xform.GridUid.Value, grid, xform.Coordinates);
_roof.SetRoof((xform.GridUid.Value, grid, null), index, true);
}
//var xform = Transform(ent);
//
//if (_gridQuery.TryComp(xform.GridUid, out var grid))
//{
// var index = _map.LocalToTile(xform.GridUid.Value, grid, xform.Coordinates);
// _roof.SetRoof((xform.GridUid.Value, grid, null), index, true);
//}
}
private void RoofRemove(Entity<CP14RoofComponent> ent, ref ComponentRemove args)
{
var xform = Transform(ent);
if (_gridQuery.TryComp(xform.GridUid, out var grid))
{
var index = _map.LocalToTile(xform.GridUid.Value, grid, xform.Coordinates);
_roof.SetRoof((xform.GridUid.Value, grid, null), index, false);
}
//var xform = Transform(ent);
//
//if (_gridQuery.TryComp(xform.GridUid, out var grid))
//{
// var index = _map.LocalToTile(xform.GridUid.Value, grid, xform.Coordinates);
// _roof.SetRoof((xform.GridUid.Value, grid, null), index, false);
//}
}
private void UpdateVisibility(Entity<CP14RoofComponent> ent, SpriteComponent sprite)

View File

@@ -38,7 +38,11 @@ namespace Content.IntegrationTests.Tests
private static readonly string[] Grids =
{
"/Maps/centcomm.yml"
"/Maps/centcomm.yml",
//CrystallEdge z-levels
"/Maps/_CP14/comoss_d.yml"
//CrystallEdge z-levels end
};
private static readonly string[] DoNotMapWhitelist =
@@ -50,7 +54,8 @@ namespace Content.IntegrationTests.Tests
};
private static readonly string[] GameMaps =
{//CrystallEdge Map replacement
{
//CrystallEdge Map replacement
"Dev",
"CentComm",
"MeteorArena",

View File

@@ -33,7 +33,8 @@
parent: CP14ClothingRingBase
name: fireball conductive ring
description: A standard mana-conductive ring that allows the user to summon fireballs.
suffix: Fireball, Artifact, DO NOT MAP
categories: [ DoNotMap ]
suffix: Fireball, Artifact
components:
- type: Sprite
layers:

View File

@@ -52,7 +52,8 @@
parent: CP14ClothingShoesBase
id: CP14ClothingShoesArtifactFlightboots
name: flight boots
suffix: Artifact, DO NOT MAP
categories: [ DoNotMap ]
suffix: Artifact
description: Enchanted boots that allow their wearer to walk through the air a short distance from the ground. It looks extremely spectacular!
components:
- type: Sprite
@@ -68,7 +69,8 @@
parent: CP14ClothingShoesBase
id: CP14ClothingShoesArtifactSpeedboots
name: hermes boots
suffix: Artifact, DO NOT MAP
categories: [ DoNotMap ]
suffix: Artifact
description: Enchanted boots that allow their wearer to walk through the air a short distance from the ground. It looks extremely spectacular!
components:
- type: Sprite

View File

@@ -68,7 +68,7 @@
parent: MarkerBase
id: CP14SpawnerDemiplaneLootT2
name: Demiplane T2 Loot
categories: [ ForkFiltered ]
categories: [ ForkFiltered, DoNotMap ]
components:
- type: Sprite
layers:

View File

@@ -2,8 +2,7 @@
name: random artifact spawner
id: CP14SpawnUniqueArtifact
parent: MarkerBase
suffix: Unique, DO NOT MAP
categories: [ ForkFiltered ]
categories: [ ForkFiltered, DoNotMap ]
components:
- type: CP14UniqueLootSpawner
- type: Sprite

View File

@@ -49,7 +49,7 @@
id: CP14StampCommandant
parent: CP14StampBase
name: commandant stamp
suffix: DO NOT MAP
categories: [ DoNotMap ]
components:
- type: Stamp
stampedName: cp14-stamp-bank
@@ -62,7 +62,7 @@
id: CP14StampGuardCommander
parent: CP14StampBase
name: guard commander stamp
suffix: DO NOT MAP
categories: [ DoNotMap ]
components:
- type: Stamp
stampedName: cp14-stamp-guard-commander
@@ -75,7 +75,7 @@
id: CP14StampGuildmaster
parent: CP14StampBase
name: guildmaster stamp
suffix: DO NOT MAP
categories: [ DoNotMap ]
components:
- type: Stamp
stampedName: cp14-stamp-guildmaster

View File

@@ -52,7 +52,8 @@
parent: CP14Crayon
id: CP14CrayonRainbow
name: magic rainbow crayon
suffix: Artifact, DO NOT MAP
categories: [ DoNotMap ]
suffix: Artifact
components:
- type: Sprite
layers:

View File

@@ -77,7 +77,8 @@
parent: CP14MagicHealingStaff
name: magic shadow staff
description: A long, half-tech, half-magic stick designed to convert magical energy into shadow spells.
suffix: Artifact, DO NOT MAP
categories: [ DoNotMap ]
suffix: Artifact
components:
- type: CP14MagicManacostModify
modifiers:

View File

@@ -25,10 +25,9 @@
- type: entity
id: CP14DPSMeter
parent: BaseStructureDynamic
categories: [ ForkFiltered ]
categories: [ ForkFiltered, DoNotMap ]
name: DPS Meter
description: Counts the average damage per second. If you stop hitting it, it shows the result.
suffix: Debug, DO NOT MAP
components:
- type: Sprite
sprite: Objects/Specific/Security/target.rsi