mandybrigwell
Member
I think I've made this way more complicated than it needs to be, and it doesn't really work very well. Any tips?
I know someone already asked about a cli command to use the spade, and were told to just use the standard choice adventures, but despite my best efforts I seem to be having trouble with that. If a cli command is thoroughly non-trivial, it would be much appreciated.
Code:
if ( get_property("_archSpadeDigs").to_int() < 11 ) {
set_property( "choiceAdventure1596", "2" );
cli_execute( "use archaeologist's spade" );
while ( get_property("_archSpadeDigs").to_int() < 11 ) {
catch {
run_choice(2);
}
}
set_property( "choiceAdventure1596", "4" );
catch {
run_choice(4);
}
}
I know someone already asked about a cli command to use the spade, and were told to just use the standard choice adventures, but despite my best efforts I seem to be having trouble with that. If a cli command is thoroughly non-trivial, it would be much appreciated.