#How would I turn this into smithing?

60 messages · Page 1 of 1 (latest)

rain quartz
#

I'm having some issues with converting this procedure into smithing instead of crafting so the items can keep their attributes when upgraded

paper parrotBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

rain quartz
#
let upgrade = (output, upgradeInput, materialused) => {
    event.shaped(output, [
      ' A ',
      'ABA',
      ' A '
    ], {
      A: `${materialused}`,
      B: `${upgradeInput}`
    })
  }
rain quartz
sleek auroraBOT
#

Paste version of metalstree.js from @rain quartz

rain quartz
#

@vocal gust you got a minute to help out with this?

vocal gust
rain quartz
#

thank you

#

I appreciate it

rain quartz
#

@cunning whale

rain quartz
#

@cunning whale

cunning whale
#

hello

#

oh like

#

wait smithing table is the netherite one righ

#

tbh

#

you kinda got skill issues I think

#

readf

#

can u like.. point out what part

#

the file is like 100+ lines

#
let upgrade = event.smithing
```:>
#

try that :>

#

@rain quartz @rain quartz @rain quartz @rain quartz @rain quartz @rain quartz @rain quartz @rain quartz @rain quartz

cunning whale
cunning whale
#

also uh

#

use const if u don't plan to change hte var

#
const upgrade = event.smithing
#

that way ur editor will say ur a failure if you try to modify it

#

the other upgrade func

#

kdenlive

#

based

#

@rain quartz do u mind taking a quick feedback survey

#

(also format ur code)

#

ok but the vsc file isn't

#

and take that survey ahujel

#

yes

#

what

#

nono

#

change the whole thing

#

just

cunning whale
#

nothing else

#

or just use event.smithing directly

#

well remove the A and B lines

#

ofc

#

es

#

should be

#

yolo

cunning whale
#

@rain quartz Unresolved thread still hasn't been closed! If your question was answered, please close this post with </ticket close:1054771505520717835> command!

rain quartz
#

I'm just not home

cunning whale
#

didn't u say it worked yesterday-

rain quartz
#

I said it launched