A branch of the original RITEG minus some functions that performs destructive edits to recipes if the items within them aren't registered. Based on v1.3.11
Mods introducing new content into the game.
===================================================================================================
Branch: v1.0.0
Data: 2025-11-03
Fixes:
- Deleted data-final-fixes.lua, which contained the following:
-- I have a lot of mods, but sometimes I get errors like:
-- ===================================== --
-- 33.126 Error ModManager.cpp:1024: Error in assignID, item with name 'clowns-plate-osmium' does not exist.
-- Source: alt2-production-science-pack (recipe).
-- 33.295 Mods to disable:Failed to load mods: Error in assignID, item with name 'clowns-plate-osmium' does not exist.
-- Source: alt2-production-science-pack (recipe).
-- Mods to be disabled:
-- � Clowns-Science
-- � angelsrefining
-- ===================================== --
-- let's fix it!
log('adding lost items and fluids')
local mod_name = "__RITEG__"
function is_wrong_item(item_name)
if not item_name then return end
local item_type_list = { "ammo", "armor", "gun", "item", "capsule", "repair-tool", "item-with-entity-data",
"rail-planner", "tool", "blueprint", "deconstruction-item", "blueprint-book", "selection-tool", "item-with-tags",
"item-with-label", "item-with-inventory", "module" }
local item_prot
for _, typ in pairs(item_type_list) do
if data.raw[typ] then
local prot = data.raw[typ][item_name]
if prot then item_prot = prot end
end
end
if not item_prot then
-- new_item =
-- {
-- type = "item",
-- name = item_name,
-- -- flags = {"goes-to-main-inventory"},
-- icons = {{icon = mod_name.."/graphics/icons/no-icon.png"}}, icon_size = 32,
-- -- order = "e[electric-energy-interface]-b[electric-energy-interface]",
-- stack_size = 50,
-- -- subgroup = "energy",
-- }
log('Deleted wrong item: ' .. item_name)
return true
end
return false
end
for recipe_name, recipe in pairs(data.raw.recipe) do
local handlers = { recipe }
if recipe.normal and recipe.expensive then handlers = { recipe.normal, recipe.expensive } end
for i, handler in pairs(handlers) do
if handler.ingredients then
for j, ingredient in pairs(handler.ingredients) do
local item_name, fluid_name
if ingredient.type and ingredient.type == "item" or ingredient[1] then
item_name = ingredient.name or ingredient[1]
elseif ingredient.type and ingredient.type == "fluid" then
fluid_name = ingredient.name
end
if is_wrong_item(item_name) then
handler.ingredients[j] = nil
end
end
end
end
end
===================================================================================================
Version: 1.3.11
Date: 2025-05-01
Fixes:
- Fixed missing localisation keys for RITEG recycling recipes
Version: 1.3.10
Date: 2024-11-12
Fixes:
- Fixed error when changing runtime mod settings
- Fixed changelog file formatting
Version: 1.3.9
Date: 2024-11-04
Fixes:
- Fixed compatibility with Plutonium Energy 1.7.3
Version: 1.3.8
Date: 2024-10-26
Changes:
- RITEGs now use quality to boost energy production
Version: 1.3.7
Date: 2024-10-26
Fixes:
- Fixed runtime logic
Version: 1.3.6
Date: 2024-10-26
Changes:
- Added support for PlutoniumBreeding, a fork of Nuclear fuel for Factorio 2.0
Version: 1.3.5
Date: 2024-10-26
Changes:
- Factorio 2.0 / Space Age update
- PNG Sprites optimized for space efficiency
Version: 1.3.4
Date: 2022-01-09
Fixes:
- Fixed incompatibility with Plutonium Energy which caused error on mod loading
Version: 1.3.3
Date: 2021-02-22
Changes:
- Added breeder RITEG that is enabled when Nuclear Fuel mod is present.
- Removed recipe of crafting regular RITEG from breeder fuel cells.
Version: 1.3.2
Date: 2020-11-28
Changes:
- Update to Factorio 1.1
Version: 1.3.1
Date: 2020-08-25
Changes:
- Update to 1.0
- Fixed crash by "update_ritegs" function
Version: 0.3.0
Date: 2020-01-28
Changes:
- Update to 0.18
Version: 0.2.15
Date: 2019-12-24
Changes:
- Mined RITEG returns not damaged results
Version: 0.2.14
Date: 2019-06-07
Changes:
- fixed compability with [Simple Silicon]
Version: 0.2.13
Date: 2019-03-21
Changes:
- added support of [Nuclear Fuel] - now you can build new RITEG with 10 breeder fuel cells (40 GJ)
Version: 0.2.12
Date: 2019-03-08
Changes:
- fixed startup bug with mod dependencies
Version: 0.2.11
Date: 2019-03-03
Changes:
- added night glowing
Version: 0.2.10
Date: 2019-03-03
Changes:
- port to 0.17; not implemented: adding night glowing
Version: 0.1.10
Date: 2018-11-05
Changes:
- first try to add plutonium
Version: 0.1.9
Date: 2018-11-04
Changes:
- fixed spam of debug information
Version: 0.1.8
Date: 2018-11-03
Changes:
- big optimization, now the mod has idle between updates; fixed possible bug of multiple entity ghosts; RITEGS, marked by the script to deconstruction, don't will be updated anymore
Version: 0.1.7
Date: 2018-11-02
Changes:
- added autodeconstruction and replacing of used RITEGs. Set 0 to disable in mod options. Thanks to m3lk0rrr
Version: 0.1.6
Date: 2018-09-15
Changes:
- now you can deconstruct old RITEGs and 1x get used-up-RITEG and 5x used-up-uranium-fuel-cell, that can be recharged with new 5x uranium-fuel-cell
Version: 0.1.5
Date: 2018-09-10
Changes:
- the RITEG will be available for old games too
Version: 0.1.4
Date: 2018-09-09
Changes:
- fixed flag "hidden", now available for signals
Version: 0.1.3
Date: 2018-05-10
Changes:
- changed graphics, thanks to Sigma1 https://forums.factorio.com/viewtopic.php?f=190&t=56513&p=361828#p361785
Version: 0.1.2
Date: 2018-03-18
Changes:
- now the RITEG has the same power as health. Not repairable anymore
Version: 0.1.1
Date: 2018-03-13
Changes:
- changed collision box
Version: 0.1.0
Date: 2018-01-10
Changes:
- now RTG decrease every half life period production energy twice
Version: 0.0.2
Date: 2017-12-19
Changes:
- now needs "uranium-fuel-cell"
Version: 0.0.1
Date: 2017-12-18
Changes:
- first release