Building requirements

Learn here how to create and use plugins.

Moderator: Plugin Moderators

User avatar
Madbro
Small-town resident
Reactions:
Posts: 38
Joined: Wed Jan 23, 2019 10:33
Plugins: Show

Platform

Re: Building requirements

#41

Post by Madbro » Thu Feb 07, 2019 7:58

CommanderABab wrote:
Thu Feb 07, 2019 3:52

Code: Select all

...,
  "requirements":[
      {
        "type":"BUILDING",
        "id":"$exbuildingid"
      }
    ],...
Where $exbuildingid is the id of the building you require.
Sorry sir, I mean, requiring upgraded version of buildings.
Madbro the Madman B)
From ideas :mine To artworks :img Then JSON :json And Plugin :plugin And finally.. bugs. :calc

User avatar
JustAnyone
Junior Developer
Reactions:
Posts: 2621
Joined: Sun Jul 23, 2017 12:45
Location: No idea either
Plugins: Show

Plugin Creator

Platform

Re: Building requirements

#42

Post by JustAnyone » Thu Feb 07, 2019 16:37

The building which should be required, should check for upgrade with lua/fun and set some variable to 1 which then can be put in conditional requirement on other building.

User avatar
yusuf8a684
Inhabitant of a Continent
Reactions:
Posts: 1110
Joined: Sun Dec 10, 2017 22:09
Location: Turkiye
Plugins: Show
Phone model: Discovery One

Plugin Creator

Platform

Re: Building requirements

#43

Post by yusuf8a684 » Mon Jun 10, 2019 15:39

How can I make requirement for city levels?
TheoTown Multiplayer Region
25x3Z7Z
We are playing on a region which other players in it as well. Our goal is making real world region...

User avatar
CommanderABab
AB
Reactions:
Posts: 7710
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Building requirements

#44

Post by CommanderABab » Mon Jun 10, 2019 16:02

759!759Currently using beta 759. 759 What's new? :)
way to make fence!!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

User avatar
CommanderABab
AB
Reactions:
Posts: 7710
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Building requirements

#45

Post by CommanderABab » Mon Jun 10, 2019 16:08

https://theotown.com/forum/viewtopic.ph ... 51#p138951

The level goes to 66 with the latest version.
759!759Currently using beta 759. 759 What's new? :)
way to make fence!!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

User avatar
JustAnyone
Junior Developer
Reactions:
Posts: 2621
Joined: Sun Jul 23, 2017 12:45
Location: No idea either
Plugins: Show

Plugin Creator

Platform

Re: Building requirements

#46

Post by JustAnyone » Mon Jun 10, 2019 18:46

It won't. That's fake news

soniroy
Settler
Reactions:
Posts: 1
Joined: Sat Jun 22, 2019 8:19
Plugins: Show

Re: Building requirements

#47

Post by soniroy » Sat Jun 22, 2019 8:27

Great post.Helpful :)

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”