Barony
Item Randomiser
34 Comments
Newt <3 13 Dec, 2024 @ 2:02am 
would love this to be updated to the newest version
Officer Honk 15 Sep, 2024 @ 11:07pm 
Id love this better if eat your hat items didnt get broken :<, otherwise, fun mod lol
Gizo 8 Apr, 2024 @ 10:41pm 
this does not work with the new Eat my Hat items. really hoping it gets updated! would be lovely to play and try out <3
Caliđa Myriad  [author] 15 Mar, 2024 @ 5:30pm 
Currently, I am unable to due to hardware issues, and wasn't able to as of that date, either.
It wouldn't be very difficult to make as a change.
NeroZero 3 Mar, 2024 @ 7:40pm 
are you working on getting this updated due to the new update?
Caliđa Myriad  [author] 20 Feb, 2024 @ 3:58pm 
If any mod changes items.json or adds it's own items.json, this mod will not work. Make sure this mod is at the top of your priority queue, unless you are using mods that add new items, in whichcase it is incompatible as aforementioned.
dolphin66666 20 Feb, 2024 @ 3:10pm 
unloaded every mod except this one and now it works
dolphin66666 20 Feb, 2024 @ 3:08pm 
not working
Caliđa Myriad  [author] 20 Feb, 2024 @ 9:10am 
If B+ is an .EXE modification to the game, follow these instructions for installing it within B+'s directory, not your own basegame one, I gave the below instructions with that assumption, atleast.
Caliđa Myriad  [author] 20 Feb, 2024 @ 9:08am 
How to make your own randomiser.

Download Notepad++, and make a new mod directory in your local mods via B+, close out of barony, and go to Barony+ and copy it's entire items section to the new mods directory you created ingame.

Use crtl+f to search for "item_level": X, where X is any number between -1 and 99.
Set all items you want to be in the common lootpool to be 0 , and in the rare lootpool, 10 . Make sure you include something like artefact items in the rare lootpool, as to not break lategame chests and shops which attempt to only spawn these items added in B+'s items.json.

All instances of -1 will not spawn naturally, set most of these to 0 or 10 depending on your preferences, but do not set spell_item or deathboxes to spawn randomly, or else you risk the game crashing.

Try it out and if it works, post it to the steamworkshop with a dependency on B+
Caliđa Myriad  [author] 20 Feb, 2024 @ 9:01am 
If Barony+ adds new items, the answer will be no.
If it doesn't add new items, make sure that the Item Randomiser is the first in your load order in game, then B+ as to ensure any modifiers B+ makes to loot pools are using IR's instead of B+'s loot modifiers.

If it adds new items, a different item randomiser mod would need to be made for it, as it would have entries the game would attempt to look for, but fail to find if you use this version, since it would fail to find a referenced item. (This is the same reason the current version will not work in the beta, but this mod will be updated for EMH's full release.)
Arius 19 Feb, 2024 @ 11:42pm 
Thank you for the instructions. Is it compatible with Barony+ (Open Test)?
Caliđa Myriad  [author] 19 Feb, 2024 @ 2:34pm 
Subscribe to the mod, and in-game, go into the mods tab and enable it via the workshop tab after it is installed, and make sure you and all clients are subscribed to the same version of the mod, and all clients should enable it in game prior to joining the lobby to avoid item desync.


This mod will not work on the Eat My Hat Beta and will cause crashes if loaded in the beta build.
Arius 19 Feb, 2024 @ 4:28am 
What are the installation instructions for this mod?
Caliđa Myriad  [author] 4 Feb, 2024 @ 12:51am 
It's worth noting legendary items are placed in loot tier 10 so that they always spawn in lategame shops, this is less of a balance thing and more of a method of avoiding buggy shops and chests.
Caliđa Myriad  [author] 4 Feb, 2024 @ 12:50am 
Yes, all items except for spells and deathboxes may spawn; this mod does not work with V4.1.1 (Eat My Hat)'s Beta yet, but it will be updated when EMH releases.

You can even find orbs or unused items like the spellbook of _9 and conjure skeleton staff.
Yuki 3 Feb, 2024 @ 2:49pm 
Is this mod able to spawn legendary weapons?
Caliđa Myriad  [author] 5 Dec, 2023 @ 11:38pm 
If you ever need tips with modding, the official barony community discord has plenty of people who understand the source code fairly well and can help you make such a mod more possible. Given things like wicked rendition and entire new items and enemy AI have been added via such mods, I have a positive outlook on this being feasible to implement.
Caliđa Myriad  [author] 5 Dec, 2023 @ 11:37pm 
Yeah, you'd have to make it so only unappraised items do this behaviour, and appraised ones are ignored. it seems like a simple enough variable.
Based Cosmo 5 Dec, 2023 @ 3:40pm 
The only issue I could see with that is just dropping the worst stuff and picking it up off the floor, but otherwise I could see if I could make something like it.
Caliđa Myriad  [author] 5 Dec, 2023 @ 3:01pm 
That would require some hardcode changes, unfortunately. The game is opensource and has an official github page maintained by the devs that you can fork to make such an alternate randomiser with if you know c++ - it would probbly be as simple as making a line of code that tells the game to take the item you just picked up, and turn it into any item within the game, and a benefit to this implementation is you would actually be able to randomise spells without the game crashing, as they'd never be leaving your inventory.
Based Cosmo 5 Dec, 2023 @ 2:18pm 
Yeah, when I load it I dont generally see that. Ive actually found less rare stuff, lol. Maybe its just a bug. Are there any mods that truly randomize everything? I want to get random items everywhere, like an artifact from picking up a torch.
Caliđa Myriad  [author] 4 Dec, 2023 @ 10:22pm 
This mod randomsies the lootpools of items, for example it makes it so almost all items are in every lootpool, it doesn't randomise the item when you pick it up.

If you aren't seeing randomised loot spawning (for example weird items like orbs, lategame spellbooks, crystal items rarely, steel items, or even just singular arrows) then something is going wrong and if I had to guess, it's either some weird rare bug in the basegame, or the mod just got disabled accidentally on run load (i've done that a few times)
Based Cosmo 4 Dec, 2023 @ 9:43am 
the mod doesnt seem to be working, i pick up items and its the normal item. im not playing on mp and this is the only mod loaded.
NeroZero 14 Nov, 2023 @ 6:33pm 
Cool
Caliđa Myriad  [author] 14 Nov, 2023 @ 3:06pm 
I could also make a room randomiser, but not a floor randomiser, the difference in verbiage here is that you could walk out of spawn, and find crystal caverns, ruins, and swamp tilesets all next to eachother, but the floor it's self would still be the mines if you were on floor 2, for example. This has some limitations, like shops, spawnrooms, and secret level entrances.

This is a hardcoded limitation currently, since there is no way to generate a randomised level.txt on run start to make a true level randomiser possible, but I atleast plan to make a enemy randomiser at some point.
Caliđa Myriad  [author] 14 Nov, 2023 @ 3:04pm 
It would be possible, yes and I have such an idea for both a balanced and unbalanced enemy randomiser mod in mind, randomising their loot would be pretty time consuming, but randomising the enemies themselves to be entirely random on each floor would be totally possible, while also keeping things balanced too. I hope I can someday experiment more with the enemy randomiser and get it working for a steampage.
NeroZero 14 Nov, 2023 @ 1:51pm 
is there a way for you to make a rando for enemies like having different enemies show up on different floors or change what they're holding?
Caliđa Myriad  [author] 19 Oct, 2023 @ 10:31pm 
No problem! I unfortunately cannot fix any multiplayer issues as much as I can help diagnose why they happen, as with any desync issue in this game, I imagine the item randomiser with even tiny mismatch discrepencies like a client not having it installed, can lead to major issues, I do appreciate your report as me and a friend had a similar issue when testing the 1.1 build where they still had the 1.0 randomiser build.
( ✧≖ ͜ʖ≖) 19 Oct, 2023 @ 10:14pm 
Gotcha thanks for clearing that up
Caliđa Myriad  [author] 19 Oct, 2023 @ 7:45pm 
Since I can edit comments, I have also added two known issues to the pinned thread, however I cannot think of a fix for either of them that I can implement within this mod other than basic trouble-shooting.
Caliđa Myriad  [author] 19 Oct, 2023 @ 7:38pm 
Also if you have mismatched versions of the mod (some people may still be on mod version V1.0, when the current mod version is V1.1) it will obviously cause issues as they have different loot table calls in the json file.
Caliđa Myriad  [author] 19 Oct, 2023 @ 7:37pm 
All clients need to install the mod from the Steam Workshop for it to work properly, or else items may appear as incorrect to clients, such as a cloak being picked up and appearing as a ring.

Make sure every client you play with downloads this mod from the workshop, and for epic games players, you have to wait until I release a github repository with the files so they can install it under EpicGames/Barony/Mods.

This mod is also intended for version V4.10; which is the current beta preview for the next update, and may not work correctly on previous versions.
( ✧≖ ͜ʖ≖) 19 Oct, 2023 @ 4:08pm 
This don't seem to work in multiplayer. Is this because of GDE2?