Search found 413 matches
- 19 Oct 2018, 12:07
- Forum: Miscellaneous
- Topic: Decals category by Josh | Category Update [1.1]
- Replies: 14
- Views: 21284
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: 11813
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: 11813
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: 11957
- Views: 5498348
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: 7197
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: 7197
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: 7197
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: 1344
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: 1324
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: 1504
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
- 18 Oct 2018, 03:02
- Forum: Plug-In Discussion
- Topic: Give me ideas!
- Replies: 3
- Views: 1248
- 18 Oct 2018, 03:02
- Forum: Plug-In Discussion
- Topic: GIVE IDEAS FOR PLUGIN ;)
- Replies: 11
- Views: 2633
- 18 Oct 2018, 02:55
- Forum: Suggestions
- Topic: Macedonian Languige translation
- Replies: 5
- Views: 2273
Re: Macedonian Languige translation
1. Create a Github account
2. Fork https://github.com/LobbyDivinus/theotown-translation
3. Edit your own fork of the repo to add macedonian
4. Start a pull request
2. Fork https://github.com/LobbyDivinus/theotown-translation
3. Edit your own fork of the repo to add macedonian
4. Start a pull request
- 18 Oct 2018, 02:50
- Forum: Suggestions
- Topic: Good ideas for new disasters some are EXTREME!
- Replies: 30
- Views: 7702
Re: Good ideas for new disasters some are EXTREME!
The proggramin language is Lua: Lua looks like this: Lua
Code: Select all
if (1+1==2) then
print('Hello world')
end
- 18 Oct 2018, 02:45
- Forum: Suggestions
- Topic: Tolls
- Replies: 1
- Views: 1207
Re: Tolls
The dev is a man. Also tolls should make citizens les happy
- 18 Oct 2018, 02:38
- Forum: Resources
- Topic: World texture
- Replies: 80
- Views: 84354
Re: World texture
Some of them are in the last attachment (hydroelectric)
- 16 Oct 2018, 02:11
- Forum: Smalltalk
- Topic: TheoTown Forum Chatbox
- Replies: 11957
- Views: 5498348
Re: TheoTown Forum Chatbox
Same...
- 14 Oct 2018, 04:33
- Forum: Smalltalk
- Topic: TheoTown Forum Chatbox
- Replies: 11957
- Views: 5498348
- 11 Oct 2018, 02:10
- Forum: Smalltalk
- Topic: TheoTown Forum Chatbox
- Replies: 11957
- Views: 5498348
Re: TheoTown Forum Chatbox
I hate rar too.
- 07 Oct 2018, 19:12
- Forum: Tutorials and Documentation
- Topic: Using images in json (base 64 encoding)
- Replies: 7
- Views: 3790
Re: Using images in json (base 64 encoding)
So no plugin texture space problems?