Getting rid of every technology

Place to get help with not working mods / modding interface.
Post Reply
Petrenko
Inserter
Inserter
Posts: 32
Joined: Mon Mar 20, 2017 1:10 pm
Contact:

Getting rid of every technology

Post by Petrenko »

Heyho,

i'm starting a total conversion and want to get rid of every technology there is so i can start from anew.

I started like this:

data.raw["technology"]["military"] = nil
data.raw["technology"]["military-2"] = nil
data.raw["technology"]["military-3"] = nil
data.raw["technology"]["military-4"] = nil

.....

The error i get is "error in AssignID" starting with basic oil processing etc.

Since recipes are not dependant on technologies and thus don't interact with them, if i'm right, i can't understand why i got the errormessage.

Any ideas? Thanks in advance for any help =)

Also: If this gets done i'll upload the .lua so fellow modders can use it.

User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: Getting rid of every technology

Post by prg »

Technologies are also referenced by some achievements. Try

Code: Select all

data.raw.technology = nil
data.raw["research-achievement"] = nil
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!

Petrenko
Inserter
Inserter
Posts: 32
Joined: Mon Mar 20, 2017 1:10 pm
Contact:

Re: Getting rid of every technology

Post by Petrenko »

That did something!

But sadly only one step in the right direction.

Now he's complaining about the AssignID of combat-robotics.

I wonder, if a scenario uses them, this might be a problem, too. Right?

Anyway, thanks so far! =)

I'll be looking into the combat robotics now.

Petrenko
Inserter
Inserter
Posts: 32
Joined: Mon Mar 20, 2017 1:10 pm
Contact:

Re: Getting rid of every technology

Post by Petrenko »

Alrighty,

good news first: i got rid of every technology. no problems ingame. everything is fine.

bad news: except for achievements. all achievements are gone now since i had to =nil them. game crashes when opening the achievement tab.

all in all this isn't gamebreaking for me. i hope it won't mess up achievements for vanilla factorio.

The code for getting rid of every technology and breaking achievements:

Code: Select all

data.raw["research-achievement"] = nil
data.raw["build-entity-achievement"] = nil
data.raw["finish-the-game-achievement"] = nil
data.raw["group-attack-achievement"] = nil
data.raw["construct-with-robots-achievement"] = nil
data.raw["deconstruct-with-robots-achievement"] = nil
data.raw["deliver-by-robots-achievement"] = nil
data.raw["train-path-achievement"] = nil
data.raw["player-damaged-achievement"] = nil
data.raw["build-entity-achievement"] = nil
data.raw["produce-achievement"] = nil
data.raw["produce-per-hour-achievement"] = nil
data.raw["dont-use-entity-in-energy-production-achievement"] = nil
data.raw["kill-achievement"] = nil
data.raw["dont-craft-manually-achievement"] = nil
data.raw["dont-build-entity-achievement"] = nil
data.raw["achievement"] = nil
data.raw["combat-robot-count"] = nil
data.raw["createfollowerupgrade"] = nil

data.raw["technology"]["steel-processing"] = nil
data.raw["technology"]["military"] = nil
data.raw["technology"]["military-2"] = nil
data.raw["technology"]["military-3"] = nil
data.raw["technology"]["military-4"] = nil
data.raw["technology"]["cluster-grenade"] = nil
data.raw["technology"]["grenade-damage-1"] = nil
data.raw["technology"]["grenade-damage-2"] = nil
data.raw["technology"]["grenade-damage-3"] = nil
data.raw["technology"]["grenade-damage-4"] = nil
data.raw["technology"]["grenade-damage-5"] = nil
data.raw["technology"]["grenade-damage-6"] = nil
data.raw["technology"]["automation"] = nil
data.raw["technology"]["automation-2"] = nil
data.raw["technology"]["automation-3"] = nil
data.raw["technology"]["electronics"] = nil
data.raw["technology"]["explosives"] = nil
data.raw["technology"]["flammables"] = nil
data.raw["technology"]["land-mine"] = nil
data.raw["technology"]["flame-thrower"] = nil
data.raw["technology"]["circuit-network"] = nil
data.raw["technology"]["advanced-electronics"] = nil
data.raw["technology"]["advanced-electronics-2"] = nil
data.raw["technology"]["logistics"] = nil
data.raw["technology"]["railway"] = nil
data.raw["technology"]["automated-rail-transportation"] = nil
data.raw["technology"]["rail-signals"] = nil
data.raw["technology"]["automobilism"] = nil
data.raw["technology"]["tanks"] = nil
data.raw["technology"]["logistics-2"] = nil
data.raw["technology"]["logistics-3"] = nil
data.raw["technology"]["optics"] = nil
data.raw["technology"]["solar-energy"] = nil
data.raw["technology"]["laser"] = nil
data.raw["technology"]["rocketry"] = nil
data.raw["technology"]["explosive-rocketry"] = nil
data.raw["technology"]["armor-making"] = nil
data.raw["technology"]["armor-making-2"] = nil
data.raw["technology"]["armor-making-3"] = nil
data.raw["technology"]["power-armor"] = nil
data.raw["technology"]["power-armor-2"] = nil
data.raw["technology"]["turrets"] = nil
data.raw["technology"]["laser-turrets"] = nil
data.raw["technology"]["stone-walls"] = nil
data.raw["technology"]["gates"] = nil
data.raw["technology"]["flying"] = nil
data.raw["technology"]["robotics"] = nil
data.raw["technology"]["alien-technology"] = nil
data.raw["technology"]["rocket-silo"] = nil
data.raw["technology"]["research-speed-1"] = nil
data.raw["technology"]["research-speed-2"] = nil
data.raw["technology"]["research-speed-3"] = nil
data.raw["technology"]["research-speed-4"] = nil
data.raw["technology"]["electric-energy-distribution-1"] = nil
data.raw["technology"]["electric-energy-distribution-2"] = nil
data.raw["technology"]["electric-energy-accumulators-1"] = nil
data.raw["technology"]["advanced-material-processing"] = nil
data.raw["technology"]["advanced-material-processing-2"] = nil
data.raw["technology"]["concrete"] = nil
data.raw["technology"]["effect-transmission"] = nil
data.raw["technology"]["toolbelt"] = nil
data.raw["technology"]["engine"] = nil
data.raw["technology"]["electric-engine"] = nil
data.raw["technology"]["battery"] = nil
data.raw["technology"]["landfill"] = nil
data.raw["technology"]["construction-robotics"] = nil
data.raw["technology"]["automated-construction"] = nil
data.raw["technology"]["logistic-robotics"] = nil
data.raw["technology"]["logistic-system"] = nil
data.raw["technology"]["worker-robots-speed-1"] = nil
data.raw["technology"]["worker-robots-speed-2"] = nil
data.raw["technology"]["worker-robots-speed-3"] = nil
data.raw["technology"]["worker-robots-speed-4"] = nil
data.raw["technology"]["worker-robots-speed-5"] = nil
data.raw["technology"]["worker-robots-storage-1"] = nil
data.raw["technology"]["worker-robots-storage-2"] = nil
data.raw["technology"]["worker-robots-storage-3"] = nil
data.raw["technology"]["character-logistic-slots-1"] = nil
data.raw["technology"]["character-logistic-slots-2"] = nil
data.raw["technology"]["character-logistic-slots-3"] = nil
data.raw["technology"]["character-logistic-slots-4"] = nil
data.raw["technology"]["character-logistic-slots-5"] = nil
data.raw["technology"]["character-logistic-slots-6"] = nil
data.raw["technology"]["character-logistic-trash-slots-1"] = nil
data.raw["technology"]["character-logistic-trash-slots-2"] = nil
data.raw["technology"]["auto-character-logistic-trash-slots"] = nil
data.raw["technology"]["shotgun-shell-damage-1"] = nil
data.raw["technology"]["shotgun-shell-damage-2"] = nil
data.raw["technology"]["shotgun-shell-damage-3"] = nil
data.raw["technology"]["shotgun-shell-damage-4"] = nil
data.raw["technology"]["shotgun-shell-damage-5"] = nil
data.raw["technology"]["shotgun-shell-damage-6"] = nil
data.raw["technology"]["shotgun-shell-speed-1"] = nil
data.raw["technology"]["shotgun-shell-speed-2"] = nil
data.raw["technology"]["shotgun-shell-speed-3"] = nil
data.raw["technology"]["shotgun-shell-speed-4"] = nil
data.raw["technology"]["shotgun-shell-speed-5"] = nil
data.raw["technology"]["shotgun-shell-speed-6"] = nil
data.raw["technology"]["laser-turret-damage-1"] = nil
data.raw["technology"]["laser-turret-damage-2"] = nil
data.raw["technology"]["laser-turret-damage-3"] = nil
data.raw["technology"]["laser-turret-damage-4"] = nil
data.raw["technology"]["laser-turret-damage-5"] = nil
data.raw["technology"]["laser-turret-damage-6"] = nil
data.raw["technology"]["laser-turret-speed-1"] = nil
data.raw["technology"]["laser-turret-speed-2"] = nil
data.raw["technology"]["laser-turret-speed-3"] = nil
data.raw["technology"]["laser-turret-speed-4"] = nil
data.raw["technology"]["laser-turret-speed-5"] = nil
data.raw["technology"]["laser-turret-speed-6"] = nil
data.raw["technology"]["gun-turret-damage-1"] = nil
data.raw["technology"]["gun-turret-damage-2"] = nil
data.raw["technology"]["gun-turret-damage-3"] = nil
data.raw["technology"]["gun-turret-damage-4"] = nil
data.raw["technology"]["gun-turret-damage-5"] = nil
data.raw["technology"]["gun-turret-damage-6"] = nil
data.raw["technology"]["flamethrower-damage-1"] = nil
data.raw["technology"]["flamethrower-damage-2"] = nil
data.raw["technology"]["flamethrower-damage-3"] = nil
data.raw["technology"]["flamethrower-damage-4"] = nil
data.raw["technology"]["flamethrower-damage-5"] = nil
data.raw["technology"]["flamethrower-damage-6"] = nil
data.raw["technology"]["energy-shield-equipment"] = nil
data.raw["technology"]["night-vision-equipment"] = nil
data.raw["technology"]["energy-shield-mk2-equipment"] = nil
data.raw["technology"]["battery-equipment"] = nil
data.raw["technology"]["battery-mk2-equipment"] = nil
data.raw["technology"]["solar-panel-equipment"] = nil
data.raw["technology"]["personal-laser-defense-equipment"] = nil
data.raw["technology"]["discharge-defense-equipment"] = nil
data.raw["technology"]["fusion-reactor-equipment"] = nil
data.raw["technology"]["exoskeleton-equipment"] = nil
data.raw["technology"]["personal-roboport-equipment"] = nil
data.raw["technology"]["bullet-damage-1"] = nil
data.raw["technology"]["bullet-damage-2"] = nil
data.raw["technology"]["bullet-damage-3"] = nil
data.raw["technology"]["bullet-damage-4"] = nil
data.raw["technology"]["bullet-damage-5"] = nil
data.raw["technology"]["bullet-damage-6"] = nil
data.raw["technology"]["bullet-speed-1"] = nil
data.raw["technology"]["bullet-speed-2"] = nil
data.raw["technology"]["bullet-speed-3"] = nil
data.raw["technology"]["bullet-speed-4"] = nil
data.raw["technology"]["bullet-speed-5"] = nil
data.raw["technology"]["bullet-speed-6"] = nil
data.raw["technology"]["fluid-handling"] = nil
data.raw["technology"]["oil-processing"] = nil
data.raw["technology"]["advanced-oil-processing"] = nil
data.raw["technology"]["sulfur-processing"] = nil
data.raw["technology"]["plastics"] = nil
data.raw["technology"]["modules"] = nil
data.raw["technology"]["speed-module"] = nil
data.raw["technology"]["speed-module-2"] = nil
data.raw["technology"]["speed-module-3"] = nil
data.raw["technology"]["productivity-module"] = nil
data.raw["technology"]["productivity-module-2"] = nil
data.raw["technology"]["productivity-module-3"] = nil
data.raw["technology"]["effectivity-module"] = nil
data.raw["technology"]["effectivity-module-2"] = nil
data.raw["technology"]["effectivity-module-3"] = nil
data.raw["technology"]["combat-robotics"] = nil
data.raw["technology"]["combat-robotics-2"] = nil
data.raw["technology"]["combat-robotics-3"] = nil
data.raw["technology"]["combat-robot-damage-1"] = nil
data.raw["technology"]["combat-robot-damage-2"] = nil
data.raw["technology"]["combat-robot-damage-3"] = nil
data.raw["technology"]["combat-robot-damage-4"] = nil
data.raw["technology"]["combat-robot-damage-5"] = nil
data.raw["technology"]["rocket-damage-1"] = nil
data.raw["technology"]["rocket-damage-2"] = nil
data.raw["technology"]["rocket-damage-3"] = nil
data.raw["technology"]["rocket-damage-4"] = nil
data.raw["technology"]["rocket-damage-5"] = nil
data.raw["technology"]["rocket-speed-1"] = nil
data.raw["technology"]["rocket-speed-2"] = nil
data.raw["technology"]["rocket-speed-3"] = nil
data.raw["technology"]["rocket-speed-4"] = nil
data.raw["technology"]["rocket-speed-5"] = nil
data.raw["technology"]["stack-inserter"] = nil
data.raw["technology"]["inserter-capacity-bonus-1"] = nil
data.raw["technology"]["inserter-capacity-bonus-2"] = nil
data.raw["technology"]["inserter-capacity-bonus-3"] = nil
data.raw["technology"]["inserter-capacity-bonus-4"] = nil
data.raw["technology"]["inserter-capacity-bonus-5"] = nil
data.raw["technology"]["inserter-capacity-bonus-6"] = nil
data.raw["technology"]["inserter-capacity-bonus-7"] = nil
data.raw["technology"]["follower-robot-count-1"] = nil
data.raw["technology"]["follower-robot-count-2"] = nil
data.raw["technology"]["follower-robot-count-3"] = nil
data.raw["technology"]["follower-robot-count-4"] = nil
data.raw["technology"]["follower-robot-count-5"] = nil
data.raw["technology"]["follower-robot-count-6"] = nil
data.raw["technology"]["follower-robot-count-7"] = nil
data.raw["technology"]["follower-robot-count-8"] = nil
data.raw["technology"]["follower-robot-count-9"] = nil
data.raw["technology"]["follower-robot-count-10"] = nil
data.raw["technology"]["follower-robot-count-11"] = nil
data.raw["technology"]["follower-robot-count-12"] = nil
data.raw["technology"]["follower-robot-count-13"] = nil
data.raw["technology"]["follower-robot-count-14"] = nil
data.raw["technology"]["follower-robot-count-15"] = nil
data.raw["technology"]["follower-robot-count-16"] = nil
data.raw["technology"]["follower-robot-count-17"] = nil
data.raw["technology"]["follower-robot-count-18"] = nil
data.raw["technology"]["follower-robot-count-19"] = nil
data.raw["technology"]["follower-robot-count-20"] = nil

posila
Factorio Staff
Factorio Staff
Posts: 5202
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: Getting rid of every technology

Post by posila »

What kind of total conversion do you do?
If I did total conversion, I would make base mod replacement, not mod that removes everything from base. But I understand it might be easier to build on top of base so you don't have to define entities from scratch.

Petrenko
Inserter
Inserter
Posts: 32
Joined: Mon Mar 20, 2017 1:10 pm
Contact:

Re: Getting rid of every technology

Post by Petrenko »

I'm going to add a post about my total conversion when i got the basics done.

For now i got another forum post regarding steam engines without water^^

User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: Getting rid of every technology

Post by prg »

Petrenko wrote:Alrighty,

good news first: i got rid of every technology. no problems ingame. everything is fine.

bad news: except for achievements. all achievements are gone now since i had to =nil them. game crashes when opening the achievement tab.
Did you try

Code: Select all

data.raw.technology = nil
data.raw["research-achievement"] = nil
Like, literally only those two lines? That removes all the technologies in one go and only the achievements that depend on them.
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!

Petrenko
Inserter
Inserter
Posts: 32
Joined: Mon Mar 20, 2017 1:10 pm
Contact:

Re: Getting rid of every technology

Post by Petrenko »

Heyho,

yes i did try this. There were still achievements depending on other technologies.

And since i was tired of trying one by one i just killed them all :X

User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: Getting rid of every technology

Post by prg »

Huh. Surprising. Works just fine for me.
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!

Post Reply

Return to “Modding help”