✔.Json File

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
22Alpha
Inhabitant of a Conurbation
Reactions:
Posts: 448
Joined: 23 Sep 2017, 14:29

Platform

✔.Json File

#1

Post by 22Alpha »

What does this mean? I think it is not specific enough for me.
Screenshot_2017-11-01-23-49-17[1].png
Thank you very much!

User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: .Json File

#2

Post by Lobby »

What's the content of this file? Looks like a problem with plugin encryption :/

User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: .Json File

#3

Post by Lobby »

You're right, but then I wonder why it doesn't show us the json code :o

User avatar
22Alpha
Inhabitant of a Conurbation
Reactions:
Posts: 448
Joined: 23 Sep 2017, 14:29

Platform

Re: .Json File

#4

Post by 22Alpha »

@Lobby
@KoalaGuy

Well, Here it is:

Code: Select all

[
{
      "id":"$coalplant00",
	  "type":"energy",
	  "width":5,
	  "height":5,
	  "frames":[{"steal":"$coalplant00","frame":0}],
	  "animation":[
	     {"id":"$animationblinkingredlight3x3","x":84,"y":-173}],
	  "smoke":[{"id":"$smoke03","x":69,"y":-183},
	           {"id":"$smoke03","x":80,"y":-189},
			   {"id":"$smoke05","x":94,"y":-61},
			   {"id":"$smoke05","x":102,"y":-57}],
	  "price":100000,
	  "monthly price":20000,
	  "influence pollution":25,
	  "influence noise":10,
	  "influence park":-5,
	  "power":7500,
	  "build height":12,
	  "water":0,
      "override":true,
      "upgrades":[
      {
        "id":"tm.upgrade06.dusko",
        "frames":[
          {"bmp":"blank.png"}
        ],
        "monthly price":-17500,
        "power":-7500,
        "influence pollution":-25,
        "influence noise":-10,
        "title":"Disable",
        "text":"Disables this building.",
        "only one":true
      },
      {
        "id":"tm.upgrade.half03.dusko",
        "frames":[
          {"bmp":"blank.png"}
        ],
        "monthly price":-7500,
        "power":-4500,
        "influence pollution":-10,
        "influence noise":-2,
        "title":"Half production",
        "text":"Decrease production of this building by half.",
        "only one":true
      },
      {
        "id":"tm.upgrade07.dusko",
        "frames":[
          {"bmp":"blank.png"}
        ],
        "monthly price":0,
        "power":0,
        "title":"Enable",
        "text":"Enables this building.",
        "only one":true
      },
    ],
       "requirement":{
         "requirements":
            [{"type":"RANK","data":{"lvl":16}},
			{"type":"BUILDING","data":{"id":"$coalmine00"}}]
	  }
   },

  {
    "id":"$nuclearplant00",
    "type":"energy",
    "width":6,
    "height":6,
    "frames":[{"steal":"$nuclearplant00","frame":0}],
    "smoke":[
      {"id":"$watervapor00","x":52,"y":-61},
      {"id":"$watervapor00","x":92,"y":-81},
      {"id":"$smoke06","x":70,"y":-34},
      {"id":"$smoke06","x":80,"y":-39},
      {"id":"$smoke05","x":143,"y":-125}
    ],
    "animation":[
      {"id":"$animationblinkingredlight3x3","x":147,"y":-124},
      {"id":"$animationblinkingredlight3x3","x":147,"y":-106},
      {"id":"$animationblinkingredlight3x3","x":147,"y":-87}
    ],
    "price":550000,
    "monthly price":75000,
    "power":45000,
    "water":-3000,
    "influence noise":2,
    "influence radioactive":60,
    "override":true,
    "upgrades":[
      {
        "id":"tm.upgrade08.dusko",
        "frames":[
          {"bmp":"blank.png"}
        ],
        "monthly price":-40000,
        "power":-45000,
        "influence noise":-2,
        "influence radioactive":-40,
        "title":"Disable",
        "text":"Disables this building.",
        "only one":true
      },
      {
        "id":"tm.upgradehalf04.dusko",
        "frames":[
          {"bmp":"blank.png"}
        ],
        "monthly price":-20000,
        "power":-20000,
        "influence noise":0,
        "influence radioactive":-10,
        "title":"Half production",
        "text":"Decrease production of this building by half.",
        "only one":true
      },
      {
        "id":"tm.upgrade09.dusko",
        "frames":[
          {"bmp":"blank.png"}
        ],
        "monthly price":0,
        "power":0,
        "title":"Enable",
        "text":"Enables this building.",
        "only one":true
      }
    ],
       "requirement":{
         "requirements":
            [{"type":"RANK","data":{"lvl":26}},
			{"type":"BUILDING","data":{"id":"BearsScienceLab"}}]
	  }
  }
]

User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: .Json File

#5

Post by Lobby »

I just entered it here and it shows me this error:
json_error.png
Remove this comma and it should work.

User avatar
Xim
Inhabitant of a Megalopolis
Reactions:
Posts: 600
Joined: 04 Sep 2017, 14:17
Location: Somewhere in Sometime
Plugins: Showcase Store

Platform

Re: .Json File

#6

Post by Xim »

That was fast

User avatar
22Alpha
Inhabitant of a Conurbation
Reactions:
Posts: 448
Joined: 23 Sep 2017, 14:29

Platform

Re: .Json File

#7

Post by 22Alpha »

Lobby wrote:
01 Nov 2017, 18:31
I just entered it here and it shows me this error:
json_error.png
Remove this comma and it should work.
I didn't know that there is a site like that! hahaha Wow. Thanks!

I'll try it on the other one, it was not loading also.

User avatar
22Alpha
Inhabitant of a Conurbation
Reactions:
Posts: 448
Joined: 23 Sep 2017, 14:29

Platform

Re: .Json File

#8

Post by 22Alpha »

@Lobby @KoalaGuy Thank you guys for your help! The Supply Systems plugin will be out now.

Post Reply Previous topicNext topic

Return to “Problems”