2022-09-19 23:10:57 +02:00
|
|
|
tool
|
|
|
|
class_name DynamicWheelItem
|
|
|
|
extends Resource
|
|
|
|
|
2022-09-21 22:09:50 +02:00
|
|
|
export var color1 := Color.white
|
2022-09-19 23:10:57 +02:00
|
|
|
export var max_duplicates := 0
|
|
|
|
export var tags := "tag_1 tag_2 tag_3"
|
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
|
2022-09-22 18:18:09 +02:00
|
|
|
export var tag_delimeter := " "
|
2022-09-19 23:10:57 +02:00
|
|
|
export var base_weight := 10.0
|
2022-09-21 22:09:50 +02:00
|
|
|
export var is_notable := false
|
2022-09-19 23:10:57 +02:00
|
|
|
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 := ";"
|
2022-09-19 23:10:57 +02:00
|
|
|
|
|
|
|
var is_cached := false
|
|
|
|
var tag_array := []
|
|
|
|
var requires_one_of_tags_array := []
|
|
|
|
var multiplier_per_tag_dict := {}
|
|
|
|
var multiplier_if_tag_present_dict := {}
|
|
|
|
var multiplier_if_tag_not_present_dict := {}
|
|
|
|
var max_tags_present_dict := {}
|