Hi,
I made a few research but was unsucessfull. I'm looking for a ingame tool (like planner/Deconstruction/upgrade) with, when selecting an area, would place ghost of a given tiles (said concrete) on any tiles which have ore on it.
I'm planing to try to mod this myself but I'm really a newbie at coding so I post here with little hope ^^
Since I will probably try if I have no answer, I'm also interested in any mod with a selection tool about ore patch, so I may retro-engineering what I want.
I'm sorry if it's not really clear. English is not my main language and I have difficulty to explain clearly really highly specific things.
Thanks for reading !
Placing tile gost on ore patch with a selection tool
Re: Placing tile gost on ore patch with a selection tool
I don't know of any mod that does that, but it should be possible.
You can make a selection tool that's set to select entities, and set the entity_filters list to whatever entities are a ResourceEntity. With that you can set an event in control.lua for on_player_selected_area, check if item is the selection tool you made, and if so you can iterate the entities list and make a ghost on top of each for concrete.
You can make a selection tool that's set to select entities, and set the entity_filters list to whatever entities are a ResourceEntity. With that you can set an event in control.lua for on_player_selected_area, check if item is the selection tool you made, and if so you can iterate the entities list and make a ghost on top of each for concrete.
Re: Placing tile gost on ore patch with a selection tool
Thanks ! If I have to do it myself, your post will help me a lot !