Jump to content

recycling permission issue

Closed 1.0.3

Trudy Latté
Trudy Latté

Posted

Hi I set up a recipe that gives 100% advantage to recycle

when the player consumes the recipe, he has permission but by recycling it does not recover the perks

then when an admin recycles it works

Ty

Trudy Latté

Posted

for the recipe

 

"Commands to run when the player consumes the food [key = command, value = description]": {
          "oxide.grant user {id} itemperks.recyclechance.100": ""
        },
        "Commands to run when the food buff expires": [
          "oxide.revoke user {id} itemperks.recyclechance.100"
        ],

 

and in the itemperks.json file

 

"Permission modifiers to increase the chance of obtaining enhancement kit when recycling [1.0 = 100% increase in chance]": {
        "itemperks.recyclechance.100": 1.0
      },

imthenewguy

Posted

That permission increases the chance by 100%, it doesn't set it to 100%.

 

For example, if the base value was a 25% chance of success, that permission would instead offer a 50% chance.

  • Like 1
CupsOhJoe

Posted

I have the base percentage at 100% but still not getting Kits from recycling as well

imthenewguy

Posted

Have you assigned the permission to give kits, and have you enabled recycling in the config?

imthenewguy

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.