Search found 87 matches

by ian`
Tue Jan 12, 2021 7:40
Forum: Plug-In Discussion
Topic: Ideas for scenario mode
Replies: 0
Views: 116

Ideas for scenario mode

hello there, i'd like to hear a suggestion for scenario mode. it's about the initial requirements, goals, rewards and punishments, as well as the storyline that makes sense in this game. any suggestions of terrorism, racial, NSFW will be ignored. :bc
by ian`
Fri Jan 01, 2021 10:14
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 161
Views: 8809

Re: Lua chatbox

i got the other fact. if you call the build mode from createDraftDrawer, the draft will be added to the history as a new even if the draft in there before, not replace the last one. @Lobby Sorry to mention you, could you fix this bug?
by ian`
Thu Dec 31, 2020 11:40
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 161
Views: 8809

Re: Lua chatbox

I think I found a bug or maybe an oversight in my coding. I am using that function to open the building tool when a sidebar button is pressed, but it creates multiple instances of the item in the recent tab for every time I push the button: image.png Oddly enough, these extra instances will disappe...
by ian`
Wed Dec 30, 2020 20:43
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 161
Views: 8809

Re: Lua chatbox

You forgot to add .select() after draft drawer.

Code: Select all

City.createaDraftDrawer(draft).select()
by ian`
Wed Dec 02, 2020 9:14
Forum: Lua Scripting
Topic: GUI Compendium
Replies: 19
Views: 1691

Re: GUI Compendium

@Löbby is there any way to change the parent color of the GUI .createDialog{}? i'd experementing to put onDraw function but it's not work a i thougth XD and if i use the main Gui root i gonna have conflict about the casting of it specially the coordinates in some other resolution. I think you can't...
by ian`
Fri Nov 27, 2020 10:40
Forum: Plug-In Discussion
Topic: Plugin Store quality control discussion
Replies: 22
Views: 2689

Re: Plugin Store quality control discussion

how about the moderator can change the price to be free or 0 for "bad plugins"? it will make the creators can improve their ability and not continuously make the same things. "if you want diamonds, making a better from the last your plugins". but yeah, it will be need a competent moderators.
by ian`
Wed Nov 18, 2020 12:24
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 161
Views: 8809

Re: Lua chatbox

i think you can use string.gmatch and table of the "words" you want to censor.
by ian`
Fri Nov 13, 2020 12:45
Forum: Problems
Topic: [1.9.49p][windows] Tile.getBuildingName not work
Replies: 2
Views: 933

Re: [1.9.49p][windows] Tile.getBuildingName not work

yeah, it's still available. You only need to do something to get the tileX and tileY values. The simpliest things are you can use script:click(x,y,level) and attach the script into building draft. so the tileX and tileY values can be set when the user click the building. function script:click(x,y,le...
by ian`
Thu Nov 05, 2020 10:08
Forum: Lua Scripting
Topic: [1.8.95] Plugin settings
Replies: 8
Views: 843

Re: [1.8.95] Plugin settings

is it possible to use a textbox or slider as a setting? i want the user to be able to enter any number value they want i think you only can use like generic text (in this case textField) and add more vars on the onChange options. function script:settings() return{ { name = 'Generic text', -- This d...
by ian`
Tue Oct 27, 2020 13:23
Forum: Tutorials and Documentation
Topic: Night Animations
Replies: 45
Views: 10033

Re: Night Animations

Light seed documentation, please. :teach
by ian`
Wed Oct 21, 2020 9:08
Forum: Lua Scripting
Topic: Animation Dev Tool (Open Source)
Replies: 5
Views: 618

Animation Dev Tool (Open Source)

Since this plugin is open source, please do not commercialize or claim this plugin as yourself without any attempt to create a new one. This source of plugins is only for those of you who learn about lua and create masterpieces with it. All results of light definitions or animations in json array f...
by ian`
Sun Oct 18, 2020 20:38
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 161
Views: 8809

Re: Lua chatbox

So you want make a thing like gui example in Dev tool plugin by Lobby? Actually you can look at gui example post for the complete code. local function showDialog() -- Body of dialog that will show when tool is clicked end function script:event(x,y,lvl,event) if event == Script.EVENT_TOOL_ENTER then ...
by ian`
Sun Oct 18, 2020 19:43
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 161
Views: 8809

Re: Lua chatbox

you can look at gui compendium, there is a complete explanation of gui.
by ian`
Sun Oct 18, 2020 5:42
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 161
Views: 8809

Re: Lua chatbox

can the value of a variable that is in process such as in script:update() would be stored insidr tables even if it is pre-defined from local declaration .... I think it the game should read and used the value of the variable that is in pre-defined in var-declaration than the saved values Yeah, it's...
by ian`
Sun Oct 18, 2020 5:16
Forum: Game Discussion
Topic: What happened?
Replies: 5
Views: 640

Re: What happened?

Maybe Lobby is busy rn
by ian`
Tue Oct 13, 2020 8:29
Forum: Plug-In Discussion
Topic: Advanced Information and Tools plugin (issues and suggestions thread)
Replies: 12
Views: 2947

Re: Advanced Information and Tools plugin (issues and suggestions thread)

pkasedona wrote:
Tue Oct 13, 2020 5:10
I can’t find this plugin when I search for it. Maybe that accounts for the low number of downloads
This plugin requires TheoTown min version 1.9.37. Please check your TheoTown version. If your version is 1.9.37 or latest, but you still can't find this plugin, let me know. :jb:
by ian`
Thu Oct 01, 2020 6:01
Forum: Plug-In Discussion
Topic: Advanced Information and Tools plugin (issues and suggestions thread)
Replies: 12
Views: 2947

Re: Shortcut box plugin

Would it be possible to have a button to populate the shortcuts with the last 9 or so most recents? It is easier to subtract an item than navigating through menus to select an item to add. Yeah, it's possible, but i need Lobby to add some functions to make me can get the recent drafts or get the co...
by ian`
Wed Sep 09, 2020 17:25
Forum: Plug-In Discussion
Topic: Advanced Information and Tools plugin (issues and suggestions thread)
Replies: 12
Views: 2947

Re: Advanced Information and Tools plugin (issues and suggestions thread)

Update 09-09-2020 - Add shortcut button for terrain tools, move building tool, label, and clone tool. - Add Advanced Clone tool. Tool like eyedropper with extra features : clone tree and asphalt. - Add more settings shortcut. - Change tools layout. Have any suggestions or bug issues? Let's me know ...
by ian`
Sun Sep 06, 2020 5:43
Forum: Lua Scripting
Topic: Drawing basics
Replies: 24
Views: 2282

Re: Drawing basics

Code: Select all    Reset

if not TheoTown.SETTINGS.hideUI then Drawing.drawText('Hello World', 50, 50) end
Interactive Lua editor
Run
by ian`
Sat Sep 05, 2020 13:04
Forum: Lua Scripting
Topic: Lua chatbox
Replies: 161
Views: 8809

Re: Lua chatbox

Code: Select all    Reset

Draft.append(woodIconJson) -- variable name aren't string, don't use quotation marks.
Interactive Lua editor
Run

Go to advanced search