[Mod] Add all recipes to rw's crafting [crafting_recipes]

User avatar
texmex
Member
 
Posts: 1448
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex

[Mod] Add all recipes to rw's crafting [crafting_recipes]

by texmex » Mon Aug 12, 2019 09:24

Image

crafting_recipes
Converts conventionally registered crafting recipes to work with rubenwardy's crafting mod.

Feature
Finds all existing recipes from any mod and registers them as recipes in rubenwardy's gridless crafting system. (All recipes are unlocked from the start)

Supports
AFAICT, any mod adding normal or furnace crafting recipes is supported.

Depends on
rubenwardy's crafting.

Download (zip)
Source
 

User avatar
pandaro
Member
 
Posts: 318
Joined: Sun Jan 08, 2012 21:34
Location: behind
GitHub: pandaro
 

ThorfinnS
Member
 
Posts: 105
Joined: Mon Feb 25, 2019 22:05
GitHub: ThorfinnS

Re: [Mod] Add all recipes to rw's crafting [crafting_recipes

by ThorfinnS » Thu Aug 15, 2019 18:35

Cool!

How did you get that screenshot? Mine shows all items even if you do not have the materials, and find_required_items (from rw's mod) looks to be defined but not called.

Or is that because of filtering on pickaxe?

(Edit) Thats it, right? It currently does not filter on craftable based on inventory.

Urk. On further review, it is has_required_item, which appears to not exist yet.
 

User avatar
texmex
Member
 
Posts: 1448
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex

Re: [Mod] Add all recipes to rw's crafting [crafting_recipes

by texmex » Thu Aug 15, 2019 20:08

ThorfinnS wrote:Cool!

How did you get that screenshot? Mine shows all items even if you do not have the materials, and find_required_items (from rw's mod) looks to be defined but not called.

Or is that because of filtering on pickaxe?

(Edit) Thats it, right? It currently does not filter on craftable based on inventory.

Urk. On further review, it is has_required_item, which appears to not exist yet.


It’s because I filtered on ”pickaxe”, yes.
 

ThorfinnS
Member
 
Posts: 105
Joined: Mon Feb 25, 2019 22:05
GitHub: ThorfinnS

Re: [Mod] Add all recipes to rw's crafting [crafting_recipes

by ThorfinnS » Sat Aug 17, 2019 03:02

Shoot. I was hoping.

None of the kids can code up to RW standards, and I don't have time.

Guess we'll just have to stick with unified inventory.
 

Yvanhoe
Member
 
Posts: 62
Joined: Fri Jul 05, 2019 03:18

Re: [Mod] Add all recipes to rw's crafting [crafting_recipes

by Yvanhoe » Sat Aug 17, 2019 07:13

I had never told you about the snippet of this you sent a few days ago. I could use it to make my workshop on the 12th, it was a blast. Thanks!

ThorfinnS: RW's mod shows a blue or red background depending on whether the resources are available or not. It is probably not very hard to change that behavior to hide things that would otherwise appear in red.
 

User avatar
texmex
Member
 
Posts: 1448
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex

Re: [Mod] Add all recipes to rw's crafting [crafting_recipes

by texmex » Sat Aug 17, 2019 08:40

@Yvanhoe You’re welcome. You used it in education? I want to know more :)
Last edited by texmex on Sat Aug 17, 2019 10:40, edited 1 time in total.
 

Yvanhoe
Member
 
Posts: 62
Joined: Fri Jul 05, 2019 03:18

Re: [Mod] Add all recipes to rw's crafting [crafting_recipes

by Yvanhoe » Sat Aug 17, 2019 08:57

Give me a week or so and I will hopefully have cleaned up what I did and pushed it on github!
 


Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 2 guests