Cards
This commit is contained in:
parent
01457fcb1f
commit
621bcf75cb
10 changed files with 164 additions and 0 deletions
12
cards/card-resource.gd
Normal file
12
cards/card-resource.gd
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
extends Resource
|
||||
|
||||
class_name CardResource
|
||||
|
||||
@export_group("Gameplay")
|
||||
@export_range(0,1,1,"or_greater","prefer_slider") var cost: int
|
||||
@export var spawned_unit: PackedScene
|
||||
|
||||
@export_group("Visual")
|
||||
@export var preview: Texture2D
|
||||
@export var experimental: bool = false
|
||||
@export var background: Texture2D = preload("uid://c6akwwb58fidc")
|
||||
Loading…
Add table
Add a link
Reference in a new issue