MCPcopy Create free account
hub / github.com/DFHack/dfhack / df_liquids_here

Function df_liquids_here

plugins/liquids.cpp:382–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380}
381
382command_result df_liquids_here (color_ostream &out, vector <string> & parameters)
383{
384 for(size_t i = 0; i < parameters.size();i++)
385 {
386 if(parameters[i] == "help" || parameters[i] == "?")
387 return CR_WRONG_USAGE;
388 }
389
390 out.print("Run liquids-here with these parameters: ");
391 print_prompt(out, cur_mode);
392 out << endl;
393
394 return df_liquids_execute(out);
395}
396
397command_result df_liquids_execute(color_ostream &out)
398{

Callers

nothing calls this directly

Calls 4

print_promptFunction · 0.85
df_liquids_executeFunction · 0.85
sizeMethod · 0.45
printMethod · 0.45

Tested by

no test coverage detected