Search found 413 matches

by FranchuFranchu
19 Oct 2018, 12:07
Forum: Miscellaneous
Topic: Decals category by Josh | Category Update [1.1]
Replies: 14
Views: 21521

Re: Decals category by Josh | Category Update [1.1]

It shows that because it does not count mod edits
by FranchuFranchu
19 Oct 2018, 12:04
Forum: Lua Scripting
Topic: How to use Lua scripts
Replies: 14
Views: 12930

Re: How to use Lua scripts

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

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...
by FranchuFranchu
19 Oct 2018, 02:18
Forum: Smalltalk
Topic: TheoTown Forum Chatbox
Replies: 11982
Views: 5963608

Re: TheoTown Forum Chatbox

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

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
19 Oct 2018, 01:09
Forum: Lua Scripting
Topic: Lua API documentation [780]
Replies: 7
Views: 7381

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

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

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

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

Re: What Happen here?

by FranchuFranchu
18 Oct 2018, 02:55
Forum: Suggestions
Topic: Macedonian Languige translation
Replies: 5
Views: 2327

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

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
18 Oct 2018, 02:45
Forum: Suggestions
Topic: Tolls
Replies: 1
Views: 1259

Re: Tolls

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

Re: World texture

Some of them are in the last attachment (hydroelectric)
by FranchuFranchu
16 Oct 2018, 02:11
Forum: Smalltalk
Topic: TheoTown Forum Chatbox
Replies: 11982
Views: 5963608

Re: TheoTown Forum Chatbox

Same...7900th reply ...without including first post
by FranchuFranchu
11 Oct 2018, 02:10
Forum: Smalltalk
Topic: TheoTown Forum Chatbox
Replies: 11982
Views: 5963608

Re: TheoTown Forum Chatbox

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

Re: Using images in json (base 64 encoding)

So no plugin texture space problems?

Go to advanced search