# Existential question about dropping 1 gold...

#### Frosty_The_Snowman

##### Diabloii.Net Member
Existential question about dropping 1 gold...

- Open inventory
- Drop *1* gold

Now, why on earth do I get a *stack* of gold coins on the ground :shocked: ??!!?11oneoneoneone (did I say one ?)

There must be some logical explanation involving Alien-Government Conspiracy :nervous:... Any ideas, folks :scratch: ?

##### Diabloii.Net Member
Wearing 'Nadir', it's possible to get a pile of 0 gold drop.

Work that one out :smiley:

#### ppz

##### Diabloii.Net Member
Lazy programmers.....

(warning, all numbers made up, someone else may know the real numbers)

if (dropped gold < 50)
show small gold pile

else if (dropped gold < 500)
show medium gold pile

else if (dropped gold < 5000)
show large gold pile

else
show huge gold pile

You get the idea.

btw, apparently there are 0 gp piles as well.

#### IntelligentX

##### Diabloii.Net Member
- Open inventory
- Drop *1* gold

Now, why on earth do I get a *stack* of gold coins on the ground :shocked: ??!!?11oneoneoneone (did I say one ?)

There must be some logical explanation involving Alien-Government Conspiracy :nervous:... Any ideas, folks :scratch: ?
Because if gold stacks, you can't make a good picture from it :azn:

#### TurbulentTurtle

##### Diabloii.Net Member
We all know the only monsters who drop 1 gold are the poor act 1 normal people. So maybe we just get their loose change, which adds up to 1 gold?
Probably the most logical reason IMO.

#### Frosty_The_Snowman

##### Diabloii.Net Member
We all know the only monsters who drop 1 gold are the poor act 1 normal people. So maybe we just get their loose change, which adds up to 1 gold?
Probably the most logical reason IMO.
Loose change... Mmmh... or maybe the characters drop 1 gold in foreign currency, making it equal to 47.31 whatever-currency, thus the stack on the ground :scratch: ?

#### kikomun

##### Diabloii.Net Member
Lazy programmers.....

(warning, all numbers made up, someone else may know the real numbers)

if (dropped gold < 50)
show small gold pile

else if (dropped gold < 500)
show medium gold pile

else if (dropped gold < 5000)
show large gold pile

else
show huge gold pile

You get the idea.

btw, apparently there are 0 gp piles as well.
oh god...if else statements

#### SoxFan

##### Diabloii.Net Member
oh god...if else statements
What's wrong with else if's?

To the OP, maybe each piece of gold doesn't equal a full 1. Kind of like if I dropped 1 dollar on the ground, it could either be a single \$1 coin, or perhaps 4 quarters.

#### krischan

Loose change... Mmmh... or maybe the characters drop 1 gold in foreign currency, making it equal to 47.31 whatever-currency, thus the stack on the ground :scratch: ?
All the fractions of a gold piece go to Dredd, Gorny, Xora and me. we are donating everything to The Cause.

* lights a cigar with a â‚¬100 bill *

#### Frosty_The_Snowman

##### Diabloii.Net Member
All the fractions of a gold piece go to Dredd, Gorny, Xora and me. we are donating everything to The Cause.

* lights a cigar with a â‚¬100 bill *
Ah, that explains everything, thanks krischan :worship: (<--- Seriously, where has this smiley gone ?) !!!

#### Gorny

##### Banned
All the fractions of a gold piece go to Dredd, Gorny, Xora and me. we are donating everything to The Cause.

* lights a cigar with a ?100 bill *
Problem there is, I don't have any DII gold.

However, I have a few hundred WoW coins.

*lights a cigar with a \$1,000 dollar bill*

#### Dawnmaster

##### Diabloii.Net Member
What's wrong with else if's?

To the OP, maybe each piece of gold doesn't equal a full 1. Kind of like if I dropped 1 dollar on the ground, it could either be a single \$1 coin, or perhaps 4 quarters.
You even dare to ask what's wrong with it?

If you're using if else's in that way, you'd be better of using Select Case...

#### SoxFan

##### Diabloii.Net Member
You even dare to ask what's wrong with it?

If you're using if else's in that way, you'd be better of using Select Case...
Well, not to drag this completely off topic but most modern compilers are going to generate the same Assembly, ByteCode, Intermediate Language, whatever, whether you use ifs, elseifs, or select / case for a small set of comparisons.

Once you have a larger set, select/case is O(lg(n)) whereas if/elseif is O(n), so yes, it is significantly faster.

#### ppz

##### Diabloii.Net Member
You even dare to ask what's wrong with it?

If you're using if else's in that way, you'd be better of using Select Case...
OT: Sorry, I come from the land of C programming where select cases don't work on ranges of numbers, only discreet numbers.

back on topic,
Well, you have plenty of options to choose from, but I believe your answer to the 1 gp piles is.... your guess is as good as mine.

#### ffejrxx

##### Diabloii.Net Member
maybe the d2 coins are shaped like a small pile to discourage counterfeiters

#### spigot

##### Diabloii.Net Member
Gold
Gold has long served as the sole reliable currency in the world of Sanctuary. This precious metal is melted into small gold slugs, which are then pressed and stamped with the heraldry of the kingdom that created them. Each coin throughout the realms possesses the same value, regardless of the coin's shape or size.
-from bnet

possibly, as the coins possess the same value regardless of the weight or size, counterfitters snick small corners off the edges of the coins or cut them into fractions (as in "pieces of eight"), these fractions or clippings, being made of gold could then be resmithed if necessary. People obviously wouldnt use a whole gold coin to buy a loaf of bread, therfore most single gold coins would come in a small pile of clippings, you can clearly see this in d2 if you have a resolution of 1024x768.

#### Speedster

##### Diabloii.Net Member
Probably converted to euros on the way to the ground...

#### ModeratelyConfused

##### Banned
Like someone else said above me, I always assumed that the large pile of 1 gold was (smaller denominations) = 1 gold.

#### ffejrxx

##### Diabloii.Net Member
or maybe mexican pesos ~5,000,000 pesos=1gold coin?

#### MaxMax

##### Diabloii.Net Member
Inflation has hit D2?