CORE dashboard + a lot of changes

This commit is contained in:
2026-06-22 20:09:15 +02:00
parent 19d6bd934a
commit 89fa0b23b2
101 changed files with 1525 additions and 177 deletions
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 658a042ae2aa46a0b66ba1bf4ac209e7
timeCreated: 1780344247
@@ -0,0 +1,26 @@
using RPGCore.BackpackEquipment.Events;
using RPGCore.BackpackEquipment.Objects;
using RPGCore.Core;
using RPGCore.StatusEffect.ObjectModules.StatusObjectModule;
using UnityEngine;
namespace RPGCore.Inventory2Status.ObjectModules
{
[ObjectModule(
name: "[Integration] Usable with effects",
description: "<b>UsableObjects</b> with definable effects."
)]
public class UsableEffectsModule : ObjectModule<UsableObject>
{
[SerializeField] private BaseEffect[] effectsOnUse;
private void Awake()
{
parent.events.RegisterAfter<UseUsableEvent>(OnUseUsable);
}
private void OnUseUsable(UseUsableEvent ev)
{
}
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 68266e6bff4e407ab40c97af05f6da37
timeCreated: 1782059030
@@ -0,0 +1,31 @@
using RPGCore.BackpackEquipment.ObjectModules.UnitEquipment.Events;
using RPGCore.BackpackEquipment.ObjectModules.UnitEquipment.Objects;
using RPGCore.Core;
using RPGCore.StatusEffect.ObjectModules.StatusObjectModule;
using UnityEngine;
namespace RPGCore.Inventory2Status.ObjectModules
{
[ObjectModule(
name: "[Integration] Wearable with effects",
description: "<b>WearableObjects</b> with definable effects."
)]
public class WearableEffectsModule : ObjectModule<WearableObject>
{
[SerializeField] private BaseEffect[] effectsOnEquip;
private void Awake()
{
parent.events.Register<EquipmentEquipEvent>(OnEquip);
parent.events.Register<EquipmentUnEquipEvent>(OnUnEquip);
}
private void OnEquip(EquipmentEquipEvent ev)
{
}
private void OnUnEquip(EquipmentUnEquipEvent ev)
{
}
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 054fa1f205b04842a24d93c6316fe929
timeCreated: 1782061679
@@ -0,0 +1,18 @@
{
"name": "RPGCore.BackpackEquipment.StatusEffect",
"rootNamespace": "RPGCore.BackpackEquipment.StatusEffect",
"references": [
"RPGCore",
"RPGCore.BackpackEquipment",
"RPGCore.StatusEffect"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 6b01bf7f791f41d59d0a1dc1e6f164b4
timeCreated: 1780247930