Re: I want my money back! (and lower taxes)



I would like to test the setup I mentioned in the previous post (just
to see if it might work at all).
Immediately I found problems which are not caused by complexity of the
change, but my lack of familiarity with the server code. I would be
grateful if anyone can of the top of their heads direct me to the files
I need to look at, in order to:

1. Define new "P" and "I" flags and connect them, so that for example
I_IRON in src/lib/global/product.c "knows" it is the same commodity as
the product of P_IRON in src/lib/global/sect.c .
2. Add a new entry to the list of sectors in src/lib/global/sect.c (can
I just add a new entry, or do I have to utilize one of the unused
entries? do I have to modify a total number of entries in some other
file?)
3. Add a new entry to the list of products in src/lib/global/product.c
(the same doubts, as in question 2.)
4. Where do I need to make changes, in order to allow a new commodity,
"trade", to behave
the same way other commodities do? E.g, to be listed in the output
of "comm" command,
to be a valid argument of commands to move/distribute/deliver like
any other commodities.
Also to be included in the output of "prod" (and "budget", but I
don't think this last one would require any changes in the code).

If, as I hope, the above changes are not very difficult to code, the
only other changes in the test game might be as follows:

in data/econfig:
----------------------

eliminate taxes by setting:

money_civ 0.0000000
money_uw 0.0000000

in src/lib/global/product.s :
-------------------------------------

increase iron requirement for "heavy construction materials" production
from 2 to 3:

{{I_IRON, I_NONE, I_NONE}, {3, 0, 0},

add "income from venture" and "trading goods" products, by adding new
or modifying unused entries:

{{I_DUST, I_OIL, I_LCM}, {1, 5, 10},
I_NONE, NAT_TLEV, 0, 0, 0, NAT_ELEV, 5, 10, 100,
"trading goods", "trade",},
/does it matter,
where in the list I insert these lines?/
/would it make
sense, to eliminate tech and edu dependence
by replacing both
flags with -1 ? /

{{I_TRADE, I_NONE, I_NONE}, {1, 0, 0},
I_NONE, I_NONE, -300, 0, 0, -1, 0, 0, 10,
"income from venture", "income",},

/would these
parameters be a reasonable start for tests? /

in src/lib/global/sect.c :
--------------------------------

add new entry "venture" (here it mimics the params for "bank"):

{'v', P_TRADE, 2, 0, NPKG, 1.0, 2.25, 10, 0, 1, 0, 0, 999,
"venture"},

modify entry "highway" to include the new P_INCOME flag:

{'+', P_INCOME, 1, 0, NPKG, 1.0, 1.0, 3, 0, 1, 0, 0, 999,
"highway"},


I will be grateful for any comments, both technical (i.e.
implementation) and regarding playability/realism (including specific
values of parameters).

.



Relevant Pages

  • Re: table with double entries using owcolors from xcolor
    ... >j> all entries are multirows. ... >j> But if I use the \rowcolors command from the xcolor package I ... >j> absolutely need to have each double entry placed in one single row. ...
    (comp.text.tex)
  • Re: register SLP in WINS
    ... There is a command for adding a static entry to an NT 4.0 based WINS server. ... It is mentioned on page 532 of the CPDG. ... I have not had complete success with the entries that I added using this ...
    (microsoft.public.sms.setup)
  • SADB_X_SPDFLUSH message handling for latest version of IPsec
    ... Recently I found the behavior for the command "setkey -FP" is quite different for the latest version IPsec. ... After digging the codes, I found the state of the SP entries will be set as IPSEC_SPSTATE_DEAD, but the entries will not be unlink from the SPD. ... it's hard to tell whether the SP entry still takes effect since "setkey -PD" will not show its status. ...
    (freebsd-net)
  • bcp problem
    ... The file has entries like ... When I use command ... Error = String data, right truncation ... on every entry. ...
    (microsoft.public.sqlserver.tools)
  • Re: Solving the lib mismatch problem
    ... This section is pointed to by an entry in the section table with the ... The number of entries in the table is determined by DT_VERDEFNUM. ... This is an index into the string section referenced in the section ... Offset in the string section reference by the link in the section ...
    (comp.unix.programmer)