Initial commit
This commit is contained in:
4
resources/resource_definitions/dl_tileset.gd
Normal file
4
resources/resource_definitions/dl_tileset.gd
Normal file
@@ -0,0 +1,4 @@
|
||||
class_name DLTileset extends Resource
|
||||
|
||||
@export var floor_tile_coords: Vector2i
|
||||
@export var wall_tile_coords: Vector2i
|
||||
1
resources/resource_definitions/dl_tileset.gd.uid
Normal file
1
resources/resource_definitions/dl_tileset.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://c6701vy8h5rfx
|
||||
12
resources/resource_definitions/unit_allegiance.gd
Normal file
12
resources/resource_definitions/unit_allegiance.gd
Normal file
@@ -0,0 +1,12 @@
|
||||
class_name UnitAllegiance extends Resource
|
||||
|
||||
enum AllegianceType {
|
||||
PLAYER,
|
||||
ENEMY,
|
||||
PLAYER_ALLY,
|
||||
ENEMY_ALLY,
|
||||
UNAFFILIATED
|
||||
}
|
||||
|
||||
@export var type: AllegianceType
|
||||
@export var color: Color
|
||||
1
resources/resource_definitions/unit_allegiance.gd.uid
Normal file
1
resources/resource_definitions/unit_allegiance.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://bhglsexm8dtpj
|
||||
3
resources/resource_definitions/unit_info.gd
Normal file
3
resources/resource_definitions/unit_info.gd
Normal file
@@ -0,0 +1,3 @@
|
||||
class_name UnitInfo extends Resource
|
||||
|
||||
@export var name: String = "Unit"
|
||||
1
resources/resource_definitions/unit_info.gd.uid
Normal file
1
resources/resource_definitions/unit_info.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://d37ulss2k0bq5
|
||||
17
resources/resource_definitions/unit_stats.gd
Normal file
17
resources/resource_definitions/unit_stats.gd
Normal file
@@ -0,0 +1,17 @@
|
||||
class_name UnitStats extends Resource
|
||||
|
||||
@export var max_hp: int = 10
|
||||
@export var current_hp: int
|
||||
@export var phys_atk: int = 1
|
||||
@export var phys_def: int = 1
|
||||
@export var magic_atk: int = 0
|
||||
@export var magic_def: int = 0
|
||||
@export var hit: int = 85
|
||||
@export var atk_range: int = 1
|
||||
@export var spd: int = 1
|
||||
@export var eva: int = 1
|
||||
@export var lck: int = 1
|
||||
|
||||
func _init(max_hp: int = 10) -> void:
|
||||
self.max_hp = max_hp
|
||||
current_hp = max_hp
|
||||
1
resources/resource_definitions/unit_stats.gd.uid
Normal file
1
resources/resource_definitions/unit_stats.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://cydoey8a8nmb8
|
||||
Reference in New Issue
Block a user