multiple scenes
18
README.md
|
|
@ -18,3 +18,21 @@ Submission day: Jan 19th 8AM
|
||||||
3. [ ] Selling the stuff
|
3. [ ] Selling the stuff
|
||||||
|
|
||||||
- [ ] send prototype to maxie~
|
- [ ] send prototype to maxie~
|
||||||
|
|
||||||
|
## Item Ideas
|
||||||
|
- [ ] metal/plastic scrap
|
||||||
|
- [ ] disk drive
|
||||||
|
- [ ] projector
|
||||||
|
- [ ] lens
|
||||||
|
- [ ] docking station
|
||||||
|
- [ ] IO Ports
|
||||||
|
- [ ] centrifuge
|
||||||
|
- [ ] motor
|
||||||
|
- [ ] 3d printer
|
||||||
|
- [ ] heating element
|
||||||
|
- [ ] mouse
|
||||||
|
- [ ] cables
|
||||||
|
- [ ] printer
|
||||||
|
- [ ] cpu, gpu
|
||||||
|
- [ ] pc / laptop
|
||||||
|
- [ ]
|
||||||
|
|
|
||||||
BIN
assets/computer.png
Normal file
|
After Width: | Height: | Size: 480 KiB |
40
assets/computer.png.import
Normal file
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://crdbk8wkw63k0"
|
||||||
|
path="res://.godot/imported/computer.png-5a2aaacb00eb8d8044a6a7f9284d5600.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/computer.png"
|
||||||
|
dest_files=["res://.godot/imported/computer.png-5a2aaacb00eb8d8044a6a7f9284d5600.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
|
||||||
|
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 59 KiB |
|
|
@ -3,15 +3,15 @@
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://b0kddtrrun1tc"
|
uid="uid://b0kddtrrun1tc"
|
||||||
path="res://.godot/imported/battery.webp-29ebbc4ec04c0f993175279e162374d5.ctex"
|
path="res://.godot/imported/battery.webp-45bca03f643a4a277a05403e925b39f1.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/battery.webp"
|
source_file="res://assets/item images/battery.webp"
|
||||||
dest_files=["res://.godot/imported/battery.webp-29ebbc4ec04c0f993175279e162374d5.ctex"]
|
dest_files=["res://.godot/imported/battery.webp-45bca03f643a4a277a05403e925b39f1.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 390 KiB After Width: | Height: | Size: 390 KiB |
|
|
@ -3,15 +3,15 @@
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://dd5u5obr0c61q"
|
uid="uid://dd5u5obr0c61q"
|
||||||
path="res://.godot/imported/big psu.png-d20e94e5a552e1303554bd6972afdc56.ctex"
|
path="res://.godot/imported/big psu.png-7b10ae74ad953225687dc341986a6bfe.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/big psu.png"
|
source_file="res://assets/item images/big psu.png"
|
||||||
dest_files=["res://.godot/imported/big psu.png-d20e94e5a552e1303554bd6972afdc56.ctex"]
|
dest_files=["res://.godot/imported/big psu.png-7b10ae74ad953225687dc341986a6bfe.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
|
|
@ -3,15 +3,15 @@
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://c1ja7ug8bkxne"
|
uid="uid://c1ja7ug8bkxne"
|
||||||
path="res://.godot/imported/hdd.png-c14328920d63cd2455593c266c0e1877.ctex"
|
path="res://.godot/imported/hdd.png-824787d9e272d1beb1ec6830b050b33f.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/hdd.png"
|
source_file="res://assets/item images/hdd.png"
|
||||||
dest_files=["res://.godot/imported/hdd.png-c14328920d63cd2455593c266c0e1877.ctex"]
|
dest_files=["res://.godot/imported/hdd.png-824787d9e272d1beb1ec6830b050b33f.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 1.8 MiB |
|
|
@ -3,15 +3,15 @@
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://dquer6m8lapux"
|
uid="uid://dquer6m8lapux"
|
||||||
path="res://.godot/imported/ram.png-c6c16747428068ac97ec4acf800fb111.ctex"
|
path="res://.godot/imported/ram.png-40ed34ea691b6c1c52eebfbad1434427.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/ram.png"
|
source_file="res://assets/item images/ram.png"
|
||||||
dest_files=["res://.godot/imported/ram.png-c6c16747428068ac97ec4acf800fb111.ctex"]
|
dest_files=["res://.godot/imported/ram.png-40ed34ea691b6c1c52eebfbad1434427.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
|
|
@ -3,15 +3,15 @@
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://bmstxerbgdq61"
|
uid="uid://bmstxerbgdq61"
|
||||||
path="res://.godot/imported/small psu.png-8910d553249f30fc51a0f97c315ad4aa.ctex"
|
path="res://.godot/imported/small psu.png-93e7b3638beba3e3f06d473063fef1bd.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/small psu.png"
|
source_file="res://assets/item images/small psu.png"
|
||||||
dest_files=["res://.godot/imported/small psu.png-8910d553249f30fc51a0f97c315ad4aa.ctex"]
|
dest_files=["res://.godot/imported/small psu.png-93e7b3638beba3e3f06d473063fef1bd.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
BIN
assets/workshop.png
Normal file
|
After Width: | Height: | Size: 321 KiB |
40
assets/workshop.png.import
Normal file
|
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dhyryjblax7sj"
|
||||||
|
path="res://.godot/imported/workshop.png-e44f18506b28fd4cc34fbf4dd653f3b2.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/workshop.png"
|
||||||
|
dest_files=["res://.godot/imported/workshop.png-e44f18506b28fd4cc34fbf4dd653f3b2.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
|
||||||
|
|
@ -33,3 +33,7 @@ func _on_loot_button_pressed() -> void:
|
||||||
func pick_random_item() -> ItemData:
|
func pick_random_item() -> ItemData:
|
||||||
var icount = loot_pool.size()
|
var icount = loot_pool.size()
|
||||||
return loot_pool[randi() % icount]
|
return loot_pool[randi() % icount]
|
||||||
|
|
||||||
|
|
||||||
|
func _on_return_button_pressed() -> void:
|
||||||
|
get_tree().change_scene_to_file("res://scenes/workshop.tscn")
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ extends Inventory
|
||||||
# Called when the node enters the scene tree for the first time.
|
# Called when the node enters the scene tree for the first time.
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
super()
|
super()
|
||||||
style_scavenge()
|
#style_scavenge()
|
||||||
pass # Replace with function body.
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,8 @@
|
||||||
[gd_scene load_steps=3 format=3 uid="uid://bkhg56q71vsjv"]
|
[gd_scene load_steps=4 format=3 uid="uid://bkhg56q71vsjv"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://jxkjnscuxcyi" path="res://inv_system/player_inventory.gd" id="1_vk2kx"]
|
[ext_resource type="Script" uid="uid://jxkjnscuxcyi" path="res://inv_system/player_inventory.gd" id="1_vk2kx"]
|
||||||
[ext_resource type="PackedScene" uid="uid://bar46c75dbi2t" path="res://inv_system/inventory_panel.tscn" id="2_hk4hx"]
|
[ext_resource type="Script" uid="uid://c6oycdae5wvjf" path="res://inv_system/inventory.gd" id="2_hk4hx"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://dgqs20xf7l8c" path="res://inv_system/item_slot.tscn" id="3_8qgtd"]
|
||||||
|
|
||||||
[node name="PlayerInventory" type="Control" node_paths=PackedStringArray("inventory_panel", "button")]
|
[node name="PlayerInventory" type="Control" node_paths=PackedStringArray("inventory_panel", "button")]
|
||||||
z_index = 2
|
z_index = 2
|
||||||
|
|
@ -26,11 +27,128 @@ offset_right = 129.0
|
||||||
grow_vertical = 0
|
grow_vertical = 0
|
||||||
text = "Show Inventory"
|
text = "Show Inventory"
|
||||||
|
|
||||||
[node name="InventoryPanel" parent="." instance=ExtResource("2_hk4hx")]
|
[node name="InventoryPanel" type="PanelContainer" parent="." node_paths=PackedStringArray("grid", "inv_label")]
|
||||||
layout_mode = 0
|
layout_mode = 0
|
||||||
offset_left = 67.0
|
offset_left = 67.0
|
||||||
offset_top = 79.0
|
offset_top = 79.0
|
||||||
offset_right = 419.0
|
offset_right = 419.0
|
||||||
offset_bottom = 561.0
|
offset_bottom = 561.0
|
||||||
|
script = ExtResource("2_hk4hx")
|
||||||
|
inventory_name = "Your Inventory"
|
||||||
|
grid = NodePath("MarginContainer/VBoxContainer/ScrollContainer/GridContainer")
|
||||||
|
inv_label = NodePath("MarginContainer/VBoxContainer/Label")
|
||||||
|
|
||||||
|
[node name="MarginContainer" type="MarginContainer" parent="InventoryPanel"]
|
||||||
|
layout_mode = 2
|
||||||
|
theme_override_constants/margin_left = 5
|
||||||
|
theme_override_constants/margin_top = 5
|
||||||
|
theme_override_constants/margin_right = 5
|
||||||
|
theme_override_constants/margin_bottom = 5
|
||||||
|
|
||||||
|
[node name="VBoxContainer" type="VBoxContainer" parent="InventoryPanel/MarginContainer"]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="InventoryPanel/MarginContainer/VBoxContainer"]
|
||||||
|
layout_mode = 2
|
||||||
|
text = "Inventory 1"
|
||||||
|
|
||||||
|
[node name="ScrollContainer" type="ScrollContainer" parent="InventoryPanel/MarginContainer/VBoxContainer"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_vertical = 3
|
||||||
|
|
||||||
|
[node name="GridContainer" type="GridContainer" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_vertical = 3
|
||||||
|
columns = 5
|
||||||
|
|
||||||
|
[node name="ItemSlot" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ItemSlot2" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ItemSlot3" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ItemSlot4" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ItemSlot5" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ItemSlot6" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ItemSlot7" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ItemSlot8" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ItemSlot9" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ItemSlot10" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ItemSlot11" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ItemSlot12" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ItemSlot13" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ItemSlot14" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ItemSlot15" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ItemSlot16" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ItemSlot17" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ItemSlot18" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ItemSlot19" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ItemSlot20" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ItemSlot21" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ItemSlot22" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ItemSlot23" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ItemSlot24" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ItemSlot25" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ItemSlot26" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ItemSlot27" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ItemSlot28" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ItemSlot29" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="ItemSlot30" parent="InventoryPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("3_8qgtd")]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]
|
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[gd_resource type="Resource" script_class="ItemData" load_steps=3 format=3 uid="uid://bcteljob51wfj"]
|
[gd_resource type="Resource" script_class="ItemData" load_steps=3 format=3 uid="uid://bcteljob51wfj"]
|
||||||
|
|
||||||
[ext_resource type="Texture2D" uid="uid://b0kddtrrun1tc" path="res://assets/battery.webp" id="1_lh7dq"]
|
[ext_resource type="Texture2D" uid="uid://b0kddtrrun1tc" path="res://assets/item images/battery.webp" id="1_lh7dq"]
|
||||||
[ext_resource type="Script" uid="uid://dccraom7a7e8d" path="res://inv_system/item_data.gd" id="2_4u113"]
|
[ext_resource type="Script" uid="uid://dccraom7a7e8d" path="res://inv_system/item_data.gd" id="2_4u113"]
|
||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[gd_resource type="Resource" script_class="ItemData" load_steps=3 format=3 uid="uid://bepkdyf7dn1y0"]
|
[gd_resource type="Resource" script_class="ItemData" load_steps=3 format=3 uid="uid://bepkdyf7dn1y0"]
|
||||||
|
|
||||||
[ext_resource type="Texture2D" uid="uid://c1ja7ug8bkxne" path="res://assets/hdd.png" id="1_8xwf0"]
|
[ext_resource type="Texture2D" uid="uid://c1ja7ug8bkxne" path="res://assets/item images/hdd.png" id="1_8xwf0"]
|
||||||
[ext_resource type="Script" uid="uid://dccraom7a7e8d" path="res://inv_system/item_data.gd" id="1_r24a6"]
|
[ext_resource type="Script" uid="uid://dccraom7a7e8d" path="res://inv_system/item_data.gd" id="1_r24a6"]
|
||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[gd_resource type="Resource" script_class="ItemData" load_steps=3 format=3 uid="uid://88v5bcyrgpob"]
|
[gd_resource type="Resource" script_class="ItemData" load_steps=3 format=3 uid="uid://88v5bcyrgpob"]
|
||||||
|
|
||||||
[ext_resource type="Texture2D" uid="uid://dd5u5obr0c61q" path="res://assets/big psu.png" id="1_rjw1c"]
|
[ext_resource type="Texture2D" uid="uid://dd5u5obr0c61q" path="res://assets/item images/big psu.png" id="1_rjw1c"]
|
||||||
[ext_resource type="Script" uid="uid://dccraom7a7e8d" path="res://inv_system/item_data.gd" id="2_i66kx"]
|
[ext_resource type="Script" uid="uid://dccraom7a7e8d" path="res://inv_system/item_data.gd" id="2_i66kx"]
|
||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
[gd_resource type="Resource" script_class="ItemData" load_steps=3 format=3 uid="uid://c2wbqelme8vy1"]
|
[gd_resource type="Resource" script_class="ItemData" load_steps=3 format=3 uid="uid://c2wbqelme8vy1"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://dccraom7a7e8d" path="res://inv_system/item_data.gd" id="1_0t7ph"]
|
[ext_resource type="Script" uid="uid://dccraom7a7e8d" path="res://inv_system/item_data.gd" id="1_0t7ph"]
|
||||||
[ext_resource type="Texture2D" uid="uid://dquer6m8lapux" path="res://assets/ram.png" id="1_bfuag"]
|
[ext_resource type="Texture2D" uid="uid://dquer6m8lapux" path="res://assets/item images/ram.png" id="1_bfuag"]
|
||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
script = ExtResource("1_0t7ph")
|
script = ExtResource("1_0t7ph")
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[gd_resource type="Resource" script_class="ItemData" load_steps=3 format=3 uid="uid://swd1m0hvep4c"]
|
[gd_resource type="Resource" script_class="ItemData" load_steps=3 format=3 uid="uid://swd1m0hvep4c"]
|
||||||
|
|
||||||
[ext_resource type="Texture2D" uid="uid://bmstxerbgdq61" path="res://assets/small psu.png" id="1_62foo"]
|
[ext_resource type="Texture2D" uid="uid://bmstxerbgdq61" path="res://assets/item images/small psu.png" id="1_62foo"]
|
||||||
[ext_resource type="Script" uid="uid://dccraom7a7e8d" path="res://inv_system/item_data.gd" id="2_x1n7s"]
|
[ext_resource type="Script" uid="uid://dccraom7a7e8d" path="res://inv_system/item_data.gd" id="2_x1n7s"]
|
||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ config_version=5
|
||||||
[application]
|
[application]
|
||||||
|
|
||||||
config/name="Repurposed Jam"
|
config/name="Repurposed Jam"
|
||||||
run/main_scene="uid://dsfal3m4siap2"
|
run/main_scene="uid://dbxymsdyvbe2p"
|
||||||
config/features=PackedStringArray("4.5", "GL Compatibility")
|
config/features=PackedStringArray("4.5", "GL Compatibility")
|
||||||
config/icon="res://icon.svg"
|
config/icon="res://icon.svg"
|
||||||
|
|
||||||
|
|
@ -21,6 +21,10 @@ Tooltip="*res://tooltip.tscn"
|
||||||
PlayerInventory="*res://inv_system/player_inventory.tscn"
|
PlayerInventory="*res://inv_system/player_inventory.tscn"
|
||||||
Clock="*res://time_system/clock.tscn"
|
Clock="*res://time_system/clock.tscn"
|
||||||
|
|
||||||
|
[display]
|
||||||
|
|
||||||
|
window/stretch/mode="canvas_items"
|
||||||
|
|
||||||
[editor]
|
[editor]
|
||||||
|
|
||||||
movie_writer/video_quality=0.25
|
movie_writer/video_quality=0.25
|
||||||
|
|
|
||||||
15
scenes/computer.gd
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
extends Control
|
||||||
|
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready() -> void:
|
||||||
|
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_goto_workshop_pressed() -> void:
|
||||||
|
get_tree().change_scene_to_file("res://scenes/workshop.tscn")
|
||||||
1
scenes/computer.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
uid://cq6xhdlib6c50
|
||||||
35
scenes/computer.tscn
Normal file
|
|
@ -0,0 +1,35 @@
|
||||||
|
[gd_scene load_steps=3 format=3 uid="uid://cu2yyw3f2avub"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://cq6xhdlib6c50" path="res://scenes/computer.gd" id="1_8pqrt"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://crdbk8wkw63k0" path="res://assets/computer.png" id="1_om4aa"]
|
||||||
|
|
||||||
|
[node name="Computer" type="Control"]
|
||||||
|
layout_mode = 3
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
mouse_filter = 2
|
||||||
|
script = ExtResource("1_8pqrt")
|
||||||
|
|
||||||
|
[node name="TextureRect" type="TextureRect" parent="."]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
mouse_filter = 2
|
||||||
|
texture = ExtResource("1_om4aa")
|
||||||
|
expand_mode = 3
|
||||||
|
|
||||||
|
[node name="GotoWorkshop" type="Button" parent="."]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_left = 508.0
|
||||||
|
offset_top = 591.0
|
||||||
|
offset_right = 635.0
|
||||||
|
offset_bottom = 622.0
|
||||||
|
text = "Goto workshop"
|
||||||
|
|
||||||
|
[connection signal="pressed" from="GotoWorkshop" to="." method="_on_goto_workshop_pressed"]
|
||||||
|
|
@ -140,3 +140,4 @@ grow_vertical = 0
|
||||||
text = "Return to workshop"
|
text = "Return to workshop"
|
||||||
|
|
||||||
[connection signal="pressed" from="LootButton" to="." method="_on_loot_button_pressed"]
|
[connection signal="pressed" from="LootButton" to="." method="_on_loot_button_pressed"]
|
||||||
|
[connection signal="pressed" from="ReturnButton" to="." method="_on_return_button_pressed"]
|
||||||
19
scenes/workshop.gd
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
extends Control
|
||||||
|
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready() -> void:
|
||||||
|
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_goto_ewaste_pressed() -> void:
|
||||||
|
get_tree().change_scene_to_file("res://scenes/ewaste.tscn")
|
||||||
|
|
||||||
|
|
||||||
|
func _on_goto_computer_pressed() -> void:
|
||||||
|
get_tree().change_scene_to_file("res://scenes/computer.tscn")
|
||||||
1
scenes/workshop.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
uid://bla0gy2tlqwe1
|
||||||
52
scenes/workshop.tscn
Normal file
|
|
@ -0,0 +1,52 @@
|
||||||
|
[gd_scene load_steps=4 format=3 uid="uid://dbxymsdyvbe2p"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://dhyryjblax7sj" path="res://assets/workshop.png" id="1_d7fqo"]
|
||||||
|
[ext_resource type="Script" uid="uid://bla0gy2tlqwe1" path="res://scenes/workshop.gd" id="1_g1tdj"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://f06ym5ujhdsc" path="res://inv_system/crafting_panel.tscn" id="2_wwo6w"]
|
||||||
|
|
||||||
|
[node name="Workshop" type="Control"]
|
||||||
|
layout_mode = 3
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
mouse_filter = 2
|
||||||
|
script = ExtResource("1_g1tdj")
|
||||||
|
|
||||||
|
[node name="TextureRect" type="TextureRect" parent="."]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
mouse_filter = 2
|
||||||
|
texture = ExtResource("1_d7fqo")
|
||||||
|
expand_mode = 3
|
||||||
|
|
||||||
|
[node name="GotoEwaste" type="Button" parent="."]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_left = 611.0
|
||||||
|
offset_top = 469.0
|
||||||
|
offset_right = 757.0
|
||||||
|
offset_bottom = 500.0
|
||||||
|
text = "Go to ewaste bins"
|
||||||
|
|
||||||
|
[node name="GotoComputer" type="Button" parent="."]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_left = 614.0
|
||||||
|
offset_top = 522.0
|
||||||
|
offset_right = 760.0
|
||||||
|
offset_bottom = 553.0
|
||||||
|
text = "Go to computer"
|
||||||
|
|
||||||
|
[node name="CraftingPanel" parent="." instance=ExtResource("2_wwo6w")]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_left = 874.0
|
||||||
|
offset_top = 149.0
|
||||||
|
offset_right = 1087.0
|
||||||
|
offset_bottom = 442.0
|
||||||
|
|
||||||
|
[connection signal="pressed" from="GotoEwaste" to="." method="_on_goto_ewaste_pressed"]
|
||||||
|
[connection signal="pressed" from="GotoComputer" to="." method="_on_goto_computer_pressed"]
|
||||||
|
|
@ -9,6 +9,7 @@
|
||||||
font_size = 32
|
font_size = 32
|
||||||
|
|
||||||
[node name="Clock" type="Control" node_paths=PackedStringArray("bar", "timer_text")]
|
[node name="Clock" type="Control" node_paths=PackedStringArray("bar", "timer_text")]
|
||||||
|
z_index = 2
|
||||||
layout_mode = 3
|
layout_mode = 3
|
||||||
anchors_preset = 15
|
anchors_preset = 15
|
||||||
anchor_right = 1.0
|
anchor_right = 1.0
|
||||||
|
|
|
||||||