bunch of fixes and changes done

This commit is contained in:
Tabby 2026-01-17 17:07:53 +11:00
parent 4a9193e549
commit 73b9a706a3
59 changed files with 940 additions and 68 deletions

22
credits/credit_slot.gd Normal file
View file

@ -0,0 +1,22 @@
extends ItemSlot
@export var link : String = ""
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
super()
block_taking = true
if link != "":
label.text = "🌐"
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func _on_gui_input(event: InputEvent) -> void:
if event.is_pressed() and link != "":
OS.shell_open(link)
#print("slot clicked")

View file

@ -0,0 +1 @@
uid://kvxou0qjrhmc

50
credits/credit_slot.tscn Normal file
View file

@ -0,0 +1,50 @@
[gd_scene load_steps=5 format=3 uid="uid://bicj8f61mhigk"]
[ext_resource type="StyleBox" uid="uid://hgjmkwj0dbqr" path="res://inv_system/item_panels/default.tres" id="1_lpte7"]
[ext_resource type="Script" uid="uid://kvxou0qjrhmc" path="res://credits/credit_slot.gd" id="2_katch"]
[ext_resource type="Texture2D" uid="uid://b7jp850fqpa0j" path="res://icon.svg" id="3_0u6ut"]
[sub_resource type="LabelSettings" id="LabelSettings_ab1u2"]
outline_size = 5
outline_color = Color(0, 0, 0, 1)
[node name="CreditSlot" type="Panel" node_paths=PackedStringArray("icon", "label")]
custom_minimum_size = Vector2(50, 50)
theme_override_styles/panel = ExtResource("1_lpte7")
script = ExtResource("2_katch")
icon = NodePath("Icon")
label = NodePath("Icon/Label")
[node name="Icon" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.1
anchor_top = 0.1
anchor_right = 0.8
anchor_bottom = 0.9
offset_right = 5.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("3_0u6ut")
expand_mode = 3
[node name="Label" type="Label" parent="Icon"]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -31.0
offset_top = -14.599998
offset_right = 30.999998
offset_bottom = 8.400002
grow_horizontal = 2
grow_vertical = 0
text = "meow"
label_settings = SubResource("LabelSettings_ab1u2")
horizontal_alignment = 2
[connection signal="gui_input" from="." to="." method="_on_gui_input"]
[connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"]
[connection signal="mouse_exited" from="." to="." method="_on_mouse_exited"]

BIN
credits/people/kane.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5 KiB

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://drbc57qdmvl3w"
path="res://.godot/imported/kane.webp-0b456414bf6aeedf9f20cf2f98ce855a.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://credits/people/kane.webp"
dest_files=["res://.godot/imported/kane.webp-0b456414bf6aeedf9f20cf2f98ce855a.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
credits/people/maxie.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ofdvybdxtcgb"
path="res://.godot/imported/maxie.webp-f5844598a9c59def0c4f8304c5a42a3f.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://credits/people/maxie.webp"
dest_files=["res://.godot/imported/maxie.webp-f5844598a9c59def0c4f8304c5a42a3f.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
credits/people/spantle.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bu3t30sqi3t8t"
path="res://.godot/imported/spantle.webp-4f4fbd0b1fd312c9a9eca32e9eed909f.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://credits/people/spantle.webp"
dest_files=["res://.godot/imported/spantle.webp-4f4fbd0b1fd312c9a9eca32e9eed909f.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