[MOD 0.11.x] Peace Mod (With new way to get alien artifacts)

Topics and discussion about specific mods
FishSandwich
Smart Inserter
Smart Inserter
Posts: 1847
Joined: Sun Feb 23, 2014 3:37 pm
Contact:

Re: [MOD 0.11.x] Peace Mod (With new way to get alien artifacts)

Post by FishSandwich » Sun Apr 12, 2015 10:04 am

Did you try putting game.player.force.resetrecipes() in the console?

User avatar
SHiRKiT
Filter Inserter
Filter Inserter
Posts: 687
Joined: Mon Jul 14, 2014 11:52 pm
Contact:

Re: [MOD 0.11.x] Peace Mod (With new way to get alien artifacts)

Post by SHiRKiT » Sun Apr 12, 2015 1:30 pm

I did that one Fish and the Technologies one as well, but to no avail. It has ore patches on the ground, but it doesn't show the recipes to use it neither on my crafting menu nor on the assembling machines.

FishSandwich
Smart Inserter
Smart Inserter
Posts: 1847
Joined: Sun Feb 23, 2014 3:37 pm
Contact:

Re: [MOD 0.11.x] Peace Mod (With new way to get alien artifacts)

Post by FishSandwich » Sun Apr 12, 2015 1:59 pm

Actually I seem to remember having that issue when I did the mod spotlight. I think I remember having to enable each recipe individually.

Can't remember the exact console commands I used though.

User avatar
SHiRKiT
Filter Inserter
Filter Inserter
Posts: 687
Joined: Mon Jul 14, 2014 11:52 pm
Contact:

Re: [MOD 0.11.x] Peace Mod (With new way to get alien artifacts)

Post by SHiRKiT » Wed Apr 15, 2015 7:05 pm

Can anyone help me with this?

FishSandwich
Smart Inserter
Smart Inserter
Posts: 1847
Joined: Sun Feb 23, 2014 3:37 pm
Contact:

Re: [MOD 0.11.x] Peace Mod (With new way to get alien artifacts)

Post by FishSandwich » Wed Apr 15, 2015 7:15 pm

Found it. :)

Code: Select all

/c game.player.force.recipes["alien-artifact"].enabled = true
/c game.player.force.recipes["alien-goo"].enabled = true
/c game.player.force.recipes["alien-shard"].enabled = true
Not tested but they should all work.

kinnom
Filter Inserter
Filter Inserter
Posts: 691
Joined: Fri Dec 26, 2014 4:20 pm
Contact:

Re: [MOD 0.11.x] Peace Mod (With new way to get alien artifacts)

Post by kinnom » Sat Apr 18, 2015 8:02 am

and the piercing ammo?
no yes yes no yes no yes yes

User avatar
Devildog
Fast Inserter
Fast Inserter
Posts: 170
Joined: Tue Aug 19, 2014 8:19 pm
Contact:

Re: [MOD 0.11.x] Peace Mod (With new way to get alien artifacts)

Post by Devildog » Sat Apr 18, 2015 8:27 am

Cool mod!
Image
Check Out Factorio Mod Madness 2.0 Here : http://bit.ly/1afTDl0
Mod Madness ModPack

kinnom
Filter Inserter
Filter Inserter
Posts: 691
Joined: Fri Dec 26, 2014 4:20 pm
Contact:

Re: [MOD 0.11.x] Peace Mod (With new way to get alien artifacts)

Post by kinnom » Sun Apr 19, 2015 4:39 pm

1 start a world
2 add this mod
3 remove this mod
4 now you can't get piercing ammo, grenades and slowdown/poison capsules
no yes yes no yes no yes yes

User avatar
SHiRKiT
Filter Inserter
Filter Inserter
Posts: 687
Joined: Mon Jul 14, 2014 11:52 pm
Contact:

Re: [MOD 0.11.x] Peace Mod (With new way to get alien artifacts)

Post by SHiRKiT » Sun Apr 19, 2015 4:58 pm

kinnom wrote:1 start a world
2 add this mod
3 remove this mod
4 now you can't get piercing ammo, grenades and slowdown/poison capsules
I don't think there's an alternative way to overcome this issue except by doing what Fish said for each of the disabled recipes.

kinnom
Filter Inserter
Filter Inserter
Posts: 691
Joined: Fri Dec 26, 2014 4:20 pm
Contact:

Re: [MOD 0.11.x] Peace Mod (With new way to get alien artifacts)

Post by kinnom » Mon Apr 20, 2015 5:40 pm

SHiRKiT wrote: I don't think there's an alternative way to overcome this issue except by doing what Fish said for each of the disabled recipes.
and what are the names of those recipes?

FishSandwich
Smart Inserter
Smart Inserter
Posts: 1847
Joined: Sun Feb 23, 2014 3:37 pm
Contact:

Re: [MOD 0.11.x] Peace Mod (With new way to get alien artifacts)

Post by FishSandwich » Mon Apr 20, 2015 7:02 pm

kinnom wrote:
SHiRKiT wrote: I don't think there's an alternative way to overcome this issue except by doing what Fish said for each of the disabled recipes.
and what are the names of those recipes?
piercing-bullet-magazine
basic-grenade
poison-capsule
slowdown-capsule

kinnom
Filter Inserter
Filter Inserter
Posts: 691
Joined: Fri Dec 26, 2014 4:20 pm
Contact:

Re: [MOD 0.11.x] Peace Mod (With new way to get alien artifacts)

Post by kinnom » Tue Apr 21, 2015 4:00 pm

thanks
no yes yes no yes no yes yes

perkas9900
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri May 15, 2015 7:19 pm
Contact:

Re: [MOD 0.11.x] Peace Mod (With new way to get alien artifacts)

Post by perkas9900 » Fri May 15, 2015 7:23 pm

then i load my game it says:
_peacemod_/data.lua:27: attempt to index field 'autoplace' (a nil value)
how do i fix this? :?:

~Poke~
Burner Inserter
Burner Inserter
Posts: 11
Joined: Wed Dec 10, 2014 9:03 am
Contact:

Re: [MOD 0.11.x] Peace Mod (With new way to get alien artifacts)

Post by ~Poke~ » Thu Jun 04, 2015 4:33 pm

I'm using this mod with enemies enabled, but the enemy bases are still dropping artifacts. Is there any way to disable this? If it's important, my enemies are being generated by RSO rather than the default world generator.

orzelek
Smart Inserter
Smart Inserter
Posts: 3566
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: [MOD 0.11.x] Peace Mod (With new way to get alien artifacts)

Post by orzelek » Thu Jun 04, 2015 6:55 pm

~Poke~ wrote:I'm using this mod with enemies enabled, but the enemy bases are still dropping artifacts. Is there any way to disable this? If it's important, my enemies are being generated by RSO rather than the default world generator.
Enemies dropping artifacts comes from different mod - most likely bob's enemies or DyTech war. Those mods would need to be modified to disable that when peace mod is up or you can check if they have config option to disable drops.

~Poke~
Burner Inserter
Burner Inserter
Posts: 11
Joined: Wed Dec 10, 2014 9:03 am
Contact:

Re: [MOD 0.11.x] Peace Mod (With new way to get alien artifacts)

Post by ~Poke~ » Thu Jun 04, 2015 8:19 pm

orzelek wrote:
~Poke~ wrote:I'm using this mod with enemies enabled, but the enemy bases are still dropping artifacts. Is there any way to disable this? If it's important, my enemies are being generated by RSO rather than the default world generator.
Enemies dropping artifacts comes from different mod - most likely bob's enemies or DyTech war. Those mods would need to be modified to disable that when peace mod is up or you can check if they have config option to disable drops.
Sorry, my bad. It's the bases dropping artifacts, not the enemies. I guess I assumed that would be disabled, but I just looked through the code and it doesn't try.

Can the artifacts from bases be disabled? I don't really know lua, but looking at this code perhaps I could do something like:

data.raw["spitter-spawner"]["loot"] = null
data.raw["biter-spawner"]["loot"] = null

Would that affect the ones already in the world though?

User avatar
Hinanawi-sama
Burner Inserter
Burner Inserter
Posts: 16
Joined: Fri Jun 05, 2015 10:06 pm
Contact:

Re: [MOD 0.11.x] Peace Mod (With new way to get alien artifacts)

Post by Hinanawi-sama » Fri Jun 05, 2015 10:13 pm

perkas9900 wrote:then i load my game it says:
_peacemod_/data.lua:27: attempt to index field 'autoplace' (a nil value)
how do i fix this? :?:
It seems Peace Mod doesn't like F-mod 1.11.4 but it does work with F-mod 0.8.0 Beta and its add-ons.

Source: Literally just tested it with the same exact error to the letter.
Image

A_Factorio457
Burner Inserter
Burner Inserter
Posts: 9
Joined: Wed May 27, 2015 7:11 am
Contact:

Re: [MOD 0.11.x] Peace Mod (With new way to get alien artifacts)

Post by A_Factorio457 » Sun Jun 21, 2015 11:36 pm

Can you add an option to config where I can not remove enemies? I like the military tech and how I can kill enemies. But I would also like the alien ore as I think this is the best way of getting artifacts compared to other methods.

User avatar
Takezu
Fast Inserter
Fast Inserter
Posts: 247
Joined: Sun May 10, 2015 5:46 pm
Contact:

Re: [MOD 0.11.x] Peace Mod (With new way to get alien artifacts)

Post by Takezu » Sun Jun 21, 2015 11:47 pm

If you read at the first site the last post, this is an option since long ago

speedy45
Long Handed Inserter
Long Handed Inserter
Posts: 76
Joined: Fri Aug 08, 2014 11:48 am
Contact:

Re: [MOD 0.11.x] Peace Mod (With new way to get alien artifacts)

Post by speedy45 » Sat Jul 18, 2015 9:06 pm

0.12 didn't work

Post Reply

Return to “Mods”

Who is online

Users browsing this forum: chrisdec, DKarN