EntityLootTable deleted (#37604)

This commit is contained in:
Red
2025-05-19 12:53:29 +03:00
committed by GitHub
parent 791ce3a5cd
commit b07fadf5b0
5 changed files with 12 additions and 187 deletions

View File

@@ -1,6 +1,5 @@
using Content.Shared.EntityList;
using Content.Shared.EntityTable.EntitySelectors;
using Content.Shared.Whitelist;
using Robust.Shared.Prototypes;
namespace Content.Server.Gatherable.Components;
@@ -25,11 +24,13 @@ public sealed partial class GatherableComponent : Component
/// - Tag1
/// - Tag2
/// loot:
/// Tag1: LootTableID1
/// Tag2: LootTableID2
/// Tag1: !type:NestedSelector
/// tableId: LootTableID1
/// Tag2: !type:NestedSelector
/// tableId: LootTableID2
/// </summary>
[DataField]
public Dictionary<string, ProtoId<EntityLootTablePrototype>>? Loot = new();
public Dictionary<string, EntityTableSelector>? Loot = new();
/// <summary>
/// Random shift of the appearing entity during gathering