trying manual attributeset attribution
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 25s
Create tag and build when new code gets to main / Export (push) Successful in 7m49s

This commit is contained in:
2026-05-17 11:28:26 +02:00
parent 33c0088ff8
commit 7746a40542
2 changed files with 7 additions and 3 deletions

View File

@@ -41,8 +41,8 @@ public partial class SelectedAbility : Control
public void AbilityUpdated() public void AbilityUpdated()
{ {
var icon = _icon ?? GetNode<TextureRect>("HBoxContainer/Icon"); var icon = _icon ?? GetNode<TextureRect>("%Icon");
var title = _title ?? GetNode<Label>("HBoxContainer/Title"); var title = _title ?? GetNode<Label>("%Title");
if (icon == null || title == null) return; if (icon == null || title == null) return;
if (_ability == null) if (_ability == null)
{ {

View File

@@ -24,11 +24,14 @@ using GodotStateCharts;
using Movementtests.addons.godot_state_charts.csharp; using Movementtests.addons.godot_state_charts.csharp;
using Movementtests.forge.abilities; using Movementtests.forge.abilities;
using Movementtests.forge.attribute_sets;
using Movementtests.interfaces; using Movementtests.interfaces;
using Movementtests.systems; using Movementtests.systems;
using Movementtests.player_controller.Scripts; using Movementtests.player_controller.Scripts;
using Movementtests.managers; using Movementtests.managers;
using Movementtests.scenes.components.knockback; using Movementtests.scenes.components.knockback;
using Movementtests.scenes.enemies;
using Movementtests.scenes.player_controller.scripts;
using Movementtests.tools; using Movementtests.tools;
using Movementtests.tools.calculators; using Movementtests.tools.calculators;
using RustyOptions; using RustyOptions;
@@ -476,7 +479,8 @@ public partial class PlayerController : CharacterBody3D, IForgeEntity, ICueHandl
LoadSettings(); LoadSettings();
// General use stuff // General use stuff
Attributes = new EntityAttributes([.. ForgeUtils.CollectAttributeList(this)]); // Attributes = new EntityAttributes([.. ForgeUtils.CollectAttributeList(this)]);
Attributes = new EntityAttributes([new CharacterAttributeSet(), new PlayerAttributeSet(), new MetaAttributeSet()]);
HealthAttribute = Attributes["CharacterAttributeSet.Health"]; HealthAttribute = Attributes["CharacterAttributeSet.Health"];
ManaAttribute = Attributes["PlayerAttributeSet.Mana"]; ManaAttribute = Attributes["PlayerAttributeSet.Mana"];