Permalink
Browse files

Added penis wings

  • Loading branch information...
BillyCon committed Apr 1, 2018
1 parent 51eba47 commit 61ef85772f9d2606c4aa8b8195af3b8a74af09c4
@@ -0,0 +1,60 @@
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace arduous.Items.wings
{
[AutoloadEquip(EquipType.Wings)]
public class peniswings : ModItem
{
public override void SetDefaults()
{
item.width = 64;
item.height = 64;
item.value = 80000;
item.rare = 5;
item.accessory = true;
}
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Penis Wings");
Tooltip.SetDefault("Not effective if you have erectile dysfunction");
}
//these wings use the same values as the solar wings
public override void UpdateAccessory(Player player, bool hideVisual)
{
player.wingTimeMax = 140;
}
public override void VerticalWingSpeeds(Player player, ref float ascentWhenFalling, ref float ascentWhenRising,
ref float maxCanAscendMultiplier, ref float maxAscentMultiplier, ref float constantAscend)
{
ascentWhenFalling = 0.85f;
ascentWhenRising = 0.15f;
maxCanAscendMultiplier = 1f;
maxAscentMultiplier = 3f;
constantAscend = 0.135f;
}
public override void HorizontalWingSpeeds(Player player, ref float speed, ref float acceleration)
{
speed = 11f;
acceleration *= 3f;
}
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.Wood, 25);
recipe.AddTile(TileID.WorkBenches);
recipe.SetResult(this);
recipe.AddRecipe();
}
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 61ef857

Please sign in to comment.