Allow energy_source = "void" for cars, trains and personal equipments

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2159
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Allow energy_source = "void" for cars, trains and personal equipments

Post by darkfrei » Thu Sep 12, 2019 7:14 am

Hi devs!

Can you please add the void power source to the cars, trains and personal equipments?
wiki - void energy source

I've tried to make it now, but it looks not possible: No Energy Required
Last edited by darkfrei on Thu Sep 12, 2019 1:03 pm, edited 1 time in total.

Bilka
Factorio Staff
Factorio Staff
Posts: 2133
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: energy_source = "void" for cars, trains and personal equipments

Post by Bilka » Thu Sep 12, 2019 7:26 am

I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2159
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: energy_source = "void" for cars, trains and personal equipments

Post by darkfrei » Thu Sep 12, 2019 10:23 am

Bilka wrote:
Thu Sep 12, 2019 7:26 am
The personal fusion reactor already produces power for free: https://wiki.factorio.com/Prototype/GeneratorEquipment
How about another equipment as void powered? Like a Exoskeleton or Nightvision?

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 3504
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: energy_source = "void" for cars, trains and personal equipments

Post by eradicator » Thu Sep 12, 2019 10:42 am

Looks like currently equipment energy_source completely ignores "type" even though it's specified in base mod. Completely removing it gives no visible change in behavior (nor does it error).

Code: Select all

data.raw["movement-bonus-equipment"]["exoskeleton-equipment"].energy_source = {
  -- type = 'void',
  usage_priority = 'secondary-input',
  }
data.raw["roboport-equipment"]["personal-roboport-equipment"].energy_source = {
  usage_priority = 'secondary-input',
  }
  
Author of: Hand Crank Generator, Screenshot Hotkey 2.0
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

Post Reply

Return to “Modding interface requests”

Who is online

Users browsing this forum: No registered users