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

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

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

by texmex » Post

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: 327
Joined: Sun Jan 08, 2012 21:34
GitHub: pandaro
Location: behind

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

by pandaro » Post

good!

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

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

by ThorfinnS » Post

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: 1753
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

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

by texmex » Post

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: 311
Joined: Mon Feb 25, 2019 22:05
GitHub: ThorfinnS

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

by ThorfinnS » Post

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.

User avatar
Yvanhoe
Member
Posts: 140
Joined: Fri Jul 05, 2019 03:18
Location: Japan

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

by Yvanhoe » Post

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: 1753
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

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

by texmex » Post

@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.

User avatar
Yvanhoe
Member
Posts: 140
Joined: Fri Jul 05, 2019 03:18
Location: Japan

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

by Yvanhoe » Post

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

Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests