mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-07 08:15:53 +00:00
Tabbed inventory
This commit is contained in:
parent
c81a92679b
commit
6d7282f5cb
214 changed files with 9329 additions and 186 deletions
|
|
@ -5,9 +5,9 @@ namespace Cirno.Scripts.Resources;
|
|||
[GlobalClass]
|
||||
public partial class LootItem : Resource
|
||||
{
|
||||
[Export] public string ItemName { get; set; }
|
||||
[Export] public string ItemDescription { get; set; }
|
||||
[Export] public string ItemKey { get; set; }
|
||||
[Export] public StringName ItemName { get; set; }
|
||||
[Export] public StringName ItemDescription { get; set; }
|
||||
[Export] public StringName ItemKey { get; set; }
|
||||
[Export] public ItemTypes Item;
|
||||
[Export] public WeaponResource WeaponData { get; set; }
|
||||
[Export] public int Amount;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ namespace Cirno.Scripts.Resources;
|
|||
public partial class WeaponResource : Resource
|
||||
{
|
||||
[Export]
|
||||
public string Name { get; set; }
|
||||
public StringName Name { get; set; }
|
||||
|
||||
[Export] public BulletResource BulletData { get; private set; }
|
||||
|
||||
|
|
@ -34,11 +34,11 @@ public partial class WeaponResource : Resource
|
|||
[Export] public float SpreadAngle = 0f;
|
||||
[Export] public float RandomSpread = 0f;
|
||||
|
||||
[Export] public string ItemKey;
|
||||
[Export] public StringName ItemKey;
|
||||
|
||||
#region Bullet spawn data
|
||||
|
||||
[Export] public string AmmoKey;
|
||||
[Export] public StringName AmmoKey;
|
||||
//[Export] public float BulletSpeed = 100f;
|
||||
//[Export] public float BulletDamage = 1;
|
||||
//[Export] public float LifeTime = 10f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue