Starbound

Starbound

67 ratings
DigitalCrafting
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
874.366 KB
18 Jan, 2023 @ 12:26am
18 Jan, 2023 @ 1:29am
2 Change Notes ( view )

Subscribe to download
DigitalCrafting

Description
This is addon for DigitalStorage mod.

It allows crafting directly from DigitalStorage.
If item can be crafted and player knows blueprint for it and there is a station in DigitalStorage, which is required for crafting this item - then there will be "Craft" button on item, when you open Terminal.
When you click on this button, there will be shown a list of all available ricipes for this item. When you select any recipe, there will be shown a list of all required ingredients. They can be crafted too if above requirements is fullfilled. Thus, you can craft any item in one place, no need to run over you ship/station/colony between different crafting stations to craft one item.
Hitting "back" button, while in craft mode, will show previous selected recipe, or items interface, if it was a top recipe.

Window to the right of main shows all crafting stations, which you put in DigitalStorage. You can upgrade any station from this interface (if upgradable). Clicking on station will show only recipes available to this station. Doubleclicking on station will quickwithdraw this station to players inventory.

By default, only items stored in DigitalStorage will be shown. So if you want to craft any item you don't have yet, you need either select a required station or enter a filter in a search field of main window.

Crafting an item only uses ingredients stored in DigitalStorage (except any currency), so if you have required amount in players inventory - it will not be counted. You need to move ingredients to DigitalStorage first (you can shift-click on item in player's inventory to quick store item in DigitalStorage while Terminal window is open).

Crafted result will be placed in DigitalStorage, so don't forget to withdraw your item from DigitalStorage after crafting.

Other changes:
TransferNode got additional setting for Export mode - Leave. If amount set, then node will try to leave specified amount of exported item in DigitalStorage.
Doubleclicking on text filter line in FilterFormatter will put value of this line in edit field and remove it from the list. This way you can fast edit you text filters.

NOTES:
The main problem of custom crafting mods, that there is no way for mod to get list of all items which can be crafted (there no such functions). The only way is to explicitly specify such list.
By default, mod supports crafting only vanilla and DigitalStorage items. Support for items created by other mods will be added by additional "Craftable items pack" mods soon.

On first load after installing mod (or after installing/removing any "craftable items pack") there will be a very big delay after opening Terminal and obtaining stored item list (up to 1 minute, depending on player' PC performance) - mod will initialize craftable items list and store it internally. After that, delay, when opening Terminal, will be much lower (about some seconds). Also there can be some additional delay if you teleported to a world/ship and immediately opened Terminal.


For modders:
To add a support for items from your mod, create a simple mod with one file craftables.config.patch with following content :
[ { "op" : "add", "path" : "/providers/YourModName", "value" : [ "itemname1", "itemname2", ... ] } ]
YourModName - may be anything you want, but it should be unique, so I suggest using your mod name,
itemname1, itemname2 - craftable items names your mod adds
Example (ModernTrams mod):
[ { "op" : "add", "path" : "/providers/ModernTrams", "value" : [ "durasteeltram", "moderntram" ] } ]
Don't forget to add "DigitalCrafting" to requires directive of _metadata file, so this patch would be correctly loaded after DigitalCrafting mod.
29 Comments
+ 12 Jul @ 2:03pm 
There is an OpenSB patch.
Dream-Shadows-Surge 20 May @ 10:45am 
Does this mod have an openstarbound patch to allow all things to be automatically registered to digital crafting without the need of the many patches for this mod? If it doesn't, is anyone in the know who could make one? Asking since openstarbound has proved very very helpful for me in maintaining a smaller modlist.
Rodney Buckentime 25 Jan @ 12:58am 
hey, is there any way for this to function correctly with the replicator modules? it doesnt register them as unique crafting stations and thus doesnt allow crafting for their specific items
Sephiroth 5 Oct, 2024 @ 5:04am 
I found out that this is a problem with how the new export setting "Leave" was implemented. It expects to be set to a number, but of course filters already existing before adding this mod don't have that set, so it runs into an error. As it only checks that on filters set to export, transfer nodes without export filters wont fail.
The reason this happened for already existing nodes for me was that I copied the config of not yet broken nodes via config card to the new node.
Sephiroth 4 Oct, 2024 @ 7:56am 
Is there something that would require a new game? Because when using an existing save Transfer Nodes randomly become unavailable (don't show any buttons or anything when opening their UI, just a blank window) and don't work anymore. I have to replace both them and the machine/container below them for them to work again. And this is not just happening one time for old nodes, it happens to freshly placed nodes too.
A log where I just logged in after adding the mod and opened the UI for a node: https://pastebin.com/DHvnge7h
[JdG] Pejman 22 Feb, 2024 @ 11:43am 
When I have digital crafting enabled if I have a lot of items, the items stop showing up in the terminal. (if I remove digital crafting I get acess back to the terminal)
ReiTheTrap 27 Aug, 2023 @ 12:44pm 
will there be galaxy in conflict patch?
Bekky 9 Aug, 2023 @ 5:44am 
in steam p2p mp (haven't tested on dedicated) it seems to crash the server when a non-host accesses a terminal
Potato.tech 19 Jul, 2023 @ 9:29pm 
disregard. i am an idiot
Potato.tech 19 Jul, 2023 @ 9:23pm 
hey, got an error going on over here. i am opening up the crafting bit, but ingredients is showing up blank, and i can not craft anything