Project Zomboid

Project Zomboid

[B41] Video Game Consoles - Insanely Rare
21 Comments
itsmars  [author] 19 Dec, 2024 @ 10:01am 
That would also allow me to get rid of the 'dummy' items that show up in Item Stories.
itsmars  [author] 19 Dec, 2024 @ 10:00am 
You might try 75% Less Loot or Goodie Remover , but not sure if they work.

I checked out More Loot Settings , and it kinda works with True Music ...

In the sandbox options, in the new Loot Rarity tab, it has a "specific items multipliers" text box. As a test, I wrote "Tsarcraft.TCBoombox:20;" and sure enough, I was finding 20 times more boomboxes.

Though, manually typing in each vinyl, cd and casette in a huge music pack would be crazy. Still, it technically works. I'll have to see how the mod author did it, and maybe I can make my own spawn rate / rarity adjustment mod, (for video games consoles, true music, etc.) for the upcoming Build 42.
Hypnotic 13 Dec, 2024 @ 2:07pm 
Junateg is right.. a True Music variant of this would be really helpful.
Junateg 30 Nov, 2024 @ 3:55am 
Any chance to do the same with True Music Mod? to lower spawn rates of cassettes and vinyls?
itsmars  [author] 1 Nov, 2024 @ 10:24pm 
Ah, yeah. I did want to do something similar: you can occasionally loot the 'Candy Package' item from a gas station, which turns into Lollipop and Mint Candy when you double click on it. I suppose would be a crafting recipe, then (and speaking of game rentals... I forgor... very good idea for 1993. that takes me way back).
Spenglerian 31 Oct, 2024 @ 1:53am 
Now if “Item Stories” accidentally spawns a dummy item in the world, it will appear as “Video game rental box” and the player can “open” it to receive a random game (and useless empty video game rental box).

Understandably this is still some effort for what will likely break when B42 is released and introduces changes to the crafting system. We’ll probably find out more today in the Thursdoid - but I would guess that B42 will be an unstable early beta with no multiplayer support, so B41 will be around for a bit longer.

It’s up to you if you think it’s worth the effort :)

(Sorry the comments are in reverse order - I kept hitting the character limit)
Spenglerian 31 Oct, 2024 @ 1:53am 
Rather than getting rid of the dummy items (I think it’s a perfectly good method for dealing with the wonky loot rarity system - in fact I use a similar idea for my mods), the fastest fix is this:

1. Rename the display names of the dummy items to “Video game rental box”, and have them all use the base game VHS model.

2. Create a second item called “Video game rental box (empty)”, which also uses the base game VHS model.

3. Add a crafting recipe “Open video game rental box” that can take as input “Dummy_Console/Dummy_HandheldConsole/Dummy_Game” (or whatever their actual item names are) and will return “Video game rental box (empty)”.

4.Using the “OnCreate” line in the crafting recipe, you specify a lua function that returns any random game cartridge
Spenglerian 31 Oct, 2024 @ 1:52am 
@itsmars

I didn’t do a good job explaining what I meant.

“Item Stories” takes whatever is in the loot table for an entire room and will roll chances to spawn that item on the floor/on furniture.

So the dummy items that are added to the loot tables will sometimes get spawned into the room by “Item Stories”
itsmars  [author] 30 Oct, 2024 @ 2:20am 
@Spenglerian

The Project Zomboid devs never intended for us to be playing with Insanely Rare loot (in fact, the 'insanely rare' sandbox setting was added in December 2022, 11 years since 'release').

Today, the numbers being used for loot rarity are WAY too small.
In fact, they're displayed in game using scientific notation (1e-5, instead of 0.00001%). Strangely, lowering spawn rates past this point makes them spawn more frequently. I found that if I made the loot 10x MORE common (jumping from 1e-5 to 0.0001) it lowered the spawn rates. crazy.

Then I used the 'dummy' item, which is 10x more common than before, to randomize 1 of 30 games. I don't remember why I did it this way, tbh.

The original Video Game Consoles mod is going to be rewritten when build 42 comes out (SOON™), making this patch obsolete.

I'll still check out the dino mod, and the item stories mod, though. thanks for the info, btw.
Spenglerian 27 Oct, 2024 @ 11:31pm 
@itsmars Just to further elaborate on the behavior of Item Stories, basically it has a list of rooms and checks the loot tables for containers in that list of rooms. It will then randomly pick an item from those loot tables (determined by item loot rarity) and place it somewhere within the room/on furniture tiles.

since consoleDummy, handheldConsoleDummy, and gameDummy are all placed into loot tables, that means they have a small chance of spawning into the room via the spawning logic of Item Stories. Because this mod uses Events.OnFillContainer.Add(onFillContainer) to swap out the dummy items, it can't change items placed on the ground/outside of containers by Item Stories

I implemented a version of the fix described below in an unrelated item loot mod that adds collectible dinosaurs . It works well with Item Stories and helps avoid the need for admin intervention/console commands.
Spenglerian 7 Sep, 2024 @ 3:42am 
At least that's what I would do - it's not perfect, but it would give players a way to fix the problem on their own without need for an admin
Spenglerian 7 Sep, 2024 @ 3:41am 
A simple fix is to create a crafting recipe where you can "examine" a dummyGame object, and make it yield a random cartridge.
itsmars  [author] 7 Jun, 2024 @ 8:39pm 
Ahhh -- Item Stories. That would be the mod conflict.

I never intended for video games to be found loose, out in the world -- only in containers. When you open a container with a dummy game inside, I swap it out for a real one.

I'll have to install that mod and mess around with it. Maybe theres a way to prevent the dummy items from showing up? hmmm.
Hans-Landa 6 Jun, 2024 @ 5:03pm 
My modlist was very basic that's why i was curious on what could be possibly conflicting with your mod that caused it.
The items spawned outside in the world not inside a container, hence why i mentioned they're flat pictures and not the usual 3D model that accompanies the object when placed on the ground, i might have a hunch that it could be possibly something to do with Item stories, but it's the first time this happened to me when using that combination of mods, i did also use the 2 expansions out there that adds more games and loaded them before your mod, i might need to check my modlist and see what's under your mod.
itsmars  [author] 6 Jun, 2024 @ 4:52pm 
@Hans-Landa - Hmm, I just launched the game and everything is good on my end. When you said "they're just flat pictures" -- do you mean the icons in your inventory, or when dropped on the ground?

Either way, you shouldn't be seeing the dummy items. This sounds like a mod conflict, maybe something that changes how looting containers works?
Hans-Landa 6 Jun, 2024 @ 1:37pm 
For some reason im seeing a bunch of dummy items spawning, i imagine this is not normal, they're not even 3d they're just flat pictures.
aquelarrefox 5 May, 2024 @ 6:01pm 
im picking it, but mybe i have huge anount of items for mods it mitigate the amount of consoles but tie with the amount of games.
mb 18 Feb, 2024 @ 5:23pm 
thanks dude, always bugged me that the mod ignored sandbox loot settings and just spawned them everywhere regardless so this was an instant subscription from me when I saw it. much appreciated!
itsmars  [author] 11 Feb, 2024 @ 1:41am 
@RangerZero2 - I just tested it, full compatibility. This mod has no effect on eric's additional games (no matter the load order) - they were already super rare.
RangerZero2 10 Feb, 2024 @ 4:27pm 
Will tell you because am using it all. I hope it does, I suppose Eric just drops more items in the table.
itsmars  [author] 10 Feb, 2024 @ 5:03am 
I have no idea if this is compatible with eric1894's '55 more games' addons, I've never tried them out.