MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / MakeGoldStack

Function MakeGoldStack

Source/items.cpp:4504–4511  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4502}
4503
4504void MakeGoldStack(Item &goldItem, int value)
4505{
4506 InitializeItem(goldItem, IDI_GOLD);
4507 GenerateNewSeed(goldItem);
4508 goldItem._iStatFlag = true;
4509 goldItem._ivalue = value;
4510 SetPlrHandGoldCurs(goldItem);
4511}
4512
4513int ItemNoFlippy()
4514{

Callers 7

OperateShrineSpiritualFunction · 0.85
RemoveGoldFunction · 0.85
DebugCmdGiveGoldCheatFunction · 0.85
DropGoldFunction · 0.85
StripTopGoldFunction · 0.85
CreatePlrItemsFunction · 0.85

Calls 3

InitializeItemFunction · 0.85
GenerateNewSeedFunction · 0.85
SetPlrHandGoldCursFunction · 0.85

Tested by

no test coverage detected