Home
last modified time | relevance | path

Searched refs:req_tool (Results 1 – 4 of 4) sorted by relevance

/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Dconsumption.cpp1659 const itype *req_tool = item::find_type( tool_type ); in consume_med() local
1661 if( req_tool->tool ) { in consume_med()
1663 you.has_charges( tool_type, req_tool->tool->charges_per_use ) ) ) { in consume_med()
1664 … you.add_msg_if_player( m_info, _( "You need a %s to consume that!" ), req_tool->nname( 1 ) ); in consume_med()
1667 you.use_charges( tool_type, req_tool->tool->charges_per_use ); in consume_med()
H A Ditem_factory.cpp1251 const itype *req_tool = find_template( type->comestible->tool ); in check_definitions() local
1252 if( !req_tool->tool ) { in check_definitions()
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Dconsumption.cpp1659 const itype *req_tool = item::find_type( tool_type ); in consume_med() local
1661 if( req_tool->tool ) { in consume_med()
1663 you.has_charges( tool_type, req_tool->tool->charges_per_use ) ) ) { in consume_med()
1664 … you.add_msg_if_player( m_info, _( "You need a %s to consume that!" ), req_tool->nname( 1 ) ); in consume_med()
1667 you.use_charges( tool_type, req_tool->tool->charges_per_use ); in consume_med()
H A Ditem_factory.cpp1251 const itype *req_tool = find_template( type->comestible->tool ); in check_definitions() local
1252 if( !req_tool->tool ) { in check_definitions()