I suspect some kind of hidden 50% thing related to something boiler 50% efficiency something, but I really don't know.
Does not appear to effect the vanilla fusion reactor, or Solar Panels.
Using this on an armor-item to check ontick.
Getting only 480,000 instead of 960,000 as expected.
Code: Select all
if (armor.valid_for_read) then
					local grid = armor.grid
					if (grid ~= nil) and (grid.valid) then -- Check for grid existence.
						if (game.tick % 60) == 0 then
							local energy = grid.available_in_batteries
							globalPrint(grid.available_in_batteries - modularArmor.energyData.lastEnergy)
							modularArmor.energyData.lastEnergy = energy
						
						end
                    else
                    end
                else
                endCode: Select all
  {
    type = "generator-equipment",
    name = "fusion-reactor-equipment",
    sprite =
    {
      filename = "__base__/graphics/equipment/fusion-reactor-equipment.png",
      width = 128,
      height = 128,
      priority = "medium"
    },
    shape =
    {
      width = 4,
      height = 4,
      type = "full"
    },
	burner =
	{
	  fuel_category = "nuclear",
	  effectivity = 1.00,
	  fuel_inventory_size = 1,
	  burnt_inventory_size = 1
	},
    energy_source =
    {
      type = "electric",
      usage_priority = "primary-output"
    },
		
	power = "960kW",
	categories = {"armor"},
  },To test, Start game with both mods enabled.
Use tech and recipe cheats.
Craft modular armor.
Install burner generator. fill with fuel.
Install battery.
Observe power change per second as debug message. Is 50,000 instead of 100,000.




