Feed and grow fish mods forty six

broken image
broken image

We found the template! // Create a copy of that template, and spawn it at the same position as our fish Did we manage to find the template for our fish? Is the name of this template the same as the name of our fish? LivingEntity array2 = Resources.LoadAll('NPCS') // Loop over every template, we are looking for one that matches our fish Grab a list of EVERY template fish in the entire game Are we currently holding the letter 'O'

broken image

NotifyDialogue.ShowNotify('Super Gang Updated', 1.5f) Tell everything who falls behind to come catch up Make it so there is a leader, and make the leader us Set the intensity (how close everything is) to be really low Add this LivingEntity to our new group Loop over every single LivingEntity (fish, whales, sharks, crabs, EVERYTHING)įoreach (LivingEntity thisEnt in ()) LivingEntityGroup.CreateGroup(this.CurrentLivingEntity, this.CurrentLivingEntity) We are not in a group, better create one!

broken image

Add the remaining fields and a new line Did we request the NPCS? if (path = 'NPCS') T array = Resources.ConvertObjects(Resources.LoadAll(path, typeof(T))) Remove everything from within the 'LoadAll' function (in other words, just the line that starts with return Resources.ConvertObjects), and replace it with the following block of code: // Load in the resources that were requested

broken image