• Welcome
Top images in our screenshot gallery:
Become a Beta-Tester

TheoTown is a city simulation game for Android, iOS and PC. Give it a try...

We have an awesome discord server at discord.gg/theotown. Let's chat together!

• Lua Sandbox
Here you can play around with Lua code. See the Lua API or chatbox for information about what you can do using Lua in TheoTown. For general interest in making plugins, have a look into our getting started guide.

Code: Select all    Reset

local n = 10
local sieve = {}
local primes = Array()

for i = 2, n do
if not sieve[i] then
end
for j = i * i, n, i do
sieve[j] = true
end
end

Debug.toast('Hello world! There are '..#primes..' primes in 2 to '..n)
primes:forEach(function(p) Debug.toast(p) end)

Interactive Lua editor

• News

#### Plugin Store Activity in May 2022

Hello everyone, it's time for some Plugin Store statistics!

New Plugins
In total 69 new plugins have been submitted in May 2022. Most of them were contributed by:
1. gmt2948
6 plugins

2. Shiruku
3 plugins

3 plugins

Top Creators
An incomplete list of our most diligent plugin creators:
By published plugins

Top Plugins

1. Tesla Factory
by CERRERA
Rating: 83% by 1526 ratings
Published: 2021-01-22
Last update: 2021-12-12

by Kartofun
Rating: 69% by 3766 ratings
Published: 2018-12-15
Last update: 2018-12-15

by Kevin hung
Rating: 76% by 2681 ratings
Published: 2018-12-17
Last update: 2018-12-17

4. Big hospital
by anhkatori2
Rating: 85% by 648 ratings
Published: 2021-07-29
Last update: 2022-05-18

by MONTEMARINO
Rating: 80% by 1962 ratings
Published: 2019-01-20
Last update: 2020-03-19

6. Waste To Energy Plant
by anhkatori2
Rating: 84% by 736 ratings
Published: 2021-07-14
Last update: 2022-05-01

by Carlão da massa
Rating: 87% by 933 ratings
Published: 2020-01-15
Last update: 2020-04-19

8. Ferris Wheel
by A dutch Guy
Rating: 82% by 1483 ratings
Published: 2019-02-13
Last update: 2020-03-02

9. Recycling center
by Akunbaru123
Rating: 84% by 1199 ratings
Published: 2021-01-04
Last update: 2022-05-05

• Recent
•  Recent announcements Recent popular topics Recent topics

#### Old Hangar

Old Hangar.
Preview Plugin
 ! Message from: Naufhal Please Note This Plugin Are Including Preview Frames. Draw Ground Are Included. They Can't Using This Airport Building Unless Your City are Under Than 12 Or More. But I Don't Copy Paste The Plane. The plane Are Made By Naufhal. Thank you.

#### typical sovet building

I am posting a package of the typical soviet building plugin for general review. It contains buildings used in the USSR as public buildings, as well as several early Soviet buildings. You can safely use them for your needs, the main thing mentioned is me.
Typical_sovet_Building.zip
.
P.S. this also includes 2
unreleased additions - one of the series of buildings 1-200/1-300 and the platform of the railway station /stopping point

• Latest news
Replies
Views
Last post

• Who is online?
• In total there are 92 users online :: 11 registered, 0 hidden and 81 guests (based on users active over the past 5 minutes)
Most users ever online was 1548 on 11 Aug 2021, 18:45

•  Top Posters

•  Statistics
• Totals
Total posts 157326
Total topics 11997
Total Announcements: 21
Total Stickies: 50
Total Attachments: 28235

Topics per day: 2
Posts per day: 30
Users per day: 42
Topics per user: 0
Posts per user: 1
Posts per topic: 13

Total members 219037