xX_Cobalt_Boss_Xx
Official Terrarian
Yeah!
CrackShell is out! It's Currently at v0.5.8.9 and adds:
2 Buffs
1 Tile
13 NPCs
30 Items
well that's not much, is it?
THERE IS MORE COMING!
I'm working on this by myself and don't need any help.
Here is one of the Bosses:
also, thank you all for 4.6K+ downloads! I wasn't expecting this many as I'm not very well known!
Code:
using System.IO;
using System.Collections.Generic;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using Terraria.World.Generation;
using Microsoft.Xna.Framework;
using Terraria.GameContent.Generation;
using System.Linq;
namespace YourModName
{
public class MyWorld : ModWorld
{
public override void ModifyWorldGenTasks(List<GenPass> tasks, ref float totalWeight)
{
int genIndex = tasks.FindIndex(genpass => genpass.Name.Equals("Shinies"));
if (genIndex == -1)
{
return;
}
tasks.Insert(genIndex + 1, new PassLegacy("Custom Biome", delegate (GenerationProgress progress)
{
progress.Message = "Custom Biome Progress";
for (int i = 0; i < Main.maxTilesX / 100; i++) //100 is how many biomes. the bigger is the number = less biomes
{
int X = WorldGen.genRand.Next(1, Main.maxTilesX - 300);
int Y = WorldGen.genRand.Next((int)WorldGen.rockLayer - 100, Main.maxTilesY - 200);
int TileType = mod.TileType("YourTileName"); //this is the tile u want to use for the biome , if u want to use a vanilla tile then its int TileType = 56; 56 is obsidian block
WorldGen.TileRunner(X, Y, 170, WorldGen.genRand.Next(100, 2000), TileType, false, 0f, 0f, true, true); //170 is how big is the biome 100, 2000 this changes how random it looks.
}
}));
}
}
}
There is the light healer:
It is a stick that heals 1 life every time you hit something with it. There is also the dirt gun wich rapid fires bullets.
Download Here: http://www.mediafire.com/file/qpslpl96ow7ld84/TheCrack.tmod
Password: 1234
IP: 192.168.0.50
Port: 777
Mods Required:
CrackShell
Note: I'm not sure if it will work with people outside of my local area network.
Also: I added support for tmodloader 0.10
Last edited: