MCPcopy Create free account
hub / github.com/diasurgical/devilution / S_SmithEnter

Function S_SmithEnter

Source/stores.cpp:1731–1758  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1729}
1730
1731void S_SmithEnter()
1732{
1733 switch (stextsel) {
1734 case 10:
1735 talker = 0;
1736 stextlhold = 10;
1737 stextshold = STORE_SMITH;
1738 gossipstart = QUEST_GRISWOLD2;
1739 gossipend = QUEST_GRISWOLD13;
1740 StartStore(STORE_GOSSIP);
1741 break;
1742 case 12:
1743 StartStore(STORE_SBUY);
1744 break;
1745 case 14:
1746 StartStore(STORE_SPBUY);
1747 break;
1748 case 16:
1749 StartStore(STORE_SSELL);
1750 break;
1751 case 18:
1752 StartStore(STORE_SREPAIR);
1753 break;
1754 case 20:
1755 stextflag = STORE_NONE;
1756 break;
1757 }
1758}
1759
1760void SetGoldCurs(int pnum, int i)
1761{

Callers 1

STextEnterFunction · 0.85

Calls 1

StartStoreFunction · 0.85

Tested by

no test coverage detected