Skip to content

Commit

Permalink
Фикс и добавлений категорий
Browse files Browse the repository at this point in the history
  • Loading branch information
Schrodinger71 committed Aug 8, 2024
1 parent 7557606 commit 71a69c7
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Content.Server/ADT/SizeAttribute/SizeAttributeComponent.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Content.Shared.Cloning;

namespace Content.Server.SizeAttribute
namespace Content.Server.ADT.SizeAttribute
{
[RegisterComponent]
public sealed partial class SizeAttributeComponent : Component, ITransferredByCloning
Expand Down
2 changes: 1 addition & 1 deletion Content.Server/ADT/SizeAttribute/SizeAttributeSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Robust.Shared.Physics.Systems;
using Content.Shared.Item.PseudoItem;

namespace Content.Server.SizeAttribute
namespace Content.Server.ADT.SizeAttribute
{
public sealed class SizeAttributeSystem : EntitySystem
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Robust.Shared.Physics.Collision.Shapes;

namespace Content.Server.SizeAttribute
namespace Content.Server.ADT.SizeAttribute
{
[RegisterComponent]
public sealed partial class SizeAttributeWhitelistComponent : Component
Expand Down
1 change: 1 addition & 0 deletions Resources/Locale/ru-RU/ADT/traits/categories.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
trait-category-height = Рост
2 changes: 1 addition & 1 deletion Resources/Prototypes/ADT/Entities/Mobs/Player/Drask.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
understands:
- GalacticCommon
- Drask
- type: SizeAttributeWhitelist # Frontier TODO: нет такого компонента..
- type: SizeAttributeWhitelist # Frontier
tall: true
tallscale: 1.15
short: true
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/ADT/Traits/categories.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- type: traitCategory
id: Height
name: trait-category-height
maxTraitPoints: 1
4 changes: 4 additions & 0 deletions Resources/Prototypes/ADT/Traits/neutral.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
id: Tall
name: trait-tall-name
description: trait-tall-desc
category: Height
cost: 1
whitelist:
components:
- SizeAttributeWhitelist
Expand All @@ -16,6 +18,8 @@
id: Short
name: trait-short-name
description: trait-short-desc
category: Height
cost: 1
whitelist:
components:
- SizeAttributeWhitelist
Expand Down

0 comments on commit 71a69c7

Please sign in to comment.