Try to appy void electric type but electric usage required ???

Bugs that are actually features.
Slasherbane
Inserter
Inserter
Posts: 20
Joined: Thu Jan 04, 2018 1:19 pm
Contact:

Try to appy void electric type but electric usage required ???

Post by Slasherbane »

Hello, i try to code a specific mining drill with an electric void source but at the start the game tell me to add energy usage field but in the api page void source doen't required any other field ??? I do something wrong no ? Please help me i don't know any way to solve this
Attachments
Capture2.PNG
Capture2.PNG (71.55 KiB) Viewed 1122 times
Capture1.PNG
Capture1.PNG (26.86 KiB) Viewed 1122 times
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5267
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: Try to appy void electric type but electric usage required ???

Post by Klonan »

Just put `energy_usage = 1J` in the mining drill prototype, the void will take care of it anyway
Slasherbane
Inserter
Inserter
Posts: 20
Joined: Thu Jan 04, 2018 1:19 pm
Contact:

Re: Try to appy void electric type but electric usage required ???

Post by Slasherbane »

so the energy usage is not very important with void ?! Thanks :)
Post Reply

Return to “Not a bug”