suggestions round 3
This commit is contained in:
1 parent
018f4b631b
commit
ef7135dee6
6 files changed
+35
-7
No files matched your search
@@ -138,11 +138,11 @@ namespace CalamityMod.Items.Mounts
|
||||
{
|
||||
if (tile != null && tile.active() && tile.type != (ushort)mod.TileType("AbyssGravel") &&
|
||||
tile.type != (ushort)mod.TileType("Voidstone") && (tile.type != TileID.Hellstone || Main.hardMode) &&
|
||||
(tile.type != TileID.LihzahrdBrick || NPC.downedGolemBoss) && tile.type != TileID.BlueDungeonBrick &&
|
||||
tile.type != TileID.GreenDungeonBrick && tile.type != TileID.PinkDungeonBrick && tile.type != TileID.DemonAltar &&
|
||||
(tile.type != (ushort)mod.TileType("AstralOre") || CalamityWorld.downedStarGod) &&
|
||||
(tile.type != TileID.LihzahrdBrick || NPC.downedGolemBoss) && (tile.type != TileID.BlueDungeonBrick || NPC.downedBoss3) &&
|
||||
(tile.type != TileID.GreenDungeonBrick || NPC.downedBoss3) && (tile.type != TileID.PinkDungeonBrick || NPC.downedBoss3) &&
|
||||
tile.type != TileID.DemonAltar && (tile.type != (ushort)mod.TileType("AstralOre") || CalamityWorld.downedStarGod) &&
|
||||
((tile.type != (ushort)mod.TileType("Tenebris") && tile.type != (ushort)mod.TileType("PlantyMush")) || NPC.downedPlantBoss || CalamityWorld.downedCalamitas) &&
|
||||
(!player.Calamity().ZoneSunkenSea || CalamityWorld.downedDesertScourge) &&
|
||||
(!player.Calamity().ZoneSunkenSea || CalamityWorld.downedDesertScourge) && tile.type != (ushort)mod.TileType("ArenaTile") &&
|
||||
(Main.tileValue[tile.type] < tileValueLimit || tile.type == TileID.Heart || tile.type == TileID.LifeFruit) &&
|
||||
!player.noBuilding && tile.type != TileID.ElderCrystalStand && tile.type != TileID.Containers)
|
||||
{
|
||||
|
||||
@@ -21,6 +21,9 @@ namespace CalamityMod.Items.Placeables
|
||||
item.width = 16;
|
||||
item.height = 16;
|
||||
item.maxStack = 999;
|
||||
item.shoot = mod.ProjectileType("AstralFallingSand");
|
||||
item.shootSpeed = 8f;
|
||||
item.ammo = 169;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -45,6 +45,7 @@ namespace CalamityMod.Items
|
||||
DropHelper.DropItem(player, ItemID.SwiftnessPotion, 3);
|
||||
DropHelper.DropItem(player, ItemID.GillsPotion, 2);
|
||||
DropHelper.DropItem(player, ItemID.ShinePotion);
|
||||
DropHelper.DropItem(player, ItemID.RecallPotion, 3);
|
||||
|
||||
// Tiles / Placeables
|
||||
DropHelper.DropItem(player, ItemID.Torch, 25);
|
||||
|
||||
@@ -3,6 +3,7 @@ using Terraria;
|
||||
using Terraria.GameContent.Events;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod.World;
|
||||
|
||||
namespace CalamityMod.Items.SummonsAndClimateChange
|
||||
{
|
||||
@@ -12,7 +13,8 @@ namespace CalamityMod.Items.SummonsAndClimateChange
|
||||
{
|
||||
DisplayName.SetDefault("Arid Artifact");
|
||||
Tooltip.SetDefault("Summons a sandstorm\n" +
|
||||
"The sandstorm will happen shortly after the item is used");
|
||||
"The sandstorm will happen shortly after the item is used\n" +
|
||||
"Cancels a sandstorm if one is active");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -30,12 +32,15 @@ namespace CalamityMod.Items.SummonsAndClimateChange
|
||||
|
||||
public override bool CanUseItem(Player player)
|
||||
{
|
||||
return !Sandstorm.Happening;
|
||||
return CalamityWorld.downedDesertScourge;
|
||||
}
|
||||
|
||||
public override bool UseItem(Player player)
|
||||
{
|
||||
typeof(Sandstorm).GetMethod("StartSandstorm", BindingFlags.Static | BindingFlags.NonPublic).Invoke(null, null);
|
||||
if (!Sandstorm.Happening)
|
||||
typeof(Sandstorm).GetMethod("StartSandstorm", BindingFlags.Static | BindingFlags.NonPublic).Invoke(null, null);
|
||||
else
|
||||
Sandstorm.TimeLeft = 0;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -522,6 +522,8 @@ namespace CalamityMod.Projectiles
|
||||
}
|
||||
else if (projectile.type == ProjectileID.FallingStar && Main.player[projectile.owner].inventory[Main.player[projectile.owner].selectedItem].type == ItemID.StarCannon)
|
||||
projectile.ranged = true;
|
||||
else if (projectile.type == mod.ProjectileType("AstralFallingSand") && Main.player[projectile.owner].inventory[Main.player[projectile.owner].selectedItem].type == ItemID.Sandgun)
|
||||
forceRanged = true;
|
||||
else if (projectile.type == ProjectileID.SoulDrain)
|
||||
projectile.magic = true;
|
||||
|
||||
|
||||
@@ -92,6 +92,13 @@ namespace CalamityMod.Utilities
|
||||
r.AddTile(TileID.CookingPots);
|
||||
r.SetResult(2426);
|
||||
r.AddRecipe();
|
||||
|
||||
// Glass
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(null, "AstralSand", 2);
|
||||
r.AddTile(TileID.Furnaces);
|
||||
r.SetResult(ItemID.Glass);
|
||||
r.AddRecipe();
|
||||
}
|
||||
|
||||
// Change Terra Blade's recipe to require 7 Living Shards (forces the Blade to be post-Plantera)
|
||||
@@ -489,6 +496,16 @@ namespace CalamityMod.Utilities
|
||||
r.SetResult(ItemID.LavaCharm);
|
||||
r.AddRecipe();
|
||||
|
||||
// Obsidian Rose
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.JungleRose);
|
||||
r.AddIngredient(ItemID.Obsidian, 10);
|
||||
r.AddIngredient(ItemID.Hellstone, 10);
|
||||
r.anyIronBar = true;
|
||||
r.AddTile(TileID.Anvils);
|
||||
r.SetResult(ItemID.ObsidianRose);
|
||||
r.AddRecipe();
|
||||
|
||||
// Feral Claws
|
||||
r = GetNewRecipe();
|
||||
r.AddIngredient(ItemID.Leather, 10);
|
||||
|
||||
Reference in new issue
Block a user