Crafting Upgrade: Difference between revisions

From OpenComputers: Rebooted
Jump to navigation Jump to search
Unify block and component API pages
m SoraFirestorm moved page Item/crafting upgrade to Crafting Upgrade without leaving a redirect: Page has been unified
 
(No difference)

Latest revision as of 19:23, 28 August 2026

Crafting Upgrade

When activated the robot considers the top-left area the crafting area and will attempt to craft any layed-out crafting recipe in that area. The requirements for a successful crafting attempt are exactly the same as if you would attempt to craft the item in a crafting table.

Crafting area (free slots are the crafting area)

It is recommended (but not required) to use this upgrade in combination with an Inventory Controller Upgrade. It allows to read the names and types of items and therefore makes it a lot easier to find the required crafting resources.

The Crafting upgrade is crafted using the following recipe:

Component API

Component name: crafting

craft

craft([count: number]): boolean

Crafts up to count numbers or a full stack. In any case the robot will never craft more than one full stack of crafting result items at once. Returns true if at least one item was crafted, false otherwise.

Note that if you specify an amount of items to be crafted that is lower than the minimum resulting stack size (i.E. order to craft 1 stick, but minimum result stack size is 4), then nothing will be crafted, however this will still return true.

If successful the crafting result will be placed in the currently selected slot, or (if occupied by something else) will be placed into the next slot containing similar items or in the next free slot. This can be one of the slots of the crafting area, which would make it impossible to craft the same item again until that area is cleared.

Contents

Items
Components Data Card - Debug Card - Graphics Card - Internet Card - Linked Card - Network Card - Redstone Card - Wireless Network Card
Storage Devices Floppy Disk - EEPROM - Hard Disk Drive - Memory
Upgrades Angel Upgrade - Battery Upgrade - Chunkloader Upgrade - Database Upgrade - Experience Upgrade - Generator Upgrade - Hover Upgrade - Inventory Controller Upgrade - Inventory Upgrade - Leash Upgrade - Navigation Upgrade - Piston Upgrade - Sign I/O Upgrade - Solar Generator Upgrade - Tank Upgrade - Tank Controller Upgrade - Tractor Beam Upgrade - World Sensor Upgrade
Containers Card Container - Upgrade Container - Disk Drive
Others Analyzer - Texture Picker - Component Bus - CPU - APU - Drone Case - Manual - Microcontroller Case - Nanomachines - Remote Terminal - Terminal Server - Server - Tablet Case - Tablet - Crafting Materials - Ink Cartridge - Scrench - Hover Boots - Grog - Loot Disks