[MOD 0.15.x] Necromant

Topics and discussion about specific mods
Sacredd
Long Handed Inserter
Long Handed Inserter
Posts: 93
Joined: Fri Mar 18, 2016 9:30 am
Contact:

Re: [MOD 0.15.x] Necromant

Post by Sacredd »

foodfactorio wrote: the only problem that i seem to have, is that the 2 recipes for making alien dna, via "alien-dna-from-flesh" and "alien-dna-from-brain", did not seem to unlock. (i think this is because i had already completed the research for Alien Technology - but maybe there is a way to tweak the mod to be able to detect that? ive seem several mods containing something called Migrations data, but am not sure if that it how to do it. Actually, for any new mod, i think it is probably a good idea to add anything new, into the tech tree as a new item, for example like you did with all the Biter processing, not just in terms of fun, but also being able to spot new research icons on the main tech tree page, as awaiting to be unlocked :)
viewtopic.php?f=95&t=40288&start=20#p290313
Hi foodfactorio.

Sorry for the late answer.
I think you should be able to get the recipes with the command
/c game.player.force.reset_recipes()

Also please try last version of the mod. Do stil have trouble with it?
Sacredd
Long Handed Inserter
Long Handed Inserter
Posts: 93
Joined: Fri Mar 18, 2016 9:30 am
Contact:

Re: [MOD 0.15.x] Necromant

Post by Sacredd »

diongham wrote:Hallo. I think the concept of a magic wand is a bit weird for the game. Perhaps a flame grenade? Maybe even a cluster version of the grenade for higher levels?

Cheers
Hello diongham.

Thank you for the feedback. I understand your arguments, but my intention was to add something magic to this game.
I also would like to add some more magic, maybe undead creatures?

Dead bodies are not anything special and magic gives more possibilities to do something out of it.
Sleeeper
Burner Inserter
Burner Inserter
Posts: 13
Joined: Tue May 06, 2014 6:49 pm
Contact:

Re: [MOD 0.15.x] Necromant

Post by Sleeeper »

Maybe add a turret version of magic staff.
User avatar
ZombieMooose
Filter Inserter
Filter Inserter
Posts: 289
Joined: Mon Feb 09, 2015 7:23 am
Contact:

Re: [MOD 0.15.x] Necromant

Post by ZombieMooose »

Sacredd wrote:
diongham wrote:Hallo. I think the concept of a magic wand is a bit weird for the game. Perhaps a flame grenade? Maybe even a cluster version of the grenade for higher levels?

Cheers
Hello diongham.

Thank you for the feedback. I understand your arguments, but my intention was to add something magic to this game.
I also would like to add some more magic, maybe undead creatures?

Dead bodies are not anything special and magic gives more possibilities to do something out of it.
Perhaps separate the magic stuff into another mod? Or add a toggle?

Either way That's the only problem I have, and theoretically I can just not use it; the rest of the mod is great.
"men will literally learn everything about ancient Rome instead of going to therapy"
Sacredd
Long Handed Inserter
Long Handed Inserter
Posts: 93
Joined: Fri Mar 18, 2016 9:30 am
Contact:

Re: [MOD 0.15.x] Necromant

Post by Sacredd »

Perhaps separate the magic stuff into another mod? Or add a toggle?

Either way That's the only problem I have, and theoretically I can just not use it; the rest of the mod is great.[/quote]

Ok, I will see what I can do. Making the fireball optional should be possible. Would it probably be better to change magic staff to a "fireball launcher" or something technical and not magical?

I also would like to implement the fireball tower, but I need graphics. And I am not good with graphics, so atm I don't know how to make them...
User avatar
ZombieMooose
Filter Inserter
Filter Inserter
Posts: 289
Joined: Mon Feb 09, 2015 7:23 am
Contact:

Re: [MOD 0.15.x] Necromant

Post by ZombieMooose »

Sacredd wrote:Perhaps separate the magic stuff into another mod? Or add a toggle?

Either way That's the only problem I have, and theoretically I can just not use it; the rest of the mod is great.
Ok, I will see what I can do. Making the fireball optional should be possible. Would it probably be better to change magic staff to a "fireball launcher" or something technical and not magical?

I also would like to implement the fireball tower, but I need graphics. And I am not good with graphics, so atm I don't know how to make them...[/quote]

I like the technical idea. Just flows better with the rest of the game. As always it's your mod and you can do whatever you want with it.
"men will literally learn everything about ancient Rome instead of going to therapy"
Veden
Filter Inserter
Filter Inserter
Posts: 294
Joined: Wed Jul 13, 2016 3:54 pm
Contact:

Re: [MOD 0.15.x] Necromant

Post by Veden »

For adding loot just use the tier naming set to have it map correctly

an example) if the tiers is set to 5
then the loot table sizes should be something along the lines of
{small, small, medium, big, behemoth}

Code: Select all

local TIER_NAMING_SET_5 = { 1, 3, 5, 7, 10 }
local TIER_NAMING_SET_10 = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }

-- you will want to check this exist

local nestVariations = settings.startup["rampant-newEnemyNestVariations"].value
local nestTiers = settings.startup["rampant-newEnemyNestTiers"].value
local wormVariations = settings.startup["rampant-newEnemyWormVariations"].value
local wormTiers = settings.startup["rampant-newEnemyWormTiers"].value
local unitVariations = settings.startup["rampant-newEnemyUnitVariations"].value
local unitTiers = settings.startup["rampant-newEnemyUnitTiers"].value

local types = {"neutral", "acid", "physical", "electric", "suicide", "nuclear", "fire", "inferno", "troll", "fast", "laser", "wasp", "spawner" }

-- tiers are either 5 or 10

-- variations can be 1 to 20

local tierSet = {
    (nestTiers == 5 and TIER_NAMING_SET_5) or TIER_NAMING_SET_10,
    (wormTiers == 5 and TIER_NAMING_SET_5) or TIER_NAMING_SET_10,
    (unitTiers == 5 and TIER_NAMING_SET_5) or TIER_NAMING_SET_10
}

for _,tiers in ipairs(tierSet) do

    for _, tier in ipairs(tiers) do
	for variation=1,nestVariations do
	    for _, v in ipairs(types) do
		local spawnerName = v .. "-spawner-v" .. variation .. "-t" .. tier .. "-rampant"
		data.raw["unit"][spawnerName].loot = {} -- add loot
	    end	    
	end
	for variation=1,wormVariations do
	    for _, v in ipairs(types) do
		local wormName = v .. "-worm-v" .. variation .. "-t" .. tier .. "-rampant"
		data.raw["unit"][wormName].loot = {} -- add loot
	    end	    
	end
	for variation=1,unitVariations do
	    for _, v in ipairs(types) do
		local biterName = v .. "-biter-v" .. variation .. "-t" .. tier .. "-rampant"
		local spitterName = v .. "-spitter-v" .. variation .. "-t" .. tier .. "-rampant"
		
		data.raw["unit"][biterName].loot = {} -- add loot
		data.raw["unit"][spitterName].loot = {} -- add loot
	    end	    
	end	
    end

end
User avatar
ZombieMooose
Filter Inserter
Filter Inserter
Posts: 289
Joined: Mon Feb 09, 2015 7:23 am
Contact:

Re: [MOD 0.15.x] Necromant

Post by ZombieMooose »

Hello Necromant is getting an error on line 3 of updates.lua "table expected, got nil"

Military science. It might be Science Cost Tweaker.
"men will literally learn everything about ancient Rome instead of going to therapy"
Sacredd
Long Handed Inserter
Long Handed Inserter
Posts: 93
Joined: Fri Mar 18, 2016 9:30 am
Contact:

Re: [MOD 0.15.x] Necromant

Post by Sacredd »

ZombieMooose wrote:Hello Necromant is getting an error on line 3 of updates.lua "table expected, got nil"

Military science. It might be Science Cost Tweaker.
Line 3 is:

Code: Select all

table.insert(data.raw["recipe"]["military-science-pack"].ingredients,{"necro-alien-dna", 3})
The whole block is:

Code: Select all

if data.raw.recipe["military-science-pack"] then
	table.insert(data.raw["recipe"]["military-science-pack"].ingredients,{"necro-alien-dna", 3})
end
Please ask the mod author from Science Cost Tweaker, why this code could cause an error.
Maybe he is changing something with "data.raw"? Or removing/disabling the item "necro-alien-dna"?
Sacredd
Long Handed Inserter
Long Handed Inserter
Posts: 93
Joined: Fri Mar 18, 2016 9:30 am
Contact:

Re: [MOD 0.15.x] Necromant

Post by Sacredd »

Added settings to modify the use of DNA, Chitin, Fireball and Artifacts. (Version 0.16.7)
ZombieMooose I think you should be happy with this :D
User avatar
ZombieMooose
Filter Inserter
Filter Inserter
Posts: 289
Joined: Mon Feb 09, 2015 7:23 am
Contact:

Re: [MOD 0.15.x] Necromant

Post by ZombieMooose »

Sacredd wrote:Please ask the mod author from Science Cost Tweaker, why this code could cause an error.
Maybe he is changing something with "data.raw"? Or removing/disabling the item "necro-alien-dna"?
I don't know why they would modify an item in your mod, but I'll look around.

Went through the code, and in recipes it looks like they change the name of the science pack, which is why your mod can't find it? This is from my very limited modding knowledge.
"men will literally learn everything about ancient Rome instead of going to therapy"
Sacredd
Long Handed Inserter
Long Handed Inserter
Posts: 93
Joined: Fri Mar 18, 2016 9:30 am
Contact:

Re: [MOD 0.15.x] Necromant

Post by Sacredd »

ZombieMooose wrote:
Sacredd wrote:Please ask the mod author from Science Cost Tweaker, why this code could cause an error.
Maybe he is changing something with "data.raw"? Or removing/disabling the item "necro-alien-dna"?
I don't know why they would modify an item in your mod, but I'll look around.

Went through the code, and in recipes it looks like they change the name of the science pack, which is why your mod can't find it? This is from my very limited modding knowledge.
There is no more military science pack recipe or no ingredients, thats why following "table" is "nil".

Code: Select all

data.raw["recipe"]["military-science-pack"].ingredients
User avatar
regedit2000
Inserter
Inserter
Posts: 20
Joined: Mon May 23, 2016 4:00 pm
Contact:

Re: [MOD 0.15.x] Necromant

Post by regedit2000 »

slightly optimized
update-corpses.zip
(1.04 KiB) Downloaded 148 times
added units from NE Enemies
User avatar
Trblz
Long Handed Inserter
Long Handed Inserter
Posts: 63
Joined: Thu Sep 21, 2017 1:23 am
Contact:

Re: [MOD 0.15.x] Necromant

Post by Trblz »

I made a quick & dirty fix for 0.18

https://mods.factorio.com/mod/necromant-trblz


/edit: update - my fix was merged with the original mod https://mods.factorio.com/mod/necromant
My Mod list: Necormant co-author
splee
Burner Inserter
Burner Inserter
Posts: 12
Joined: Thu Apr 23, 2020 10:08 am
Contact:

Re: [MOD 0.15.x] Necromant

Post by splee »

So this is quite a long thing, I've gone a bit deeper into the why than just the what. Necromant is cool though could perhaps be tuned a little more for pacing. Also some reflections on the endgame stockpiling issues discussed elsewhere already.
DNA processes
So the different ways to get DNA aren't all equally good - the "higher tech" chemical plant recipes have worse DNA ratios - but that makes sense as they're more about dealing with late game overflow rather than efficiently processing ingredients. But that might not be clear early on in the first playthrough, so maybe x10 on all the numbers to show it's a bulk deal? You get excited about unlocking higher tier DNA tech ... then you notice the DNA ratios are worse ... and that's disappointing until you get to the endgame and are looking at corpse stockpiles and worse DNA ratios are better. Maybe make it 100 brains or 50 steaks into 20 DNA + 30 stone taking 100 seconds, to emphasise that point? Maybe even call the processes "bulk DNA extraction"?

The "first steps" tech also feels like it gets too much done for being cheaper than Logistics 1. I think the techs used to be split out? Did they get bundled around the time of the .18 branching? My feedback here is that the current way does feel a bit compressed, too much utility at once in a game where you research sulfur and then separately batteries. Even if there are a few steps, temporary caches of unprocessed large biters are fine, especially as they stack in 200s. The flesh / brains -> DNA could be a red + green tech, at that point DNA is just for Military Science, DNA extraction could even depend on military 2.

Though, DNA from bones currently depends on Alien Poison from Alien Protein, and that one is a weird tech. It takes red + green + purple but not blue ... and unlocks tech that's red + green + military. Combat isn't purple's theme ... should alien poison be red + green + military instead? Is purple a typo? Otherwise the pacing feels really weird too, purple comes way way later in a game.

Changing the science colour ratio is also a weird thing. It's not something I remember anywhere else in Factorio, and tbh I didn't even notice until I was carefully checking things writing this. But it's in several places - eg spitter processing, fireball damage - so it's a deliberate thing. This might be a new section.
Research cost gradients
On reflection it makes sense; though it's not how vanilla Factorio does anything, it does kind of give you something to do when blue science is online but not yet up to the speed of red / green. That's a cute new design space. But a couple of notes:
  • There are almost no situations where a base will make different rates of red & green. It's really only the most high tech colour that might not be up to speed. Everything else generally gets built to be output rate aligned & that's what vanilla Factorio encourages.
  • Fireball Turret costs 5 red / 3 green / 1 military ... who builds 5x more red than military?
  • Fireball Artillery Tower research costs 2 red / 1 green / 1 blue / 1 military - it doesn't depend on artillery any more, and no longer builds from artillery? That's a very strong combat capability to unlock at just blue science. But that aside, the cost of 2x red feels uneven in an uninteresting way.
  • The Fireball Damage upgrade doesn't ramp nicely. Several have red and green not balancing, which we've mentioned. Fireball Damage 13 and 14 take 1 of each colour, and then 15 jumps to this 4-3-2-1-1 gradient. And the research durations are all the same, so all that happens is that research slows down because bases don't overbuild red science like that. (People may not even notice, just look at which colours are needed, queue up some techs, not think about it till it's done.)
So it feels like those research costs are too varied in a way that doesn't don't make the design benefits clear, when otherwise simpler is better. The idea of having tech to research when the most expensive colour isn't yet fully up to speed is cool (though people starting a new colour are likely to rush whatever they need to unlock, but hey). The implementation could be simpler though, something like:
  1. Make the science colour ratios are either all 1x, or all 2x but with the most expensive colour being 1x
  2. Make the techs with 2x ratios all have 2x research time cost and 1/2 as many cycles
So for example, some Fireball Damage research cost changes under this scheme:
  • Fireball Damage 5: 1r, 1g, 30s may as well stay as it is
  • Fireball Damage 6: 2r, 1g, 1m, 30s -> 2r, 2g, 1m, 60s
  • Fireball Damage 7: 2r, 2g, 1m, 30s -> 1r, 1g, 1m, 30s
  • Fireball Damage 8: 3r, 2g, 1m, 30s -> 1r, 1g, 1m, 30s
  • Fireball Damage 9: 1r, 1g, 1m, 1b, 30s -> 2r, 2g, 2m, 1b, 60s
  • Fireball Damage 10: 1r, 1g, 1m, 1b, 30s -> 1r, 1g, 1m, 1b, 30s
  • Fireball Damage 11: 3r, 2g, 1m, 1b, 30s -> 1r, 1g, 1m, 1b, 30s
  • Fireball Damage 12: 1r, 1g, 1m, 1b, 1y, 30s -> 2r, 2g, 2m, 2b, 1y, 60s
  • Fireball Damage 13: 1r, 1g, 1m, 1b, 1y, 30s -> 1r, 1g, 1m, 1b, 1y, 30s
  • Fireball Damage 14: 1r, 1g, 1m, 1b, 1y, 30s -> 1r, 1g, 1m, 1b, 1y, 30s
This way everyone gets used to the research taking 30s (as per the first few ranks), the standard Factorio equal-costs-across-colours is preserved at the "normal" timing of 30s. The "unusual" ranks are all easily identified and happen when each new colour is introduced. The consequences of the ratios are more obvious, and it's better aligned to how vanilla Factorio encourages bases to ratio science builds.

I dunno if it makes sense to have Fireballs unlock at red + green + military but have the damage start back at just red only? But whatever, that's a small thing.

I was looking at the biter processing costs - these do the gradient thing too. But these could even each be bumped up to the next level to better align the capabilities to when they'll turn up in game. Facing medium biters while still on pure red tech is gonna go badly, ditto behemoth with blue tech. Research could be: red for smalls, red & green for mediums, red + green + blue for bigs, and red + green + blue + purple for behemoth processing. (Purple rather than yellow because processing is the industrial rather than combat aspect.) That'd position each of the processing techs more appropriately within the pace of the game. A small stockpile of bodies you can't process yet is fine in a starter base still researching basic techs, bodies stack in 200s.
Alien poison and worm chitin as cul-de-sacs
This point is kind of about inter-mod compatibility, or rather, inter-mod tuning.

Because the bulk sinks for poison and worm chitin are both combat related - upgraded walls and bullets. Someone with different mods might decide on different walls / weapons, and then ... then there's nothing else to do with bulk poison or worm chitin, they just build up.

Protein is only ever made alongside poison, and you need the protein for processing chitin and brains, so there's currently no way to not have poison. Charcoal is a filter, so maybe there's also later tech option to combine alien chemicals and charcoal to produce only the protein?

So, worm chitin. Quite a few mods have different kinds of wall upgrades. It would massively unbalance Necromant to buff the worm chitin walls to be better than any other high tech wall in any other mod. So we've got to let players choose other kinds of upgraded walls, which means a non-combat bulk sink for worm chitin would still be helpful. Even in Necromant by itself, a good defense probably isn't losing walls in bulk in the endgame. What's more likely is throwing grenades at wooden boxes filled with worm chitin.

I was kind of expecting the chitin -> stone conversion to use the worm stuff? Because I already associated that with stone because it's used in walls, which come from stone. Biter chitin I had imagined as more metallic, since it goes into armor & shield (& now bullet) recipes. And there's already a chitin -> worm chitin process, so any chitin oversupply problems get solved by first converting it to the worm stuff. So doing the DNA from worm chitin instead of biter chitin would make sense & address issues.

(Though I also still like the idea of flattening chitin and using it in another green circuit option, or somehow otherwise processing it into, say, cellulose -> plastic. Every base gonna need green circuits & plastic all the time. I especially like the idea of something like chitin + petroleum -> chitin plates + heavy oil and then chitin plates + copper coils -> green circuits. I don't think liquid + solid -> liquid + solid happens anywhere in vanilla, that's simple and a new chemical plant pattern to play with.)

I personally see these "stockpiling" things in Necromant to be "how do I deal with these excess corpses?" rather than "how can I get more resources out of killing biters?" because the Schall ores mod already does that pretty well, and you can just play with both mods (which I do). So they don't have to have favourable ratios or even be simple to build around (like the Shall alien ores are). It's that the getting-rid-of-the-corpses is the puzzle, so reintroducing small amounts of inconvenient resources is the gameplay here.
mishakras4633
Manual Inserter
Manual Inserter
Posts: 1
Joined: Tue Apr 28, 2020 11:03 am
Contact:

Re: [MOD 0.15.x] Necromant

Post by mishakras4633 »

I enabled the alien artifacts creation in the settings, but I can't find the recipe for them. It seem that the mod can't find data.raw.item["alien-artifact"] for some reason. Maybe they were renamed in the code?
Post Reply

Return to “Mods”