Legion Archaeology and Treasure nodes patch #142


  • New
  • Patch
Closed
Assigned to moonfann
  • _ForgeUser27530368 created this issue Sep 9, 2016

    What does the provided patch do?

    Adds the missing Archaeology and Treasure nodes for the legion zones that are currently missing.

    Please provide any additional information below.

    Info

    These objects are currently missing:

    Treasure

    • "Ancient Mana Shard" -- object=252408 & object=260248 & object=260249
    • "Ancient Mana Chunk" -- object=252772 & object=260247
    • "Ancient Mana Crystal" -- object=252774
    • "Leypetal Blossom" -- object=260498

    Archaeology

    • "Highmountain Tauren Archaeology Find" -- object=246804
    • "Highborne Archaeology Find" -- object=246811
    • "Demonic Archaeology Find" -- object=246812

    Fix PART 1

    Inside Constants.lua add the lines marked with a +:

    local node_ids = {
    	...
    	["Treasure"] = {
    		...
    +		[NL["Ancient Mana Shard"]]				= 552,
    +		[NL["Ancient Mana Chunk"]]				= 553,
    +		[NL["Ancient Mana Crystal"]]				= 554,
    +		[NL["Leypetal Blossom"]]				= 555,
    	},
    	["Archaeology"] = {
    		...
    +		[NL["Demonic Archaeology Find"]]		= 617,
    +		[NL["Highborne Archaeology Find"]] 		= 618,
    +		[NL["Highmountain Tauren Archaeology Find"]] 	= 619,
    	},
    	...
    }
    
    local rare_spawns = {
    	...
    +	[554] = {[552]=true,[553]=true}, -- ancient mana crystal
    }
    
    local node_textures = {
    	...
    	["Treasure"] = {
    		...
    +		[552] = icon_path.."Treasure\\everfrost.tga",
    +		[553] = icon_path.."Treasure\\everfrost.tga",
    +		[554] = icon_path.."Treasure\\everfrost.tga",
    +		[555] = icon_path.."Treasure\\everfrost.tga",
    	},
    	["Archaeology"] = {
    		...
    +		[617] = icon_path.."Archaeology\\shovel.tga",
    +		[618] = icon_path.."Archaeology\\shovel.tga",
    +		[619] = icon_path.."Archaeology\\shovel.tga",
    	},
    }
    

    Fix Part 2

    Inside /Locales/GatherMate2-enUS.lua add these lines:

    NL["Ancient Mana Shard"] = true
    NL["Ancient Mana Crystal"] = true
    NL["Ancient Mana Chunk"] = true
    NL["Leypetal Blossom"] = true
    NL["Highmountain Tauren Archaeology Find"] = true
    NL["Highborne Archaeology Find"] = true
    NL["Demonic Archaeology Find"] = true
    
  • _ForgeUser27530368 added the tags New Patch Sep 9, 2016
  • RealGrizzlyUK posted a comment Sep 10, 2016

    Thanks for posting this, however, when editing I noticed that the local rare-spawns line contained 4-digit numbers, whereas everthing else is 3-digit numbers. It also doesn't match the 3-digit number under the Treasure entry. So, should:

    local rare_spawns = {
    	...
    +	[5540] = {[5520]=true,[5530]=true}, -- ancient mana crystal
    

    be changed to read:

    local rare_spawns = {
    	...
    +	[554] = {[552]=true,[553]=true}, -- ancient mana crystal
    

    Forgive me if I've misunderstood something, I'm a complete novice when it comes to this sort of stuff! lol


    Edited Sep 10, 2016
  • _ForgeUser27530368 posted a comment Sep 10, 2016

    @Grizzly_UK: Go

    oops - you are correct. yea I use 4 digit numbers to protect myself from future merges just in case the author reuses those numbers.


    Edited Sep 10, 2016
  • _ForgeUser27530368 edited description Sep 10, 2016
  • nevcairiel posted a comment Sep 11, 2016

    I added the archaeology nodes, I am however unsure about the mana crystals, since they aren't exactly rare spawns, it might be quite a lot of nodes on the map - without the ability to hide only the mana and not other treasures.

  • _ForgeUser27530368 posted a comment Sep 11, 2016

    @Nevcairiel: Go

    Yes it is a fair amount of nodes and I get that it would come up by default.

    Is turning off specific nodes (ie Ancient Mana Crystal) not what the Filter option is for in the addons menu?

    Either way, your mod, your choice :)

  • nevcairiel posted a comment Sep 12, 2016

    I've added all the mana nodes you listed, plus a few more found in Suramar City.


To post a comment, please login or register a new account.