Page 1 of 1

add "special_resources" in forced_planets file?

Posted: Wed Oct 04, 2017 4:24 am
by akkamaddi
Hello,
In the file forced_planets_fun, where the home worlds of the minor races are kept, I'm trying to do this:

Code: Select all

{
      type = 'Paradise',
      name = 'Blrp Blrp Glrp',
      size='Small',
      special = { 'natives', pop = {viscid=3, }, }, 
      special_resources = {
      "super_grain",
     },    
    },


As I've posted elsewhere, I'm having issues getting the cheat/dev menu to appear, but I can edit the game save file. On four games, the planet exists with the correct name, type, size, and the viscid population. However, Super Grain is not there.

Can Super Grain be added through the forced planets file?
Thank you.

Re: add "special_resources" in forced_planets file?

Posted: Thu Oct 05, 2017 12:08 am
by akkamaddi
Quick follow up.
I found that in the epic_systems file, the syntax is:
special_resources = { 'artifacts' },
Whereas in the galaxy.lua file it is
special_resources = { "artifacts'"},

I have tried both in the forced_planets file, and neither syntax adds super grain to the viscid home world.

Is special_resources and entry that forced_planets does not read? Or am I making a mistake somewhere?
Thank you. :)