add "special_resources" in forced_planets file?

A place for discussion of making game modifications.
akkamaddi
Posts: 147
Joined: Tue Sep 26, 2017 5:11 am

add "special_resources" in forced_planets file?

Postby akkamaddi » Wed Oct 04, 2017 4:24 am

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.

akkamaddi
Posts: 147
Joined: Tue Sep 26, 2017 5:11 am

Re: add "special_resources" in forced_planets file?

Postby akkamaddi » Thu Oct 05, 2017 12:08 am

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. :)


Return to “Modding”

Who is online

Users browsing this forum: No registered users and 22 guests

cron