godot-resources-as-sheets-p.../example/Random Upgrades/upgrade_data.gd
2022-09-24 13:47:12 +03:00

19 lines
639 B
GDScript

tool
extends Resource
export var color1 := Color.white
export var max_duplicates := 0
export var tags : Array
export(int, "Weapon", "Passive", "Mastery") var type := 0
export var icon : Texture
export var custom_scene : PackedScene
export var color2 := Color.white
export var base_weight := 10.0
export var is_notable := false
export(String, MULTILINE) var multiplier_per_tag := ""
export(String, MULTILINE) var multiplier_if_tag_present := ""
export(String, MULTILINE) var multiplier_if_tag_not_present := ""
export(String, MULTILINE) var max_tags_present := ""
export var list_item_delimeter := " "
export var list_row_delimeter := ";"