Search found 1969 matches

by KINGTUT10101
Sun Aug 23, 2020 17:27
Forum: Plug-In Discussion
Topic: A Question About Saved Lua Variables
Replies: 1
Views: 731

A Question About Saved Lua Variables

If I save a variable within "function script:update ()" using the following, is that variable not accessable from other functions, like "function script.nextDay ()" for example?

Code: Select all

local name = Util.optStorage(City.getStorage(), script:getDraft():getId())
by KINGTUT10101
Sun Aug 23, 2020 17:10
Forum: Service
Topic: Prison Expansion LITE
Replies: 5
Views: 2863

Re: Prison Expansion LITE

I've looked into it, and there definitely a problem. I'll be posting an updated version later today. Thanks for the report.
by KINGTUT10101
Sun Aug 23, 2020 17:06
Forum: Service
Topic: Prison Expansion LITE
Replies: 5
Views: 2863

Re: Prison Expansion LITE

Have you tried unzipping the file?
by KINGTUT10101
Mon Aug 03, 2020 16:50
Forum: Service
Topic: Prison Expansion v1.2
Replies: 10
Views: 3634

Re: Prison Expansion v1.2

You can't. There is no way to make money yet.
by KINGTUT10101
Sat Aug 01, 2020 16:54
Forum: Plug-In Discussion
Topic: What flags do rioters use?
Replies: 3
Views: 872

Re: What flags do rioters use?

Disaster
by KINGTUT10101
Sat Aug 01, 2020 1:01
Forum: Service
Topic: Prison Expansion v1.2
Replies: 10
Views: 3634

Re: Prison Expansion v1.2

The Prison Expansion v1.2 has released! It contains new items, danger levels, lights, and much more! Download it and view its changelogs using the link below: https://sites.google.com/view/retrocitycenter/theotown/plug-ins/services?authuser=0#h.p_DCxcuwJ24knM There are bound to be bugs, so if you ha...
by KINGTUT10101
Sat Aug 01, 2020 0:38
Forum: Plug-In Discussion
Topic: What flags do rioters use?
Replies: 3
Views: 872

What flags do rioters use?

I have a road with custom flags, but I noticed rioters can't use it. What flags can I use to fix this?
by KINGTUT10101
Wed Jul 29, 2020 1:24
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 171
Views: 11674

Re: Lua chatbox

Dang, I was hoping it was just a simple command. I actually had the same idea to make rounded corners that way, but I thought I would ask you about it first.
by KINGTUT10101
Tue Jul 28, 2020 20:51
Forum: Smalltalk
Topic: How old are you?
Replies: 19
Views: 2999

Re: How old are you?

Ah, that makes sense.
by KINGTUT10101
Tue Jul 28, 2020 16:03
Forum: Smalltalk
Topic: How old are you?
Replies: 19
Views: 2999

Re: How old are you?

Why do we even have all of these bots anyway?
by KINGTUT10101
Tue Jul 28, 2020 16:02
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 171
Views: 11674

Re: Lua chatbox

@distian
How did you make the corners of this window round here? Is there a specific function for that?
Screenshot_20200728-085703.png
by KINGTUT10101
Tue Jul 28, 2020 15:58
Forum: Problems
Topic: The train carriages were packed together
Replies: 4
Views: 2008

Re: The train carriages were packed together

Maybe try making your own spacers instead.
by KINGTUT10101
Tue Jul 28, 2020 4:50
Forum: Lua Scripting
Topic: [792] Real time script editing
Replies: 8
Views: 1312

Re: [792] Real time script editing

Thanks for the help, that fixed the issue.
by KINGTUT10101
Tue Jul 28, 2020 4:48
Forum: Lua Scripting
Topic: [792] Real time script editing
Replies: 8
Views: 1312

Re: [792] Real time script editing

That's odd. I guess I'll try it though.
by KINGTUT10101
Tue Jul 28, 2020 4:47
Forum: Problems
Topic: The train carriages were packed together
Replies: 4
Views: 2008

Re: The train carriages were packed together

You should use spacers instead. They're a special car type that you can use to place space in-between the train cars. Ask Lobby or JustAnyone about the ID. I believe it's a vanilla feature.
by KINGTUT10101
Mon Jul 27, 2020 16:34
Forum: Lua Scripting
Topic: [792] Real time script editing
Replies: 8
Views: 1312

Re: [792] Real time script editing

I asked because whenever I change the name of the script, I get this error: Screenshot_20200727-093329.png [ { "frames":[], "id":"TheoThoughts.kt101", "meta":{ "luawrapper":{ "dev":true, "script":"TT.lua" } }, "script":"#LuaWrapper", "strictlua":true, "type":"script" } ]
by KINGTUT10101
Mon Jul 27, 2020 0:17
Forum: Lua Scripting
Topic: [792] Real time script editing
Replies: 8
Views: 1312

Re: [792] Real time script editing

Does the script have to be named "myscript.lua"?
by KINGTUT10101
Fri Jul 24, 2020 16:34
Forum: Terrain and Trees
Topic: Elevated Terrain (1.5) (5 Add-ons)
Replies: 53
Views: 16967

Re: Elevated Terrain (1.5) (5 Add-ons)

You can download them here:
https://sites.google.com/site/theotownm ... ed-terrain

Although I would recommend just using the vanilla tunnels.
by KINGTUT10101
Thu Jul 23, 2020 23:44
Forum: Game Discussion
Topic: The Prison Expansion Pack needs some balancing (Warning: Long)
Replies: 10
Views: 2939

Re: The Prison Expansion Pack needs some balancing (Warning: Long)

I think you'll be happy to hear that after a few months of work, version 1.2 of the Prison Expansion is almost complete! If everything goes to plan (and I don't find any major bugs), the update should release sometime in the next week or so. It's a shame I didn't get to add every feature I wanted to...
by KINGTUT10101
Thu Jul 23, 2020 20:46
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 171
Views: 11674

Re: Lua chatbox

What about specific happiness levels, like park happiness?

Go to advanced search