From 65604a80dfd5a38bbe6226be850e54356a78dfeb Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Fri, 23 Jun 2023 09:19:07 +0300 Subject: [PATCH 14/14] README.AI: Update want values documentation See osdn #47796 Signed-off-by: Marko Lindqvist --- doc/README.AI | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/doc/README.AI b/doc/README.AI index 6d3efd860f..062d44c355 100644 --- a/doc/README.AI +++ b/doc/README.AI @@ -74,17 +74,18 @@ Build calculations are expressed through a structure called adv_choice. This has a variable called "want", which determines how much the AI wants whatever item is pointed to by choice->type. choice->want is - -199 get_a_boat - < 0 an error - == 0 no want, nothing to do - <= 100 normal want - > 100 critical want, used to requisition emergency needs - > ??? probably an error (1024 is a reasonable upper bound) - > 200 Frequently used as a cap. When want exceeds this value, - it is reduced to a lower number. + < 0 Get a boat instead, + absolute value of the want correct + == 0 No want, nothing to do + <= DAI_WANT_BELOW_MIL_EMERGENCY Normal want + > DAI_WANT_MILITARY_EMERGENCY Critical want, + used to requisition emergency needs + > DAI_WANT_DOMESTIC_MAX Frequently used as a cap. + When want exceeds this value, + it is reduced to a lower number. These are ideal numbers, your mileage while travelling through the -code may vary considerably. Technology and diplomats, in particular, +code may vary considerably. Technology and diplomats, in particular, seem to violate these standards. -- 2.40.1