Search found 413 matches
- 09 Nov 2018, 12:13
- Forum: Jailhouse Rock
- Topic: TheoTown Forum Birb-Box
- Replies: 159
- Views: 165736
Re: TheoTown Forum Birb-Box
Bribe birbs and dribe dirbs
- 07 Nov 2018, 02:13
- Forum: Problems
- Topic: [Answered] [529] Plugin crash (Galleon.json:1065)
- Replies: 1
- Views: 1548
Re: [529] Plugin crash (Galleon.json:1065)
There is a comma missing after "monthly price"
- 31 Oct 2018, 00:17
- Forum: Lua Scripting
- Topic: Lua API documentation [780]
- Replies: 7
- Views: 7624
Re: Lua API documentation IV [780]
--- --Event types --@section --- --Will be called for building and road drafts right after placement. --@see script:event Script.EVENT_PLACED = 0; --- --Will be called for building and road drafts right after construction. --That is immediately after placements for roads and for buildings witht zer...
- 30 Oct 2018, 22:01
- Forum: Other
- Topic: Welcome city! Lua script
- Replies: 3
- Views: 4811
Re: Welcome city! Lua script
https://theotown.com/forum/viewtopic.php?f=41&t=8588Pogimichael123 wrote: ↑30 Oct 2018, 03:36How do you learn to write lua script plsFranchuFranchu wrote: ↑30 Oct 2018, 02:57Credit - Contents of this plugin may only be reused if you give credit to the author.
- 30 Oct 2018, 03:10
- Forum: Smalltalk
- Topic: TheoTown Forum Chatbox
- Replies: 11984
- Views: 6241789
Re: TheoTown Forum Chatbox
We need a Showcase subforum for scripts
- 30 Oct 2018, 02:57
- Forum: Other
- Topic: Welcome city! Lua script
- Replies: 3
- Views: 4811
Welcome city! Lua script
Credit - Contents of this plugin may only be reused if you give credit to the author.
- 28 Oct 2018, 16:38
- Forum: Jailhouse Rock
- Topic: TheoTown Forum Birb-Box
- Replies: 159
- Views: 165736
Re: TheoTown Forum Birb-Box
81r8
Birb.
Birb.
- 24 Oct 2018, 00:38
- Forum: Plug-In Discussion
- Topic: KoalaGuy's content
- Replies: 68
- Views: 23390
Re: KoalaGuy's content
They should not work in the lastest version
- 24 Oct 2018, 00:37
- Forum: Smalltalk
- Topic: TheoTown Forum Chatbox
- Replies: 11984
- Views: 6241789
Re: TheoTown Forum Chatbox
Goodbye!
- 21 Oct 2018, 14:07
- Forum: Smalltalk
- Topic: TheoTown Forum Chatbox
- Replies: 11984
- Views: 6241789
Re: TheoTown Forum Chatbox
Theotown roleplay countries by posts
- 19 Oct 2018, 12:07
- Forum: Miscellaneous
- Topic: Decals category by Josh | Category Update [1.1]
- Replies: 14
- Views: 21926
Re: Decals category by Josh | Category Update [1.1]
It shows that because it does not count mod edits
- 19 Oct 2018, 12:04
- Forum: Lua Scripting
- Topic: How to use Lua scripts
- Replies: 14
- Views: 13405
Re: How to use Lua scripts
It shows a toast each month
- 19 Oct 2018, 02:42
- Forum: Lua Scripting
- Topic: How to use Lua scripts
- Replies: 14
- Views: 13405
How to use Lua scripts
Now Lua can be used in TheoTown. Lua is a real proggraming language. To learn it, read this . To include a Lua file in your plugin, use this: "script":"file.lua", The file has to be in the same directory as your JSON. The Lua code can be this: function script.nextMonth() Debug.to...
- 19 Oct 2018, 02:18
- Forum: Smalltalk
- Topic: TheoTown Forum Chatbox
- Replies: 11984
- Views: 6241789
Re: TheoTown Forum Chatbox
You cannot kill an exctint one, duh
- 19 Oct 2018, 01:14
- Forum: Lua Scripting
- Topic: Lua API documentation [780]
- Replies: 7
- Views: 7624
Re: Lua API documentation III [780]
draft function Draft.getDraft(id) Returns the draft of the given id. **nil** is returned if no draft of the given id was found. array function Draft.getDrafts(tag) Returns an array of drafts that have the given tag defined. If no tag is provided this function returns a list of all available drafts....
- 19 Oct 2018, 01:09
- Forum: Lua Scripting
- Topic: Lua API documentation [780]
- Replies: 7
- Views: 7624
Lua API documentation II [780]
void function City.alert(integer actionPlaceTinteger ype, integer x, integer y) ---Identifier for fire disaster. Used by City.getDisaster and City.issueDisaster. City.DISASTER_FIRE = "fire" ---Identifier for meteorite disaster. City.DISASTER_METEOR = "meteor" ---Identifier for e...
- 19 Oct 2018, 01:07
- Forum: Lua Scripting
- Topic: Lua API documentation [780]
- Replies: 7
- Views: 7624
Lua API documentation [780]
Also see doc.theotown.com void function Analytics.log(category, action, label) ["hide"] void function Array:new(arr) void function Array.normalize(arr) void function Array:forEach(callbackFunction) @type Array Iterates over all elements of the array and applieds a function on them. This is...
- 18 Oct 2018, 03:12
- Forum: Problems
- Topic: [501] Plugin crash (antenna_props.json:1382)
- Replies: 2
- Views: 1384
Re: [501] Plugin crash (antenna_props.json:1382)
The category has a bug
- 18 Oct 2018, 03:11
- Forum: Problems
- Topic: [520] Plugin crash (antenna_props.json:1382)
- Replies: 3
- Views: 1389
Re: [520] Plugin crash (antenna_props.json:1382)
http://www.theotown.com/forum/viewtopic ... 19#p111008
Has a bug so you will have to wait till its fixed
Has a bug so you will have to wait till its fixed
- 18 Oct 2018, 03:05
- Forum: Problems
- Topic: What Happen here?
- Replies: 3
- Views: 1576
Re: What Happen here?
You should make the JSON
http://www.theotown.com/forum/viewtopic.php?p=5604#5604
http://www.theotown.com/forum/viewtopic.php?p=5604#5604