1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-10-26 03:17:38 +00:00

Revert "Remove CC: Tweaked doc files."

Never mind, we needed them for linting the lua doc :)
This commit is contained in:
Toad-Dev
2022-01-04 18:07:47 -08:00
parent af863469e6
commit 43101773bb
45 changed files with 1560 additions and 0 deletions

14
doc/stub/turtle.lua Normal file
View File

@@ -0,0 +1,14 @@
--[[- Craft a recipe based on the turtle's inventory.
The turtle's inventory should set up like a crafting grid. For instance, to
craft sticks, slots 1 and 5 should contain planks. _All_ other slots should be
empty, including those outside the crafting "grid".
@tparam[opt=64] number limit The maximum number of crafting steps to run.
@throws When limit is less than 1 or greater than 64.
@treturn[1] true If crafting succeeds.
@treturn[2] false If crafting fails.
@treturn string A string describing why crafting failed.
@since 1.4
]]
function craft(limit) end