fixed critical bug
This commit is contained in:
parent
f954a04c79
commit
2efd393efb
5 changed files with 56 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=14 format=3 uid="uid://cix7xfnu1305i"]
|
||||
[gd_scene load_steps=16 format=3 uid="uid://cix7xfnu1305i"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://4c4k3o0jnmdk" path="res://scenes/menu.gd" id="1_2ckv8"]
|
||||
[ext_resource type="Texture2D" uid="uid://b1rs6epjar6mj" path="res://assets/menu.png" id="2_0ctdu"]
|
||||
|
|
@ -9,6 +9,7 @@
|
|||
[ext_resource type="Texture2D" uid="uid://ofdvybdxtcgb" path="res://credits/people/maxie.webp" id="8_7lgdl"]
|
||||
[ext_resource type="Texture2D" uid="uid://bu3t30sqi3t8t" path="res://credits/people/spantle.webp" id="9_c6kru"]
|
||||
[ext_resource type="PackedScene" uid="uid://bicj8f61mhigk" path="res://credits/credit_slot.tscn" id="9_ih6pn"]
|
||||
[ext_resource type="Texture2D" uid="uid://cmdro72icyith" path="res://credits/people/jessica.webp" id="10_7lgdl"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_7lgdl"]
|
||||
script = ExtResource("6_7lgdl")
|
||||
|
|
@ -42,6 +43,14 @@ custom_panel_style = ExtResource("7_ih6pn")
|
|||
buy_value = 0
|
||||
metadata/_custom_type_script = "uid://dccraom7a7e8d"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_c6kru"]
|
||||
script = ExtResource("6_7lgdl")
|
||||
item_name = "Jessica"
|
||||
icon = ExtResource("10_7lgdl")
|
||||
custom_panel_style = ExtResource("7_ih6pn")
|
||||
buy_value = 0
|
||||
metadata/_custom_type_script = "uid://dccraom7a7e8d"
|
||||
|
||||
[node name="Credits" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
|
|
@ -159,6 +168,10 @@ item = SubResource("Resource_x5q3x")
|
|||
layout_mode = 2
|
||||
item = SubResource("Resource_nmdnh")
|
||||
|
||||
[node name="Jessica" parent="MarginContainer/PanelContainer/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/HFlowContainer2" instance=ExtResource("9_ih6pn")]
|
||||
layout_mode = 2
|
||||
item = SubResource("Resource_c6kru")
|
||||
|
||||
[node name="other" type="RichTextLabel" parent="MarginContainer/PanelContainer/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
bbcode_enabled = true
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ func _ready() -> void:
|
|||
for device in PlayerInventory.botnet:
|
||||
var new_slot : ItemSlot = load("res://inv_system/item_slot.tscn").instantiate()
|
||||
new_slot.item = device
|
||||
new_slot.extra_data = "Power: " + str(PlayerInventory.power_values.get(device))
|
||||
new_slot.extra_data = "Power: " + str(device.botnet_power)
|
||||
new_slot.update_ui()
|
||||
new_slot.block_taking = true
|
||||
server_box.add_child(new_slot)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue