Page 1 of 1

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

Posted: Thu Sep 05, 2019 10:54 am
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

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

Posted: Thu Sep 05, 2019 10:56 am
by Klonan
Just put `energy_usage = 1J` in the mining drill prototype, the void will take care of it anyway

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

Posted: Thu Sep 05, 2019 10:59 am
by Slasherbane
so the energy usage is not very important with void ?! Thanks :)