Search found 412 matches

by FranchuFranchu
Fri Oct 19, 2018 12:04
Forum: Lua Scripting
Topic: How to use Lua scripts
Replies: 14
Views: 2170

Re: How to use Lua scripts

It shows a toast each month
by FranchuFranchu
Fri Oct 19, 2018 2:42
Forum: Lua Scripting
Topic: How to use Lua scripts
Replies: 14
Views: 2170

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.toast("Hello Month!") ...
by FranchuFranchu
Fri Oct 19, 2018 2:18
Forum: Smalltalk
Topic: TheoTown Forum Chatbox
Replies: 9586
Views: 335664

Re: TheoTown Forum Chatbox

You cannot kill an exctint one, duh
by FranchuFranchu
Fri Oct 19, 2018 1:14
Forum: Lua Scripting
Topic: Lua API documentation [780]
Replies: 7
Views: 1720

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....
by FranchuFranchu
Fri Oct 19, 2018 1:09
Forum: Lua Scripting
Topic: Lua API documentation [780]
Replies: 7
Views: 1720

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 earthquake disaster. ...
by FranchuFranchu
Fri Oct 19, 2018 1:07
Forum: Lua Scripting
Topic: Lua API documentation [780]
Replies: 7
Views: 1720

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 especiall...
by FranchuFranchu
Thu Oct 18, 2018 3:12
Forum: Problems
Topic: [501] Plugin crash (antenna_props.json:1382)
Replies: 2
Views: 593

Re: [501] Plugin crash (antenna_props.json:1382)

The category has a bug
by FranchuFranchu
Thu Oct 18, 2018 3:05
Forum: Problems
Topic: What Happen here?
Replies: 3
Views: 565

Re: What Happen here?

by FranchuFranchu
Thu Oct 18, 2018 2:55
Forum: Suggestions
Topic: Macedonian Languige translation
Replies: 5
Views: 704

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
by FranchuFranchu
Thu Oct 18, 2018 2:50
Forum: Suggestions
Topic: Good ideas for new disasters some are EXTREME!
Replies: 30
Views: 1824

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
by FranchuFranchu
Thu Oct 18, 2018 2:45
Forum: Suggestions
Topic: Tolls
Replies: 1
Views: 400

Re: Tolls

The dev is a man. Also tolls should make citizens les happy
by FranchuFranchu
Thu Oct 18, 2018 2:38
Forum: Resources
Topic: World texture
Replies: 49
Views: 8119

Re: World texture

Some of them are in the last attachment (hydroelectric)
by FranchuFranchu
Tue Oct 16, 2018 2:11
Forum: Smalltalk
Topic: TheoTown Forum Chatbox
Replies: 9586
Views: 335664

Re: TheoTown Forum Chatbox

Same...7900th reply ...without including first post
by FranchuFranchu
Thu Oct 11, 2018 2:10
Forum: Smalltalk
Topic: TheoTown Forum Chatbox
Replies: 9586
Views: 335664

Re: TheoTown Forum Chatbox

I hate rar too.
by FranchuFranchu
Sun Oct 07, 2018 19:12
Forum: Tutorials and Documentation
Topic: Using images in json (base 64 encoding)
Replies: 7
Views: 1099

Re: Using images in json (base 64 encoding)

So no plugin texture space problems?
by FranchuFranchu
Tue Oct 02, 2018 2:14
Forum: Smalltalk
Topic: TheoTown Forum Chatbox
Replies: 9586
Views: 335664

Re: TheoTown Forum Chatbox

7777th.
Also, in Argentina there are some extremist football (soccer) supporters that kill people and steal and do mafia stuff.

Go to advanced search