godot-resources-as-sheets-p.../example/Random Upgrades/upgrade_data.gd

28 lines
769 B
GDScript3
Raw Normal View History

tool
extends Resource
2022-10-03 19:16:14 +02:00
enum Attributes {
Strength,
Magic,
Endurance,
Agility,
Luck,
}
2022-09-21 22:09:50 +02:00
export var color1 := Color.white
export var max_duplicates := 0
export(Array, String) var tags : Array
2022-09-24 12:47:12 +02:00
export(int, "Weapon", "Passive", "Mastery") var type := 0
2022-10-03 19:16:14 +02:00
export(Array, Attributes) var attributes
2022-09-22 18:18:09 +02:00
export var icon : Texture
export var custom_scene : PackedScene
2022-09-21 22:09:50 +02:00
export var color2 := Color.white
export var base_weight := 10.0
2022-09-21 22:09:50 +02:00
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 := ""
2022-09-22 18:18:09 +02:00
export var list_item_delimeter := " "
export var list_row_delimeter := ";"