Search found 129 matches

by Boodals
Thu Mar 21, 2019 6:22 pm
Forum: Implemented mod requests
Topic: on_corpse_spawned
Replies: 7
Views: 601

Re: on_corpse_spawned

What do you want to do with the corpse?
by Boodals
Tue Mar 19, 2019 8:11 pm
Forum: Implemented mod requests
Topic: Add support for back_patch, front_patch to loader entity (from underground belt)
Replies: 9
Views: 2485

Re: Add underground belt back_patch & front_patch support to loaders

This has already been requested: 66071

Edit by Bilka: Merged with the above topic
by Boodals
Tue Mar 19, 2019 3:53 pm
Forum: Implemented mod requests
Topic: LuaSurface.upgrade_area{}
Replies: 1
Views: 387

Re: LuaSurface.upgrade_area{}

I have implemented this for the next version of 0.17 (I have source access). Note that you will need to supply the upgrade planner item to the function call. This is just because of how the upgrade logic works, which I didn't want to change. If you want to, create another modding interface request a...
by Boodals
Tue Mar 19, 2019 12:24 am
Forum: Implemented mod requests
Topic: Add method to return current unix epoch time
Replies: 17
Views: 16032

Re: Add method to return current unix epoch time

Although this is (or was, if a moderator moves it) in Won't implement, and is stupidly old, I created a way to get performance metrics for lua scripts (I have source access), which is in 0.17.15. LuaGameScript.create_profiler, returns a LuaProfiler, which can be used anywhere a localised string is u...
by Boodals
Mon Mar 18, 2019 11:48 pm
Forum: Implemented mod requests
Topic: [Request] Add flag or property to entities to render as tile
Replies: 4
Views: 654

Re: [Request] Add flag or property to entities to render as tile

Im pretty late, but in 0.17 this can sorta be done with LuaRendering and the draw_on_ground flag.
by Boodals
Mon Mar 18, 2019 8:00 pm
Forum: Modding interface requests
Topic: A better way to handle modpacks
Replies: 2
Views: 291

Re: A better way to handle modpacks

At the moment, the Lua API does not provide a way to manage the state of other mods. Any mod can change any prototype from any other mod that it depends on. Remote interfaces can be added to scripts to allow scripts to interact and work together. Currently, the way users have been handling modpacks...
by Boodals
Mon Mar 18, 2019 7:17 pm
Forum: Implemented mod requests
Topic: New API to get the system-level tick
Replies: 4
Views: 827

Re: New API to get the system-level tick

Although this is (or was, if a moderator moves it) in Won't implement, and is pretty old, I created a way to get performance metrics for lua scripts (I have source access), which will be in the next version of 0.17. LuaGameScript.create_profiler, returns a LuaProfiler, which can be used anywhere a l...
by Boodals
Mon Mar 18, 2019 7:16 pm
Forum: Implemented mod requests
Topic: util.timestamp() for performance debugging
Replies: 8
Views: 1286

Re: util.timestamp() for performance debugging

Although this is (or was, if a moderator moves it) in Won't implement, and is pretty old, I created a way to get performance metrics for lua scripts (I have source access), which will be in the next version of 0.17. LuaGameScript.create_profiler, returns a LuaProfiler, which can be used anywhere a l...
by Boodals
Thu Mar 14, 2019 2:31 pm
Forum: Resolved Problems and Bugs
Topic: [0.17.11] Crash when assigning game_view_settings to non-LuaObject
Replies: 1
Views: 1224

[0.17.11] Crash when assigning game_view_settings to non-LuaObject

The game crashes when running the following command: /c game.player.game_view_settings = game I looked into it with my source access. Anything that uses LuaHelper::parseLuaObject will crash if you pass an object that isnt a LuaObject, but can be accessed from Lua, such as LuaGameScript. It passes al...
by Boodals
Tue Mar 12, 2019 11:22 am
Forum: Implemented mod requests
Topic: Make text in textfields selectable in code
Replies: 5
Views: 437

Re: Make text in textfields selectable in code

As a guess, try making it focused at the same time as selecting text.
by Boodals
Mon Mar 11, 2019 2:24 pm
Forum: Implemented mod requests
Topic: Way to write mod settings, particularly for updating
Replies: 13
Views: 3383

Re: Way to write mod settings, particularly for updating

Was this implemented in a 0.17 version? I think I remember people talking about it in the mod-making channel of the discord, but I might be wrong, and I can’t check right now because I’m away from home, on mobile.
by Boodals
Mon Mar 11, 2019 2:20 pm
Forum: Implemented mod requests
Topic: Make text in textfields selectable in code
Replies: 5
Views: 437

Re: Make text in textfields selectable in code

I have added this to the next version of 0.17 (I have source access).
LuaGuiElement::select(start, end)
LuaGuiElement::select_all()
by Boodals
Mon Mar 11, 2019 2:16 pm
Forum: Implemented mod requests
Topic: Change surface minimum darkness %
Replies: 5
Views: 728

Re: Change surface minimum darkness %

I added this (I have source access). It is in a version that was released recently.
by Boodals
Mon Mar 11, 2019 2:12 pm
Forum: Already exists
Topic: Water-only map generation in 0.17
Replies: 6
Views: 1060

Re: Water-only map generation in 0.17

A way to do this, if you have access to the data stage, is to add a new noise expression that is used to replace the default elevation expression. I’ve been using it recently and it works great, but I’m on mobile so I can’t link any references.
by Boodals
Tue Mar 05, 2019 5:19 pm
Forum: Implemented Suggestions
Topic: Add a way to see/set what ghost is in a player's hand and appropriate events.
Replies: 2
Views: 461

Re: Add a way to see/set what ghost is in a player's hand and appropriate events.

I have implemented this for the next version of 0.17 (I have source access).
LuaControl::cursor_ghost [R/W] (ItemPrototypeSpecification)

No events because I made some before and I hated it. If you really need them, i'd recommend making a new request topic specifically for the events.
by Boodals
Mon Mar 04, 2019 1:33 pm
Forum: Already exists
Topic: API request for ordinal autoplace modification
Replies: 6
Views: 872

Re: API request for ordinal autoplace modification

As discussed on discord, autoplace specification has its own order string.
by Boodals
Mon Mar 04, 2019 6:56 am
Forum: Already exists
Topic: API request for ordinal autoplace modification
Replies: 6
Views: 872

Re: API request for ordinal autoplace modification

I'm pretty sure this already exists: order
by Boodals
Sat Mar 02, 2019 4:43 pm
Forum: Modding interface requests
Topic: Expanded research events
Replies: 4
Views: 336

Re: Expanded research events

What is your use case?
by Boodals
Sat Mar 02, 2019 9:59 am
Forum: Implemented mod requests
Topic: scroll-pane position (rw)
Replies: 4
Views: 504

Re: scroll-pane position (rw)

I don't think reading would be possible because I doubt it is synced in multiplayer. However I shall look at adding (I have source access) scroll_to_top(), scroll_to_bottom(), and possibly a scroll_to_element(element) but no promises on the last one. Also it may take a while before it is added (if i...
by Boodals
Thu Feb 28, 2019 1:25 pm
Forum: Modding interface requests
Topic: can you publish some of the 3d files?
Replies: 2
Views: 249

Re: can you publish some of the 3d files?

The devs have said numerous times that they will not publically release the 3d asset files. And even if they did, you wouldn't be able to use them without all of the scripts and tools they use to render them into sprites, unless you replicated them all yourself.

Go to advanced search