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

34 lines
785 B
GDScript3
Raw Permalink Normal View History

tool
extends Resource
2022-10-03 19:16:14 +02:00
enum Attributes {
Strength,
Magic,
Endurance,
Agility,
Luck,
}
2022-10-27 17:24:25 +02:00
enum Type {
Weapon,
Passive,
Mastery,
}
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-10-27 17:24:25 +02:00
export(Type) 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 := ";"