Dev Démo 1.2

* les plantes se placent désormais sur une grille
* ajouts de curseurs relatifs à l'item
* ajout de settings sur la sensibilité à la souris
* ajout d'un défi en fin de run
This commit is contained in:
2026-06-12 16:42:00 +02:00
parent 5aff9eadaa
commit 940b3c1553
40 changed files with 953 additions and 76 deletions

View File

@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="31.51301"
height="31.618402"
viewBox="0 0 31.51301 31.618402"
fill="#ffffff"
class="icon icon-tabler icons-tabler-filled icon-tabler-pointer"
version="1.1"
id="svg2"
sodipodi:docname="pointer-action.svg"
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
xml:space="preserve"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><defs
id="defs2" /><sodipodi:namedview
id="namedview2"
pagecolor="#505050"
bordercolor="#ffffff"
borderopacity="1"
inkscape:showpageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="1"
inkscape:deskcolor="#505050"
inkscape:zoom="16"
inkscape:cx="17.15625"
inkscape:cy="27.5"
inkscape:window-width="1920"
inkscape:window-height="1009"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="svg2" /><g
style="fill:none;stroke:#000000;stroke-width:1.55009;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:0.286275"
id="g24"
transform="matrix(1.2902501,0,0,1.2902501,1.906775,4.5221262)"><path
id="path21"
style="color:#000000;fill:#000000;fill-opacity:0.286275;stroke:none;stroke-width:1.55009;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;-inkscape-stroke:none"
d="M 6.9746325,7.96275e-4 C 6.3774115,7.96275e-4 5.7667509,0.19447765 5.27932,0.6277494 4.7918891,1.0610211 4.4746325,1.7507979 4.4746325,2.5007963 V 8.6140775 C 3.5501673,7.8751956 2.2432248,7.7739943 1.2109606,8.3933744 0.05913455,9.0839351 -0.34207236,10.592065 0.31642938,11.762515 2.19699,15.105289 3.2455731,16.945174 3.6367419,17.545718 c 0.066009,0.101604 0.1307351,0.203425 0.1972656,0.304688 a 1.0001,1.0001 0 0 0 0.00195,0 c 1.2404681,1.883628 3.3285351,2.986304 5.5703125,3.080078 a 1.0001,1.0001 0 0 0 0.068359,0.07031 h 0.2089844 1.7910156 c 3.854141,0 6.999999,-3.145859 6.999999,-7 V 9.5007963 c 0,-0.7499984 -0.317256,-1.4397751 -0.804687,-1.8730469 -0.487432,-0.4332718 -1.098091,-0.6269531 -1.695312,-0.6269531 -0.293968,0 -0.59082,0.047157 -0.875,0.1464843 C 14.979405,6.9496726 14.834788,6.7742764 14.669945,6.6277494 14.182513,6.1944776 13.571854,6.0007963 12.974633,6.0007963 c -0.293993,0 -0.590797,0.047139 -0.875,0.1464843 C 11.979405,5.9496726 11.834788,5.7742764 11.669945,5.6277494 11.182513,5.1944776 10.571854,5.0007963 9.9746325,5.0007963 c -0.1663802,0 -0.3344889,0.015818 -0.5,0.046875 V 2.5007963 C 9.4746325,1.7507979 9.1573759,1.0610211 8.669945,0.6277494 8.1825141,0.19447765 7.5718534,7.96275e-4 6.9746325,7.96275e-4 Z m 0,2.000000025 c 0.1527775,0 0.2921196,0.05632 0.3671875,0.1230468 0.075068,0.066727 0.1328125,0.126954 0.1328125,0.3769532 v 5 2 0.4999997 a 1,1 0 0 0 1,1 1,1 0 0 0 1,-1 v -0.4999997 -2 c 0,-0.2499992 0.057745,-0.3102261 0.1328125,-0.3769532 0.075068,-0.066727 0.21441,-0.1230468 0.3671875,-0.1230468 0.1527775,0 0.2921195,0.05632 0.3671875,0.1230468 0.07507,0.066727 0.132812,0.126954 0.132813,0.3769532 v 2.4999997 a 1,1 0 0 0 1,1 1,1 0 0 0 1,-1 V 8.5007963 c 0,-0.2499992 0.05775,-0.3102261 0.132812,-0.3769532 0.07507,-0.066727 0.214411,-0.1230468 0.367188,-0.1230468 0.152777,0 0.292119,0.05632 0.367187,0.1230468 0.07507,0.066727 0.132812,0.126954 0.132813,0.3769532 v 1.4999997 a 1,1 0 0 0 1,1 1,1 0 0 0 1,-1 V 9.5007963 c 0,-0.2499992 0.05775,-0.3102261 0.132812,-0.3769532 0.07507,-0.066727 0.214411,-0.1230468 0.367188,-0.1230468 0.152777,0 0.292119,0.05632 0.367187,0.1230468 0.07507,0.066727 0.132812,0.126954 0.132812,0.3769532 v 4.4999997 c 0,2.773264 -2.226736,5 -4.999999,5 H 9.6836169 9.6816638 C 7.9984054,19.00108 6.4316746,18.156594 5.5058825,16.750796 5.441233,16.652396 5.3766662,16.554605 5.3125231,16.455874 5.0796932,16.098421 3.9380018,14.119259 2.06057,10.782046 1.9224808,10.536601 1.996764,10.25303 2.2383044,10.108218 2.5836928,9.9009778 3.0138709,9.9544237 3.2988513,10.239078 l 1.46875,1.46875 a 1,1 0 0 0 0.052734,0.03516 1,1 0 0 0 0.2050782,0.136719 1,1 0 0 0 0.099609,0.05078 1,1 0 0 0 0.3496094,0.07031 1,1 0 0 0 0.3496094,-0.07031 1,1 0 0 0 0.099609,-0.05078 1,1 0 0 0 0.2050781,-0.136719 1,1 0 0 0 0.052734,-0.03516 1,1 0 0 0 0.09375,-0.109375 1,1 0 0 0 0.013672,-0.02148 1,1 0 0 0 0.1308594,-0.255859 1,1 0 0 0 0.00977,-0.03125 1,1 0 0 0 0.042969,-0.277344 1,1 0 0 0 0.00195,-0.01172 V 2.5007963 c 0,-0.2499992 0.057745,-0.3102261 0.1328125,-0.3769532 0.075068,-0.066727 0.21441,-0.1230468 0.3671872,-0.1230468 z" /></g><g
style="fill:none;stroke:currentColor;stroke-width:1.55009;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
id="g16"
transform="matrix(1.2902501,0,0,1.2902501,1.906775,1.296501)"><path
stroke="none"
d="m -2.525305,-2.0000007 h 24 V 21.999999 h -24 z"
fill="none"
id="path1-2"
style="stroke-width:1.55009" /><path
d="M 5.474695,10.999999 V 2.4999993 a 1.5,1.5 0 0 1 3,0 v 7.5"
id="path2-2"
style="stroke:#ffffff;stroke-width:1.55009;stroke-opacity:1" /><path
d="m 8.474695,9.4999993 v -2 a 1.5,1.5 0 1 1 3,0 v 2.5"
id="path3"
style="stroke:#ffffff;stroke-width:1.55009;stroke-opacity:1" /><path
d="m 11.474695,8.4999993 a 1.5,1.5 0 0 1 3,0 v 1.5"
id="path4-2"
style="stroke:#ffffff;stroke-width:1.55009;stroke-opacity:1" /><path
d="m 14.474695,9.4999993 a 1.5,1.5 0 0 1 3,0 v 4.4999997 a 6,6 0 0 1 -6,6 h -2 0.208 a 6,6 0 0 1 -5.012,-2.7 69.74,69.74 0 0 1 -0.196,-0.3 c -0.312,-0.479 -1.407,-2.388 -3.286,-5.728 a 1.5,1.5 0 0 1 0.536,-2.0219997 1.867,1.867 0 0 1 2.28,0.28 l 1.47,1.4699997"
id="path5"
style="stroke:#ffffff;stroke-width:1.55009;stroke-opacity:1" /></g><path
stroke="none"
d="M 0.39227299,0.37268114 H 31.358275 V 31.338684 H 0.39227299 Z"
fill="none"
id="path1"
style="stroke-width:1" /></svg>

After

Width:  |  Height:  |  Size: 5.9 KiB

View File

@@ -0,0 +1,43 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cl3wt3tbjiep0"
path="res://.godot/imported/pointer-action.svg-7d0a608f5d92b361c052c9c646842598.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://gui/pointer/assets/cursors/pointer-action.svg"
dest_files=["res://.godot/imported/pointer-action.svg-7d0a608f5d92b361c052c9c646842598.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
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

View File

@@ -0,0 +1,68 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="31.51301"
height="31.618402"
viewBox="0 0 31.51301 31.618402"
fill="#ffffff"
class="icon icon-tabler icons-tabler-filled icon-tabler-pointer"
version="1.1"
id="svg2"
sodipodi:docname="pointer-dig.svg"
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
xml:space="preserve"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><defs
id="defs2" /><sodipodi:namedview
id="namedview2"
pagecolor="#505050"
bordercolor="#ffffff"
borderopacity="1"
inkscape:showpageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="1"
inkscape:deskcolor="#505050"
inkscape:zoom="16"
inkscape:cx="6.40625"
inkscape:cy="16.0625"
inkscape:window-width="1920"
inkscape:window-height="1009"
inkscape:window-x="1912"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="svg2" /><path
d="M 3.039,6.3466574 6.943,19.909657 c 0.185,0.837 0.92,1.516 1.831,1.642 l 0.17,0.016 c 0.7939438,0.0476 1.551757,-0.337043 1.982,-1.006 l 0.045,-0.078 1.4,-2.072 c 0,0 0.980006,-1.592325 1.633484,-2.249269 0.68262,-0.68624 2.340516,-1.718731 2.340516,-1.718731 l 2.103,-1.412 c 0.726,-0.385 1.18,-1.278 1.053,-2.189 C 19.37474,9.9328713 18.696553,9.1972717 17.8,8.9976574 l -13.524,-3.89 c -0.7563604,-0.2168787 -1.4553214,0.4843442 -1.236,1.24 z"
id="path4"
sodipodi:nodetypes="cccccccaccccccc"
style="fill:#000000;fill-opacity:0.286567" /><g
style="fill:#000000;fill-opacity:0.286567;stroke:#ffffff;stroke-width:2.30733;stroke-linecap:round;stroke-linejoin:round"
id="g7"
transform="matrix(0.86680039,0,0,0.86680039,11.610822,11.908289)"><path
d="m 13,8 -9.383,9.418 a 2.091,2.091 0 0 0 0,2.967 2.11,2.11 0 0 0 2.976,0 L 16,11"
id="path6"
style="fill:none;fill-opacity:0.286567;stroke:#000000;stroke-width:2.30733;stroke-opacity:0.286275" /><path
d="m 9,3 h 4.586 a 1,1 0 0 1 0.707,0.293 l 6.414,6.414 A 1,1 0 0 1 21,10.414 V 15 a 2,2 0 1 1 -4,0 V 12 L 12,7 H 9 A 2,2 0 1 1 9,3 Z"
id="path7"
style="fill:none;fill-opacity:0.286567;stroke:#000000;stroke-width:2.30733;stroke-opacity:0.286275" /></g><path
stroke="none"
d="M 0,0 H 24 V 24 H 0 Z"
fill="none"
id="path1" /><path
d="M 3.039,4.277 6.943,17.84 c 0.185,0.837 0.92,1.516 1.831,1.642 l 0.17,0.016 c 0.7939438,0.0476 1.551757,-0.337043 1.982,-1.006 l 0.045,-0.078 1.4,-2.072 c 0,0 0.980006,-1.592325 1.633484,-2.249269 C 14.687104,13.406491 16.345,12.374 16.345,12.374 l 2.103,-1.412 C 19.174,10.577 19.628,9.684 19.501,8.773 19.37474,7.8632139 18.696553,7.1276143 17.8,6.928 L 4.276,3.038 C 3.5196396,2.8211213 2.8206786,3.5223442 3.04,4.278 Z"
id="path2"
sodipodi:nodetypes="cccccccaccccccc" /><g
style="fill:none;stroke:#ffffff;stroke-width:2.30733;stroke-linecap:round;stroke-linejoin:round"
id="g1"
transform="matrix(0.86680039,0,0,0.86680039,11.610822,9.7449335)"><path
stroke="none"
d="M 0,0 H 24 V 24 H 0 Z"
fill="none"
id="path1-1"
style="stroke-width:2.30733" /><path
d="m 13,8 -9.383,9.418 a 2.091,2.091 0 0 0 0,2.967 2.11,2.11 0 0 0 2.976,0 L 16,11"
id="path2-8"
style="stroke-width:2.30733" /><path
d="m 9,3 h 4.586 a 1,1 0 0 1 0.707,0.293 l 6.414,6.414 A 1,1 0 0 1 21,10.414 V 15 a 2,2 0 1 1 -4,0 V 12 L 12,7 H 9 A 2,2 0 1 1 9,3 Z"
id="path3-4"
style="stroke-width:2.30733" /></g></svg>

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@@ -0,0 +1,43 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bh4m4fbaxl6t4"
path="res://.godot/imported/pointer-dig.svg-ad7b43afdaf2efe42f9726c76536bc0e.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://gui/pointer/assets/cursors/pointer-dig.svg"
dest_files=["res://.godot/imported/pointer-dig.svg-ad7b43afdaf2efe42f9726c76536bc0e.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
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

View File

@@ -0,0 +1,74 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="31.51301"
height="31.618402"
viewBox="0 0 31.51301 31.618402"
fill="#ffffff"
class="icon icon-tabler icons-tabler-filled icon-tabler-pointer"
version="1.1"
id="svg2"
sodipodi:docname="pointer-fork.svg"
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
xml:space="preserve"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><defs
id="defs2" /><sodipodi:namedview
id="namedview2"
pagecolor="#505050"
bordercolor="#ffffff"
borderopacity="1"
inkscape:showpageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="1"
inkscape:deskcolor="#505050"
inkscape:zoom="16"
inkscape:cx="8.71875"
inkscape:cy="17.8125"
inkscape:window-width="1920"
inkscape:window-height="1009"
inkscape:window-x="1912"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="g12" /><g
style="fill:none;stroke:#000000;stroke-width:2.94289;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:0.28627452"
id="g12"
transform="matrix(0.67960394,0,0,0.67960394,13.339158,15.414767)"><g
id="g11"
transform="matrix(0.86451374,0,0,0.86451374,3.4597458,-2.6863331)"
style="stroke-width:3.4041;stroke:#000000;stroke-opacity:0.28627452"><path
d="m -0.84148875,14.121696 1.68297754,1.682977 c 2.16879471,2.168795 5.68510011,2.168792 7.85389331,-10e-7 2.1687929,-2.168793 2.1687959,-5.685099 1.6e-6,-7.8538932 L 7.0124063,6.2678012"
id="path10"
style="stroke-width:3.4041;stroke:#000000;stroke-opacity:0.28627452" /><path
d="M 20.598848,27.708138 2.5244663,9.6337562"
id="path11"
style="stroke-width:3.4041;stroke:#000000;stroke-opacity:0.28627452" /></g></g><path
d="M 3.039,6.3466574 6.943,19.909657 c 0.185,0.837 0.92,1.516 1.831,1.642 l 0.17,0.016 c 0.7939438,0.0476 1.551757,-0.337043 1.982,-1.006 l 0.045,-0.078 1.4,-2.072 c 0,0 0.980006,-1.592325 1.633484,-2.249269 0.68262,-0.68624 2.340516,-1.718731 2.340516,-1.718731 l 2.103,-1.412 c 0.726,-0.385 1.18,-1.278 1.053,-2.189 C 19.37474,9.9328713 18.696553,9.1972717 17.8,8.9976574 l -13.524,-3.89 c -0.7563604,-0.2168787 -1.4553214,0.4843442 -1.236,1.24 z"
id="path4"
sodipodi:nodetypes="cccccccaccccccc"
style="fill:#000000;fill-opacity:0.286567" /><path
stroke="none"
d="M 0,0 H 24 V 24 H 0 Z"
fill="none"
id="path1" /><path
d="M 3.039,4.277 6.943,17.84 c 0.185,0.837 0.92,1.516 1.831,1.642 l 0.17,0.016 c 0.7939438,0.0476 1.551757,-0.337043 1.982,-1.006 l 0.045,-0.078 1.4,-2.072 c 0,0 0.980006,-1.592325 1.633484,-2.249269 C 14.687104,13.406491 16.345,12.374 16.345,12.374 l 2.103,-1.412 C 19.174,10.577 19.628,9.684 19.501,8.773 19.37474,7.8632139 18.696553,7.1276143 17.8,6.928 L 4.276,3.038 C 3.5196396,2.8211213 2.8206786,3.5223442 3.04,4.278 Z"
id="path2"
sodipodi:nodetypes="cccccccaccccccc" /><g
style="fill:none;stroke:#ffffff;stroke-width:2.94289;stroke-linecap:round;stroke-linejoin:round"
id="g9"
transform="matrix(0.67960394,0,0,0.67960394,13.339158,13.557908)"><path
stroke="none"
d="M 0,0 H 24 V 24 H 0 Z"
fill="none"
id="path1-6"
style="stroke-width:2.94289" /><g
id="g3"
transform="matrix(0.86451374,0,0,0.86451374,3.4597458,-2.6863331)"
style="stroke-width:3.4041"><path
d="m -0.84148875,14.121696 1.68297754,1.682977 c 2.16879471,2.168795 5.68510011,2.168792 7.85389331,-10e-7 2.1687929,-2.168793 2.1687959,-5.685099 1.6e-6,-7.8538932 L 7.0124063,6.2678012"
id="path2-5"
style="stroke-width:3.4041" /><path
d="M 20.598848,27.708138 2.5244663,9.6337562"
id="path3"
style="stroke-width:3.4041" /></g></g></svg>

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@@ -0,0 +1,43 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b1xvmctdfkyua"
path="res://.godot/imported/pointer-fork.svg-7da3179fd298523652e878610e95a15b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://gui/pointer/assets/cursors/pointer-fork.svg"
dest_files=["res://.godot/imported/pointer-fork.svg-7da3179fd298523652e878610e95a15b.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
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

View File

@@ -0,0 +1,70 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="31.51301"
height="31.618402"
viewBox="0 0 31.51301 31.618402"
fill="#ffffff"
class="icon icon-tabler icons-tabler-filled icon-tabler-pointer"
version="1.1"
id="svg2"
sodipodi:docname="pointer-seed.svg"
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
xml:space="preserve"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><defs
id="defs2" /><sodipodi:namedview
id="namedview2"
pagecolor="#505050"
bordercolor="#ffffff"
borderopacity="1"
inkscape:showpageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="1"
inkscape:deskcolor="#505050"
inkscape:zoom="16"
inkscape:cx="11.03125"
inkscape:cy="15.4375"
inkscape:window-width="1920"
inkscape:window-height="1009"
inkscape:window-x="1912"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="g13" /><g
style="fill:none;stroke:#000000;stroke-width:2.94289;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:0.28627452"
id="g12"
transform="matrix(0.67960394,0,0,0.67960394,13.339158,15.414767)"><g
style="fill:none;stroke:#ffffff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
id="g13"
transform="matrix(1.4714453,0,0,1.4714453,-14.996141,-13.751782)"><path
id="path13"
style="color:#000000;fill:#000000;fill-opacity:0.286275;stroke:none;stroke-linecap:butt;stroke-linejoin:miter;-inkscape-stroke:none"
d="M 16.940169 10.817717 A 1.0001 1.0001 0 0 0 16.358138 11.005217 C 13.686618 12.918031 12.139709 16.20083 11.987044 19.169279 C 11.910714 20.653504 12.190597 22.096936 13.012434 23.229826 C 13.834272 24.362716 15.233584 25.083365 16.942122 25.083341 C 17.445115 25.083335 17.919788 25.020678 18.362044 24.903654 C 19.485925 25.236241 20.658194 25.074751 21.67845 24.59506 C 22.785741 24.07445 23.754996 23.204576 24.559309 22.141935 C 26.167934 20.016653 27.152551 17.08613 26.774153 14.243498 A 1.0001 1.0001 0 0 0 25.977278 13.393889 C 24.840684 13.168483 23.688671 13.163127 22.569075 13.333342 C 21.767554 13.455202 20.982858 13.669069 20.233137 13.956389 C 19.532786 12.819246 18.626458 11.794324 17.524153 11.005217 A 1.0001 1.0001 0 0 0 16.940169 10.817717 z M 16.942122 13.333342 C 18.610175 14.895648 19.791959 17.224316 19.8972 19.270842 C 19.95677 20.429245 19.713255 21.418522 19.250716 22.055998 C 18.788176 22.693473 18.142198 23.083325 16.942122 23.083341 C 15.74233 23.083358 15.094015 22.693462 14.631575 22.055998 C 14.169137 21.418532 13.925512 20.429297 13.985091 19.270842 C 14.090347 17.224223 15.27447 14.895584 16.942122 13.333342 z M 23.854231 15.315763 C 24.141473 15.312152 24.428327 15.321402 24.713606 15.343107 C 24.737476 17.319437 24.102823 19.429793 22.963606 20.934904 C 22.452793 21.609779 21.873278 22.152193 21.295637 22.520841 C 21.787879 21.522497 21.956426 20.358983 21.895247 19.169279 C 21.837627 18.048799 21.579738 16.884439 21.139387 15.764982 C 22.015184 15.472134 22.936412 15.327304 23.854231 15.315763 z " /><path
id="path15"
style="stroke:#000000;stroke-width:2;stroke-opacity:0.28627452"
d="m 15.435411,20.320522 c 0.181249,0.701942 0.742034,1.209337 1.765659,1.209324"
sodipodi:nodetypes="cc" /><path
id="path2-1"
style="stroke:#ffffff;stroke-width:2;stroke-opacity:1"
d="m 16.940509,10.041523 c -4.729382,3.386248 -5.816673,12.263906 0,12.263824 5.817612,-8.1e-5 4.730439,-8.877446 0,-12.263824 z"
sodipodi:nodetypes="csc" /><path
id="path9"
style="stroke:#ffffff;stroke-width:2;stroke-opacity:1"
d="m 18.428167,22.095641 c 3.746016,1.405817 8.024015,-4.46492 7.35412,-9.497378 -2.024084,-0.40141 -4.155288,-0.02268 -5.992509,0.857428"
sodipodi:nodetypes="ccc" /><path
id="path10"
style="stroke:#ffffff;stroke-width:2;stroke-opacity:1"
d="m 15.435411,18.542844 c 0.181249,0.701942 0.742034,1.209337 1.765659,1.209324"
sodipodi:nodetypes="cc" /></g></g><path
d="M 3.039,6.3466574 6.943,19.909657 c 0.185,0.837 0.92,1.516 1.831,1.642 l 0.17,0.016 c 0.7939438,0.0476 1.551757,-0.337043 1.982,-1.006 l 0.045,-0.078 1.4,-2.072 c 0,0 0.980006,-1.592325 1.633484,-2.249269 0.68262,-0.68624 2.340516,-1.718731 2.340516,-1.718731 l 2.103,-1.412 c 0.726,-0.385 1.18,-1.278 1.053,-2.189 C 19.37474,9.9328713 18.696553,9.1972717 17.8,8.9976574 l -13.524,-3.89 c -0.7563604,-0.2168787 -1.4553214,0.4843442 -1.236,1.24 z"
id="path4"
sodipodi:nodetypes="cccccccaccccccc"
style="fill:#000000;fill-opacity:0.286567" /><path
stroke="none"
d="M 0,0 H 24 V 24 H 0 Z"
fill="none"
id="path1" /><path
d="M 3.039,4.277 6.943,17.84 c 0.185,0.837 0.92,1.516 1.831,1.642 l 0.17,0.016 c 0.7939438,0.0476 1.551757,-0.337043 1.982,-1.006 l 0.045,-0.078 1.4,-2.072 c 0,0 0.980006,-1.592325 1.633484,-2.249269 C 14.687104,13.406491 16.345,12.374 16.345,12.374 l 2.103,-1.412 C 19.174,10.577 19.628,9.684 19.501,8.773 19.37474,7.8632139 18.696553,7.1276143 17.8,6.928 L 4.276,3.038 C 3.5196396,2.8211213 2.8206786,3.5223442 3.04,4.278 Z"
id="path2"
sodipodi:nodetypes="cccccccaccccccc" /></svg>

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

@@ -0,0 +1,43 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c7ph01vdeeoql"
path="res://.godot/imported/pointer-seed.svg-5fd492bb617059b1e1c19cc9d7b92b0c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://gui/pointer/assets/cursors/pointer-seed.svg"
dest_files=["res://.godot/imported/pointer-seed.svg-5fd492bb617059b1e1c19cc9d7b92b0c.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
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

View File

@@ -0,0 +1,66 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="31.51301"
height="31.618402"
viewBox="0 0 31.51301 31.618402"
fill="#ffffff"
class="icon icon-tabler icons-tabler-filled icon-tabler-pointer"
version="1.1"
id="svg2"
sodipodi:docname="pointer-ship.svg"
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
xml:space="preserve"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><defs
id="defs2" /><sodipodi:namedview
id="namedview2"
pagecolor="#505050"
bordercolor="#ffffff"
borderopacity="1"
inkscape:showpageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="1"
inkscape:deskcolor="#505050"
inkscape:zoom="11.313709"
inkscape:cx="9.4133586"
inkscape:cy="8.0433393"
inkscape:window-width="1920"
inkscape:window-height="1009"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="svg2" /><g
style="fill:none;stroke:#ffffff;stroke-width:1.45535;stroke-linecap:round;stroke-linejoin:round"
id="g31"
transform="matrix(1.37424,0,0,1.37424,-1.46875,1.72616)"><path
stroke="none"
d="M 0,0 H 24 V 24 H 0 Z"
fill="none"
id="path28"
style="stroke-width:1.45535" /><path
id="path29"
style="stroke:#000000;stroke-width:1.45535;stroke-opacity:0.286275"
d="M 17,4 A 9,9 0 0 0 9,10 6,6 0 0 0 4,13 8,8 0 0 1 6.9941406,14.003906 6,6 0 0 0 4,20 6,6 0 0 0 9.9960938,17.005859 8,8 0 0 1 11,20 6,6 0 0 0 14,15 9,9 0 0 0 20,7 3,3 0 0 0 17,4 Z M 7.0136719,14.013672 a 8,8 0 0 1 2.9726562,2.972656 z" /><path
style="color:#000000;fill:#000000;fill-opacity:0.286275;stroke:none;stroke-linecap:butt;stroke-linejoin:miter;-inkscape-stroke:none"
d="m 15,7.2714844 c -0.411705,0 -0.834342,0.1355176 -1.171875,0.4355468 C 13.516655,7.983893 13.271484,8.5307669 13.271484,9 c 0,0.4692332 0.556641,1.292969 0.556641,1.292969 0.178576,0.414797 0.76017,0.435547 1.171875,0.435547 0.411705,0 0.834342,-0.135518 1.171875,-0.435547 C 16.509408,9.9929395 16.728516,9.5152515 16.728516,9 c 0,-0.5152515 -0.219108,-0.9929395 -0.556641,-1.2929688 C 15.834342,7.407002 15.411705,7.2714844 15,7.2714844 Z"
id="path31"
sodipodi:nodetypes="sssssssss" /></g><g
style="fill:none;stroke:#ffffff;stroke-width:1.45535;stroke-linecap:round;stroke-linejoin:round"
id="g28"
transform="matrix(1.37424,0,0,1.37424,-1.46875,-2.0625)"><path
stroke="none"
d="M 0,0 H 24 V 24 H 0 Z"
fill="none"
id="path1-4"
style="stroke-width:1.45535" /><path
d="m 4,13 a 8,8 0 0 1 7,7 6,6 0 0 0 3,-5 9,9 0 0 0 6,-8 3,3 0 0 0 -3,-3 9,9 0 0 0 -8,6 6,6 0 0 0 -5,3"
id="path2"
style="stroke-width:1.45535" /><path
d="m 7,14 a 6,6 0 0 0 -3,6 6,6 0 0 0 6,-3"
id="path3-7"
style="stroke-width:1.45535" /><path
d="m 14,9 a 1,1 0 1 0 2,0 1,1 0 1 0 -2,0"
id="path4"
style="stroke-width:1.45535;fill:#ffffff;fill-opacity:1" /></g></svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@@ -0,0 +1,43 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://rupmj6lgmxn7"
path="res://.godot/imported/pointer-ship.svg-3f864fc9504ac00ce18636a8c6203910.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://gui/pointer/assets/cursors/pointer-ship.svg"
dest_files=["res://.godot/imported/pointer-ship.svg-3f864fc9504ac00ce18636a8c6203910.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
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

View File

@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="31.51301"
height="31.618402"
viewBox="0 0 31.51301 31.618402"
fill="#ffffff"
class="icon icon-tabler icons-tabler-filled icon-tabler-pointer"
version="1.1"
id="svg2"
sodipodi:docname="pointer-signal.svg"
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
xml:space="preserve"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><defs
id="defs2" /><sodipodi:namedview
id="namedview2"
pagecolor="#505050"
bordercolor="#ffffff"
borderopacity="1"
inkscape:showpageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="1"
inkscape:deskcolor="#505050"
inkscape:zoom="16"
inkscape:cx="8.71875"
inkscape:cy="17.8125"
inkscape:window-width="1920"
inkscape:window-height="1009"
inkscape:window-x="1912"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="svg2" /><path
d="M 3.039,6.3466574 6.943,19.909657 c 0.185,0.837 0.92,1.516 1.831,1.642 l 0.17,0.016 c 0.7939438,0.0476 1.551757,-0.337043 1.982,-1.006 l 0.045,-0.078 1.4,-2.072 c 0,0 0.980006,-1.592325 1.633484,-2.249269 0.68262,-0.68624 2.340516,-1.718731 2.340516,-1.718731 l 2.103,-1.412 c 0.726,-0.385 1.18,-1.278 1.053,-2.189 C 19.37474,9.9328713 18.696553,9.1972717 17.8,8.9976574 l -13.524,-3.89 c -0.7563604,-0.2168787 -1.4553214,0.4843442 -1.236,1.24 z"
id="path4"
sodipodi:nodetypes="cccccccaccccccc"
style="fill:#000000;fill-opacity:0.286567" /><path
d="m 24.305261,27.085712 a 3.613208,3.5890983 0 1 0 -5.110521,0"
id="path8"
style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:0.286275" /><path
stroke="none"
d="M 0,0 H 24 V 24 H 0 Z"
fill="none"
id="path1" /><path
d="m 21.027359,24.547502 a 0.7226416,0.71781966 0 1 0 1.445283,0 0.7226416,0.71781966 0 1 0 -1.445283,0"
id="path9"
style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:0.286275" /><path
d="M 3.039,4.277 6.943,17.84 c 0.185,0.837 0.92,1.516 1.831,1.642 l 0.17,0.016 c 0.7939438,0.0476 1.551757,-0.337043 1.982,-1.006 l 0.045,-0.078 1.4,-2.072 c 0,0 0.980006,-1.592325 1.633484,-2.249269 C 14.687104,13.406491 16.345,12.374 16.345,12.374 l 2.103,-1.412 C 19.174,10.577 19.628,9.684 19.501,8.773 19.37474,7.8632139 18.696553,7.1276143 17.8,6.928 L 4.276,3.038 C 3.5196396,2.8211213 2.8206786,3.5223442 3.04,4.278 Z"
id="path2"
sodipodi:nodetypes="cccccccaccccccc" /><path
d="m 26.348891,29.115706 a 6.5037744,6.4603769 0 1 0 -9.197782,0"
id="path7"
style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:0.286275" /><path
d="m 24.305261,25.055718 a 3.613208,3.5890983 0 1 0 -5.110521,0"
id="path3"
style="fill:none;stroke:#ffffff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round" /><path
d="m 21.027359,22.517508 a 0.7226416,0.71781966 0 1 0 1.445283,0 0.7226416,0.71781966 0 1 0 -1.445283,0"
id="path4-9"
style="fill:none;stroke:#ffffff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round" /><path
d="m 26.348891,27.085712 a 6.5037744,6.4603769 0 1 0 -9.197782,0"
id="path2-7"
style="fill:none;stroke:#ffffff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round" /></svg>

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@@ -0,0 +1,43 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://sq5of6kpjrxj"
path="res://.godot/imported/pointer-signal.svg-f760203858e8cefeb5c8506af6f58026.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://gui/pointer/assets/cursors/pointer-signal.svg"
dest_files=["res://.godot/imported/pointer-signal.svg-f760203858e8cefeb5c8506af6f58026.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
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

View File

@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="24"
height="24"
viewBox="0 0 24 24"
width="31.51301"
height="30.805902"
viewBox="0 0 31.51301 30.805902"
fill="#ffffff"
class="icon icon-tabler icons-tabler-filled icon-tabler-pointer"
version="1.1"
@@ -24,18 +24,18 @@
inkscape:pageopacity="0"
inkscape:pagecheckerboard="1"
inkscape:deskcolor="#505050"
inkscape:zoom="16"
inkscape:cx="7.84375"
inkscape:cy="20.3125"
inkscape:zoom="11.313709"
inkscape:cx="16.661204"
inkscape:cy="15.909903"
inkscape:window-width="1920"
inkscape:window-height="1009"
inkscape:window-x="-8"
inkscape:window-x="1912"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="svg2" />
<path
stroke="none"
d="M0 0h24v24H0z"
d="M 0,0 H 24 V 24 H 0 Z"
fill="none"
id="path1" />
<path
@@ -43,6 +43,6 @@
id="path3"
style="fill:#000000;fill-opacity:0.286567" />
<path
d="M3.039 4.277l3.904 13.563c.185 .837 .92 1.516 1.831 1.642l.17 .016a2.2 2.2 0 0 0 1.982 -1.006l.045 -.078l1.4 -2.072l4.05 4.05a2.067 2.067 0 0 0 2.924 0l1.047 -1.047c.388 -.388 .606 -.913 .606 -1.461l-.008 -.182a2.067 2.067 0 0 0 -.598 -1.28l-4.047 -4.048l2.103 -1.412c.726 -.385 1.18 -1.278 1.053 -2.189a2.2 2.2 0 0 0 -1.701 -1.845l-13.524 -3.89a1 1 0 0 0 -1.236 1.24z"
d="M 3.039,4.277 6.943,17.84 c 0.185,0.837 0.92,1.516 1.831,1.642 l 0.17,0.016 a 2.2,2.2 0 0 0 1.982,-1.006 l 0.045,-0.078 1.4,-2.072 4.05,4.05 a 2.067,2.067 0 0 0 2.924,0 l 1.047,-1.047 c 0.388,-0.388 0.606,-0.913 0.606,-1.461 L 20.99,17.702 a 2.067,2.067 0 0 0 -0.598,-1.28 l -4.047,-4.048 2.103,-1.412 c 0.726,-0.385 1.18,-1.278 1.053,-2.189 A 2.2,2.2 0 0 0 17.8,6.928 L 4.276,3.038 A 1,1 0 0 0 3.04,4.278 Z"
id="path2" />
</svg>

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -3,7 +3,7 @@
[ext_resource type="Script" uid="uid://vhumsfntpqcl" path="res://gui/pointer/scripts/pointer.gd" id="1_1pe2k"]
[ext_resource type="Texture2D" uid="uid://bspffyprdywgc" path="res://gui/pointer/assets/cursors/pointer.svg" id="2_q4bvb"]
[ext_resource type="AudioStream" uid="uid://bym03qp4n6vep" path="res://gui/pointer/assets/sounds/click.wav" id="3_kj0cm"]
[ext_resource type="Texture2D" uid="uid://b3vg3tipd4boh" path="res://common/icons/hand-finger.svg" id="3_mw4ws"]
[ext_resource type="Texture2D" uid="uid://cl3wt3tbjiep0" path="res://gui/pointer/assets/cursors/pointer-action.svg" id="3_mw4ws"]
[ext_resource type="AudioStream" uid="uid://bhsew2amu3ydx" path="res://gui/pointer/assets/sounds/action_press_time.wav" id="3_tof6i"]
[ext_resource type="Texture2D" uid="uid://dcgnamu7sb3ov" path="res://common/icons/bolt.svg" id="4_b4uwv"]
[ext_resource type="AudioStream" uid="uid://cs4y6sinpth8e" path="res://common/audio_manager/assets/sfx/recharge/recharge_capsule_1.wav" id="4_mw4ws"]
@@ -74,7 +74,7 @@ metadata/_custom_type_script = "uid://dj2pv1hiwjfv0"
process_mode = 3
script = ExtResource("1_1pe2k")
default_cursor = ExtResource("2_q4bvb")
hover_cursor = ExtResource("3_mw4ws")
action_cursor = ExtResource("3_mw4ws")
[node name="InspectorCanvasLayer" type="CanvasLayer" parent="." unique_id=561032710]
layer = 128

View File

@@ -13,7 +13,7 @@ const CARD_UP_PADDING = 50
const PRESS_TIME_DRAG := 0.15
@export var default_cursor: Texture2D
@export var hover_cursor: Texture2D
@export var action_cursor: Texture2D
var all_inspected: Array[Node]
var inspected: Node = null
@@ -54,7 +54,6 @@ func get_current_inspected() -> Node:
func _ready():
Input.set_custom_mouse_cursor(default_cursor)
Input.set_custom_mouse_cursor(hover_cursor, Input.CURSOR_POINTING_HAND)
%Action.visible = false
func _process(delta):
@@ -66,18 +65,26 @@ func _process(delta):
%Inspector.position = get_viewport().get_mouse_position()
if not action_disabled and not dragging_inspected and current_selected_item and SceneManager.actual_scene.scene_id == "REGION":
%ActionZone.radius = current_selected_item.usage_zone_radius * GameInfo.settings_data.zoom
%ActionZone.color = ZONE_ACTIVATED_COLOR if can_use_item else ZONE_DEACTIVATED_COLOR
else:
%ActionZone.radius = 0
# if not action_disabled and not dragging_inspected and current_selected_item and SceneManager.actual_scene.scene_id == "REGION":
# %ActionZone.radius = current_selected_item.usage_zone_radius * GameInfo.settings_data.zoom
# %ActionZone.color = ZONE_ACTIVATED_COLOR if can_use_item else ZONE_DEACTIVATED_COLOR
# else:
# %ActionZone.radius = 0
%ActionZone.queue_redraw()
# %ActionZone.queue_redraw()
update_card()
update_inspector(get_current_inspected())
var cursor := default_cursor
if not Pause.pause and player and not action_disabled:
if can_interact:
cursor = action_cursor
elif current_selected_item and current_selected_item.get_pointer():
cursor = current_selected_item.get_pointer()
Input.set_custom_mouse_cursor(cursor)
if player and dragging_inspected:
inspected.global_position = player.get_global_mouse_position()
@@ -226,7 +233,7 @@ func update_card():
%CardVisualiser.show()
func update_inspector(current_inspected: Node):
func update_inspector(current_inspected):
if current_inspected:
if inspected != current_inspected:
if inspected and inspected.has_method("inspect"):