Atlantean space center ( Obsolete / discontinued (for now))
Moderator: Plugin Moderators
- THEMAX
- Inhabitant of a Universe
- Reactions:
- Posts: 4314
- Joined: 14 Sep 2017, 17:30
- Location: Astrellia, UHAE
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: STQAE space center
Can someone help me with how to add : price ( 5 M ) , monthly price ( 1 kT ), need road, need water, need electricity and need rank small country ??
- JustAnyone
- Developer
- Reactions:
- Posts: 3491
- Joined: 23 Jul 2017, 12:45
- Location: Easter Island
- Plugins: Showcase Store
-
Platform
Re: STQAE space center
Code: Select all
[{
"id": "template",
"type": "military",
"width": 6,
"height": 6,
"frames": [{
"bmp": "template.png"}],
"title": "Template Plug-in",
"text": "Template plug-in for you to understand .json",
"influence management":"50",
"needs road":"true",
"water":"-5",
"power":"-5",
"price":"100",
"monthly price":"2"
}]
- JustAnyone
- Developer
- Reactions:
- Posts: 3491
- Joined: 23 Jul 2017, 12:45
- Location: Easter Island
- Plugins: Showcase Store
-
Platform
Re: STQAE space center
Send me your .json
- THEMAX
- Inhabitant of a Universe
- Reactions:
- Posts: 4314
- Joined: 14 Sep 2017, 17:30
- Location: Astrellia, UHAE
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: STQAE space center
Thank youJustAnyone wrote: ↑23 Sep 2017, 13:11Just a template.Code: Select all
[{ "id": "template", "type": "military", "width": 6, "height": 6, "frames": [{ "bmp": "template.png"}], "title": "Template Plug-in", "text": "Template plug-in for you to understand .json", "influence management":"50", "needs road":"true", "water":"-5", "power":"-5", "price":"100", "monthly price":"2" }]
- Bearbear76
- Former Bearbear65
- Reactions:
- Posts: 5730
- Joined: 10 Feb 2017, 14:53
- Location: L2 cache
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: STQAE space center
I believe this is how it works
Code: Select all
"requirement":{"requirements":[{"type":"BUILDING","data":{"id":"text"}},{"type":"BUILDING","data":{"id":"text2"}},{"type":"BUILDING","data":{"id":"text3"}}]},
- JustAnyone
- Developer
- Reactions:
- Posts: 3491
- Joined: 23 Jul 2017, 12:45
- Location: Easter Island
- Plugins: Showcase Store
-
Platform
Re: STQAE space center
Lemme just...Yes. Yes. That's correct.Bearbear65 wrote: ↑23 Sep 2017, 13:50I believe this is how it worksCode: Select all
"requirement":{"requirements":[{"type":"BUILDING","data":{"id":"text"}},{"type":"BUILDING","data":{"id":"text2"}},{"type":"BUILDING","data":{"id":"text3"}}]},
Example:
Code: Select all
"requirement":{"requirements":[{"type":"BUILDING","data":{"id":"@@@@"}}]},
Last edited by JustAnyone on 23 Sep 2017, 13:54, edited 1 time in total.
- JustAnyone
- Developer
- Reactions:
- Posts: 3491
- Joined: 23 Jul 2017, 12:45
- Location: Easter Island
- Plugins: Showcase Store
-
Platform
- THEMAX
- Inhabitant of a Universe
- Reactions:
- Posts: 4314
- Joined: 14 Sep 2017, 17:30
- Location: Astrellia, UHAE
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: STQAE space center
But how to gain money from some buildings?
Because my factories plugins are a important part of our space project
Last edited by THEMAX on 23 Sep 2017, 15:17, edited 1 time in total.
- JustAnyone
- Developer
- Reactions:
- Posts: 3491
- Joined: 23 Jul 2017, 12:45
- Location: Easter Island
- Plugins: Showcase Store
-
Platform
Re: STQAE space center
You can't. Because it would break the whole system.
- THEMAX
- Inhabitant of a Universe
- Reactions:
- Posts: 4314
- Joined: 14 Sep 2017, 17:30
- Location: Astrellia, UHAE
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: STQAE space center
Oh no....JustAnyone wrote: ↑23 Sep 2017, 15:16You can't. Because it would break the whole system.
- CommanderABab
- AB
- Reactions:
- Posts: 11135
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: STQAE space center
Make them industrial. You can still have upgrades and requirements.THEMAX wrote: ↑23 Sep 2017, 15:15But how to gain money from some buildings?
Because my factories plugins are a important part of our space project
- THEMAX
- Inhabitant of a Universe
- Reactions:
- Posts: 4314
- Joined: 14 Sep 2017, 17:30
- Location: Astrellia, UHAE
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: STQAE space center
We can choose how many money we get?CommanderABab wrote: ↑23 Sep 2017, 15:22Make them industrial. You can still have upgrades and requirements.
- CommanderABab
- AB
- Reactions:
- Posts: 11135
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: STQAE space center
No, but you can choose where number is positive integer. You get taxes from them.
Code: Select all
"workers": number
- CommanderABab
- AB
- Reactions:
- Posts: 11135
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: STQAE space center
The Gillender building provides monthly income. It's probably hardwired java code though.
- THEMAX
- Inhabitant of a Universe
- Reactions:
- Posts: 4314
- Joined: 14 Sep 2017, 17:30
- Location: Astrellia, UHAE
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: STQAE space center
It would be easier if it was something like "monthly income" "5000"CommanderABab wrote: ↑23 Sep 2017, 15:57The Gillender building provides monthly income. It's probably hardwired java code though.
- Bearbear76
- Former Bearbear65
- Reactions:
- Posts: 5730
- Joined: 10 Feb 2017, 14:53
- Location: L2 cache
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: STQAE space center
That would lead to cheatingTHEMAX wrote: ↑23 Sep 2017, 15:59It would be easier if it was something like "monthly income" "5000"CommanderABab wrote: ↑23 Sep 2017, 15:57The Gillender building provides monthly income. It's probably hardwired java code though.
- THEMAX
- Inhabitant of a Universe
- Reactions:
- Posts: 4314
- Joined: 14 Sep 2017, 17:30
- Location: Astrellia, UHAE
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: STQAE space center
Lobby say to me the same thingBearbear65 wrote: ↑24 Sep 2017, 03:03That would lead to cheatingTHEMAX wrote: ↑23 Sep 2017, 15:59It would be easier if it was something like "monthly income" "5000"CommanderABab wrote: ↑23 Sep 2017, 15:57
The Gillender building provides monthly income. It's probably hardwired java code though.