Resource text format

This commit is contained in:
don-tnowe 2023-01-23 14:01:50 +02:00
parent 91e006571d
commit 9864cbae7d
12 changed files with 14 additions and 14 deletions

View File

@ -1,4 +1,4 @@
[gd_resource type="Resource" load_steps=3 format=3 uid="uid://df0gymb6kab1q"]
[gd_resource type="Resource" load_steps=3 format=3 uid="uid://8m6y2o6tbmpn"]
[ext_resource type="Texture2D" uid="uid://butx3l1jdcgcc" path="res://example/Random Upgrades/icons/all_icons/all_icons_6.tres" id="1_utkae"]
[ext_resource type="Script" path="res://example/Random Upgrades/upgrade_data.gd" id="2"]
@ -10,11 +10,11 @@ color1 = Color(1, 1, 1, 1)
max_duplicates = 9
tags = ["elemental"]
type = 1
attributes = [ 1 ]
attributes = [1]
icon = ExtResource("1_utkae")
color2 = Color(0.964706, 0.298039, 0.298039, 1)
base_weight = 10.0
is_notable = false
is_notable = true
multiplier_per_tag = ""
multiplier_if_tag_present = ""
multiplier_if_tag_not_present = "elemental 0"

View File

@ -14,7 +14,7 @@ attributes = [2]
icon = ExtResource("1")
color2 = Color(0.129412, 1, 0.243137, 1)
base_weight = 10.0
is_notable = false
is_notable = true
multiplier_per_tag = "strength 1.5 melee 2.0"
multiplier_if_tag_present = ""
multiplier_if_tag_not_present = ""

View File

@ -1,4 +1,4 @@
[gd_resource type="Resource" load_steps=3 format=3 uid="uid://dmrklxbnskel8"]
[gd_resource type="Resource" load_steps=3 format=3 uid="uid://2totlbwc40e8"]
[ext_resource type="Texture2D" uid="uid://djjpa8lluue1g" path="res://example/Random Upgrades/icons/all_icons/all_icons_5.tres" id="1_ardng"]
[ext_resource type="Script" path="res://example/Random Upgrades/upgrade_data.gd" id="2"]

View File

@ -14,7 +14,7 @@ attributes = [3]
icon = ExtResource("1_prpsx")
color2 = Color(0.964706, 0.298039, 0.298039, 1)
base_weight = 10.0
is_notable = false
is_notable = true
multiplier_per_tag = ""
multiplier_if_tag_present = ""
multiplier_if_tag_not_present = "aoe 0"

View File

@ -10,7 +10,7 @@ color1 = Color(1, 1, 1, 1)
max_duplicates = 9
tags = ["strength"]
type = 1
attributes = [ 0 ]
attributes = [0]
icon = ExtResource("1")
color2 = Color(0.980392, 0.584314, 0.203922, 1)
base_weight = 10.0

View File

@ -10,7 +10,7 @@ color1 = Color(0.635294, 0.760784, 1, 1)
max_duplicates = 1
tags = ["weapon", "magic", "elemental"]
type = 0
attributes = [ 1, 2 ]
attributes = [1, 2]
icon = ExtResource("1_xleln")
color2 = Color(0.189457, 0.452246, 0.902344, 1)
base_weight = 10.0

View File

@ -11,7 +11,7 @@ color1 = Color(0.635294, 0.760784, 1, 1)
max_duplicates = 1
tags = ["weapon", "magic", "projectile", "legendary"]
type = 0
attributes = [ 1, 1, 1, 3 ]
attributes = [1, 1, 1, 3]
icon = ExtResource("2_eyyv1")
custom_scene = ExtResource("2")
color2 = Color(0.407843, 0.192157, 0.827451, 1)

View File

@ -10,7 +10,7 @@ color1 = Color(0.635294, 0.760784, 1, 1)
max_duplicates = 1
tags = ["weapon", "strength", "projectile"]
type = 0
attributes = [ 0, 3 ]
attributes = [0, 3]
icon = ExtResource("1")
color2 = Color(0.980392, 0.584314, 0.203922, 1)
base_weight = 10.0

View File

@ -10,7 +10,7 @@ color1 = Color(0.635294, 0.760784, 1, 1)
max_duplicates = 1
tags = ["weapon", "magic", "projectile", "elemental"]
type = 0
attributes = [ 1, 2 ]
attributes = [1, 2]
icon = ExtResource("1")
color2 = Color(0.189457, 0.452246, 0.902344, 1)
base_weight = 10.0

View File

@ -11,7 +11,7 @@ color1 = Color(0.635294, 0.760784, 1, 1)
max_duplicates = 1
tags = ["weapon", "strength", "melee", "legendary"]
type = 0
attributes = [ 0, 0, 0, 2 ]
attributes = [0, 0, 0, 2]
icon = ExtResource("2_kfnh0")
custom_scene = ExtResource("2")
color2 = Color(0.992157, 0.941176, 0.2, 1)

View File

@ -10,7 +10,7 @@ color1 = Color(0.635294, 0.760784, 1, 1)
max_duplicates = 1
tags = ["weapon", "magic", "elemental"]
type = 0
attributes = [ 1, 3 ]
attributes = [1, 3]
icon = ExtResource("1")
color2 = Color(0.189457, 0.452246, 0.902344, 1)
base_weight = 10.0

View File

@ -10,7 +10,7 @@ color1 = Color(0.635294, 0.760784, 1, 1)
max_duplicates = 1
tags = ["weapon", "strength", "melee"]
type = 0
attributes = [ 0, 3 ]
attributes = [0, 3]
icon = ExtResource("1")
color2 = Color(0.980392, 0.584314, 0.203922, 1)
base_weight = 10.0