Request Mod - Alternative Creative

This is the place to request new mods or give ideas about what could be done.
Post Reply
ma3xed
Manual Inserter
Manual Inserter
Posts: 4
Joined: Tue Oct 19, 2021 7:21 pm
Contact:

Request Mod - Alternative Creative

Post by ma3xed »

Basically want a mod, that allows you to handcraft stuff you have researched with default speed and free of cost. The keyword being default speed, I've tried other creative mods that grant free craft with instant speed, but for my testing needs, I need it to be slow. I have also tried console commands :

/c game.player.force.manual_crafting_speed_modifier=1 (also tried 0.1)

Is it something hard to mod?

mrvn
Smart Inserter
Smart Inserter
Posts: 5699
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: Request Mod - Alternative Creative

Post by mrvn »

Depends on how far down the rabbit hole you want to go.

If I want to craft an assembler I need 9 iron plates, 5 iron gear wheels and 3 electronic circuit. Should they just magically appear? Or should it craft those first? Should it "hand smelt" iron ore? Or maybe even "hand mine" iron ore first.

If you just want the final item crafted then "all" you have to do it replace the crafting menu with your own so you can catch the player clicking on something. Then add the item to the crafting queue.

Or you could just give the player one stack of all resources at all times. That's probably good enough to craft anything you would reasonably hand craft in game. Every time an iron plate is removed from the inventory you add one back. Easy enough to script.

User avatar
kirazy
Filter Inserter
Filter Inserter
Posts: 416
Joined: Tue Mar 06, 2018 12:18 am
Contact:

Re: Request Mod - Alternative Creative

Post by kirazy »

Pretty sure you can use the creative mod and just disable the instant craft parameter.

ma3xed
Manual Inserter
Manual Inserter
Posts: 4
Joined: Tue Oct 19, 2021 7:21 pm
Contact:

Re: Request Mod - Alternative Creative

Post by ma3xed »

kirazy wrote:
Tue Oct 19, 2021 10:23 pm
Pretty sure you can use the creative mod and just disable the instant craft parameter.
Do you think or you know?

Image

Changing speed from 0 to 1 does nothing, still instant. Is it really possible in CE ?

edit Does images from imgur work? screenshot of CE options inside ui

mrvn
Smart Inserter
Smart Inserter
Posts: 5699
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: Request Mod - Alternative Creative

Post by mrvn »

No, just attach the image to your message and click the "place inline" button.

ma3xed
Manual Inserter
Manual Inserter
Posts: 4
Joined: Tue Oct 19, 2021 7:21 pm
Contact:

Re: Request Mod - Alternative Creative

Post by ma3xed »

KucNJ4n.jpg
KucNJ4n.jpg (351.05 KiB) Viewed 2437 times
I see, thanks

Pi-C
Smart Inserter
Smart Inserter
Posts: 1645
Joined: Sun Oct 14, 2018 8:13 am
Contact:

Re: Request Mod - Alternative Creative

Post by Pi-C »

ma3xed wrote:
Wed Oct 20, 2021 7:07 am
kirazy wrote:
Tue Oct 19, 2021 10:23 pm
Pretty sure you can use the creative mod and just disable the instant craft parameter.
Do you think or you know?
creative_mod.png
creative_mod.png (165.59 KiB) Viewed 2434 times
It will work if cheat mode is off.
A good mod deserves a good changelog. Here's a tutorial (WIP) about Factorio's way too strict changelog syntax!

ma3xed
Manual Inserter
Manual Inserter
Posts: 4
Joined: Tue Oct 19, 2021 7:21 pm
Contact:

Re: Request Mod - Alternative Creative

Post by ma3xed »

Pi-C wrote:
Wed Oct 20, 2021 9:49 am
It will work if cheat mode is off.
Yea but then its just default crafting, not free creative one.

User avatar
kirazy
Filter Inserter
Filter Inserter
Posts: 416
Joined: Tue Mar 06, 2018 12:18 am
Contact:

Re: Request Mod - Alternative Creative

Post by kirazy »

Hm, if free crafting without modifying recipe prototypes is a function of cheat mode, then there may not be a way to do what you want.

BUT: If you don't mind modifying recipe data, then in data-final-fixes you can just iterate over the recipes and zero out the ingredients. Since you say this is testing only?

mrvn
Smart Inserter
Smart Inserter
Posts: 5699
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: Request Mod - Alternative Creative

Post by mrvn »

I think the free/instant crafting cheat just adds the result to the inventory ignoring the recipe. Also ignores it in the crafting menu as all items have an infinity symbol.

Post Reply

Return to “Ideas and Requests For Mods”