New settings.lua and map config options to adjust game content between current retail and old 2004 style:

2nd Limit breaker quest, Land kings, Mission BCNM level caps. Also fixed a few typos.

They way I did G2 doesn't require a variable, does hide the npc target like retail used to using a function. I only knew a few other ways to do that and was told this was preferable to those. Willing to change it if offered a better method.


settinsg.lua:

OldSchoolG2 - If false current retail behavior will be used. Set true to require the NMs for "Atop the Highest Mountains" be dead to get KI like before SE changed it.

FrigiciteDuration - will set how long the '???' is there after killing the NMs if OldSchoolG2 is set true.

LandKingSystem_NQ and LandKingSystem_HQ modify the spawn systems for Behemoth, Fafnir, Adamantoise, King Behemoth, Nidhogg, Aspidochelone. Use 0 for timed spawns, 1 for force pop only, 2 for both (default because thats how it was already behaving).


map config:

Setting CoP_Battle_cap to zero will cause the SQL entries for level cap to be ignored. Default obeys the SQL.


Also included, but not oldschool related:

Updated some TextIDs.lua used by the scripts in these changes.

(settings.lua) DIMENSIONAL_PORTAL_UNLOCK - Set to true if you want to use the dimensional portals for sea/limbus access without meeting the normal requirements.

(map config) Battle_cap_tweak simply adjust the level cap applied to every battle in the entire table. Set it to five and all caps will be 5 levels higher than is normal. Negative values might work too.

Some checks I put inside instance.cpp probably weren't needed, but I didn't want to find out the hard way what would happen if a cap wound up being out of the 0-99 range.
Fixed typos.
CORE: synthutils: fix for HQ calculation on subcraft synths. hq rate is now only determined by the player's main craft skill level, provided the subcraft skill levels are at or above that of the recipe
remove obsolete variable from synthutils::calcSynthResult()
Core: Prevent selling to npc while in synth
No'Mho Crimsonarmor had wrong job and spell list.
http://wiki.ffxiclopedia.org/wiki/No%27Mho_Crimsonarmor
campaign version is whm main, Palborough Mines war main. Neither is blm. BGwiki concurs with ffxiclodpedia and my own experience in retail that this can use mighty strikes http://www.bg-wiki.com/bg/No%27Mho_Crimsonarmor
Updated Lufaise Meadows TextIDs.lua and added quest "A Hard Days Knight" in Tav.Safehold

Updated Keyitem list. Order now matches output of the extractor tool Atom0s made. All tabs have been replaced with 4 spaces.

Due to naming differences in the output of the keyitem tool Atom0s made and the current naming of keyitems it would be to our benefit to change a few, but I did not change the names that are in use at this time. I did correct some typos/spelling errors and alter some that are currently unused. Of the few that I did change, I made sure to search out any instances of a keyitem and adjust them to match what is now in the \globals\keyitems.lua file. Most of them were unused though, lucky me.
CORE: synthutils: apply antiHQ crafting rings to subsynths, give them their +1% success rate bonus
Merge pull request #90 from TeoTwawki/Quests

Updated Lufaise Meadows TextIDs.lua and added quest "A Hard Days Knight" in Tav.Safehold. Updated Keyitem list using output of shiny new extractor Atom0s made.
Merge pull request #88 from TeoTwawki/mob-fixes

No'Mho Crimsonarmor had wrong job and spell list.
Fixed two duplications in modifier.h and status.lua.
Merge pull request #91 from Euda/master

Fixed two duplications in modifier.h and status.lua.
-Corrected modId for MOD_WEAPON_BASH
-Removed MOD_SPARE 477 and 478 (In use)
-Adjusted MAX_MODIFIER to be 478
Merge pull request #85 from maxtherabbit/master

CORE: synthutils: fix for HQ calculation on subcraft synths. hq rate is ...
Merge branch 'master' of https://github.com/DarkstarProject/darkstar
Removed Duplicates from modifier.h and corrected status.lua
Merge pull request #87 from RunAwayDSP/master

Core: Prevent selling to npc while in synth
Merge branch 'master' of https://github.com/DarkstarProject/darkstar
Keyitem name changes.

I had missed a few, so sorry :x

These ones match tool output now.
Merge pull request #96 from TeoTwawki/KI

Keyitem name changes.