Work on item display windows and variant coloring for portraits and sprites.
@@ -1 +1,5 @@
|
|||||||
class_name Accessory extends Equipment
|
class_name Accessory extends Equipment
|
||||||
|
|
||||||
|
|
||||||
|
func item_type_name() -> String:
|
||||||
|
return "Accessory"
|
||||||
|
|||||||
@@ -1 +1,5 @@
|
|||||||
class_name Armor extends Equipment
|
class_name Armor extends Equipment
|
||||||
|
|
||||||
|
func item_type_name() -> String:
|
||||||
|
return "Armor"
|
||||||
|
#TODO: Add different armor classes
|
||||||
|
|||||||
@@ -1 +1,5 @@
|
|||||||
extends Item
|
class_name Blueprint extends Item
|
||||||
|
|
||||||
|
|
||||||
|
func item_type_name() -> String:
|
||||||
|
return "Blueprint"
|
||||||
|
|||||||
@@ -1 +1,4 @@
|
|||||||
class_name Consumable extends Item
|
class_name Consumable extends Item
|
||||||
|
|
||||||
|
func item_type_name() -> String:
|
||||||
|
return "Consumable"
|
||||||
|
|||||||
@@ -1 +1,4 @@
|
|||||||
class_name Equipment extends Item
|
class_name Equipment extends Item
|
||||||
|
|
||||||
|
func item_type_name() -> String:
|
||||||
|
return "Equipment"
|
||||||
|
|||||||
@@ -8,3 +8,7 @@ class_name Item extends Resource
|
|||||||
@export var max_quantity : int = 1
|
@export var max_quantity : int = 1
|
||||||
@export var varies : bool
|
@export var varies : bool
|
||||||
@export var per : bool
|
@export var per : bool
|
||||||
|
@export var grade : String = "F"
|
||||||
|
|
||||||
|
func item_type_name() -> String:
|
||||||
|
return "Item"
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
script = ExtResource("1_qoils")
|
script = ExtResource("1_qoils")
|
||||||
min_damage = 1
|
min_damage = 1
|
||||||
max_damage = 2
|
max_damage = 2
|
||||||
|
type = 2
|
||||||
image = ExtResource("1_fpnr6")
|
image = ExtResource("1_fpnr6")
|
||||||
brief = "A humble weapon for a humble beginning."
|
brief = "A humble weapon for a humble beginning."
|
||||||
metadata/_custom_type_script = "uid://bgn8ipx38g28o"
|
metadata/_custom_type_script = "uid://bgn8ipx38g28o"
|
||||||
|
|||||||
@@ -1 +1,5 @@
|
|||||||
extends Item
|
class_name Recipe extends Item
|
||||||
|
|
||||||
|
|
||||||
|
func item_type_name() -> String:
|
||||||
|
return "Recipe"
|
||||||
|
|||||||
@@ -1 +1,6 @@
|
|||||||
extends Item
|
class_name ResourceItem extends Item
|
||||||
|
|
||||||
|
|
||||||
|
func item_type_name() -> String:
|
||||||
|
return "Resource"
|
||||||
|
#TODO: Come up with a list of possible resource types
|
||||||
|
|||||||
@@ -1,4 +1,32 @@
|
|||||||
class_name Weapon extends Equipment
|
class_name Weapon extends Equipment
|
||||||
|
|
||||||
|
enum Type{
|
||||||
|
FIST,
|
||||||
|
SWORD,
|
||||||
|
SPEAR,
|
||||||
|
STAFF,
|
||||||
|
DAGGER,
|
||||||
|
HAMMER,
|
||||||
|
WHIP,
|
||||||
|
|
||||||
|
}
|
||||||
@export var min_damage : int
|
@export var min_damage : int
|
||||||
@export var max_damage : int
|
@export var max_damage : int
|
||||||
|
@export var type : Type
|
||||||
|
|
||||||
|
func item_type_name() -> String:
|
||||||
|
return "Weapon (%s)" % weapon_type_name()
|
||||||
|
|
||||||
|
func primary_stat() -> String:
|
||||||
|
return "Deals %d-%d base damage." % [min_damage, max_damage]
|
||||||
|
|
||||||
|
func weapon_type_name() -> String:
|
||||||
|
match(type):
|
||||||
|
Type.FIST: return "Fist"
|
||||||
|
Type.SWORD: return "Sword"
|
||||||
|
Type.SPEAR: return "Spear"
|
||||||
|
Type.STAFF: return ""
|
||||||
|
Type.DAGGER: return ""
|
||||||
|
Type.HAMMER: return ""
|
||||||
|
Type.WHIP: return ""
|
||||||
|
return "Unknown"
|
||||||
|
|||||||
BIN
external/Test Portrait/Farmer_F/body.png
vendored
Normal file
|
After Width: | Height: | Size: 6.2 KiB |
40
external/Test Portrait/Farmer_F/body.png.import
vendored
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://crrd8mpcuync2"
|
||||||
|
path="res://.godot/imported/body.png-5a897720f599ec630383f1f3dd8e9e9e.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://external/Test Portrait/Farmer_F/body.png"
|
||||||
|
dest_files=["res://.godot/imported/body.png-5a897720f599ec630383f1f3dd8e9e9e.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
BIN
external/Test Portrait/Farmer_F/brow_shadow-1.png
vendored
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
40
external/Test Portrait/Farmer_F/brow_shadow-1.png.import
vendored
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://pp5ssn5m2n3i"
|
||||||
|
path="res://.godot/imported/brow_shadow-1.png-94d923d93f9bc0db18f7b963da1021dd.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://external/Test Portrait/Farmer_F/brow_shadow-1.png"
|
||||||
|
dest_files=["res://.godot/imported/brow_shadow-1.png-94d923d93f9bc0db18f7b963da1021dd.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
BIN
external/Test Portrait/Farmer_F/brow_shadow-2.png
vendored
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
40
external/Test Portrait/Farmer_F/brow_shadow-2.png.import
vendored
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://x4e86o28672u"
|
||||||
|
path="res://.godot/imported/brow_shadow-2.png-85a8d07465b9b109e67ad99a37d690d1.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://external/Test Portrait/Farmer_F/brow_shadow-2.png"
|
||||||
|
dest_files=["res://.godot/imported/brow_shadow-2.png-85a8d07465b9b109e67ad99a37d690d1.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
BIN
external/Test Portrait/Farmer_F/brow_shadow.png
vendored
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
40
external/Test Portrait/Farmer_F/brow_shadow.png.import
vendored
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://sv7bxo8a12i6"
|
||||||
|
path="res://.godot/imported/brow_shadow.png-e4497bbbff21d0b56dc81b07de4f06bc.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://external/Test Portrait/Farmer_F/brow_shadow.png"
|
||||||
|
dest_files=["res://.godot/imported/brow_shadow.png-e4497bbbff21d0b56dc81b07de4f06bc.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
BIN
external/Test Portrait/Farmer_F/brows-1.png
vendored
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
40
external/Test Portrait/Farmer_F/brows-1.png.import
vendored
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://tpg08bgn2on7"
|
||||||
|
path="res://.godot/imported/brows-1.png-70092c4bb56529f3cdeb7b51925eb071.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://external/Test Portrait/Farmer_F/brows-1.png"
|
||||||
|
dest_files=["res://.godot/imported/brows-1.png-70092c4bb56529f3cdeb7b51925eb071.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
BIN
external/Test Portrait/Farmer_F/brows-2.png
vendored
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
40
external/Test Portrait/Farmer_F/brows-2.png.import
vendored
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://brmta1rtiau4a"
|
||||||
|
path="res://.godot/imported/brows-2.png-227c9708d0b7fde57b1ef42021508fcf.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://external/Test Portrait/Farmer_F/brows-2.png"
|
||||||
|
dest_files=["res://.godot/imported/brows-2.png-227c9708d0b7fde57b1ef42021508fcf.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
BIN
external/Test Portrait/Farmer_F/composite.png
vendored
Normal file
|
After Width: | Height: | Size: 17 KiB |
40
external/Test Portrait/Farmer_F/composite.png.import
vendored
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://c3wwe6r000gpq"
|
||||||
|
path="res://.godot/imported/composite.png-b2c2e474fe243b72bd3471af031774d6.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://external/Test Portrait/Farmer_F/composite.png"
|
||||||
|
dest_files=["res://.godot/imported/composite.png-b2c2e474fe243b72bd3471af031774d6.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
BIN
external/Test Portrait/Farmer_F/ear.png
vendored
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
40
external/Test Portrait/Farmer_F/ear.png.import
vendored
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://caow8dqiog7j4"
|
||||||
|
path="res://.godot/imported/ear.png-a1b457892f7236464123f2229af36695.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://external/Test Portrait/Farmer_F/ear.png"
|
||||||
|
dest_files=["res://.godot/imported/ear.png-a1b457892f7236464123f2229af36695.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
BIN
external/Test Portrait/Farmer_F/eye-white-1.png
vendored
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
40
external/Test Portrait/Farmer_F/eye-white-1.png.import
vendored
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://csp7xbtu0tpn7"
|
||||||
|
path="res://.godot/imported/eye-white-1.png-fb75b817d294c00ebeee3e6996a2c02e.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://external/Test Portrait/Farmer_F/eye-white-1.png"
|
||||||
|
dest_files=["res://.godot/imported/eye-white-1.png-fb75b817d294c00ebeee3e6996a2c02e.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
BIN
external/Test Portrait/Farmer_F/eyes-iris-1.png
vendored
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
40
external/Test Portrait/Farmer_F/eyes-iris-1.png.import
vendored
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://mygmunn3voie"
|
||||||
|
path="res://.godot/imported/eyes-iris-1.png-3c96067ab402ea99f8e1b1b7db594f4c.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://external/Test Portrait/Farmer_F/eyes-iris-1.png"
|
||||||
|
dest_files=["res://.godot/imported/eyes-iris-1.png-3c96067ab402ea99f8e1b1b7db594f4c.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
BIN
external/Test Portrait/Farmer_F/eyes-lashes-1.png
vendored
Normal file
|
After Width: | Height: | Size: 5.0 KiB |
40
external/Test Portrait/Farmer_F/eyes-lashes-1.png.import
vendored
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://wnkr20dtf734"
|
||||||
|
path="res://.godot/imported/eyes-lashes-1.png-8a4535f7647af11ff99b165ee021e8cc.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://external/Test Portrait/Farmer_F/eyes-lashes-1.png"
|
||||||
|
dest_files=["res://.godot/imported/eyes-lashes-1.png-8a4535f7647af11ff99b165ee021e8cc.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
BIN
external/Test Portrait/Farmer_F/eyes.png
vendored
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
40
external/Test Portrait/Farmer_F/eyes.png.import
vendored
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dd063tm4qo5nc"
|
||||||
|
path="res://.godot/imported/eyes.png-1384a95ac331738bfe48af30a8953f10.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://external/Test Portrait/Farmer_F/eyes.png"
|
||||||
|
dest_files=["res://.godot/imported/eyes.png-1384a95ac331738bfe48af30a8953f10.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
BIN
external/Test Portrait/Farmer_F/eyes_shadow.png
vendored
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
40
external/Test Portrait/Farmer_F/eyes_shadow.png.import
vendored
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://li44lgsa0ky"
|
||||||
|
path="res://.godot/imported/eyes_shadow.png-639516c9b7d6a71a22fcd4597236a89e.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://external/Test Portrait/Farmer_F/eyes_shadow.png"
|
||||||
|
dest_files=["res://.godot/imported/eyes_shadow.png-639516c9b7d6a71a22fcd4597236a89e.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
BIN
external/Test Portrait/Farmer_F/hair_bg.png
vendored
Normal file
|
After Width: | Height: | Size: 5.8 KiB |
40
external/Test Portrait/Farmer_F/hair_bg.png.import
vendored
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://can8npg0ufr3f"
|
||||||
|
path="res://.godot/imported/hair_bg.png-07f942d8008a0d2581909922002bbbe2.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://external/Test Portrait/Farmer_F/hair_bg.png"
|
||||||
|
dest_files=["res://.godot/imported/hair_bg.png-07f942d8008a0d2581909922002bbbe2.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
BIN
external/Test Portrait/Farmer_F/hair_fg.png
vendored
Normal file
|
After Width: | Height: | Size: 8.0 KiB |
40
external/Test Portrait/Farmer_F/hair_fg.png.import
vendored
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://vt17lekvchdg"
|
||||||
|
path="res://.godot/imported/hair_fg.png-9f5c6bb27fb0349d9ddfba99f87aa5c6.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://external/Test Portrait/Farmer_F/hair_fg.png"
|
||||||
|
dest_files=["res://.godot/imported/hair_fg.png-9f5c6bb27fb0349d9ddfba99f87aa5c6.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
BIN
external/Test Portrait/Farmer_F/hair_fg_shadow.png
vendored
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
40
external/Test Portrait/Farmer_F/hair_fg_shadow.png.import
vendored
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://cru775pghpate"
|
||||||
|
path="res://.godot/imported/hair_fg_shadow.png-41de10e26ae2147aace92ba197b28075.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://external/Test Portrait/Farmer_F/hair_fg_shadow.png"
|
||||||
|
dest_files=["res://.godot/imported/hair_fg_shadow.png-41de10e26ae2147aace92ba197b28075.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
BIN
external/Test Portrait/Farmer_F/hat-bg.png
vendored
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
40
external/Test Portrait/Farmer_F/hat-bg.png.import
vendored
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dj6fagfp2sbrx"
|
||||||
|
path="res://.godot/imported/hat-bg.png-00e20fcd79ddb550d12459624be7d9b1.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://external/Test Portrait/Farmer_F/hat-bg.png"
|
||||||
|
dest_files=["res://.godot/imported/hat-bg.png-00e20fcd79ddb550d12459624be7d9b1.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
BIN
external/Test Portrait/Farmer_F/hat.png
vendored
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
40
external/Test Portrait/Farmer_F/hat.png.import
vendored
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://b303qa76o5r1m"
|
||||||
|
path="res://.godot/imported/hat.png-9bb6fa9d1f7f7503ee26b1749cdf7c0a.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://external/Test Portrait/Farmer_F/hat.png"
|
||||||
|
dest_files=["res://.godot/imported/hat.png-9bb6fa9d1f7f7503ee26b1749cdf7c0a.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
BIN
external/Test Portrait/Farmer_F/hat_fg.png
vendored
Normal file
|
After Width: | Height: | Size: 14 KiB |
40
external/Test Portrait/Farmer_F/hat_fg.png.import
vendored
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dyeu4kwwnxjn5"
|
||||||
|
path="res://.godot/imported/hat_fg.png-e2cae14f649780ea2aba38b34358b587.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://external/Test Portrait/Farmer_F/hat_fg.png"
|
||||||
|
dest_files=["res://.godot/imported/hat_fg.png-e2cae14f649780ea2aba38b34358b587.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
BIN
external/Test Portrait/Farmer_F/head.png
vendored
Normal file
|
After Width: | Height: | Size: 5.0 KiB |
40
external/Test Portrait/Farmer_F/head.png.import
vendored
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dbdjaye6srxhx"
|
||||||
|
path="res://.godot/imported/head.png-df46fa0b8e2741bbf0fad9b3a03fedea.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://external/Test Portrait/Farmer_F/head.png"
|
||||||
|
dest_files=["res://.godot/imported/head.png-df46fa0b8e2741bbf0fad9b3a03fedea.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
BIN
external/Test Portrait/Farmer_F/portrait.clip
vendored
Normal file
8
external/Test Portrait/blonde.tres
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
[gd_resource type="GradientTexture1D" load_steps=2 format=3 uid="uid://cmi82onbn37hi"]
|
||||||
|
|
||||||
|
[sub_resource type="Gradient" id="Gradient_s3ye8"]
|
||||||
|
offsets = PackedFloat32Array(0, 0.032119915, 0.4025696, 0.89721626, 1)
|
||||||
|
colors = PackedColorArray(0.5686275, 0.45490196, 0.17254902, 1, 0.69411767, 0.5647059, 0.11764706, 1, 0.9490196, 0.7882353, 0.22352941, 1, 1, 0.87058824, 0.1882353, 1, 1, 1, 1, 1)
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
gradient = SubResource("Gradient_s3ye8")
|
||||||
5
external/Test Portrait/blue-eyes.tres
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
[gd_resource type="Gradient" format=3 uid="uid://bdpm22bjpfwpa"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
offsets = PackedFloat32Array(0, 0.25695932, 0.54817986, 0.69164884, 1)
|
||||||
|
colors = PackedColorArray(0, 0, 0, 1, 0.0012908186, 0.102164544, 0.49609822, 1, 0.07499155, 0.16444942, 0.46347773, 1, 0.2880286, 0.45501614, 0.9395664, 1, 0.06879827, 0.06879828, 0.06879828, 1)
|
||||||
8
external/Test Portrait/blue_hair.tres
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
[gd_resource type="GradientTexture1D" load_steps=2 format=3 uid="uid://c8cvo15p3vosu"]
|
||||||
|
|
||||||
|
[sub_resource type="Gradient" id="Gradient_svc3h"]
|
||||||
|
offsets = PackedFloat32Array(0, 0.25695932, 0.54817986, 0.69164884, 1)
|
||||||
|
colors = PackedColorArray(0, 0, 0, 1, 0.0012908186, 0.102164544, 0.49609822, 1, 0.07499155, 0.16444942, 0.46347773, 1, 0.2880286, 0.45501614, 0.9395664, 1, 0.06879827, 0.06879828, 0.06879828, 1)
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
gradient = SubResource("Gradient_svc3h")
|
||||||
5
external/Test Portrait/brown-skin.tres
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
[gd_resource type="Gradient" format=3 uid="uid://c14ufqed7o6fi"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
offsets = PackedFloat32Array(0, 0.33333334, 0.7829978)
|
||||||
|
colors = PackedColorArray(0.36862746, 0, 1, 1, 0.66, 0.30359998, 0.30359998, 1, 0.6997569, 0.41199392, 0.19485885, 1)
|
||||||
8
external/Test Portrait/dark-hair.tres
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
[gd_resource type="GradientTexture1D" load_steps=2 format=3 uid="uid://s2ok31sncevx"]
|
||||||
|
|
||||||
|
[sub_resource type="Gradient" id="Gradient_s3ye8"]
|
||||||
|
offsets = PackedFloat32Array(0, 0.6465324, 1)
|
||||||
|
colors = PackedColorArray(0, 0, 0, 1, 0.9485459, 0.9485459, 0.9485459, 1, 1, 1, 1, 1)
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
gradient = SubResource("Gradient_s3ye8")
|
||||||
5
external/Test Portrait/dark-skin.tres
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
[gd_resource type="Gradient" format=3 uid="uid://doghspt7i0yml"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
offsets = PackedFloat32Array(0, 0.21700224, 0.3914989, 0.57270694, 1)
|
||||||
|
colors = PackedColorArray(0, 0, 0, 1, 0, 0, 0, 1, 0.29954743, 0.29954746, 0.2995473, 1, 0.26657522, 0.2665752, 0.2665752, 1, 1, 1, 1, 1)
|
||||||
8
external/Test Portrait/fair-eyes.tres
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
[gd_resource type="GradientTexture1D" load_steps=2 format=3 uid="uid://bkdvsld7ytk2"]
|
||||||
|
|
||||||
|
[sub_resource type="Gradient" id="Gradient_s3ye8"]
|
||||||
|
offsets = PackedFloat32Array(0, 0.6465324, 1)
|
||||||
|
colors = PackedColorArray(0, 0, 0, 1, 0.9485459, 0.9485459, 0.9485459, 1, 1, 1, 1, 1)
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
gradient = SubResource("Gradient_s3ye8")
|
||||||
8
external/Test Portrait/fair-hair.tres
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
[gd_resource type="GradientTexture1D" load_steps=2 format=3 uid="uid://dcjn7ijl4o78i"]
|
||||||
|
|
||||||
|
[sub_resource type="Gradient" id="Gradient_s3ye8"]
|
||||||
|
offsets = PackedFloat32Array(0, 0.6465324, 1)
|
||||||
|
colors = PackedColorArray(0, 0, 0, 1, 0.9485459, 0.9485459, 0.9485459, 1, 1, 1, 1, 1)
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
gradient = SubResource("Gradient_s3ye8")
|
||||||
5
external/Test Portrait/fair-skin.tres
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
[gd_resource type="Gradient" format=3 uid="uid://c5joet51774ii"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
offsets = PackedFloat32Array(0, 0.40715882, 0.557047, 0.70469797, 1)
|
||||||
|
colors = PackedColorArray(0, 0, 0, 1, 0.58216834, 0.58216834, 0.58216834, 1, 0.67423224, 0.67423224, 0.67423224, 1, 0.8277405, 0.8277405, 0.8277405, 1, 1, 1, 1, 1)
|
||||||
5
external/Test Portrait/mid-skin.tres
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
[gd_resource type="Gradient" format=3 uid="uid://d1654yf47rudx"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
offsets = PackedFloat32Array(0.13646533, 0.5950783, 0.65324384)
|
||||||
|
colors = PackedColorArray(0.57254905, 0.39607844, 0.28627452, 1, 0.65, 0.42249995, 0.19500001, 1, 0.94, 0.78772, 0.6016, 1)
|
||||||
8
external/Test Portrait/red-hair.tres
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
[gd_resource type="GradientTexture1D" load_steps=2 format=3 uid="uid://0dwdi7m62trg"]
|
||||||
|
|
||||||
|
[sub_resource type="Gradient" id="Gradient_s3ye8"]
|
||||||
|
offsets = PackedFloat32Array(0, 0.032119915, 0.4025696, 0.89721626, 1)
|
||||||
|
colors = PackedColorArray(0.5686275, 0.45490196, 0.17254902, 1, 0.69411767, 0.5647059, 0.11764706, 1, 0.9490196, 0.7882353, 0.22352941, 1, 1, 0.87058824, 0.1882353, 1, 1, 1, 1, 1)
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
gradient = SubResource("Gradient_s3ye8")
|
||||||
10
external/Test Portrait/tri-eyes.tres
vendored
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
[gd_resource type="ShaderMaterial" load_steps=4 format=3 uid="uid://bjrc8g3mjxh45"]
|
||||||
|
|
||||||
|
[ext_resource type="Shader" uid="uid://dbcokq5fn2les" path="res://shaders/trigradient.tres" id="1_1vbiw"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://c8cvo15p3vosu" path="res://external/Test Portrait/blue_hair.tres" id="2_1vbiw"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bkdvsld7ytk2" path="res://external/Test Portrait/fair-eyes.tres" id="3_s3g4c"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
shader = ExtResource("1_1vbiw")
|
||||||
|
shader_parameter/Color_Gradient = ExtResource("2_1vbiw")
|
||||||
|
shader_parameter/Luminosity_Gradient = ExtResource("3_s3g4c")
|
||||||
10
external/Test Portrait/tri-eyes2.tres
vendored
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
[gd_resource type="ShaderMaterial" load_steps=4 format=3 uid="uid://btylsf0bv2b57"]
|
||||||
|
|
||||||
|
[ext_resource type="Shader" uid="uid://dbcokq5fn2les" path="res://shaders/trigradient.tres" id="1_fetdk"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://c8cvo15p3vosu" path="res://external/Test Portrait/blue_hair.tres" id="2_n5pn1"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bkdvsld7ytk2" path="res://external/Test Portrait/fair-eyes.tres" id="3_kr14x"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
shader = ExtResource("1_fetdk")
|
||||||
|
shader_parameter/Color_Gradient = ExtResource("2_n5pn1")
|
||||||
|
shader_parameter/Luminosity_Gradient = ExtResource("3_kr14x")
|
||||||
10
external/Test Portrait/tri-hair.tres
vendored
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
[gd_resource type="ShaderMaterial" load_steps=4 format=3 uid="uid://ca43sapn4p61w"]
|
||||||
|
|
||||||
|
[ext_resource type="Shader" uid="uid://dbcokq5fn2les" path="res://shaders/trigradient.tres" id="1_sifog"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://0dwdi7m62trg" path="res://external/Test Portrait/red-hair.tres" id="2_2qy1r"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://s2ok31sncevx" path="res://external/Test Portrait/dark-hair.tres" id="3_5udns"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
shader = ExtResource("1_sifog")
|
||||||
|
shader_parameter/Color_Gradient = ExtResource("2_2qy1r")
|
||||||
|
shader_parameter/Luminosity_Gradient = ExtResource("3_5udns")
|
||||||
10
external/Test Portrait/tri-hair2.tres
vendored
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
[gd_resource type="ShaderMaterial" load_steps=4 format=3 uid="uid://b4uqjr4midqtn"]
|
||||||
|
|
||||||
|
[ext_resource type="Shader" uid="uid://dbcokq5fn2les" path="res://shaders/trigradient.tres" id="1_vrnn4"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://0dwdi7m62trg" path="res://external/Test Portrait/red-hair.tres" id="2_3qnj1"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://s2ok31sncevx" path="res://external/Test Portrait/dark-hair.tres" id="3_5xyld"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
shader = ExtResource("1_vrnn4")
|
||||||
|
shader_parameter/Color_Gradient = ExtResource("2_3qnj1")
|
||||||
|
shader_parameter/Luminosity_Gradient = ExtResource("3_5xyld")
|
||||||
16
external/Test Portrait/tri-skin.tres
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
[gd_resource type="ShaderMaterial" load_steps=6 format=3 uid="uid://btx1o4kx78cbx"]
|
||||||
|
|
||||||
|
[ext_resource type="Shader" uid="uid://dbcokq5fn2les" path="res://shaders/trigradient.tres" id="1_5slik"]
|
||||||
|
[ext_resource type="Gradient" uid="uid://c14ufqed7o6fi" path="res://external/Test Portrait/brown-skin.tres" id="2_5slik"]
|
||||||
|
[ext_resource type="Gradient" uid="uid://doghspt7i0yml" path="res://external/Test Portrait/dark-skin.tres" id="3_s7k3v"]
|
||||||
|
|
||||||
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_blxgd"]
|
||||||
|
gradient = ExtResource("2_5slik")
|
||||||
|
|
||||||
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_qqpe0"]
|
||||||
|
gradient = ExtResource("3_s7k3v")
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
shader = ExtResource("1_5slik")
|
||||||
|
shader_parameter/Color_Gradient = SubResource("GradientTexture1D_blxgd")
|
||||||
|
shader_parameter/Luminosity_Gradient = SubResource("GradientTexture1D_qqpe0")
|
||||||
16
external/Test Portrait/tri-skin2.tres
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
[gd_resource type="ShaderMaterial" load_steps=6 format=3 uid="uid://dd6afqqkowc1j"]
|
||||||
|
|
||||||
|
[ext_resource type="Shader" uid="uid://dbcokq5fn2les" path="res://shaders/trigradient.tres" id="1_wsqbt"]
|
||||||
|
[ext_resource type="Gradient" uid="uid://c14ufqed7o6fi" path="res://external/Test Portrait/brown-skin.tres" id="2_xn0dn"]
|
||||||
|
[ext_resource type="Gradient" uid="uid://doghspt7i0yml" path="res://external/Test Portrait/dark-skin.tres" id="3_l1lmx"]
|
||||||
|
|
||||||
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_blxgd"]
|
||||||
|
gradient = ExtResource("2_xn0dn")
|
||||||
|
|
||||||
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_qqpe0"]
|
||||||
|
gradient = ExtResource("3_l1lmx")
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
shader = ExtResource("1_wsqbt")
|
||||||
|
shader_parameter/Color_Gradient = SubResource("GradientTexture1D_blxgd")
|
||||||
|
shader_parameter/Luminosity_Gradient = SubResource("GradientTexture1D_qqpe0")
|
||||||
@@ -24,7 +24,7 @@ var weapon : Weapon
|
|||||||
var armor : Armor
|
var armor : Armor
|
||||||
var accessory : Accessory
|
var accessory : Accessory
|
||||||
var inventory : Dictionary[Vector2, Item] = {}
|
var inventory : Dictionary[Vector2, Item] = {}
|
||||||
var inventory_size : Vector2i = Vector2i(6,1)
|
var inventory_size : Vector2i = Vector2i(3,2)
|
||||||
var inventory_count : int = 0
|
var inventory_count : int = 0
|
||||||
|
|
||||||
var quest_sprite : QuestSprite
|
var quest_sprite : QuestSprite
|
||||||
|
|||||||
1
scripts/adventurer_portrait.gd
Normal file
@@ -0,0 +1 @@
|
|||||||
|
extends Control
|
||||||
1
scripts/adventurer_portrait.gd.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://m86jmtwv1a22
|
||||||
@@ -17,6 +17,8 @@ var data : Adventurer
|
|||||||
|
|
||||||
var item_slots : Array[ItemSlot]
|
var item_slots : Array[ItemSlot]
|
||||||
|
|
||||||
|
var item_display_window_template = preload("res://templates/item_display_window.tscn")
|
||||||
|
|
||||||
func setup(adv : Adventurer) -> void:
|
func setup(adv : Adventurer) -> void:
|
||||||
data = adv
|
data = adv
|
||||||
data.changed.connect(_on_data_changed)
|
data.changed.connect(_on_data_changed)
|
||||||
@@ -24,6 +26,7 @@ func setup(adv : Adventurer) -> void:
|
|||||||
item_slots = []
|
item_slots = []
|
||||||
for child : ItemSlot in %InventoryGrid.get_children():
|
for child : ItemSlot in %InventoryGrid.get_children():
|
||||||
item_slots.append(child)
|
item_slots.append(child)
|
||||||
|
child.display_item.connect(_on_display_item)
|
||||||
#TODO: Show equipment
|
#TODO: Show equipment
|
||||||
update_items()
|
update_items()
|
||||||
|
|
||||||
@@ -61,3 +64,11 @@ func update_items() -> void:
|
|||||||
func _on_data_changed() -> void:
|
func _on_data_changed() -> void:
|
||||||
update_stats()
|
update_stats()
|
||||||
update_items()
|
update_items()
|
||||||
|
|
||||||
|
func _on_display_item(item : Item) -> void:
|
||||||
|
var wnd : Popup = item_display_window_template.instantiate()
|
||||||
|
adding_subwindow = true
|
||||||
|
add_child(wnd)
|
||||||
|
wnd.setup(item)
|
||||||
|
wnd.popup_centered()
|
||||||
|
adding_subwindow = false
|
||||||
|
|||||||
1
scripts/color_variant.gd
Normal file
@@ -0,0 +1 @@
|
|||||||
|
extends TextureRect
|
||||||
1
scripts/color_variant.gd.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://cdi0oxcug1hup
|
||||||
@@ -1 +1,32 @@
|
|||||||
extends Window
|
extends Popup
|
||||||
|
|
||||||
|
var dragging : bool = false
|
||||||
|
|
||||||
|
var item : Item
|
||||||
|
@onready var image : TextureRect = %Image
|
||||||
|
@onready var item_name : Label = %ItemName
|
||||||
|
@onready var item_type : Label = %ItemType
|
||||||
|
@onready var item_grade : Label = %ItemGrade
|
||||||
|
@onready var primary_stat : Label = %PrimaryStat
|
||||||
|
@onready var secondary_stats : Label = %SecondaryStats
|
||||||
|
@onready var brief : Label = %Brief
|
||||||
|
|
||||||
|
|
||||||
|
func setup(itm : Item) -> void:
|
||||||
|
item = itm
|
||||||
|
title = item.name + " Information"
|
||||||
|
image.texture = item.image
|
||||||
|
item_name.text = item.name
|
||||||
|
item_type.text = item.item_type_name()
|
||||||
|
item_grade.text = item.grade
|
||||||
|
primary_stat.text = item.primary_stat()
|
||||||
|
#TODO: Implement item secondary stats meaningfully
|
||||||
|
brief.text = item.brief
|
||||||
|
|
||||||
|
func _on_drag_region_gui_input(event: InputEvent) -> void:
|
||||||
|
if event is InputEventMouseButton:
|
||||||
|
if event.button_index == MOUSE_BUTTON_LEFT:
|
||||||
|
dragging = event.pressed
|
||||||
|
elif dragging and event is InputEventMouseMotion:
|
||||||
|
position += Vector2i(event.screen_relative)
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,13 @@
|
|||||||
class_name ItemSlot extends Control
|
class_name ItemSlot extends Control
|
||||||
|
|
||||||
#var item_display_window_template = preload("res://templates/item_display_window.tscn")
|
|
||||||
|
@onready var item_sprite : TextureRect = $Item
|
||||||
|
|
||||||
var dragging : bool = false
|
var dragging : bool = false
|
||||||
var last_click : int = 0
|
var last_click : int = 0
|
||||||
var item : Item
|
var item : Item
|
||||||
@onready var item_sprite : TextureRect = $Item
|
|
||||||
|
|
||||||
|
signal display_item(itm)
|
||||||
func assign(itm : Item) -> void:
|
func assign(itm : Item) -> void:
|
||||||
item = itm
|
item = itm
|
||||||
if item.image != null:
|
if item.image != null:
|
||||||
@@ -29,6 +31,9 @@ func clear() -> void:
|
|||||||
func _on_gui_input(event: InputEvent) -> void:
|
func _on_gui_input(event: InputEvent) -> void:
|
||||||
var mmevt = event as InputEventMouseMotion
|
var mmevt = event as InputEventMouseMotion
|
||||||
var mbevt = event as InputEventMouseButton
|
var mbevt = event as InputEventMouseButton
|
||||||
|
if mbevt != null:
|
||||||
|
if mbevt.pressed and mbevt.button_index == MOUSE_BUTTON_LEFT and item != null:
|
||||||
|
display_item.emit(item)
|
||||||
#if mbevt and mbevt.button_index == MOUSE_BUTTON_MASK_LEFT:
|
#if mbevt and mbevt.button_index == MOUSE_BUTTON_MASK_LEFT:
|
||||||
#if !mbevt.pressed:
|
#if !mbevt.pressed:
|
||||||
#if dragging and
|
#if dragging and
|
||||||
|
|||||||
@@ -1,7 +1,14 @@
|
|||||||
class_name ProfileWindow extends Window
|
class_name ProfileWindow extends Window
|
||||||
|
|
||||||
var dragging : bool = false
|
var dragging : bool = false
|
||||||
|
var adding_subwindow : bool = false
|
||||||
|
|
||||||
|
func _on_focus_exited() -> void:
|
||||||
|
var focused_node = get_viewport().gui_get_focus_owner()
|
||||||
|
if is_ancestor_of(focused_node) or adding_subwindow:
|
||||||
|
return
|
||||||
|
else:
|
||||||
|
_on_close_requested()
|
||||||
|
|
||||||
func _on_close_requested() -> void:
|
func _on_close_requested() -> void:
|
||||||
queue_free()
|
queue_free()
|
||||||
|
|||||||
BIN
shaders/test.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
40
shaders/test.png.import
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dk1fkcth50ii8"
|
||||||
|
path="res://.godot/imported/test.png-c80a46779896ba9b3c250ae56c958d34.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://shaders/test.png"
|
||||||
|
dest_files=["res://.godot/imported/test.png-c80a46779896ba9b3c250ae56c958d34.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=1
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
122
shaders/trigradient.tres
Normal file
@@ -0,0 +1,122 @@
|
|||||||
|
[gd_resource type="VisualShader" load_steps=13 format=3 uid="uid://dbcokq5fn2les"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://dk1fkcth50ii8" path="res://shaders/test.png" id="1_mue8a"]
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeTexture" id="VisualShaderNodeTexture_n1g6q"]
|
||||||
|
texture = ExtResource("1_mue8a")
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeVectorDecompose" id="VisualShaderNodeVectorDecompose_kuvpm"]
|
||||||
|
default_input_values = [0, Quaternion(0, 0, 0, 0)]
|
||||||
|
op_type = 2
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeVectorCompose" id="VisualShaderNodeVectorCompose_m6etp"]
|
||||||
|
|
||||||
|
[sub_resource type="Gradient" id="Gradient_s3ye8"]
|
||||||
|
offsets = PackedFloat32Array(0, 0.495114, 1)
|
||||||
|
colors = PackedColorArray(0, 0.45, 0.14249997, 1, 0.88283366, 1.732707e-06, 0.5201918, 1, 1, 1, 1, 1)
|
||||||
|
|
||||||
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_x6ow4"]
|
||||||
|
gradient = SubResource("Gradient_s3ye8")
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeTexture" id="VisualShaderNodeTexture_yjp8t"]
|
||||||
|
texture = SubResource("GradientTexture1D_x6ow4")
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeVectorOp" id="VisualShaderNodeVectorOp_3315r"]
|
||||||
|
operator = 2
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeTexture2DParameter" id="VisualShaderNodeTexture2DParameter_n7htp"]
|
||||||
|
parameter_name = "Texture2DParameter"
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeTexture" id="VisualShaderNodeTexture_3ksh6"]
|
||||||
|
texture = ExtResource("1_mue8a")
|
||||||
|
texture_type = 1
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeInput" id="VisualShaderNodeInput_fwk6d"]
|
||||||
|
input_name = "uv"
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeInput" id="VisualShaderNodeInput_jobvs"]
|
||||||
|
input_name = "vertex"
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
code = "shader_type canvas_item;
|
||||||
|
render_mode blend_mix;
|
||||||
|
|
||||||
|
uniform sampler2D tex_vtx_2 : source_color;
|
||||||
|
uniform sampler2D tex_frg_3;
|
||||||
|
uniform sampler2D tex_frg_6;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
void vertex() {
|
||||||
|
// Input:5
|
||||||
|
vec2 n_out5p0 = VERTEX;
|
||||||
|
|
||||||
|
|
||||||
|
// Input:4
|
||||||
|
vec2 n_out4p0 = UV;
|
||||||
|
|
||||||
|
|
||||||
|
// Texture2D:2
|
||||||
|
vec4 n_out2p0 = texture(tex_vtx_2, n_out4p0);
|
||||||
|
|
||||||
|
|
||||||
|
// Output:0
|
||||||
|
VERTEX = n_out5p0;
|
||||||
|
UV = n_out4p0;
|
||||||
|
COLOR.rgb = vec3(n_out2p0.xyz);
|
||||||
|
COLOR.a = n_out2p0.x;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void fragment() {
|
||||||
|
// Texture2D:3
|
||||||
|
vec4 n_out3p0 = texture(tex_frg_3, UV);
|
||||||
|
|
||||||
|
|
||||||
|
// VectorDecompose:4
|
||||||
|
float n_out4p0 = n_out3p0.x;
|
||||||
|
float n_out4p1 = n_out3p0.y;
|
||||||
|
float n_out4p2 = n_out3p0.z;
|
||||||
|
float n_out4p3 = n_out3p0.w;
|
||||||
|
|
||||||
|
|
||||||
|
// Texture2D:6
|
||||||
|
vec4 n_out6p0 = texture(tex_frg_6, vec2(n_out4p0));
|
||||||
|
|
||||||
|
|
||||||
|
// VectorOp:7
|
||||||
|
vec3 n_out7p0 = vec3(n_out6p0.xyz) * vec3(n_out4p1);
|
||||||
|
|
||||||
|
|
||||||
|
// Output:0
|
||||||
|
COLOR.rgb = n_out7p0;
|
||||||
|
COLOR.a = n_out4p3;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
"
|
||||||
|
mode = 1
|
||||||
|
flags/light_only = false
|
||||||
|
nodes/vertex/0/position = Vector2(660, 160)
|
||||||
|
nodes/vertex/2/node = SubResource("VisualShaderNodeTexture_3ksh6")
|
||||||
|
nodes/vertex/2/position = Vector2(120, 260)
|
||||||
|
nodes/vertex/4/node = SubResource("VisualShaderNodeInput_fwk6d")
|
||||||
|
nodes/vertex/4/position = Vector2(-240, 160)
|
||||||
|
nodes/vertex/5/node = SubResource("VisualShaderNodeInput_jobvs")
|
||||||
|
nodes/vertex/5/position = Vector2(-240, 60)
|
||||||
|
nodes/vertex/connections = PackedInt32Array(4, 0, 2, 0, 2, 0, 0, 2, 2, 0, 0, 3, 5, 0, 0, 0, 4, 0, 0, 1)
|
||||||
|
nodes/fragment/0/position = Vector2(580, 240)
|
||||||
|
nodes/fragment/3/node = SubResource("VisualShaderNodeTexture_n1g6q")
|
||||||
|
nodes/fragment/3/position = Vector2(-500, 60)
|
||||||
|
nodes/fragment/4/node = SubResource("VisualShaderNodeVectorDecompose_kuvpm")
|
||||||
|
nodes/fragment/4/position = Vector2(-200, 160)
|
||||||
|
nodes/fragment/5/node = SubResource("VisualShaderNodeVectorCompose_m6etp")
|
||||||
|
nodes/fragment/5/position = Vector2(260, 160)
|
||||||
|
nodes/fragment/6/node = SubResource("VisualShaderNodeTexture_yjp8t")
|
||||||
|
nodes/fragment/6/position = Vector2(20, -60)
|
||||||
|
nodes/fragment/7/node = SubResource("VisualShaderNodeVectorOp_3315r")
|
||||||
|
nodes/fragment/7/position = Vector2(320, 400)
|
||||||
|
nodes/fragment/8/node = SubResource("VisualShaderNodeTexture2DParameter_n7htp")
|
||||||
|
nodes/fragment/8/position = Vector2(-780, 440)
|
||||||
|
nodes/fragment/connections = PackedInt32Array(3, 0, 4, 0, 4, 0, 5, 0, 4, 1, 5, 1, 4, 2, 5, 2, 4, 3, 0, 1, 4, 0, 6, 0, 6, 0, 7, 0, 7, 0, 0, 0, 4, 1, 7, 1)
|
||||||
@@ -4,11 +4,11 @@
|
|||||||
[ext_resource type="Texture2D" uid="uid://cjjtgrr56guj0" path="res://graphics/ui/item-slot.png" id="2_dxjvd"]
|
[ext_resource type="Texture2D" uid="uid://cjjtgrr56guj0" path="res://graphics/ui/item-slot.png" id="2_dxjvd"]
|
||||||
[ext_resource type="Texture2D" uid="uid://clrvwaqb61lpv" path="res://graphics/items/pitchfork.png" id="3_tsl8r"]
|
[ext_resource type="Texture2D" uid="uid://clrvwaqb61lpv" path="res://graphics/items/pitchfork.png" id="3_tsl8r"]
|
||||||
|
|
||||||
[node name="Item Display Window" type="Window"]
|
[node name="Item Display Window" type="Popup"]
|
||||||
oversampling_override = 1.0
|
oversampling_override = 1.0
|
||||||
size = Vector2i(300, 400)
|
size = Vector2i(300, 400)
|
||||||
borderless = true
|
visible = true
|
||||||
popup_window = true
|
always_on_top = true
|
||||||
script = ExtResource("1_n2g4t")
|
script = ExtResource("1_n2g4t")
|
||||||
|
|
||||||
[node name="Panel" type="PanelContainer" parent="."]
|
[node name="Panel" type="PanelContainer" parent="."]
|
||||||
@@ -47,12 +47,13 @@ layout_mode = 2
|
|||||||
custom_minimum_size = Vector2(71, 71)
|
custom_minimum_size = Vector2(71, 71)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
|
||||||
[node name="TextureRect2" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/MarginContainer"]
|
[node name="SlotBox" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/MarginContainer"]
|
||||||
custom_minimum_size = Vector2(71, 71)
|
custom_minimum_size = Vector2(71, 71)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
texture = ExtResource("2_dxjvd")
|
texture = ExtResource("2_dxjvd")
|
||||||
|
|
||||||
[node name="TextureRect" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/MarginContainer"]
|
[node name="Image" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/MarginContainer"]
|
||||||
|
unique_name_in_owner = true
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
texture = ExtResource("3_tsl8r")
|
texture = ExtResource("3_tsl8r")
|
||||||
stretch_mode = 3
|
stretch_mode = 3
|
||||||
@@ -61,23 +62,28 @@ stretch_mode = 3
|
|||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
theme_override_constants/separation = 0
|
theme_override_constants/separation = 0
|
||||||
|
|
||||||
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
|
[node name="ItemName" type="Label" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
|
||||||
|
unique_name_in_owner = true
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
text = "ITEM NAME"
|
text = "ITEM NAME"
|
||||||
|
|
||||||
[node name="Label2" type="Label" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
|
[node name="ItemType" type="Label" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
|
||||||
|
unique_name_in_owner = true
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
text = "ITEM TYPE"
|
text = "ITEM TYPE"
|
||||||
|
|
||||||
[node name="Label3" type="Label" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
|
[node name="ItemGrade" type="Label" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
|
||||||
|
unique_name_in_owner = true
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
text = "ITEM GRADE"
|
text = "ITEM GRADE"
|
||||||
|
|
||||||
[node name="Label2" type="Label" parent="Panel/MarginContainer/VBoxContainer"]
|
[node name="PrimaryStat" type="Label" parent="Panel/MarginContainer/VBoxContainer"]
|
||||||
|
unique_name_in_owner = true
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
text = "Primary Stat Goes Here"
|
text = "Primary Stat Goes Here"
|
||||||
|
|
||||||
[node name="Label3" type="Label" parent="Panel/MarginContainer/VBoxContainer"]
|
[node name="SecondaryStats" type="Label" parent="Panel/MarginContainer/VBoxContainer"]
|
||||||
|
unique_name_in_owner = true
|
||||||
custom_minimum_size = Vector2(0, 60)
|
custom_minimum_size = Vector2(0, 60)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
text = "Secondary Stats Go Here"
|
text = "Secondary Stats Go Here"
|
||||||
@@ -85,7 +91,17 @@ text = "Secondary Stats Go Here"
|
|||||||
[node name="HSeparator" type="HSeparator" parent="Panel/MarginContainer/VBoxContainer"]
|
[node name="HSeparator" type="HSeparator" parent="Panel/MarginContainer/VBoxContainer"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
|
||||||
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer"]
|
[node name="MarginContainer" type="MarginContainer" parent="Panel/MarginContainer/VBoxContainer"]
|
||||||
|
layout_mode = 2
|
||||||
|
theme_override_constants/margin_left = 5
|
||||||
|
theme_override_constants/margin_right = 5
|
||||||
|
theme_override_constants/margin_bottom = 5
|
||||||
|
|
||||||
|
[node name="Brief" type="Label" parent="Panel/MarginContainer/VBoxContainer/MarginContainer"]
|
||||||
|
unique_name_in_owner = true
|
||||||
custom_minimum_size = Vector2(0, 150)
|
custom_minimum_size = Vector2(0, 150)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
text = "Brief Description Goes Here"
|
text = "Brief Description Goes Here"
|
||||||
|
autowrap_mode = 2
|
||||||
|
|
||||||
|
[connection signal="gui_input" from="Panel/MarginContainer/VBoxContainer/ColorRect" to="." method="_on_drag_region_gui_input"]
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
[gd_scene load_steps=16 format=3 uid="uid://bktxswsjql86p"]
|
[gd_scene load_steps=15 format=3 uid="uid://bktxswsjql86p"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://ccsiubi5y75qg" path="res://scripts/npc_profile_window.gd" id="1_4xbne"]
|
[ext_resource type="Script" uid="uid://ccsiubi5y75qg" path="res://scripts/npc_profile_window.gd" id="1_4xbne"]
|
||||||
[ext_resource type="Texture2D" uid="uid://cbt6po52ad37x" path="res://external/profile-window.png" id="2_s0l16"]
|
[ext_resource type="Texture2D" uid="uid://cbt6po52ad37x" path="res://external/profile-window.png" id="2_s0l16"]
|
||||||
@@ -11,7 +11,6 @@
|
|||||||
[ext_resource type="Texture2D" uid="uid://d1btg2hfnjx6r" path="res://graphics/ui/inventory-heading.png" id="8_1nmd1"]
|
[ext_resource type="Texture2D" uid="uid://d1btg2hfnjx6r" path="res://graphics/ui/inventory-heading.png" id="8_1nmd1"]
|
||||||
[ext_resource type="Texture2D" uid="uid://blt2b7f6iqb8j" path="res://graphics/questview/test-char.png" id="10_tiew1"]
|
[ext_resource type="Texture2D" uid="uid://blt2b7f6iqb8j" path="res://graphics/questview/test-char.png" id="10_tiew1"]
|
||||||
[ext_resource type="Script" uid="uid://cw6yo5opbrpr8" path="res://scripts/item_slot.gd" id="11_tiew1"]
|
[ext_resource type="Script" uid="uid://cw6yo5opbrpr8" path="res://scripts/item_slot.gd" id="11_tiew1"]
|
||||||
[ext_resource type="Texture2D" uid="uid://bgjiahbc4jpwd" path="res://graphics/items/rags.png" id="12_ktflt"]
|
|
||||||
|
|
||||||
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_ktflt"]
|
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_ktflt"]
|
||||||
blend_mode = 3
|
blend_mode = 3
|
||||||
@@ -30,7 +29,7 @@ fill_to = Vector2(0, 1)
|
|||||||
transparent_bg = true
|
transparent_bg = true
|
||||||
oversampling_override = 1.0
|
oversampling_override = 1.0
|
||||||
initial_position = 1
|
initial_position = 1
|
||||||
size = Vector2i(707, 857)
|
size = Vector2i(707, 884)
|
||||||
wrap_controls = true
|
wrap_controls = true
|
||||||
unresizable = true
|
unresizable = true
|
||||||
borderless = true
|
borderless = true
|
||||||
@@ -466,6 +465,7 @@ offset_bottom = 183.0
|
|||||||
texture = ExtResource("10_tiew1")
|
texture = ExtResource("10_tiew1")
|
||||||
|
|
||||||
[node name="GearGrid" type="GridContainer" parent="."]
|
[node name="GearGrid" type="GridContainer" parent="."]
|
||||||
|
unique_name_in_owner = true
|
||||||
anchors_preset = -1
|
anchors_preset = -1
|
||||||
offset_left = 241.0
|
offset_left = 241.0
|
||||||
offset_top = 545.0
|
offset_top = 545.0
|
||||||
@@ -503,6 +503,7 @@ offset_bottom = 509.0
|
|||||||
texture = ExtResource("8_1nmd1")
|
texture = ExtResource("8_1nmd1")
|
||||||
|
|
||||||
[node name="InventoryGrid" type="GridContainer" parent="."]
|
[node name="InventoryGrid" type="GridContainer" parent="."]
|
||||||
|
unique_name_in_owner = true
|
||||||
anchors_preset = -1
|
anchors_preset = -1
|
||||||
offset_left = 325.0
|
offset_left = 325.0
|
||||||
offset_top = 513.0
|
offset_top = 513.0
|
||||||
@@ -527,70 +528,313 @@ offset_left = 3.0
|
|||||||
offset_top = 3.0
|
offset_top = 3.0
|
||||||
offset_right = 67.0
|
offset_right = 67.0
|
||||||
offset_bottom = 67.0
|
offset_bottom = 67.0
|
||||||
texture = ExtResource("12_ktflt")
|
|
||||||
|
|
||||||
[node name="TextureRect2" type="TextureRect" parent="InventoryGrid"]
|
[node name="ItemSlot" type="Control" parent="InventoryGrid/ItemSlot"]
|
||||||
layout_mode = 2
|
custom_minimum_size = Vector2(71, 71)
|
||||||
|
anchors_preset = 0
|
||||||
|
script = ExtResource("11_tiew1")
|
||||||
|
|
||||||
|
[node name="Square" type="TextureRect" parent="InventoryGrid/ItemSlot/ItemSlot"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_right = 71.0
|
||||||
|
offset_bottom = 71.0
|
||||||
texture = ExtResource("7_ktflt")
|
texture = ExtResource("7_ktflt")
|
||||||
|
|
||||||
[node name="TextureRect3" type="TextureRect" parent="InventoryGrid"]
|
[node name="Item" type="TextureRect" parent="InventoryGrid/ItemSlot/ItemSlot"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_left = 3.0
|
||||||
|
offset_top = 3.0
|
||||||
|
offset_right = 67.0
|
||||||
|
offset_bottom = 67.0
|
||||||
|
|
||||||
|
[node name="ItemSlot2" type="Control" parent="InventoryGrid"]
|
||||||
|
custom_minimum_size = Vector2(71, 71)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
script = ExtResource("11_tiew1")
|
||||||
|
|
||||||
|
[node name="Square" type="TextureRect" parent="InventoryGrid/ItemSlot2"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_right = 71.0
|
||||||
|
offset_bottom = 71.0
|
||||||
texture = ExtResource("7_ktflt")
|
texture = ExtResource("7_ktflt")
|
||||||
|
|
||||||
[node name="TextureRect4" type="TextureRect" parent="InventoryGrid"]
|
[node name="Item" type="TextureRect" parent="InventoryGrid/ItemSlot2"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_left = 3.0
|
||||||
|
offset_top = 3.0
|
||||||
|
offset_right = 67.0
|
||||||
|
offset_bottom = 67.0
|
||||||
|
|
||||||
|
[node name="ItemSlot3" type="Control" parent="InventoryGrid"]
|
||||||
|
custom_minimum_size = Vector2(71, 71)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
script = ExtResource("11_tiew1")
|
||||||
|
|
||||||
|
[node name="Square" type="TextureRect" parent="InventoryGrid/ItemSlot3"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_right = 71.0
|
||||||
|
offset_bottom = 71.0
|
||||||
texture = ExtResource("7_ktflt")
|
texture = ExtResource("7_ktflt")
|
||||||
|
|
||||||
[node name="TextureRect5" type="TextureRect" parent="InventoryGrid"]
|
[node name="Item" type="TextureRect" parent="InventoryGrid/ItemSlot3"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_left = 3.0
|
||||||
|
offset_top = 3.0
|
||||||
|
offset_right = 67.0
|
||||||
|
offset_bottom = 67.0
|
||||||
|
|
||||||
|
[node name="ItemSlot4" type="Control" parent="InventoryGrid"]
|
||||||
|
custom_minimum_size = Vector2(71, 71)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
script = ExtResource("11_tiew1")
|
||||||
|
|
||||||
|
[node name="Square" type="TextureRect" parent="InventoryGrid/ItemSlot4"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_right = 71.0
|
||||||
|
offset_bottom = 71.0
|
||||||
texture = ExtResource("7_ktflt")
|
texture = ExtResource("7_ktflt")
|
||||||
|
|
||||||
[node name="TextureRect6" type="TextureRect" parent="InventoryGrid"]
|
[node name="Item" type="TextureRect" parent="InventoryGrid/ItemSlot4"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_left = 3.0
|
||||||
|
offset_top = 3.0
|
||||||
|
offset_right = 67.0
|
||||||
|
offset_bottom = 67.0
|
||||||
|
|
||||||
|
[node name="ItemSlot5" type="Control" parent="InventoryGrid"]
|
||||||
|
custom_minimum_size = Vector2(71, 71)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
script = ExtResource("11_tiew1")
|
||||||
|
|
||||||
|
[node name="Square" type="TextureRect" parent="InventoryGrid/ItemSlot5"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_right = 71.0
|
||||||
|
offset_bottom = 71.0
|
||||||
texture = ExtResource("7_ktflt")
|
texture = ExtResource("7_ktflt")
|
||||||
|
|
||||||
[node name="TextureRect7" type="TextureRect" parent="InventoryGrid"]
|
[node name="Item" type="TextureRect" parent="InventoryGrid/ItemSlot5"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_left = 3.0
|
||||||
|
offset_top = 3.0
|
||||||
|
offset_right = 67.0
|
||||||
|
offset_bottom = 67.0
|
||||||
|
|
||||||
|
[node name="ItemSlot6" type="Control" parent="InventoryGrid"]
|
||||||
|
custom_minimum_size = Vector2(71, 71)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
script = ExtResource("11_tiew1")
|
||||||
|
|
||||||
|
[node name="Square" type="TextureRect" parent="InventoryGrid/ItemSlot6"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_right = 71.0
|
||||||
|
offset_bottom = 71.0
|
||||||
texture = ExtResource("7_ktflt")
|
texture = ExtResource("7_ktflt")
|
||||||
|
|
||||||
[node name="TextureRect8" type="TextureRect" parent="InventoryGrid"]
|
[node name="Item" type="TextureRect" parent="InventoryGrid/ItemSlot6"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_left = 3.0
|
||||||
|
offset_top = 3.0
|
||||||
|
offset_right = 67.0
|
||||||
|
offset_bottom = 67.0
|
||||||
|
|
||||||
|
[node name="ItemSlot7" type="Control" parent="InventoryGrid"]
|
||||||
|
custom_minimum_size = Vector2(71, 71)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
script = ExtResource("11_tiew1")
|
||||||
|
|
||||||
|
[node name="Square" type="TextureRect" parent="InventoryGrid/ItemSlot7"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_right = 71.0
|
||||||
|
offset_bottom = 71.0
|
||||||
texture = ExtResource("7_ktflt")
|
texture = ExtResource("7_ktflt")
|
||||||
|
|
||||||
[node name="TextureRect9" type="TextureRect" parent="InventoryGrid"]
|
[node name="Item" type="TextureRect" parent="InventoryGrid/ItemSlot7"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_left = 3.0
|
||||||
|
offset_top = 3.0
|
||||||
|
offset_right = 67.0
|
||||||
|
offset_bottom = 67.0
|
||||||
|
|
||||||
|
[node name="ItemSlot8" type="Control" parent="InventoryGrid"]
|
||||||
|
custom_minimum_size = Vector2(71, 71)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
script = ExtResource("11_tiew1")
|
||||||
|
|
||||||
|
[node name="Square" type="TextureRect" parent="InventoryGrid/ItemSlot8"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_right = 71.0
|
||||||
|
offset_bottom = 71.0
|
||||||
texture = ExtResource("7_ktflt")
|
texture = ExtResource("7_ktflt")
|
||||||
|
|
||||||
[node name="TextureRect10" type="TextureRect" parent="InventoryGrid"]
|
[node name="Item" type="TextureRect" parent="InventoryGrid/ItemSlot8"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_left = 3.0
|
||||||
|
offset_top = 3.0
|
||||||
|
offset_right = 67.0
|
||||||
|
offset_bottom = 67.0
|
||||||
|
|
||||||
|
[node name="ItemSlot9" type="Control" parent="InventoryGrid"]
|
||||||
|
custom_minimum_size = Vector2(71, 71)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
script = ExtResource("11_tiew1")
|
||||||
|
|
||||||
|
[node name="Square" type="TextureRect" parent="InventoryGrid/ItemSlot9"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_right = 71.0
|
||||||
|
offset_bottom = 71.0
|
||||||
texture = ExtResource("7_ktflt")
|
texture = ExtResource("7_ktflt")
|
||||||
|
|
||||||
[node name="TextureRect11" type="TextureRect" parent="InventoryGrid"]
|
[node name="Item" type="TextureRect" parent="InventoryGrid/ItemSlot9"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_left = 3.0
|
||||||
|
offset_top = 3.0
|
||||||
|
offset_right = 67.0
|
||||||
|
offset_bottom = 67.0
|
||||||
|
|
||||||
|
[node name="ItemSlot10" type="Control" parent="InventoryGrid"]
|
||||||
|
custom_minimum_size = Vector2(71, 71)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
script = ExtResource("11_tiew1")
|
||||||
|
|
||||||
|
[node name="Square" type="TextureRect" parent="InventoryGrid/ItemSlot10"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_right = 71.0
|
||||||
|
offset_bottom = 71.0
|
||||||
texture = ExtResource("7_ktflt")
|
texture = ExtResource("7_ktflt")
|
||||||
|
|
||||||
[node name="TextureRect12" type="TextureRect" parent="InventoryGrid"]
|
[node name="Item" type="TextureRect" parent="InventoryGrid/ItemSlot10"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_left = 3.0
|
||||||
|
offset_top = 3.0
|
||||||
|
offset_right = 67.0
|
||||||
|
offset_bottom = 67.0
|
||||||
|
|
||||||
|
[node name="ItemSlot11" type="Control" parent="InventoryGrid"]
|
||||||
|
custom_minimum_size = Vector2(71, 71)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
script = ExtResource("11_tiew1")
|
||||||
|
|
||||||
|
[node name="Square" type="TextureRect" parent="InventoryGrid/ItemSlot11"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_right = 71.0
|
||||||
|
offset_bottom = 71.0
|
||||||
texture = ExtResource("7_ktflt")
|
texture = ExtResource("7_ktflt")
|
||||||
|
|
||||||
[node name="TextureRect13" type="TextureRect" parent="InventoryGrid"]
|
[node name="Item" type="TextureRect" parent="InventoryGrid/ItemSlot11"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_left = 3.0
|
||||||
|
offset_top = 3.0
|
||||||
|
offset_right = 67.0
|
||||||
|
offset_bottom = 67.0
|
||||||
|
|
||||||
|
[node name="ItemSlot12" type="Control" parent="InventoryGrid"]
|
||||||
|
custom_minimum_size = Vector2(71, 71)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
script = ExtResource("11_tiew1")
|
||||||
|
|
||||||
|
[node name="Square" type="TextureRect" parent="InventoryGrid/ItemSlot12"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_right = 71.0
|
||||||
|
offset_bottom = 71.0
|
||||||
texture = ExtResource("7_ktflt")
|
texture = ExtResource("7_ktflt")
|
||||||
|
|
||||||
[node name="TextureRect14" type="TextureRect" parent="InventoryGrid"]
|
[node name="Item" type="TextureRect" parent="InventoryGrid/ItemSlot12"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_left = 3.0
|
||||||
|
offset_top = 3.0
|
||||||
|
offset_right = 67.0
|
||||||
|
offset_bottom = 67.0
|
||||||
|
|
||||||
|
[node name="ItemSlot13" type="Control" parent="InventoryGrid"]
|
||||||
|
custom_minimum_size = Vector2(71, 71)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
script = ExtResource("11_tiew1")
|
||||||
|
|
||||||
|
[node name="Square" type="TextureRect" parent="InventoryGrid/ItemSlot13"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_right = 71.0
|
||||||
|
offset_bottom = 71.0
|
||||||
texture = ExtResource("7_ktflt")
|
texture = ExtResource("7_ktflt")
|
||||||
|
|
||||||
[node name="TextureRect15" type="TextureRect" parent="InventoryGrid"]
|
[node name="Item" type="TextureRect" parent="InventoryGrid/ItemSlot13"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_left = 3.0
|
||||||
|
offset_top = 3.0
|
||||||
|
offset_right = 67.0
|
||||||
|
offset_bottom = 67.0
|
||||||
|
|
||||||
|
[node name="ItemSlot14" type="Control" parent="InventoryGrid"]
|
||||||
|
custom_minimum_size = Vector2(71, 71)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
script = ExtResource("11_tiew1")
|
||||||
|
|
||||||
|
[node name="Square" type="TextureRect" parent="InventoryGrid/ItemSlot14"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_right = 71.0
|
||||||
|
offset_bottom = 71.0
|
||||||
texture = ExtResource("7_ktflt")
|
texture = ExtResource("7_ktflt")
|
||||||
|
|
||||||
[node name="TextureRect16" type="TextureRect" parent="InventoryGrid"]
|
[node name="Item" type="TextureRect" parent="InventoryGrid/ItemSlot14"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_left = 3.0
|
||||||
|
offset_top = 3.0
|
||||||
|
offset_right = 67.0
|
||||||
|
offset_bottom = 67.0
|
||||||
|
|
||||||
|
[node name="ItemSlot15" type="Control" parent="InventoryGrid"]
|
||||||
|
custom_minimum_size = Vector2(71, 71)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
script = ExtResource("11_tiew1")
|
||||||
|
|
||||||
|
[node name="Square" type="TextureRect" parent="InventoryGrid/ItemSlot15"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_right = 71.0
|
||||||
|
offset_bottom = 71.0
|
||||||
texture = ExtResource("7_ktflt")
|
texture = ExtResource("7_ktflt")
|
||||||
|
|
||||||
|
[node name="Item" type="TextureRect" parent="InventoryGrid/ItemSlot15"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_left = 3.0
|
||||||
|
offset_top = 3.0
|
||||||
|
offset_right = 67.0
|
||||||
|
offset_bottom = 67.0
|
||||||
|
|
||||||
|
[node name="ItemSlot16" type="Control" parent="InventoryGrid"]
|
||||||
|
custom_minimum_size = Vector2(71, 71)
|
||||||
|
layout_mode = 2
|
||||||
|
script = ExtResource("11_tiew1")
|
||||||
|
|
||||||
|
[node name="Square" type="TextureRect" parent="InventoryGrid/ItemSlot16"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_right = 71.0
|
||||||
|
offset_bottom = 71.0
|
||||||
|
texture = ExtResource("7_ktflt")
|
||||||
|
|
||||||
|
[node name="Item" type="TextureRect" parent="InventoryGrid/ItemSlot16"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_left = 3.0
|
||||||
|
offset_top = 3.0
|
||||||
|
offset_right = 67.0
|
||||||
|
offset_bottom = 67.0
|
||||||
|
|
||||||
[connection signal="close_requested" from="." to="." method="_on_close_requested"]
|
[connection signal="close_requested" from="." to="." method="_on_close_requested"]
|
||||||
[connection signal="focus_exited" from="." to="." method="_on_close_requested"]
|
[connection signal="focus_exited" from="." to="." method="_on_close_requested"]
|
||||||
[connection signal="pressed" from="CloseButton" to="." method="_on_close_requested"]
|
[connection signal="pressed" from="CloseButton" to="." method="_on_close_requested"]
|
||||||
[connection signal="gui_input" from="DragRegion" to="." method="_on_drag_region_gui_input"]
|
[connection signal="gui_input" from="DragRegion" to="." method="_on_drag_region_gui_input"]
|
||||||
[connection signal="gui_input" from="InventoryGrid/ItemSlot" to="InventoryGrid/ItemSlot" method="_on_gui_input"]
|
[connection signal="gui_input" from="InventoryGrid/ItemSlot" to="InventoryGrid/ItemSlot" method="_on_gui_input"]
|
||||||
|
[connection signal="gui_input" from="InventoryGrid/ItemSlot/ItemSlot" to="InventoryGrid/ItemSlot/ItemSlot" method="_on_gui_input"]
|
||||||
|
[connection signal="gui_input" from="InventoryGrid/ItemSlot2" to="InventoryGrid/ItemSlot2" method="_on_gui_input"]
|
||||||
|
[connection signal="gui_input" from="InventoryGrid/ItemSlot3" to="InventoryGrid/ItemSlot3" method="_on_gui_input"]
|
||||||
|
[connection signal="gui_input" from="InventoryGrid/ItemSlot4" to="InventoryGrid/ItemSlot4" method="_on_gui_input"]
|
||||||
|
[connection signal="gui_input" from="InventoryGrid/ItemSlot5" to="InventoryGrid/ItemSlot5" method="_on_gui_input"]
|
||||||
|
[connection signal="gui_input" from="InventoryGrid/ItemSlot6" to="InventoryGrid/ItemSlot6" method="_on_gui_input"]
|
||||||
|
[connection signal="gui_input" from="InventoryGrid/ItemSlot7" to="InventoryGrid/ItemSlot7" method="_on_gui_input"]
|
||||||
|
[connection signal="gui_input" from="InventoryGrid/ItemSlot8" to="InventoryGrid/ItemSlot8" method="_on_gui_input"]
|
||||||
|
[connection signal="gui_input" from="InventoryGrid/ItemSlot9" to="InventoryGrid/ItemSlot9" method="_on_gui_input"]
|
||||||
|
[connection signal="gui_input" from="InventoryGrid/ItemSlot10" to="InventoryGrid/ItemSlot10" method="_on_gui_input"]
|
||||||
|
[connection signal="gui_input" from="InventoryGrid/ItemSlot11" to="InventoryGrid/ItemSlot11" method="_on_gui_input"]
|
||||||
|
[connection signal="gui_input" from="InventoryGrid/ItemSlot12" to="InventoryGrid/ItemSlot12" method="_on_gui_input"]
|
||||||
|
[connection signal="gui_input" from="InventoryGrid/ItemSlot13" to="InventoryGrid/ItemSlot13" method="_on_gui_input"]
|
||||||
|
[connection signal="gui_input" from="InventoryGrid/ItemSlot14" to="InventoryGrid/ItemSlot14" method="_on_gui_input"]
|
||||||
|
[connection signal="gui_input" from="InventoryGrid/ItemSlot15" to="InventoryGrid/ItemSlot15" method="_on_gui_input"]
|
||||||
|
[connection signal="gui_input" from="InventoryGrid/ItemSlot16" to="InventoryGrid/ItemSlot16" method="_on_gui_input"]
|
||||||
|
|||||||
@@ -819,7 +819,7 @@ offset_right = 67.0
|
|||||||
offset_bottom = 67.0
|
offset_bottom = 67.0
|
||||||
|
|
||||||
[connection signal="close_requested" from="." to="." method="_on_close_requested"]
|
[connection signal="close_requested" from="." to="." method="_on_close_requested"]
|
||||||
[connection signal="focus_exited" from="." to="." method="_on_close_requested"]
|
[connection signal="focus_exited" from="." to="." method="_on_focus_exited"]
|
||||||
[connection signal="pressed" from="CloseButton" to="." method="_on_close_requested"]
|
[connection signal="pressed" from="CloseButton" to="." method="_on_close_requested"]
|
||||||
[connection signal="gui_input" from="DragRegion" to="." method="_on_drag_region_gui_input"]
|
[connection signal="gui_input" from="DragRegion" to="." method="_on_drag_region_gui_input"]
|
||||||
[connection signal="gui_input" from="InventoryGrid/ItemSlot" to="InventoryGrid/ItemSlot" method="_on_gui_input"]
|
[connection signal="gui_input" from="InventoryGrid/ItemSlot" to="InventoryGrid/ItemSlot" method="_on_gui_input"]
|
||||||
|
|||||||
@@ -33,10 +33,8 @@ expand_mode = 1
|
|||||||
[node name="Portrait" type="TextureRect" parent="PanelContainer/PortraitFrame"]
|
[node name="Portrait" type="TextureRect" parent="PanelContainer/PortraitFrame"]
|
||||||
unique_name_in_owner = true
|
unique_name_in_owner = true
|
||||||
layout_mode = 0
|
layout_mode = 0
|
||||||
offset_left = -34.0
|
offset_right = 64.0
|
||||||
offset_top = -8.0
|
offset_bottom = 64.0
|
||||||
offset_right = 94.0
|
|
||||||
offset_bottom = 120.0
|
|
||||||
texture = ExtResource("4_ileh1")
|
texture = ExtResource("4_ileh1")
|
||||||
expand_mode = 1
|
expand_mode = 1
|
||||||
|
|
||||||
|
|||||||