[gd_scene format=3 uid="uid://byv518wlck1t4"] [ext_resource type="Script" uid="uid://bxvhar7bgeyau" path="res://special_upgrades.gd" id="1_76f4f"] [sub_resource type="GDScript" id="GDScript_8j6ry"] script/source = "extends Node var enabled: bool = false var cost: int = 3 var upgrade_name: String = \"Tamany bloc\" var upgrade_description: String = \"Fa mes xicotet cada bloc\" var icon: Texture2D = preload(\"res://assets/Images/tren.jpg\") func update() -> void: if enabled: print(\"Updating chunk size\") Global.chunk_size = 120 " [node name="SpecialUpgrades" type="Node" unique_id=1238785974] script = ExtResource("1_76f4f") [node name="ChunkSize" type="Node" parent="." unique_id=1030985851] script = SubResource("GDScript_8j6ry")