cave-of-dreams/scripts/marker/procgen_spawn.gd

11 lines
321 B
GDScript3
Raw Normal View History

extends Node3D
## The spawn class to use when spawning enemies. Higher priority than spawn_enemy.
@export var spawn_class = ""
## The enemy to spawn.
@export var spawn_enemy = "dreamer"
## The properties to apply to an enemy. Use strings for keys, and any value for attributes.
@export var properties: Dictionary = {}