• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Fixed WARNING!!! Item id = mineral4 not implemented

Pieter Boelen

Navigation Officer
Administrator
Storm Modder
Hearts of Oak Donator
I noticed this compile.log entry while fighting Indians at the Hispaniola Temple:
Code:
WARNING!!! Item id = mineral4 not implemented
Rather strange, since "mineral4" used to be the "albatross", but I completely renamed that and it really DOESN'T exist anymore now.

But I found where they're still being generated in the game in PROGRAM\LandEncounters\LEnc_monsters.c:
Code:
   case "mummy":
     isSet = true;
     chr.sex = "skeleton";
     gunProb = 0.0; // Swindler 05-10-10: mummies don't have guns   
      LAi_NPC_Equip(chr, sti(chr.rank), true, false);
     if(VC_MUMMY_NOMONEY) chr.money = 0; // NK
     GiveItem2Character(chr, "indian"+ makeint(1 + rand(15)) );   // jun05 booty for stealing
     GiveItem2Character(chr, "mineral"+ makeint(1 + rand(3)) );   // jun05 booty for stealing
     break;
That last line should be:
Code:
GiveItem2Character(chr, "mineral"+ makeint(1 + rand(2)) );

Not a big issue, but it might as well be corrected. :cheeky

Also @Levis: This may be a clue to find where they are generated, assuming that these guys are indeed the ones that still trigger error.log entries about the Levelling system.
 
I believe they are also called by the createfantom functions
 
Back
Top