I installed farm, just so I could look at everything. It sucked in all sorts of scripts that I will never use, but since none of them are relay scripts, it won't hurt me to have them in my scripts directory.
Script validation - which parses the script and builds an Interpreter for it - found all four versions. It did NOT complain about the call to the nine-parameter version of it on line 1160 of farm.ash. It had no compile errors of any sort.
farm is in svn. So is eatdrink. When I installed the former, it automatically installed the latter for me. What if you had an old pre-SVN version of eatdrink installed and then installed farm? Would it feel it needed to install eatdrink? If not, perhaps the old version doesn't have the 9-parameter function. If so, would it overwrite the old version? Or what?
There seem to be four overloaded versions. One of them has 22 parameters. That boggles my mind.> validate farm
Changing "tavern cellar" to "The Typical Tavern Cellar" would get rid of this message (zlib.ash, line 648)
Changing "tavern cellar" to "The Typical Tavern Cellar" would get rid of this message (farm.ash, line 50)
float abs( float n )
int [item] add_ingredients( item newitem, int count, int [item] stack, int loop )
boolean auto_mcd( int safemox )
boolean auto_mcd( monster mob )
boolean auto_mcd( location place )
...
int eatdrink( int foodMax, int drinkMax, int spleenMax, boolean overdrink )
void eatdrink( int foodMax, int drinkMax, int spleenMax, boolean overdrink, boolean sim_consume_p, boolean supress_overdrink_p, boolean accurate_p, int budget_p, float price_flexibility_p, boolean consider_cost_when_owned_p, int cost_of_pull_p, int value_of_adventure_p, int value_of_prime_stat_p, int value_of_nonprime_stat_p, boolean pie_priority_p, int price_of_nontradeables_p, int price_of_unknowns_p, int price_of_questitems_p, boolean sim_ronin_p, int sim_level_p )
void eatdrink( int foodMax, int drinkMax, int spleenMax, boolean overdrink, boolean use_inv_p, boolean use_closet_p, boolean use_storage_p, boolean sim_consume_p, boolean supress_overdrink_p, boolean shop_p, int budget_p, float price_flexibility_p, boolean consider_cost_when_owned_p, int cost_of_pull_p, int value_of_adventure_p, int value_of_prime_stat_p, int value_of_nonprime_stat_p, boolean pie_priority_p, int price_of_nontradeables_p, int price_of_unknowns_p, boolean sim_ronin_p, int sim_level_p )
void eatdrink( int foodMax, int drinkMax, int spleenMax, boolean overdrink, int advmeat, int primemeat, int offmeat, int pullmeat, boolean sim )
...
Script verification complete.
Script validation - which parses the script and builds an Interpreter for it - found all four versions. It did NOT complain about the call to the nine-parameter version of it on line 1160 of farm.ash. It had no compile errors of any sort.
farm is in svn. So is eatdrink. When I installed the former, it automatically installed the latter for me. What if you had an old pre-SVN version of eatdrink installed and then installed farm? Would it feel it needed to install eatdrink? If not, perhaps the old version doesn't have the 9-parameter function. If so, would it overwrite the old version? Or what?