Ore-ganizer

by 0n0w1c

Take control of your resources!

Tweaks
17 days ago
2.0
3.52K
Environment Mining Fluids Cheats

i (Resolved) Support for resource monitors

4 months ago

I'm not sure if this is something on your mod side or the mod in question side for this

I would like the option to have resource monitor(s) be able to track the ores placed by the drills by this. If playing without resources preset this is not possible at least not with "Resource monitor" I haven't checked if that's the case for YARM as well though but I will reach out to either of them as well and request the same feature

Able to track resources placed by the miners when resources and toggled of under new game settings

4 months ago

I have performed some testing, YARM seems to work as expected, more or less.

In my testing with Resource Monitor, I could easily be mistaken, but I could not get the rescan of the surface to work as I expected.
But if you place resources in a fresh map, then save and then add Resource Monitor, it will find the ore patches. So maybe the rescan is not working as expected?

It does have a startup setting "Track all new sites", but that did not work as I expected.

I have not used Resource Monitor before, so I could be mistaken about how it works.

4 months ago

Alright, I have asked on the modportal for resource monitor as well still waiting for reply there but at least YARM is working as expected which is something, but not ideal when you usually use resource monitor. I guess YARM is on track on demand where resource monitor is or chunk generation which is the cause

I will look more into the settings and how those settings work, I might go back to YARM again at least for this.

4 months ago
(updated 4 months ago)

Open the Resource Monitor
Click on the Surfaces tab
Click on Nauvis (left panel below the Surfaces tab)
Click on the trash can (Reset the surface site data)
Click on the circular arrow (Scan the surface)
Click on the chart (Track all sites on this surface)
I think at this point it should be working.

I assume you would want to perform these steps after each time you place resources.

4 months ago

for when playing with the preset "no resources" there is no data or a scan feature in the GUI. my guess is that the mod only checks for enabled resources

Yes I have done those steps when plying with the default preset or any but the "no resources"

I could easily just have them enabled and do those steps or use YARM. I'll let you know when I get a respond from the mod author of Resource monitor

4 months ago
(updated 4 months ago)

I skipped a step. After clicking the Surfaces tab, click on Nauvis in panel on the left, below the tab, that will show the buttons.

4 months ago

Yea I see it now, whops I guess we both skipped a step :P You in the typing and me in the doing :P but in this manner I think YARM is the better choice for less clicks, at least until I hear back from the author

4 months ago
(updated 4 months ago)

I did not do more testing with the "Track all new sites" startup setting. Maybe it needs the surface to be reset before it works.

The scanning for drills might be an issue, not sure what the code scans for. If it is simply type = "mining-drill", all should work. But if the code scans for drills by name, you would want to "upgrade" the resource drills to vanilla drills, then perform the scan.

4 months ago

I usually BP over the modded ones to add circuit easily and that does not seem to start tracking them even if I scan for drills. I think it scan the ore and check if there is a mining drill on known ore when placing a drill or scanning for drills

3 months ago
(updated 3 months ago)

reply from the author

I think this explain that issue for support

Hey @Rotn240,

this is a common request for which I currently don't have a good solution. My mod has a different approach than YARM because my mod automatically scans the entire map as it is discovered and organizes all resources into sites. YARM on the other hand relies on manual creation of sites using a specific marking tool (and should be able to change the associated resources as far as I know). The problem with resources that are generated long after map generation is that there are no events or anything to automatically detect those changes. Therefore, it is impossible to automatically re-scan the map or track "moved" ores.

I might implement a YARM-style tool for manual changes at some point, however that is not a high priority to me because I want my mod to work as automated as possible.

3 months ago
(updated 3 months ago)

With Ore-ganizer, resources are spawned when a drill is placed, it would be possible as an on_built event is triggered. But I doubt there is enough interest to warrant him making coding changes.

3 months ago

Exactly, but as of now I'm doing what we talked about before.

but I reach out to him with that suggestion and hear what he has to say about it at least.

3 months ago
(updated 3 months ago)

With version 0.4.8, the resource create and destroy calls raise an event. This should make it possible for other mods to monitor the activity.

However, the events are per tile so they will receive quite a few events when mass deleting drills. It is probably better to watch for the build event of the drills but then that becomes specific coding for this mod.

Edit: Upon testing, only the drill placement triggers an event. When the create entity is a resource, no on built event triggers.

3 months ago

Alright, awesome, I'll give it a spin and thank you for taking the time to do so.

New response