-- Global configuration for Cartographer add-on
-- The file is actually a Lua script, but I use .txt file extension
-- to make its editing easier and quicker for you.
-- Created: 2013-11-03
-- Updated: 2018-05-16
-- Support: https://alloder.pro/topic/1444-cartographer/
--------------------------------------------------------------------------------

Global( "Config", {

	-- Scale of object markers on maps /    
	ObjectMarkerBaseSize = 16,
	AstralObjectMarkerBaseSize = 22,

	-- Chat command to show window with add-on settings /      
	SettingsChatCommand = "/cart",

	-- Chat command to show window with user objects /      
	UserDBChatCommand = "/cdb",

	-- Duration of announce message flashing (ms) /    ()
	AnnouncePeriod = 2700,

	-- Y position of announce window /  ,    
	AnnouncePosition = 350,

	-- Announce messages limit /    
	AnnounceLimit = 4,

	-- /             
	IgnoreNewResourcesRadius = 40,
	IgnoreImportDuplicatesRadius = 2,

	-- Settings: objects to show on maps, etc. / . ,   ,  
	--   : true = , false = 
	-- For any options: true = ON, false = OFF
	DefaultSettings = {

		-- Addon is enabled /  
		[ "AddonEnabled" ] = true,

		-- Addon is enabled /  
		[ "AddonMapToolsPanelEnabled" ] = true,

		-- Announce message for Crowns is enabled
		--        ""
		[ "AnnounceCrowns" ] = true,

		-- Announce crowns 5+ levels less than avatar
		--        5    
		[ "AnnounceCrowns5LevelsLess" ] = false,

		-- Announce message for Astral Stones is enabled
		--         
		[ "AnnounceCrystals" ] = true,

		-- Announce message for Time Travellers is enabled
		--          
		[ "AnnounceTravellers" ] = true,

		-- Attach mark above detected Crowns /    ""
		[ "AttachMarkCrowns" ] = false,

		-- Attach mark above detected Time Travellers /      
		[ "AttachMarkTravellers" ] = true,

		-- Print avatar position in mods.txt on screenshooting /       
		[ "CollectByScreenShot" ] = false,

		-- Print avatar position in mods.txt on picking up a gemstone /          
		[ "CollectCrystals" ] = true,

		-- Print avatar position in mods.txt on picking up a herb /       
		[ "CollectHerb" ] = false,

		-- Print avatar position in mods.txt on picking up an ore /       
		[ "CollectOre" ] = false,

		-- Also add avatar position in User Objects /      
		[ "CollectToUserObjects" ] = true,

		-- Show green crystals /    ()
		[ "MarkCrystal01" ] = true,

		-- Show blue crystals /    ()
		[ "MarkCrystal02" ] = true,

		-- Show purple crystals /    ()
		[ "MarkCrystal03" ] = true,

		-- Show Treasure /  
		[ "MarkTreasure" ] = true,

		-- Show Milestone /   
		[ "MarkMilestone" ] = true,

		-- Show Boss (red crown) /   ( )
		[ "MarkBoss" ] = true,

		-- Show Arena places /  
		[ "MarkArena" ] = true,

		-- Show first time traveller /     
		[ "MarkTime01" ] = true,

		-- Show second time traveller /     
		[ "MarkTime02" ] = true,

		-- Show third time traveller /     
		[ "MarkTime03" ] = true,

		-- Show time servants at Kirah /     
		[ "MarkTimeServant" ] = true,

		-- Show ship portals /    ( )
		[ "MarkPortal" ] = true,

		-- Show Servants of the Light /   
		[ "MarkMyrrh" ] = false,

		-- Show Soliskar at Dragon Ring /     
		[ "MarkSoliskar" ] = true,

		-- Show Gurluhsor Tower entrance /     
		[ "MarkGurluhsorTower" ] = true,

		-- Show Tka-Rik Cave entrance /     -
		[ "MarkTkaRik" ] = false,

		-- Show Bombs in Tka-Rik Cave /     -
		[ "MarkBoss" ] = true,

		-- Show ZIT Research Institute teleporters /    
		[ "MarkTeleporter" ] = true,

		-- Show objects from user DB /      
		[ "MarkUserObjects" ] = true,

		-- Show herb /  
		[ "MarkUserObjectsHerb" ] = false,

		-- Show ore /  
		[ "MarkUserObjectsOre" ] = false,

		-- Show chosen on Astral Sectors Map /      
		[ "ShowOnAstralMap" ] = true,

		-- Show chosen on World Map /    
		[ "ShowOnMap" ] = true,

		-- Show chosen on Circle Minimap /     
		[ "ShowOnMinimapCircle" ] = true,

		-- Show chosen on Square Minimap /     
		[ "ShowOnMinimapSquare" ] = true,

		-- Show Tooltips /   
		[ "ShowTooltips" ] = true,
	},

	-- LibDnD2 & LibResize IDs
	CfgWndComID = 613,
	DBWnd1ComID = 614,
	DBWnd2ComID = 615,
	DBWnd3ComID = 616,
	DBWnd4ComID = 620,
	DBWndHdrDnDID = 617,
	MTlsWndDnDID = 618,
	AstralObjDID = 619,

	-- Check known objects positions and correct if necessary and possible
	ResourcePositionsCheck = true,
	ResourcePositionsWarning = false,

	-- User objects offset in Resources.lua DB. DO NOT CHANGE!!
	UserObjectsOffset = 1000,

	--  .   - ,    
	--   ,     
	-- .   : Allods Online\Personal\Logs\mods.txt
	-- Debug mode. If you found any issue, please, turn on debug mode,
	-- reproduce it and attach the following file to your bug report:
	-- Allods Online\Personal\Logs\mods.txt
	Debug = true,
	DebugVerbose = true,
} )
--------------------------------------------------------------------------------