From 94f26bd02ced1f902a29db11f099a86f331c0431 Mon Sep 17 00:00:00 2001 From: IcterusGames <112021348+IcterusGames@users.noreply.github.com> Date: Tue, 21 Feb 2023 20:44:25 -0400 Subject: [PATCH] Version 1.0.5 --- addons/simplegrasstextured/about.tscn | 2 +- addons/simplegrasstextured/plugin.cfg | 2 +- addons/simplegrasstextured/plugin.gd | 2 +- addons/simplegrasstextured/toolbar.tscn | 15 ++++++++------- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/addons/simplegrasstextured/about.tscn b/addons/simplegrasstextured/about.tscn index f9ad417..c3074fd 100644 --- a/addons/simplegrasstextured/about.tscn +++ b/addons/simplegrasstextured/about.tscn @@ -41,7 +41,7 @@ theme_override_styles/focus = SubResource("StyleBoxEmpty_hnw4u") theme_override_styles/normal = SubResource("StyleBoxEmpty_lwftf") bbcode_enabled = true text = "Simple Grass Textured Plugin -v. 1.0.4 +v. 1.0.5 by IcterusGames [font_size=7] [/font_size] [url]https://icterusgames.itch.io/[/url] diff --git a/addons/simplegrasstextured/plugin.cfg b/addons/simplegrasstextured/plugin.cfg index a0d7c07..00487ba 100644 --- a/addons/simplegrasstextured/plugin.cfg +++ b/addons/simplegrasstextured/plugin.cfg @@ -3,5 +3,5 @@ name="SimpleGrassTextured" description="Create simple grass textured" author="IcterusGames" -version="1.0.4" +version="1.0.5" script="plugin.gd" diff --git a/addons/simplegrasstextured/plugin.gd b/addons/simplegrasstextured/plugin.gd index 3cd7259..875c556 100644 --- a/addons/simplegrasstextured/plugin.gd +++ b/addons/simplegrasstextured/plugin.gd @@ -104,7 +104,7 @@ func _handles(object) -> bool: return false -func _edit(object : Variant): +func _edit(object): _grass_selected = object _update_gui() diff --git a/addons/simplegrasstextured/toolbar.tscn b/addons/simplegrasstextured/toolbar.tscn index 9c431a2..1bfac9c 100644 --- a/addons/simplegrasstextured/toolbar.tscn +++ b/addons/simplegrasstextured/toolbar.tscn @@ -10,7 +10,7 @@ [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_hc7jq"] -[sub_resource type="Image" id="Image_w1uti"] +[sub_resource type="Image" id="Image_u88hp"] data = { "data": PackedByteArray(255, 255, 255, 0, 255, 255, 255, 0, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 131, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 131, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 131, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 231, 255, 93, 93, 55, 255, 97, 97, 58, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 231, 255, 94, 94, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 93, 93, 41, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 97, 97, 42, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 98, 98, 47, 255, 97, 97, 42, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 235, 255, 93, 93, 233, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 94, 94, 46, 255, 93, 93, 236, 255, 93, 93, 233, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0), "format": "RGBA8", @@ -19,8 +19,8 @@ data = { "width": 16 } -[sub_resource type="ImageTexture" id="ImageTexture_7dmaa"] -image = SubResource("Image_w1uti") +[sub_resource type="ImageTexture" id="ImageTexture_2mqk8"] +image = SubResource("Image_u88hp") [node name="Control" type="HBoxContainer"] anchors_preset = 10 @@ -36,6 +36,7 @@ layout_mode = 2 [node name="PanelContainer" type="PanelContainer" parent="."] custom_minimum_size = Vector2(24, 0) layout_mode = 2 +mouse_default_cursor_shape = 2 theme_override_styles/panel = SubResource("StyleBoxEmpty_6mh15") [node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"] @@ -64,7 +65,7 @@ auto_translate = false localize_numeral_system = false theme_override_font_sizes/font_size = 7 theme_override_styles/normal = SubResource("StyleBoxEmpty_hc7jq") -text = "1.0.4" +text = "1.0.5" horizontal_alignment = 1 vertical_alignment = 2 @@ -149,7 +150,7 @@ layout_mode = 2 [node name="IconScale" type="TextureRect" parent="."] texture_filter = 1 layout_mode = 2 -texture = SubResource("ImageTexture_7dmaa") +texture = SubResource("ImageTexture_2mqk8") stretch_mode = 3 [node name="SpinScale" type="SpinBox" parent="."] @@ -168,7 +169,7 @@ layout_mode = 2 [node name="IconRotation" type="TextureRect" parent="."] texture_filter = 1 layout_mode = 2 -texture = SubResource("ImageTexture_7dmaa") +texture = SubResource("ImageTexture_2mqk8") stretch_mode = 3 [node name="SpinRotation" type="SpinBox" parent="."] @@ -182,7 +183,7 @@ select_all_on_focus = true [node name="IconRotationRand" type="TextureRect" parent="."] texture_filter = 1 layout_mode = 2 -texture = SubResource("ImageTexture_7dmaa") +texture = SubResource("ImageTexture_2mqk8") stretch_mode = 3 [node name="SpinRotationRand" type="SpinBox" parent="."]