Upgrade Purchase Persistence Issue #282

Open
opened 2026-08-09 18:09:23 +00:00 by DiscordBot · 0 comments
Owner

It appears that if an ability uses a buyable condition inside of the unlocking state, and they DO NOT define a "requires" property, the upgrade will get reset upon death of the player.

Here is an example of an issue state:

"state": {
        "unlocking": {
          "type": "palladium:buyable",
          "cost": {
              "type": "palladium:item",
              "ingredient": "minecraft:diamond",
              "amount": 5
          }
        }
      }

For testing, I simply unlocked the upgrade, verified the ability worked, then ran /kill. Upon checking the power tree, the upgrade went back to locked, and required purchase again.


Reported by Bandit (@letbandithelp) via Discord — open thread

It appears that if an ability uses a buyable condition inside of the unlocking state, and they DO NOT define a "requires" property, the upgrade will get reset upon death of the player. Here is an example of an issue state: ``` "state": { "unlocking": { "type": "palladium:buyable", "cost": { "type": "palladium:item", "ingredient": "minecraft:diamond", "amount": 5 } } } ``` For testing, I simply unlocked the upgrade, verified the ability worked, then ran /kill. Upon checking the power tree, the upgrade went back to locked, and required purchase again. --- <sub>Reported by Bandit (@letbandithelp) via Discord — [open thread](https://discord.com/channels/116908382878695430/1536069340271747233)</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ThreeTAG/Palladium#282
No description provided.