Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

item_order not getting set #38

Open
kingoftheconnors opened this issue Aug 23, 2023 · 1 comment
Open

item_order not getting set #38

kingoftheconnors opened this issue Aug 23, 2023 · 1 comment
Labels

Comments

@kingoftheconnors
Copy link
Contributor

I created a new category "Assist Mode" in my game, and added three custom-made settings to it. However, whenever running the game, these settings would get reset to their default. When opening up the plugin_data.tres, I found the category:

[sub_resource type="Resource" id="Resource_8kxsx"]
resource_name = "AssistMode"
script = ExtResource("1_8aw2k")
name = "AssistMode"
settings = {}
item_order = Array[Resource("res://addons/ggs/classes/resources/ggs_setting.gd")]([])

It looks like the item_order isn't getting properly set, even though I added the settings to the category. Any ideas why?

image

This image was taken when the settings were first added. After closing Godot and reopening the project, the settings were gone.

@kingoftheconnors
Copy link
Contributor Author

kingoftheconnors commented Aug 23, 2023

It may also be worth mentioning the "AssistMode" resource was placed at the very top of the plugin_data file, making it not able to refer to any other resources.

And also, the resources that SHOULD have been assigned to AssistMode (Indestructibility Mode, Moon Jump Mode, Game Speed Setting) didn't have their Category set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants