MCPcopy Create free account
hub / github.com/TurningWheel/Barony / isItemBaseIngredient

Method isItemBaseIngredient

src/interface/interface.cpp:10475–10491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10473}
10474
10475bool GenericGUIMenu::isItemBaseIngredient(int type)
10476{
10477 switch ( type )
10478 {
10479 case POTION_WATER:
10480 case POTION_POLYMORPH:
10481 case POTION_BOOZE:
10482 case POTION_JUICE:
10483 case POTION_ACID:
10484 case POTION_INVISIBILITY:
10485 return true;
10486 default:
10487 return false;
10488 break;
10489 }
10490 return false;
10491}
10492
10493bool GenericGUIMenu::isItemSecondaryIngredient(int type)
10494{

Callers 4

mod_tools.cppFile · 0.80
alchemyAddRecipeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected