#CW-REP/CW-CRAFTING

1 messages · Page 1 of 1 (latest)

snow violet
#

I'm trying to set up cw-crafting with cw-rep and when using this:

        category = "Materials",
        toItems = {
            steel = 1,
        },
        materials = {
            recyclablematerial = 1,
        },
        maxCraft = 100,
        craftingTime= 100,
        customSkillGain = 1,
        craftingSkill = 3050,
        skillName = 'recycling',
        tables = {'conversion'},
    },```
Purely as a test, I have 3000 rep in recycling but this displays 0/3050 in the crafting menu

cw-crafting config options:
```Config.UseCWRepForCraftingSkill = true -- Set to true if you want to use cw-rep for skill instead of qbs metadata
-- The following all require cw-rep to be enabled:
Config.CraftingSkillName = 'crafting' -- Make sure this matches the crafting skill name in your cw-rep config
Config.CraftingSkillLabel = '"Crafting Skill"' -- Default name for the crafting skill
Config.UseLevelsInsteadOfSkill = true -- If true then cw-rep will use level instead of pure xp 
Config.DefaultMaxCraft = 10 -- Default max amount a player can craft at a time```

If I don't have the `craftingSkill` requirement it does give me the recycling xp though. 

I'm not getting any "errors" as such but I do get this while in the menu even though everything on that bench has the skillName = 'recycling'

Doesn't have -main or anything like that, zero other scripts that could interfere and I added all the items myself

Using qbx if that matters
inland solstice
#

Purely as a test, I have 3000 rep in recycling but this displays 0/3050 in the crafting menu

You have levels set to true in you Config

#

So it'll display levels rather than the skill xp

#

Config.UseLevelsInsteadOfSkill = true -- If true then cw-rep will use level instead of pure xp

snow violet
#

Even with this set to false I get the same issue

inland solstice
#

What is recycling named as in your rep config?

#

In code i mean, not the label

snow violet
#
        icon = 'fas fa-recycle',
        label = 'Recycling',
        skillLevels = {
            { title = "Trash", from = 00, to = 1000 },
            { title = "Recycler", from = 1000, to = 2000 },
            { title = "Eco Warrior", from = 2000, to = 3000 },
            { title = "Recycling King", from = 3000, to = 4000 },
            { title = "Recycling God", from = 5000, to = 6000 },
            { title = "Recycling Master", from = 6000, to = 7000 },
            { title = "Recycling Legend", from = 8000, to = 9000 },
            { title = "Recycling Emperor", from = 9000, to = 10000 }, 
        }
    },```
inland solstice
#

AH

#

i know

#

I think

#

Pushed a fix. Could you grab the latest code?

No release yet so you'll need to grab the source

snow violet
#

Yeah I got you

#

Yeah all sorted, thank you

inland solstice
#

Nice. It probably wont update dynamically when crafting now. SO you'll need to re-open to see progress with other crafting skills sometimes. But at least it works

#

thanks for testing

snow violet
#

You're welcome, appreciate the quick response and fix

snow violet
#

Me again.. Sorry 😂 but are the tables supposed to always show "crafting" skill or is it supposed to show the actual skill on each bench?