• 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

#### Post Plugin Store Activity in February 2023

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

New Plugins
In total 31 new plugins have been submitted in February 2023. Most of them were contributed by:
4 plugins

1. reco0719
4 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: 73% by 2374 ratings
Published: 2021-01-22
Last update: 2023-01-17

2. Recycling center
by Stepanhie
Rating: 75% by 2025 ratings
Published: 2021-01-04
Last update: 2022-11-08

3. Big hospital
by anhkatori2
Rating: 78% by 920 ratings
Published: 2021-07-29
Last update: 2022-05-18

by Kevin hung
Rating: 71% by 3480 ratings
Published: 2018-12-17
Last update: 2018-12-17

by Kartofun
Rating: 64% by 5180 ratings
Published: 2018-12-15
Last update: 2018-12-15

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

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

by anhkatori2
Rating: 79% by 642 ratings
Published: 2021-09-09
Last update: 2022-03-20

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

• Recent
•  Recent announcements Recent popular topics Recent topics

#### Post San Francisco buildings pack

With my newest Plugin, I come to present a pack of buildings inspired by San Francisco and Oakland. In total there are 11 very different buildings.
11 buildings
for the time being there is no night animation, but there will be.
Credit: lobby
I will always update with new buildings.

Plugin:
A San Francisco .zip
Have a good time

#### Post Huncher Building

Some SC4 Fan here.
Here's a remastered version of my very first plugin.
Huncher Building!

Some textures came from Lobby and Theo.
Night animation included.

•  Latest news
Replies
Views
Last post

• Who is online?
• In total there are 39 users online :: 10 registered, 1 hidden and 28 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 166659
Total topics 13612
Total Announcements: 22
Total Stickies: 53
Total Attachments: 30487

Topics per day: 2
Posts per day: 30
Users per day: 64
Topics per user: 0
Posts per user: 0
Posts per topic: 12

Total members 353106