init commit
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
using Godot;
|
||||
|
||||
public partial class ItemStats : Node {
|
||||
|
||||
// Item 0
|
||||
public StatItem[] stats = {
|
||||
new StatItem{
|
||||
ItemName = "Sniper",
|
||||
InventorySize = new Vector2I(1, 4),
|
||||
Weight = 400,
|
||||
IsQuantityItem = false,
|
||||
ToolPath = "res://Prefab/Tools/Sniper.tscn",
|
||||
ToolDamage = 50
|
||||
},
|
||||
|
||||
// Item 1
|
||||
new StatItem{
|
||||
|
||||
},
|
||||
|
||||
// Item 2
|
||||
new StatItem{
|
||||
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
public class StatItem {
|
||||
public string ItemName {get; set;} = "";
|
||||
public Vector2I InventorySize {get; set;}
|
||||
public int Weight {get; set;}
|
||||
public bool IsQuantityItem {get; set;}
|
||||
public int MaxQuantity {get; set;}
|
||||
public string ToolPath {get; set;}
|
||||
public int ToolDamage { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user