XCOM 2
Loot Pinatas - WotC
138 Comments
Grunt 28 Mar @ 1:51pm 
@Ashlynne_Lee alr, ill try to find the config for the mod in AML or in file explorer, thanks
Ashlynne_Lee  [author] 27 Mar @ 9:21pm 
@"Grunt": Yes, Loot Pinatas is nothing more than a configuration file modification. You need edit the XComGameCore.ini file that comes with the mod. Scroll to the bottom of the file and edit the lines in the Custom Loot Tables section. You can adjust the bonus loot tables to give as much or as little loot as you want.

There should be an alternate configuration in the file already that greatly reduces loot. You just have to uncomment it and comment out the custom loot tables above it to make it active in your games.
Grunt 27 Mar @ 10:36am 
Is there a way to reduce the amount of loot you get? I get around 10 drops and i just get 300 supplies instantly from the black market early-game
DanMan 17 Jan @ 4:22pm 
Makes the game a bit more fun. Probably a bit too much loot and makes the game a bit easier.
giolaco92 9 Jul, 2024 @ 10:02am 
Hello, it doesn't work for me, but i used lootpinata vanilla version in my vanilla run and it was amazing. Now i qanted to try WOTC game but unfortunatly this mod is not working :(
Do u have any suggestion?
Batariel 25 Apr, 2024 @ 10:58am 
Weird, this mod works perfectly for me even with Long War mod.
SlapDickMcRunFast 18 Mar, 2024 @ 2:36am 
Thanks! Just checking, when I picked up the loot in-game, it did not list what I got during the mission?
I seem to have got the Loot though, after mission reports seems accurate, the light version shows during the mission via text what was picked up, maybe it's a text limit thing?
VS-lockon 21 Nov, 2023 @ 12:28pm 
woot fond a by pass had go in to LWotC meld and change the loot change form 10% to 80% that or just move the load order idk what worked but meld now droping
VS-lockon 20 Nov, 2023 @ 11:19am 
LWotC. does overrides all of the loot tables but as i ran with it past week with this only thing that does not drop is meld and that not ever a LWotC it self it a mod that let you add meld to LWotC for Gene modding
Ashlynne_Lee  [author] 20 Nov, 2023 @ 8:58am 
@VS-lockon: I wouldn't expect this mod to be compatible with LWotC. I'm sure that mod overrides all of the loot tables to some degree.
Ashlynne_Lee  [author] 20 Nov, 2023 @ 8:57am 
@solvius90: Good question. I'm actually not sure! :steamsad: I don't use many mods outside my own other than cosmetic and system mods, so I've never thought about it!
VS-lockon 20 Nov, 2023 @ 6:09am 
Ashlynne_Lee well fond a bug that mad me have un sub to this lwotc meld dose not drop
solvius90 17 Nov, 2023 @ 2:18pm 
And another question is off topic. Can I manually manage mod updates? All my edits have disappeared.
And yes, I understand that need to keep backups. And yes I use AML. I understand that I need to disable "Check for updates".
solvius90 17 Nov, 2023 @ 1:49pm 
It does. Thanks 🙏🏼
Ashlynne_Lee  [author] 17 Nov, 2023 @ 1:31pm 
@solvius90: You could do that by creating a new loot table array in the config file and then reference that table in every base game loot table as a new element. For example:

+LootTables=( TableName = "GlobalLootTable", Loots[0]=(loot 1), Loots[1]=(loot 2), etc.....)

This is just off the top of my head, but...

You could use Loot Pinatas to make your life easier by changing all 8 Loot Tables under the CUSTOM LOOT TABLES section in its config file to reference your global table. For example:

+LootTables=( TableName = "LootPinatas_ADVENTEarly", Loots[0]=(Chance=100,MinCount=1,MaxCount=1,TableRef="GlobalLootTable",RollGroup=1) )

This saves you the headache of adding the global table to EVERY base table. Loot Pinatas is already rigged to every base table so you're just creating a chain reference.

Of course, you will still have conflicts if you have other mods that are modifying the base game loot tables.

Hope that makes sense! :steamhappy:
solvius90 16 Nov, 2023 @ 9:13am 
How can i edit in the config a universal drop chance for all enemies, and not for each one separately (sectoid, viper and others)?
solvius90 15 Nov, 2023 @ 5:58am 
Ok. Thanks. When i delete loot piñatas core started to drop normaly. As I understand it, in order for my loot to be varied, I need to register the chance of its drop in the config myself. And for each enemy separately. Damn, that's a lot of lines in the config. Although it’s not as difficult as with other games (like Original Sin 2 where you need to open a mod using a program, there are no simple configs)
VS-lockon 15 Nov, 2023 @ 4:15am 
im familiar with any of those loot mods only one i think it be is tela loot bc the other one i use
VS-lockon 15 Nov, 2023 @ 4:14am 
:steamhappy: thank
Ashlynne_Lee  [author] 14 Nov, 2023 @ 9:29pm 
@solvius90: I'm not familiar with any of those loot mods so I can't recommend anything with confidence at this time (I could subscribe and take a look at some of the code in the other mods when I get a chance). My assumption is that with that many different loot mods one (or more) of them is causing a conflict. Since Loot Pinatas is nothing more than a config file mod, it's probably getting overwritten at runtime by the conflict which will make it appear like it's not even installed (which is a best case scenario in the case of a conflict).
Ashlynne_Lee  [author] 14 Nov, 2023 @ 8:58pm 
@VS-lockon: You can. You need to edit the config file XComGameCore.ini that comes with the mod.

It would be in your steam install directory in the workshop sub-directory. Something like:

~\Program Files\Steam\steamapps\workshop\content\268500\1128231549\Config

Look near the bottom of that file for the Custom Loot Tables section. There are several array elements that look like this:

Loots[6]=(Chance=100,MinCount=11,MaxCount=20,TemplateName="Supplies",RollGroup=7)

You just want to modify the MinCount and/or MaxCount values to suit your needs.

Hope that helps. :steamhappy:
VS-lockon 12 Nov, 2023 @ 7:52am 
and @Ashlynne_Lee im guessing there no way for me code the Supplies be a higher random amount
VS-lockon 12 Nov, 2023 @ 7:51am 
psionics ex machina or suppressors or tela loot might be buging it the only recommend is down load a black market mod that add elerium cores then get a elerium cores craft mod if you know how to wright code
solvius90 10 Nov, 2023 @ 11:49am 
I can't figure out the loot. I have different mods for loot (psionics ex machina, mele attachments, suppressors, shield attachments, tela loot). And when I run mods for sorting loot (dude were is my loot, loot piñatas) my elerium cores are missing.
I want the loot to be varied. Can you recommend anything?
VS-lockon 7 Nov, 2023 @ 2:35pm 
why i ask @Ashlynne_Lee bc 25 till cheep for me i only make 72 per pay week in the game
VS-lockon 7 Nov, 2023 @ 4:19am 
nice see this dose work with LWOTC but just asking Ashlynne is there any way for me up the max Supplies
VS-lockon 6 Nov, 2023 @ 3:30am 
Does it work with LWOTC? and modjam? why i ask modjam add meld and LWOTC add other loots
Montressor 24 Sep, 2023 @ 2:26am 
is this compatible with TeslaRage's Loot Mod?
Loki 24 Jan, 2023 @ 2:41am 
LEGACY
sonycman 22 Jan, 2023 @ 1:05pm 
Is there a limit for Elerium Cores per mission?
I've got 2 + 1 cores dropped from timed loot but in the end mission brief there is only one!
Why is that, is that normal?
khumak 3 Dec, 2022 @ 9:54pm 
LWOTC is an example of a mod that increases the timed loot drops as Ashlynne_Lee mentioned. It boosts it from 2 to 5 so unless you tweak it lower this mod gives a ton of loot when used with it.
Monstache 18 Nov, 2022 @ 6:45am 
@Ashlynne_Lee Alright! Thanks :)
Ashlynne_Lee  [author] 17 Nov, 2022 @ 12:07pm 
@Monstache: If you received 2 Timed Loot drops during the first mission, you have another Mod that's increasing the Timed Loot drop rate per mission.

This mod ONLY increases the amount of items received from a Timed Loot drop. It will not increase the number of enemies that drop Timed Loot per mission. That frequency is still dependent on the base game rules (or externally modded rules!)

If you'd like to tailor your game experience, the bonus loot this mod provides is completely configurable by editing the delivered XComGameCore.ini file (there's even a much leaner bonus loot profile in that file that I typically use in my campaigns. You just need to do some commenting/uncommenting).

Hope that helps! :steamhappy:
Monstache 17 Nov, 2022 @ 3:53am 
Hey, is there a determined % chance for a loot pinata explosion? I did the intro mission in WOTC and two out of 6 enemies blew up and I have more weapon mods now than I feel I've had in a 20h save.
Dęąth Viper 19 Oct, 2022 @ 4:58pm 
Just finished a campaign with about 685 mods, this one included, and had no major issues! Thanks for putting this up.
Gaiashield 29 Sep, 2022 @ 5:59am 
Appreciate the update.
Ashlynne_Lee  [author] 23 Sep, 2022 @ 1:31am 
Update complete! Mod works with native launcher now. :steamhappy:
Ashlynne_Lee  [author] 10 Sep, 2022 @ 4:34pm 
FYI - Update coming soon.

I have a private version of Loot Pinatas that resolves the base game's mod launcher issue. I assume the issue was simply that this mod needed to be recompiled since that's all I did!

If you have modified the config file (I assume everyone has. I've modified my own down to very, very small amounts of bonus loot), be sure to save it somewhere or your changes will be overwritten by the update. I'll hold off on posting the update until next week or so.

I'll include a commented set of loot tables in the config file that has my trimmed down settings since I've had a few asks for much leaner bonus loot configurations.

Enjoy! :steamhappy:
TGalaxy 10 Sep, 2022 @ 4:29pm 
@Ashlynne_Lee wow cant wait to test that out, thanks
Chisato 5 Apr, 2022 @ 3:12am 
Any plans on making the mod work with mod config menu? I'm a heavy "I alter depending what mod/campaign"-player and manually doing it works fine but you know...being able to do it in-game would be...cooler..
Alan 4 Mar, 2022 @ 10:11pm 
Yeah, it seems to be working fine without removing the folder, which is lucky, because I was literally getting so many errors that they didn't fit on the screen.
Ashlynne_Lee  [author] 4 Mar, 2022 @ 4:55pm 
@Alan: That's... interesting :steamsad:

Deleting your config folder shouldn't cause errors. It's actually part of basic troubleshooting and sanitizing your environment when swapping mods or editing their config files. Otherwise, modifications to the game config can become "stuck" even after you unsubscribe to mods.

Here's the link to 2k's Support. The steps to follow are under "Delete the configs and cached shaders folders and Verify Local Cache". Deleting your shaders isn't necessary.

https://support.2k.com/hc/en-us/articles/217132417-XCOM-2-Basic-Tech-Troubleshooting

If you modifications to Loot Pinatas are reflected in-game without deleting your config, then ignore me :steammocking:
Alan 4 Mar, 2022 @ 9:31am 
Deleting my config folder resulted in a huge list of errors upon game load, so I had to restore it.
Alan 4 Mar, 2022 @ 7:17am 
@Ashlynne_Lee Thanks. I set resources to 50%, everything else lower (20-30% of original value). I left bosses entirely at the pinata default, however.
Ashlynne_Lee  [author] 3 Mar, 2022 @ 11:58pm 
@Alan: For my personal game, the chances of getting a third/fourth weapon upgrade or PCS were removed. I deleted the entries, but you could set the Chance values to 0 to accomplish the same thing (which is a little safer since a single syntax error will cause the entire mod to not function). Also, the values for MinCount and MaxCount were all lowered (mostly to 1 for both).

My current version of each custom loot table looks like this:

-A% chance for 1 Weapon Upgrade
-B% chance for 1 PCS
-X% chance for 1 Alien Alloy
-Y% chance for 1 Elerium Dust
-Z% chance for 5 - 10 Supplies.

The values I use for A, B, X, Y, Z are 20%, 30%, 50% which I tend to change around between games. The only exception is that the value for A and B are always 100% on the ALIENBosses Loot Table. If the boss has the timed loot, you get something cool! Seems fair to me! :steamhappy:
Alan 3 Mar, 2022 @ 8:02pm 
@Ashlynne_Lee, thanks! Do you change everything, or just the things that are currently high? For example. a few of the chances are already at 10% (do you change this to 1%?) or 25% (though most are 100% or 50%).
Ashlynne_Lee  [author] 3 Mar, 2022 @ 5:29pm 
@Alan: Only change the 7 lines at the bottom under the ;Custom Loot Tables comment. Those are the tables that grant the bonus loot and are rigged into the base game tables.

I change mine frequently depending on what other mods I'm playing with. I currently play with about 10% of the bonus loot provided by the published mod to offset the build requirements of items in my alien mods.

After you make the edits, it's pretty standard practice to delete your config folder so the game rebuilds it fresh upon launch (~Documents\My Games\XCom 2\XComGame\Config).

Hope that helps! :steamhappy:
Alan 3 Mar, 2022 @ 9:44am 
Can someone explain the difference between timed loot and custom loot? I'm trying to tone this mod down to about 25%, but I'm not sure what to change. Should I only change the 7 at the bottom? Should I just do a replace all for Chance=100 => Chance=25 throughout the entire file? Thanks!
King Scyther 2 Feb, 2022 @ 11:10am 
Can confirm Mod list wont appear on the 2k launcher =/
VeggetoSSJ 20 Jan, 2022 @ 12:47pm 
This mod somehow messes with the 2K mod manager. As soon as i add this mod to the list of mods (the bare essentials for LWOTC), the 2K launcher wont show the button to manage mods. A ssoon as i remove this, it shows again.