MW-MAX-ERA is an option for Maximum Era restriction. So "0" means that there's no era restriction for WW.Is that ok , or must MW-MAX-ERA be a 1 ?
--------------------------------------------------------------
/*
Maximum Era restriction!
0 = No restriction regarding Eras;
1 = You cannot build World Wonders from 2 Eras behind and further (Default);
*/
INSERT INTO COMMUNITY
(Type, Value)
VALUES ('MW-MAX-ERA', 1);
--------------------------------------------------------------
I checked the code, and yes, at Prora lines (line 2763-2775) it wrongly stated as BUILDING_CRISTO_REDENTOR and not BUILDING_PRORA_RESORT.Cristo Redentor still requires hill and flat, so it's impossible to build.
--------------------------------------------------------------------------------------------------------------------------------------------
-- PRORA
UPDATE Buildings SET Cost = 1800 WHERE Type = 'BUILDING_PRORA_RESORT';
UPDATE Buildings SET MaxStartEra = 'ERA_POSTMODERN' WHERE Type = 'BUILDING_PRORA_RESORT';
UPDATE Buildings SET WonderSplashAnchor = 'L,T' WHERE Type = 'BUILDING_PRORA_RESORT';
---------------------------------------------------------
UPDATE Buildings SET Flat = 1, Water = 1, MinAreaSize = 10 WHERE Type = 'BUILDING_CRISTO_REDENTOR' AND EXISTS (SELECT * FROM COMMUNITY WHERE Type='MW-REQUIREMENT' AND (Value=1 OR Value=2));
INSERT INTO Building_LocalFeatureOrs
(BuildingType, FeatureType)
SELECT 'BUILDING_CRISTO_REDENTOR', 'FEATURE_FOREST'
WHERE EXISTS (SELECT * FROM COMMUNITY WHERE Type='MW-REQUIREMENT' AND Value=2) UNION ALL
SELECT 'BUILDING_CRISTO_REDENTOR', 'FEATURE_JUNGLE'
WHERE EXISTS (SELECT * FROM COMMUNITY WHERE Type='MW-REQUIREMENT' AND Value=2);
--------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------
-- PRORA
UPDATE Buildings SET Cost = 1800 WHERE Type = 'BUILDING_PRORA_RESORT';
UPDATE Buildings SET MaxStartEra = 'ERA_POSTMODERN' WHERE Type = 'BUILDING_PRORA_RESORT';
UPDATE Buildings SET WonderSplashAnchor = 'L,T' WHERE Type = 'BUILDING_PRORA_RESORT';
---------------------------------------------------------
UPDATE Buildings SET Flat = 1, Water = 1, MinAreaSize = 10 WHERE Type = 'BUILDING_PRORA_RESORT' AND EXISTS (SELECT * FROM COMMUNITY WHERE Type='MW-REQUIREMENT' AND (Value=1 OR Value=2));
INSERT INTO Building_LocalFeatureOrs
(BuildingType, FeatureType)
SELECT 'BUILDING_PRORA_RESORT', 'FEATURE_FOREST'
WHERE EXISTS (SELECT * FROM COMMUNITY WHERE Type='MW-REQUIREMENT' AND Value=2) UNION ALL
SELECT 'BUILDING_PRORA_RESORT', 'FEATURE_JUNGLE'
WHERE EXISTS (SELECT * FROM COMMUNITY WHERE Type='MW-REQUIREMENT' AND Value=2);
--------------------------------------------------------------------------------------------------------------------------------------------
Changelog:
- increased Sigiriya and Golden Dagon Pagoda theming bonuses slightly to be better than Museum;
- corrected Cristo Redentor and Prora requirements;
- added New Beliefs Mod reference in main mod file;
- updated AssignStartingPlots.lua file to latest VP 2.6 (mostly for new Maize and Rice);
Shouldn't be the issue. In code I have LocalFeatureOrs table used, so one or another. There's another table called LocalFeatureAnd that would cause what you described. Can anyone verify it again with new version, and if the problem exists, call it on VP github?Found out - ToA requires forest (I thought forest or jungle - but having only jungle doesn't work)
What about pineappledans New Beliefs mod? Running into the same issue here. And if it's a load order issue, how do I ensure one mod gets loaded before another? Like is it based on how they are listed alphabetically in the folder or what?
Also I'm wondering if we could have a change with the Red Fort? In my opinion its a completely useless wonder for the current game. Like usually I have to build it in my capital because it's nearly impossible to build finishers in smaller cities so the arsenal is kind of ineffective. The free engineer is a waste of space too as engineers become pretty much useless beyond the classical era. The 5 units increase cap, maybe it's okay but with caps in general being so high, who actually builds that big an army, I certainly don't. Also as a fealty finisher shouldn't it have some kind of religious bonus aspect? Maybe a free prophet upon completion? And perhaps a buff to all city castles? I don't know how you'd code the latter so maybe something easier there... maybe a free cover promotion. Something that ties in with defence at least. Just a thought![]()
Added. For order problems look at first page of this modmod for instruction that might help you.New Beliefs Mod
Look above.In your first city you don't have forest. I had same issue.
Corrected. Thanks for finding it.I checked the code, and yes, at Prora lines (line 2763-2775) it wrongly stated as BUILDING_CRISTO_REDENTOR and not BUILDING_PRORA_RESORT.
You have to fix
toSQL:-------------------------------------------------------------------------------------------------------------------------------------------- -- PRORA UPDATE Buildings SET Cost = 1800 WHERE Type = 'BUILDING_PRORA_RESORT'; UPDATE Buildings SET MaxStartEra = 'ERA_POSTMODERN' WHERE Type = 'BUILDING_PRORA_RESORT'; UPDATE Buildings SET WonderSplashAnchor = 'L,T' WHERE Type = 'BUILDING_PRORA_RESORT'; --------------------------------------------------------- UPDATE Buildings SET Flat = 1, Water = 1, MinAreaSize = 10 WHERE Type = 'BUILDING_CRISTO_REDENTOR' AND EXISTS (SELECT * FROM COMMUNITY WHERE Type='MW-REQUIREMENT' AND (Value=1 OR Value=2)); INSERT INTO Building_LocalFeatureOrs (BuildingType, FeatureType) SELECT 'BUILDING_CRISTO_REDENTOR', 'FEATURE_FOREST' WHERE EXISTS (SELECT * FROM COMMUNITY WHERE Type='MW-REQUIREMENT' AND Value=2) UNION ALL SELECT 'BUILDING_CRISTO_REDENTOR', 'FEATURE_JUNGLE' WHERE EXISTS (SELECT * FROM COMMUNITY WHERE Type='MW-REQUIREMENT' AND Value=2); --------------------------------------------------------------------------------------------------------------------------------------------
SQL:-------------------------------------------------------------------------------------------------------------------------------------------- -- PRORA UPDATE Buildings SET Cost = 1800 WHERE Type = 'BUILDING_PRORA_RESORT'; UPDATE Buildings SET MaxStartEra = 'ERA_POSTMODERN' WHERE Type = 'BUILDING_PRORA_RESORT'; UPDATE Buildings SET WonderSplashAnchor = 'L,T' WHERE Type = 'BUILDING_PRORA_RESORT'; --------------------------------------------------------- UPDATE Buildings SET Flat = 1, Water = 1, MinAreaSize = 10 WHERE Type = 'BUILDING_PRORA_RESORT' AND EXISTS (SELECT * FROM COMMUNITY WHERE Type='MW-REQUIREMENT' AND (Value=1 OR Value=2)); INSERT INTO Building_LocalFeatureOrs (BuildingType, FeatureType) SELECT 'BUILDING_PRORA_RESORT', 'FEATURE_FOREST' WHERE EXISTS (SELECT * FROM COMMUNITY WHERE Type='MW-REQUIREMENT' AND Value=2) UNION ALL SELECT 'BUILDING_PRORA_RESORT', 'FEATURE_JUNGLE' WHERE EXISTS (SELECT * FROM COMMUNITY WHERE Type='MW-REQUIREMENT' AND Value=2); --------------------------------------------------------------------------------------------------------------------------------------------
@adan_eslavo Can you fix this?
self.banana_ID
, not self_banana_ID
.self_banana_ID = self.banana_ID
I already reported it, and it seems like azum4roll already fixed it. You should too.If self_banana_ID was not declared as
then it is an error I suppose.Code:self_banana_ID = self.banana_ID
And it was probably not looking on other resources.
Let me know if they fix this, so I could take new file for new MW version.
- slightly improved model placement of Mount Everest (now it doesn't hover over the surface and what's more important, doesn't get the Mountain bonuses like other Natural Wonders);
- fixed wrong quote sounds links for Empire State Building and Bletchley Park;
- now "A. Lincoln" instead of "Abraham Lincoln" in Mt. Rushmore quote text (same like other presidents);
Good catch. Missing entry in lua.Adan, Can Build Millau Viaduct on Coast (VP 2.6):
View attachment 638932
- new:
- added new Natural Wonders:
- Mt. Paektu (by @ghost toast)! 1-tile; located at Tundra, creates 3 new rivers on the map that starts their flow from its caldera;
- brand new and high quality strategic view icons for all new Natural Wonders! (by @gwennog)
- added Matterhorn sv_icon to the library for later times, currently in use by Mt. Everest (by @gwennog);
- added new model for Great Barrier Reef, substituting glitchy and ugly original one (by @ghost toast);
- added new Bonus Resource: Tropical Fish exclusive to some sea-based Natural Wonders (currently to one) (model by @ghost toast and new icon by @gwennog);
- created new method for Natural Wonders placement in AssignStartinPlots.lua file (will be included with latest VP as well) (with @azum4roll);
- balance:
- Mt. Everest gives +1 Tourism to adjacent Mountains;
- simplified (nerfed) Dallol by deleting +2 Production from Sylvite;
- reworked the concept of Altitude Training (Kilimanjaro) promotion:
- now given to only Recon units (was all Land units);
- now gives +1 Sight to compensate the nerf;
- reworked feature spawning process for Great Barrier Reef:
- now chance to spawn: land tile with Jungle (10%), Atoll (20%), Coral (30%) and Tropical Fish (40%);
- more features and/or resources spawn (up to 6, was 2);
- they spawn around whole GBR (previously only around middle tile);
- Krakatoa now creates up to 3 island tiles (hill, grassland) around the ring of water that surrounds it;
- totally revised spawning frequencies for Natural Wonders:
- reduced requirements for most of them to make them easier to spawn;
- added some new NWCustomPlacement methods (Uluru, Barringer Crater) and adjusted few other;
- optimized "OccurrenceFrequency" values from scratch (with new algorithm all NWs have equal chances to spawn):
- on Tiny Continents map frequencies vary from 18-48% (tested on 50 games);
- on Small Continents map frequencies vary from 20-55% (only one NW has 65%) (tested on 60 games);;
- on Standard Tectonic map (by @N.Core) frequencies vary from 27-80% (tested on 15 games);
- decreased slightly the minimum distance between Natural Wonders (factor changed from 11 to 9 - latest VP change: now it doesn't rely on map height) (by @azum4roll);
- optimized movement cost and sight blockaded for numerous wonders; info in updated op;
- Goddess of Nature now splits yields propotionally between tiles of multi-tile Natural Wonders (by @pineappledan);
- changed Torre del Oro requirements to allow building Drydock (added Coast, deleted Fort);
- fixes:
- finally fixed the issue with invisible sv icons for new Natural Wonders! (with @N.Core); they currently overlap other UI elements, but work!
- fixed Dallol placement (missing terrain requirements);
- fixed Salar de Uyuni placement (rare conditions where B part couldn't be placed);
- fixed Great Barrier Reef placement (only 2 of 3 posible directions were used);
- fixed Great Barrier Reef's Atolls placement (now small chance for placing land with Jungle instead of Atoll; was impossible);
- fixed Mt. Fuji yields per era (missing +1 Faith);
- fixed, revised and optimized all Civilopedia entries for Natural Wonders;
- fixed multiple text errors (mostly in Natural Wonders' part);
- fixed alignment of sv Resource icons;
- fixed definition of sv_icons for new Resources;
- fixed Natural Wonders' icons (placement, size, broken shadows);
- fixed Goddess of Nature not working for new Natural Wonders (PseudoNaturalWonders) by using other db table (by @pineappledan);
- fixed Millau Viaduct requirements (missing IsNoCoast entry);
- added missing texts for EE World Wonders (light requirements);
- updated spreadsheets for Natural Wonders and World Wonders;
- miscellanous:
- renamed "Holy Mountain" promotion to "Mahaprasthanika Parva" (by @pineappledan)
- renamed "Kumsusan Palace of the Sun" to "Revolutionary Museum" (by @Kim Dong Un):
- same icon and abilities;
- changed name and splash image;
- changed setting names to be easily recognized in Community table (f.e. MW-MAX-ERA --> MW-SETTING-MAX-ERA); I hope all stuff was found and changed correctly; report any issues;
- optimizations to the folder and files tree:
- all settings, automatic mod detections, custom options and overall definitions moved to new GlobalSettings.sql file;
- all atlases' definitions moved to corresponding folders to new files (promotions, resources);
- some files moved to new folders;
- all of this allows deleting either part 1 (World Wonders) or part 2 (Natural Wonders) if someone is not happy with it and wants to play with only one of them;
- moved "Per Era yields" to same line as "Yields" for NW popup window to make more place for other effects;
- added icons for Global Seed Vault (by @gwennog);
- added base code for Eye of the Sahara (only model is missing);
- cleaning lua files for NWs;
- deleted or commented most of lua print check statements (to make the lua.log file smaller and easier to debug);
- deleted unnecessary lua file named "unused";
- updated credits file.