------------------------------------------------Load tweak file------------------------------------------------

require( "config/game_tweak.cfg" );

------------------------------------------------Type de zone interactive------------------------------------------------

DebugOut( "Level Design : variables defined (file : package/leveldesign/ld_variables_define.lua)" ); 

FOOD = 1;

-- G as Global, all _stock are the variable of the interactive zone same name, changing stock, change quest duration time
--More information in the game_tweak file

-- COLLECTION OBJECT
G_collection_object_spawn_pos = { 
{ -200, 590 }, { 1600, 40 }, { 1300, 340 }, { 1460, 700 }, { 1300, 1200 }, { 860, 1500 }, { 1400, 1800 }, { 700, 1700 }, { 100, 1900 }, { 300, 1100 },
{ -300, 1000 }, { -1000, 1300 }, { -1100, 1800 }, { -1900, 1700 }, {-1700, 1400 }, { -1600, 900 }, { -1800, 600 }, { -1300, 700 }, { -1700, 50 }, { -1300, 400 },
{ -800, 250 }, { -450, 100 }, { -1000, 950 }, { 250, 300 }, { 800, -150 }, { 800, 600 }, { 1100, 1500 }, { -1400, 1000 }, { -650, 1100 }, { 50, 300 },
{ -850, 850 }, { -375, 1150 }, { -680, 1880 }, { 750, 1250 }, { 1100, 350 }, { 350, 500 }, { -440, 880 }, { -1840, 1700 }, { 1700, 1150 }, { -250, 1360 }
 };
 
 FAERY = 1;
 MOON = 2;
 ENT = 3;
 WIND = 4;

--TREE

G_knowledge_tree_knowledge1_cost 	= G_knowledge_tree_cost_factor * G_knowledge_tree_level1_cost_factor * G_knowledge_tree_knowledgecost_factor;
G_knowledge_tree_knowledge2_cost 	= G_knowledge_tree_cost_factor * G_knowledge_tree_level2_cost_factor * G_knowledge_tree_knowledgecost_factor;
G_knowledge_tree_knowledge3_cost 	= G_knowledge_tree_cost_factor * G_knowledge_tree_level3_cost_factor * G_knowledge_tree_knowledgecost_factor;
G_knowledge_tree_knowledge4_cost 	= G_knowledge_tree_cost_factor * G_knowledge_tree_level4_cost_factor * G_knowledge_tree_knowledgecost_factor;
                               
G_knowledge_tree_nature1_cost 	 	= G_knowledge_tree_cost_factor * G_knowledge_tree_level1_cost_factor * G_knowledge_tree_naturecost_factor;
G_knowledge_tree_nature2_cost 	 	= G_knowledge_tree_cost_factor * G_knowledge_tree_level2_cost_factor * G_knowledge_tree_naturecost_factor;
G_knowledge_tree_nature3_cost 	 	= G_knowledge_tree_cost_factor * G_knowledge_tree_level3_cost_factor * G_knowledge_tree_naturecost_factor;
G_knowledge_tree_nature4_cost 	 	= G_knowledge_tree_cost_factor * G_knowledge_tree_level4_cost_factor * G_knowledge_tree_naturecost_factor;
       
G_knowledge_tree_music1_cost 	 	= G_knowledge_tree_cost_factor * G_knowledge_tree_level1_cost_factor * G_knowledge_tree_musiccost_factor;
G_knowledge_tree_music2_cost 	 	= G_knowledge_tree_cost_factor * G_knowledge_tree_level2_cost_factor * G_knowledge_tree_musiccost_factor;
G_knowledge_tree_music3_cost 	 	= G_knowledge_tree_cost_factor * G_knowledge_tree_level3_cost_factor * G_knowledge_tree_musiccost_factor;
G_knowledge_tree_music4_cost 	 	= G_knowledge_tree_cost_factor * G_knowledge_tree_level4_cost_factor * G_knowledge_tree_musiccost_factor;

G_knowledge_tree_exploration1_cost 	= G_knowledge_tree_cost_factor * G_knowledge_tree_level1_cost_factor * G_knowledge_tree_explorationcost_factor;
G_knowledge_tree_exploration2_cost 	= G_knowledge_tree_cost_factor * G_knowledge_tree_level2_cost_factor * G_knowledge_tree_explorationcost_factor;
G_knowledge_tree_exploration3_cost 	= G_knowledge_tree_cost_factor * G_knowledge_tree_level3_cost_factor * G_knowledge_tree_explorationcost_factor;
G_knowledge_tree_exploration4_cost 	= G_knowledge_tree_cost_factor * G_knowledge_tree_level4_cost_factor * G_knowledge_tree_explorationcost_factor;

G_knowledge_tree_knowledge1_effect_factor 	= G_knowledge_tree_effect_factor * G_knowledge_tree_level1_effect_factor * G_knowledge_tree_knowledge_effect_factor;
G_knowledge_tree_knowledge2_effect_factor 	= G_knowledge_tree_effect_factor * G_knowledge_tree_level2_effect_factor * G_knowledge_tree_knowledge_effect_factor;
G_knowledge_tree_knowledge3_effect_factor 	= G_knowledge_tree_effect_factor * G_knowledge_tree_level3_effect_factor * G_knowledge_tree_knowledge_effect_factor;
G_knowledge_tree_knowledge4_effect_factor 	= G_knowledge_tree_effect_factor * G_knowledge_tree_level4_effect_factor * G_knowledge_tree_knowledge_effect_factor;
                                                                                   
G_knowledge_tree_nature1_effect_factor 		= G_knowledge_tree_effect_factor * G_knowledge_tree_level1_effect_factor * G_knowledge_tree_nature_effect_factor;
G_knowledge_tree_nature2_effect_factor 		= G_knowledge_tree_effect_factor * G_knowledge_tree_level2_effect_factor * G_knowledge_tree_nature_effect_factor;
G_knowledge_tree_nature3_effect_factor 		= G_knowledge_tree_effect_factor * G_knowledge_tree_level3_effect_factor * G_knowledge_tree_nature_effect_factor;
G_knowledge_tree_nature4_effect_factor 		= G_knowledge_tree_effect_factor * G_knowledge_tree_level4_effect_factor * G_knowledge_tree_nature_effect_factor;
                                                                         
G_knowledge_tree_music1_effect_factor 		= G_knowledge_tree_effect_factor * G_knowledge_tree_level1_effect_factor * G_knowledge_tree_music_effect_factor;
G_knowledge_tree_music2_effect_factor 		= G_knowledge_tree_effect_factor * G_knowledge_tree_level2_effect_factor * G_knowledge_tree_music_effect_factor;
G_knowledge_tree_music3_effect_factor 		= G_knowledge_tree_effect_factor * G_knowledge_tree_level3_effect_factor * G_knowledge_tree_music_effect_factor;
G_knowledge_tree_music4_effect_factor 		= G_knowledge_tree_effect_factor * G_knowledge_tree_level4_effect_factor * G_knowledge_tree_music_effect_factor;
                                                                         
G_knowledge_tree_exploration1_effect_factor = G_knowledge_tree_effect_factor * G_knowledge_tree_level1_effect_factor * G_knowledge_tree_exploration_effect_factor;
G_knowledge_tree_exploration2_effect_factor = G_knowledge_tree_effect_factor * G_knowledge_tree_level2_effect_factor * G_knowledge_tree_exploration_effect_factor;
G_knowledge_tree_exploration3_effect_factor = G_knowledge_tree_effect_factor * G_knowledge_tree_level3_effect_factor * G_knowledge_tree_exploration_effect_factor;
G_knowledge_tree_exploration4_effect_factor = G_knowledge_tree_effect_factor * G_knowledge_tree_level4_effect_factor * G_knowledge_tree_exploration_effect_factor;
                                                                         
--SHOP

G_percentage_shop_middle 	= 35;
G_percentage_shop_end		= 65;

--FIRST HOUR QUESTS

--Q_world_history
G_tree_runes_stock = 0.1 * G_ressource_factor;
G_ruins_stele_exploration_stock = 0.15 * G_ressource_factor;
G_ruins_stele_knowledge_stock = 0.2 * G_ressource_factor;

--Q_swamp
G_swamp_sage_stock = 0.6 * G_ressource_factor;
G_watering_can_stock = 0.8 * G_ressource_factor;
G_swamp_seed_stock = 6 * G_ressource_factor;
G_tree_seed_stock = 2 * G_ressource_factor; --useless à priori

--Q_orchard_seeds
G_garden_seed_stock = 0.4 * G_ressource_factor;
G_hermit_seed_stock = 0.4 * G_ressource_factor;

--Q_firefl_kingdom
G_firefly_tree_fruit_feed_stock = 0.01 * G_ressource_factor;
G_firefly_tree_fruit_stock = 3 * G_ressource_factor;
G_firefly_lamp_stock = 12 * G_ressource_factor;

--Q_golden_syrup
G_beeflower_stock = 2 * G_ressource_factor;
G_honey_spoon_stock = 5 * G_ressource_factor;
G_alambic_stock = 6 * G_ressource_factor;
G_alambic_flower_stock = 3 * G_ressource_factor;
G_alambic_honey_stock = 1 * G_ressource_factor;
G_alambic_distillation_stock = 6 * G_ressource_factor;

--Q_legendary_melody
G_muse_stock = 2 * G_tutorial_stock;
G_xylophone_stock = 8 * G_ressource_factor;

--Q_mirrors
G_mirror_stock = 1 * G_ressource_factor;
G_scope_mirror_clean_stock = 0.2 * G_ressource_factor;
G_scope_mirror_repair_stock = 0.5 * G_ressource_factor;

G_muse_mirror_clean_stock = 0.3 * G_ressource_factor;
G_muse_mirror_repair_stock = 0.6 * G_ressource_factor;

--SECONDARY QUESTS
G_broken_mill_stock = 6 * G_ressource_factor;

G_ruins_hand_stock = 4 * G_ressource_factor;













-- TUTORIAL --
G_banquet_prepare_first_time_stock = 3 * G_tutorial_stock;
G_banquet_dance_first_time_stock = 5 * G_tutorial_stock;
G_verb_crystal_stock = 1 * G_tutorial_stock;
G_hermit_fairie_stock = 0.4 * G_tutorial_stock;


G_nature_training_stock = 3 * G_ressource_factor;


--Other
G_compass_stock = 3 * G_ressource_factor;
G_reservoir_stock = G_reservoir_stock_val;
G_mill_stock = G_mill_stock_val;
G_mushroom_light_stock = 1 * G_ressource_factor;
G_fairy_light_01_stock = 1 * G_ressource_factor;
G_fairy_light_02_stock = 1 * G_ressource_factor;
G_fairy_light_03_stock = 1 * G_ressource_factor;
------------------------------------------------------------------------------------------------

G_shop_button_name = "boutique";

