Commit of decompiled and "updated" code.

This commit is contained in:
Big Duckie
2022-07-03 14:13:26 -06:00
parent 3d34e53842
commit e1441e74a5
731 changed files with 18423 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class AxeOfGrassDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 158 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class AxecaliburDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 176 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class BloodCutterDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 161 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class BloodDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 165 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class CadeceusDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 171 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class CrystalDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 207 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class CrystalDust2 : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 182 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class CurseDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.1f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 0.8f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 211 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class EnragedOniDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 152 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class FoxBreakDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 240 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class FoxDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 165 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class FoxDustBlue : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 164 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class FoxMendingDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 306 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class FoxMendingDustBlue : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 243 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class FoxWitherDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 288 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class GoldenDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 156 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class HealingDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.1f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 211 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class HeartDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 207 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class HolyDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 208 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class IllusoryMirrorDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.1f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 1f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 154 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class IllusoryMirrorRMBDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 146 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class LegendaryDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class LegendarySparkle : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 151 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class MeatDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 198 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class MoltenWaraxeDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 158 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class MuramasasWaraxeDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class NatureStaffDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 147 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class NatureStaffDust2 : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 147 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class NightsAxeDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 161 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class NightsAxeSparkle : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 149 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class OniDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 159 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class RainbowCurseDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.1f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 0.8f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 213 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class RainbowDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 169 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class RainbowDust2 : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 166 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class RainbowDust3 : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 165 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class RainbowHealingDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.1f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 177 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class RainbowWrathDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 336 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class RainbowWrathDust2 : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 251 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class RainbowWrathDust3 : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 344 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class RyuuDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 172 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class RyuuDust2 : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 171 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class RyuuDust3 : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class RyuuDust4 : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts.ShimadaSword;
public class ShimadaDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = false;
dust.scale *= 1f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.15f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 172 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts.Shuriken;
public class StarDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = false;
dust.scale *= 1f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.15f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 165 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class SorcerousDust : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 161 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class SorcerousDust2 : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class SorcerousDustBlue : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class SorcerousDustRed : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 161 B

+29
View File
@@ -0,0 +1,29 @@
using Terraria;
using Terraria.ModLoader;
namespace FabusMod.Dusts;
public class SorcerousDustYellow : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.velocity *= 0.4f;
dust.noGravity = true;
dust.noLight = true;
dust.scale *= 1.5f;
}
public override bool Update(Dust dust)
{
dust.position += dust.velocity;
dust.rotation += dust.velocity.X * 0.15f;
dust.scale *= 0.99f;
float light = 0.35f * dust.scale;
Lighting.AddLight(dust.position, light, light, light);
if (dust.scale < 0.5f)
{
dust.active = false;
}
return false;
}
}

Some files were not shown because too many files have changed in this diff Show More