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: Prevent selling to npc while in synth
-Corrected modId for MOD_WEAPON_BASH
-Removed MOD_SPARE 477 and 478 (In use)
-Adjusted MAX_MODIFIER to be 478
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.
Merge pull request #94 from Euda/master

More modifier.h changes
CORE: disable custom time offset, remove CVanaTime::getSysTime() which was applying it - all calls to getSysTime() redirected to built-in time(), derive all vanadiel time related variables from getVanaTime()
Merge branch 'master' of https://github.com/DarkstarProject/darkstar
Merge pull request #97 from maxtherabbit/master

CORE: disable custom time offset, remove CVanaTime::getSysTime() which w...
This Yagudo Sentinel was spawned in an invalid position.

It was spawned mid air, client renders the model at ground level on the floor below causing players to wonder why the can walk right up to it yet be told they are too far away to attack.

This change moves it to the ledge next to its mid air position.
Merge pull request #98 from TeoTwawki/tiny-lil-pos-fix

This Yagudo Sentinel was spawned in an invalid position.
CORE: prevent adding entities to enmity list with negative enmity
Merge pull request #99 from maxtherabbit/master

CORE: prevent adding entities to enmity list with negative enmity
Merge branch 'master' of https://github.com/DarkstarProject/darkstar
Corrected comments in various files.