Page 1 of 1

[Solved]Rstring Exception

Posted: 18 May 2017, 20:15
by CommanderABab
Image

This is an offer to build the alien power plant which requires a poor population of 100,000 inhabitants. I had just met the population requirement.

This is the requirement section of the plugin:

Code: Select all

"requirement":{ 
        "requirements":[ 
          { 
            "type":"HABITANT_COUNT", 
            "data":{ 
              "count":100000, 
              "factor0":1, 
              "factor1":0, 
              "factor2":0
            } 
          } 
        ] 
      }
Is there a string that I should include somewhere that would make the message much, much clearer?

Posted: 19 May 2017, 00:07
by Mayor Jeffrey IX
I get the same thing with a school I made. The requirement is 40,000 habitants, I get the same message (but shorter).

Posted: 19 May 2017, 00:29
by Lobby
Oh, my mistake, thank you for finding it :P

It doesn't look into the plugin for a title and therefore doesn't find one.

Posted: 20 May 2017, 23:36
by Mayor Jeffrey IX
Could you add a title string?

Posted: 20 May 2017, 23:55
by CommanderABab
He said it isn't looking for one.

Posted: 22 May 2017, 17:21
by Mayor Jeffrey IX
Oh I see. He just needs to put in something that will look for a title.

Posted: 22 May 2017, 17:47
by CommanderABab
Yes