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

Function S_StartSmith

Source/stores.cpp:359–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357}
358
359void S_StartSmith()
360{
361 stextsize = 0;
362 stextscrl = FALSE;
363 AddSText(0, 1, 1, "Welcome to the", COL_GOLD, 0);
364 AddSText(0, 3, 1, "Blacksmith's shop", COL_GOLD, 0);
365 AddSText(0, 7, 1, "Would you like to:", COL_GOLD, 0);
366 AddSText(0, 10, 1, "Talk to Griswold", COL_BLUE, 1);
367 AddSText(0, 12, 1, "Buy basic items", COL_WHITE, 1);
368 AddSText(0, 14, 1, "Buy premium items", COL_WHITE, 1);
369 AddSText(0, 16, 1, "Sell items", COL_WHITE, 1);
370 AddSText(0, 18, 1, "Repair items", COL_WHITE, 1);
371 AddSText(0, 20, 1, "Leave the shop", COL_WHITE, 1);
372 AddSLine(5);
373 storenumh = 20;
374}
375
376void S_ScrollSBuy(int idx)
377{

Callers 1

StartStoreFunction · 0.85

Calls 2

AddSTextFunction · 0.85
AddSLineFunction · 0.85

Tested by

no test coverage detected