As you all know, RTR uses Rome Total Polytheism temple system by Nero666. Not long ago, while editing temple effects for my own needs, I found an issue (I think it is issue indeed not author's feature).
I see Nero666's plan was to have a possibility of different kinds of building "lesser" temples after the "main" temple is constructed. But there has to be no situation when you have "main" temple of certain type and "lesser" temple of the same type, i.e. you cannot have Awesome Temple of Heracles and Minor Temple of Heracles at once. I see it has to be so.
Now take a look at this segment of code:
What do we have? In order to build MTM_temple_of_battle_shrine we need one of the following factions:romans_julii, greek_cities, seleucid, macedon, pontus, egyptian, armenia, gauls, spain, germans, dacia, britonsMTM_temple_of_battle_shrine requires factions { romans_julii, greek_cities, seleucid, macedon, pontus, egyptian, armenia, gauls, spain, germans, dacia, britons, } and building_present_min_level temple_of_farming temple_of_farming_shrine or building_present_min_level temple_of_fun temple_of_fun_shrine or building_present_min_level temple_of_governors temple_of_governors_shrine or building_present_min_level temple_of_horse temple_of_horse_shrine or building_present_min_level temple_of_law temple_of_law_shrine or building_present_min_level temple_of_trade temple_of_trade_shrine or building_present_min_level temple_of_horse temple_of_horse_shrine
and 1st level of temple_of_farming must be constructed. It seem all correct for a while.
But!
Let's take a look at the text below:
or building_present_min_level temple_of_fun temple_of_fun_shrine...
I.e. now we don't need any factions requirements and do need only 1st level of temple_of_fun? The reason is A and B or C = (A and B) or C != A and (B or C) - formal logic says so.
Due to this fact we can construct "main" temple of certain type and "lesser" temple of the same type.
My thoughts are right?
P.S. To correct this you need to add factions requirements before every "or" word.
P.P.S. And why the temple_of_horse requirement repeats twice?..MTM_temple_of_battle_shrine requires factions { romans_julii, greek_cities, seleucid, macedon, pontus, egyptian, armenia, gauls, spain, germans, dacia, britons, } and building_present_min_level temple_of_farming temple_of_farming_shrine or factions { romans_julii, greek_cities, seleucid, macedon, pontus, egyptian, armenia, gauls, spain, germans, dacia, britons, } and building_present_min_level temple_of_fun temple_of_fun_shrine or factions { romans_julii, greek_cities, seleucid, macedon, pontus, egyptian, armenia, gauls, spain, germans, dacia, britons, } and building_present_min_level temple_of_governors temple_of_governors_shrine or factions { romans_julii, greek_cities, seleucid, macedon, pontus, egyptian, armenia, gauls, spain, germans, dacia, britons, } and building_present_min_level temple_of_horse temple_of_horse_shrine or factions { romans_julii, greek_cities, seleucid, macedon, pontus, egyptian, armenia, gauls, spain, germans, dacia, britons, } and building_present_min_level temple_of_law temple_of_law_shrine or factions { romans_julii, greek_cities, seleucid, macedon, pontus, egyptian, armenia, gauls, spain, germans, dacia, britons, } and building_present_min_level temple_of_trade temple_of_trade_shrine or factions { romans_julii, greek_cities, seleucid, macedon, pontus, egyptian, armenia, gauls, spain, germans, dacia, britons, } and building_present_min_level temple_of_horse temple_of_horse_shrine




Reply With Quote








