CookieTouch API Documentation

Summary | Single page summary

Table of Contents


All functions related to crafts

craft(uid: number, qty: number)

Craft an amount of an item.


async function* craftitem() {
  yield * (await useById(400)); // Use the oven with the action (bake bread in this case(-1))
  yield* await craft.craft(468, 10) // Craft 10 Amaknian Bread ( 468 = Amaknian Bread )

All GID are available in items.txt.