Power Doesn't Upgrade

Plug-in related stuff can be discussed here.

Moderator: Plugin Moderators

User avatar
KINGTUT10101
1,000,000 inhabitants
Reactions:
Posts: 2220
Joined: 07 Jul 2016, 22:50
Location: 'Merica
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Power Doesn't Upgrade

#1

Post by KINGTUT10101 »

I made a power plant with upgrades (as seen in this video: https://youtu.be/r92R7VyS55E), but power doesn't seem to work in an upgrade. There's​ a very good chance that theres a problem with my json but I haven't found anything.

Code: Select all

[
   {
      "author": "Kingtut 101",
      "frames": [
         {
            "bmp": "power(pre).png"
         }
      ],
      "height": 3,
      "id": "power(pre).kt101",
      "monthly price": 5,
      "power": 0,
      "price": 2000,
      "text": "A coal power plant that you can decide whether to fund it or not.  It starts as a concrete platform.  Tap it to build the power plant.",
      "title": "Coal Power Plant",
      "type": "energy",
      "upgrades": [
         {
            "frames": [
               {
                  "bmp": "power(on).png"
               }
            ],
            "id": "power(on).kt101",
            "monthly price": 65,
            "only one": true,
            "power": 4000,
            "price": 20000,
            "text": "Select this to start funding the power plant.  You'll have to pay for workers and resources.",
            "title": "Start Funding"
         },
         {
            "frames": [
               {
                  "bmp": "power(off).png"
               }
            ],
            "id": "power(off).kt101",
            "monthly price": 5,
            "only one": true,
            "power": 0,
            "price": 500,
            "text": "Select this option to stop funding the power plant.  You'll still need to pay a small maintenance cost though.",
            "title": "Stop Funding"
         }
      ],
      "width": 3
   }
]

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

Platform

Re: Power Doesn't Upgrade

#2

Post by Lobby »

Which version of TheoTown do you use? 307 should solve the problem.

User avatar
KINGTUT10101
1,000,000 inhabitants
Reactions:
Posts: 2220
Joined: 07 Jul 2016, 22:50
Location: 'Merica
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: Power Doesn't Upgrade

#3

Post by KINGTUT10101 »

Okay. I just seen the update.

Post Reply Previous topicNext topic

Return to “Plug-In Discussion”