#Wiki Update Regarding Create JS

11 messages · Page 1 of 1 (latest)

main sandal
#

Yesterday when I was editing sequenced assembly recipes for Create JS, I noticed the wiki says that the .loops() function defaults to 1, however this was not correct, it defaulted to 4, and when I did .loops() with no parameter, it couldn't find the function for the method .createDeploying()

Just figured this was a small wiki error, not sure if its only a 1.18.2 thing or what, just figured id mention it. The script below works and loops once:

let intermediate = CR('incomplete_precision_mechanism')
        event.recipes.createSequencedAssembly([
            Item.of(CR('precision_mechanism'))],
            F('#plates/brass'),
            [
                event.recipes.createDeploying(intermediate,[intermediate, KJ('tempered_spring')]),
                event.recipes.createDeploying(intermediate,[intermediate, KJ('tempered_blade')]),
                event.recipes.createDeploying(intermediate,[intermediate, KJ('tempered_pipe')]),
                event.recipes.createDeploying(intermediate,[intermediate, KJ('tempered_gear')])
            ]).transitionalItem(intermediate).loops(1)
exotic cliffBOT
#

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

steep moss
#

i think i read today that it was changed to 4 recently

#

waaaaay after the wiki was written

#

is it on the legacy wiki

main sandal
#

noted, is there somewhere on git or otherwise that would make sense to contribute to wiki, doesn't feel right making a KJS support for something this simple lol

steep moss
#

i updated the legacy wiki now

main sandal
#

tyty

steep moss
#

no, to edit the wiki currently you have to log into the website and have permissions to do so

main sandal
#

got it

#

also makes sense why theres no method for .loops() with no parameter, because if you don't want to call it, itll just default 4, and if you dont want it to loop 4 times, youre going to be entering a paramter anyways.