How to change inherited export variable order?

I’m trying to make hierarchical Resources using inheritance. ( I don’t know how to express this better)

I got the main class Item and the sub-class Weapon. Obviously, Item inherits from Resource, Weapon inherits from Item. But when I want to set the actual exports on a resource (.tres) the Weapon export take priority, and the Item exports are shown only after. Is there a way to make Item exports show before Weapon’s?

1 Like

No.

But since every other Node in the game behaves the same, it’s completely intuitive. You’ll get used to it.

If it really annoys you, make Weapon a @tool script, then add a weapon_name field and create a setter that updates the Item name field for you.

2 Likes

You can favorite a property. It’ll then go to the top of the inspector.

3 Likes