Armazon/scripts/spawning/propinfo.gd

8 lines
231 B
GDScript

extends Resource
class_name PropInfo
@export var name: String = "Prop"
@export_multiline var description: String = "Prop description"
@export_range(0.01,5.0,0.01) var spawn_weight: float = 1.0
@export var prop: PackedScene = null