CORE dashboard + a lot of changes
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ea5e3fca9792442d90b5aba2ae37e105
|
||||
timeCreated: 1780247773
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "RPGCore.BackpackEquipment.StatusEffect.Editor",
|
||||
"rootNamespace": "RPGCore.BackpackEquipment.StatusEffect.Editor",
|
||||
"references": [
|
||||
"RPGCore",
|
||||
"RPGCore.Editor",
|
||||
"RPGCore.BackpackEquipment",
|
||||
"RPGCore.StatusEffect"
|
||||
],
|
||||
"includePlatforms": [
|
||||
"Editor"
|
||||
],
|
||||
"excludePlatforms": [],
|
||||
"allowUnsafeCode": false,
|
||||
"overrideReferences": false,
|
||||
"precompiledReferences": [],
|
||||
"autoReferenced": true,
|
||||
"defineConstraints": [],
|
||||
"versionDefines": [],
|
||||
"noEngineReferences": false
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 847b1528d6884dccb4e9eca1e9e0002b
|
||||
timeCreated: 1780247908
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 65d922d179214a61905337e8b7815eae
|
||||
timeCreated: 1780247793
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 658a042ae2aa46a0b66ba1bf4ac209e7
|
||||
timeCreated: 1780344247
|
||||
+26
@@ -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)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 68266e6bff4e407ab40c97af05f6da37
|
||||
timeCreated: 1782059030
|
||||
+31
@@ -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)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 054fa1f205b04842a24d93c6316fe929
|
||||
timeCreated: 1782061679
|
||||
+18
@@ -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
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6b01bf7f791f41d59d0a1dc1e6f164b4
|
||||
timeCreated: 1780247930
|
||||
Reference in New Issue
Block a user