Scrap Mechanic Wiki
Explore
Main Page
All Pages
Interactive Maps
navigation
Main page
Community portal
Recent changes
Random page
Admin noticeboard
Portals
Official Website
Steam Store
Gamepedia
Gamepedia support
Report a bad ad
Help Wiki
Contact us
FANDOM
Fan Central
BETA
Games
Anime
Movies
TV
Video
Wikis
Explore Wikis
Community Central
Start a Wiki
Don't have an account?
Register
Sign In
Sign In
Register
Scrap Mechanic Wiki
518
pages
Explore
Main Page
All Pages
Interactive Maps
navigation
Main page
Community portal
Recent changes
Random page
Admin noticeboard
Portals
Official Website
Steam Store
Gamepedia
Gamepedia support
Report a bad ad
Help Wiki
Contact us
Editing
Craftbot
Back to page
Edit
VisualEditor
History
Talk (0)
Edit Page
Craftbot
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Infobox gear |image=CraftbotCutout.png |category=Interactive |weight =7 |durability =7 |friction =6 |buoyancy =1 |flammable =No }} '''{{PAGENAME}}''' is a crafting station in ''{{gamename}}''. ==Overview== The Craftbot is the primary crafting station in [[Survival Mode]]. It is used to craft many items. It is created by using a [[Dispenserbot]] at a [[Mechanic Station]]. ==Usage== Unlike the [[Mini Craftbot]], the Craftbot has all crafting recipes available and is capable of being upgraded. The Craftbot can be automated by using connected [[Large Chest]]s. By having viable input and output chests, it can loop a sequence of crafting processes for as long as it has access to the required items. When the items run out, the sequence will terminate automatically. The Craftbot will also pull inventory out of chests connected to other chests with [[Vacuum Pipe]]s. This allows the player to connect the output chest to an input chest, which can help with multi-stage crafting operations. If you have trouble connecting Large Chests, aim for the connection port to limit the rotations. When a Craftbot's output is linked to a Large Chest, crafted items will be automatically stored when completed. When a Craftbot's input is linked to a Large Chest, it will pull materials from the chest to craft items. This disables the ability for the Craftbot to recognize items in player inventories. Instead, it will only recognize items stored in Large Chests connected to it. ==Crafting== {{Crafting |in=Scrap Metal Block/90;Circuit Board/10;Component Kit/10 |time=11 |station=dispenserbot }} == Upgrades == Upgrading the Craftbot gives it additional crafting slots, starting with only two. The first four upgrade levels cost 5 [[Component Kit]]s each and unlocks 2 crafting slots per upgrade. Level 5 costs 20 Component Kits and reduces all crafting times by approximately 50%. {|class=wikitable !Level !! Component Cost !! Slots !! Crafting Speed |- |1 || - || 2 |rowspan="4"| 1x |- |2 |rowspan="3" | 5 || 4 |- |3 || 6 |- |4 |rowspan="2"| 8 |- |5 || 20 || 2x |- |} Due to how crafting times are calculated, Level 5 crafting times are always one or two seconds longer than they should be. It also results in items with low base crafting times being reduced by only one or two seconds. This is the line of Lua code that determines the crafting time in ticks. It can be found in <code>Survival/Scripts/game/interactables/Crafter.lua</code> on line 486, as well as on lines 568, 608, 933, and 1043 (as of {{Version|0.6.5}}). <syntaxhighlight lang="lua" line="1" start="486"> local recipeCraftTime = math.ceil( recipe.craftTime / self.crafter.speed ) + 120 -- 1s windup + 2s winddown </syntaxhighlight> It takes the crafting time for the recipe in ticks, divides it by the crafting speed of the used {{Pagename nd}}, rounds it up (in ticks, not in seconds) and then adds 120 ticks (3 seconds) to that crafting time. The developer comments seem to refer to the windup and winddown animations that need a total of 3 seconds to complete. Since only the base crafting time is affected by the crafting speed, the Level 5 crafting times always end up being a second or two longer than half of their apparent base speed. Due to this and the fact that it rounds up instead of rounding down, items with short base crafting times will receive very little reduction in crafting time. For example, an item that takes 5 seconds to craft is defined as having a crafting time of 2 seconds (2 + 3 = 5). 2 seconds is 80 ticks, which gets divided by 2 (40 ticks), then 120 ticks are added. The resulting crafting time is 160 ticks, or 4 seconds. This is one second longer than what one would expect from simply dividing the displayed crafting time in half and rounding up (ceil(5 / 2) = 3). All base crafting times are defined in whole seconds, and there are 40 ticks in a second, so rounding will never actually be performed in the Lua script unless the base crafting time is a decimal that results in an odd-numbered tick value. ==Trivia== *The Craftbot has a pegboard on its backside, which holds a level, a screwdriver, and a saw. == History == ===Beta=== *{{version|0.5.0}} **Added to [[Creative Mode]]. *{{version|0.4.8}} **Added ingredient name tooltips. *{{version|0.4.0}} **Added Craftbot. ==Gallery== <gallery> Craftingbot chain.gif|Craftbot from Devblog 14, with a placeholder model. Craftingbot.png|Early Craftbot render from Devblog 14. CraftbotConcept.png|Craftbot concept art from Devblog 14. Mechanic station.JPG|Crafting a Craftbot at a Dispenserbot. </gallery> [[Category:Crafting Stations]] [[Category:Interactive Parts]]
Summary:
Please note that all contributions to the Scrap Mechanic Wiki are considered to be released under the CC BY-NC-SA
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Bar
(
view source
)
Template:Crafting
(
view source
)
Template:Gamename
(
view source
) (protected)
Template:Infobox
(
view source
)
Template:Infobox/aux
(
view source
)
Template:Infobox/aux2
(
view source
)
Template:Infobox gear
(
view source
)
Template:Pagename nd
(
view source
)
Template:Version
(
view source
)
Follow on IG
TikTok
Join Fan Lab