Ore Wagons

Any way to change the loot in ore wagons with this? I tried using a couple of the prefabs we identified on our own but 0 luck getting it to apply correctly. 

I feel like it's going to be another kind of 'hacky' plugin similar to the junkyard scrapper one, because technically they are not 'StorageContainers'

side question; you don't actually have the wagons with the two loot crates on them do you? broken right?

assets/content/vehicles/train/subents/wagon_crate_normal.prefab
assets/content/vehicles/train/subents/wagon_crate_normal_2.prefab​

Yeah no sign of the loot box wagons on our end, I figured they're fixing them, it was mentioned in the rusticated video on wipe day that they might be listening to the complaints of the loot in them.

you need something like this to get the container, but how can you make it unload faster ?

private void OnEntitySpawned(TrainCarUnloadable traincar)
{
	NextTick(() => {
		StorageContainer storageContainer = traincar.GetStorageContainer();
//loop container do what you want to the contents
//if you clear container it will set to despawn
     }
}​
@st0rmx I did find that one the other day and it works quite well! When you do have the money it's well worth it to bring resource balancing back to your server.

hello, someone have the full code for support wagon loot please and if he can share here please?

thanks

7KL7q5duCk9jKgD.png st0rmx

there is a plugin for this - https://lone.design/product/wagonplus-rust-plugin/

but i am poor right now so i cant get it. so i came here to look to see if betterloot as a wagon update

I thought it was not okay to point to plugins on other sites ??