DonovanMods / donovan-7d2d-modlets

Modlets for the game "7 Days to Die"
MIT License
24 stars 38 forks source link

Stacks allow you to have unlimited resources (ammo and gas come to mind) #63

Open cyberjock opened 11 months ago

cyberjock commented 11 months ago

Some items, such as gasoline and ammunition have stacks. This allows for stacking items so you can carry more. However, there is one oversight on this, that allows anyone to basically have "unlimited resources" once you can make and open stacks.

By default, a "stack" of gasoline is 5000 gas cans. Unfortunately, if you open a stack, you get the full 30000 cans. That gives you basically a 6 fold increase in gasoline in your inventory, and for the "measly" cost of just 2000 oil shale.

Ammunition is similar. For example, you can make box of 9mm ammo (100 rounds) for 80 bullet tips, 80 gunpowder, and 80 bullet casings. However, when you open the "box" of ammo, you get 1000 rounds. Woohoo! 80 resources for 1000 rounds!

Please fix this as this gives ridiculously high quantities of ammunition and gasoline for little resources.

cyberjock commented 11 months ago

I didn't mean to submit it yet. I think there's only really 2 good ways out of this:

  1. Change the recipe of stacks of bullets and other affected things so that you need the proper ratio of resources.
  2. Get rid of the stacks.

Thanks.

cyberjock commented 10 months ago

Okay, so the person that first reported this to me had some things wrong. So I personally did all of this testing to verify everything. So let me clear the air.

This actually really breaks the economy on a server running the "Mega Stacks" addon if you realize what is going on.

Problem #1

A stack of gunpowder is normally 1000, and it requires 800 coal and 800 nitrates. With this addon applied, a stack gives you 30000 gunpowder, but the same 800 coal and 800 nitrates are required to make it. So it is super-trivial to end up with millions of gunpowder for very little materials.

This has the very real side-effect of allowing you to farm relatively little materials, and end up with so much "free" gunpowder that you can sell it to the traders for dukes. Naturally, this means serious consequences for the in-game economy.

Problem #2

Basically the same problem as gunpowder, but with stacks of gas cans. Costs 2000 oil shale to make a stack of gas cans, but when opened, you get a full 30000. Again, this can easily trash a server's economy.

Problem #3

This issue is purely cosmetic.

The recipe for a stack of gunpowder is actually named "Stack of Gunpowder (1000)". Naturally, if you open it, you do get the full 30000 despite the name.

Problem #4

This issue is also purely cosmetic.

The recipe for a stack of gas cans actually named "Stack of Gas Cans (5000)". Naturally, if you open it, you do get the full 30000 despite the name.

Now, I need to retract one thing:

Bullets of all kinds are not affected. Making bullets requires a slightly discounted cost to manufacture, but when you open the box you get the normal 100 rounds per box. Of course, you can have up to 1000 rounds in a single inventory slot, but you have to open 10 boxes of rounds to get the full 1000 rounds.

Thanks!

P.S. - I'm not sure if this is even being read by anyone. There's been no comments on this since it was first mentioned in December.

dyoung522 commented 7 months ago

Good info, thanks. I'll look at this next chance I get. I'm on a break from 7D at the moment, so I apologize for not seeing this sooner.