[Twinsen][2.0.15] Space Age god-controller can't craft copper cable (and many other things)

This subforum contains all the issues which we already resolved.
User avatar
morsk
Fast Inserter
Fast Inserter
Posts: 145
Joined: Fri Dec 15, 2017 1:00 am
Contact:

[Twinsen][2.0.15] Space Age god-controller can't craft copper cable (and many other things)

Post by morsk »

Where

In the hand-crafting interface, when using the god-controller, in Space Age. NOT in Vanilla; Vanilla works as usual.

This is when using "/c game.player.character = nil" to play without a character.
I don't know if this is a bug, but someone noticed it on reddit and I looked into the cause.
god-controller2.png
god-controller2.png (657.66 KiB) Viewed 954 times
This makes confirming it easier:

Code: Select all

/c game.player.character = nil
game.player.insert{name="iron-plate", count=100}
game.player.insert{name="copper-plate", count=100}
Vanilla 2.0 is fine

In Vanilla 2.0, there aren't so many "crafting categories", and the god controller can craft anything the player can.

Space Age is changed

In Space Age, data/space-age/base-data-updates.lua gives the character 6 crafting categories, while god-controller is not updated the same way and only retains the single category called "crafting", which many recipes are moved out of in Space Age.

Experimental Fix

I tested that 1 line giving data.raw["god-controller"].default the same categories data.raw.character.character gets in the previous line will fix this. (If it isn't intended. I have no idea!)

data change
Twinsen
Factorio Staff
Factorio Staff
Posts: 1355
Joined: Tue Sep 23, 2014 7:10 am
Contact:

Re: [2.0.15] Space Age god-controller can't craft copper cable (and many other things)

Post by Twinsen »

Thanks for the report. This will be fixed in one of the following versions.
Post Reply

Return to “Resolved Problems and Bugs”