Rename palooza
Blood Orange -> Sanguine Tangerine Elderberry -> Tainted Cloudberry Rune of Kos -> Mark of Providence Hive -> Astraglomerate Hiveling -> Glomerling Elemental Quiver -> Planebreaker's Pouch
No files matched your search
@@ -463,8 +463,8 @@ namespace CalamityMod.CalPlayer
|
||||
public bool pHeart = false;
|
||||
public bool cShard = false;
|
||||
public bool mFruit = false;
|
||||
public bool bOrange = false;
|
||||
public bool eBerry = false;
|
||||
public bool sTangerine = false;
|
||||
public bool tCloudberry = false;
|
||||
public bool dFruit = false;
|
||||
public bool revJamDrop = false;
|
||||
public bool rageBoostOne = false;
|
||||
@@ -1268,8 +1268,8 @@ namespace CalamityMod.CalPlayer
|
||||
extraAccessoryML = false;
|
||||
eCore = false;
|
||||
mFruit = false;
|
||||
bOrange = false;
|
||||
eBerry = false;
|
||||
sTangerine = false;
|
||||
tCloudberry = false;
|
||||
dFruit = false;
|
||||
pHeart = false;
|
||||
cShard = false;
|
||||
@@ -1320,8 +1320,8 @@ namespace CalamityMod.CalPlayer
|
||||
boost.AddWithCondition("extraAccessoryML", extraAccessoryML);
|
||||
boost.AddWithCondition("etherealCore", eCore);
|
||||
boost.AddWithCondition("miracleFruit", mFruit);
|
||||
boost.AddWithCondition("bloodOrange", bOrange);
|
||||
boost.AddWithCondition("elderBerry", eBerry);
|
||||
boost.AddWithCondition("sanguineTangerine", sTangerine);
|
||||
boost.AddWithCondition("taintedCloudberry", tCloudberry);
|
||||
boost.AddWithCondition("dragonFruit", dFruit);
|
||||
boost.AddWithCondition("phantomHeart", pHeart);
|
||||
boost.AddWithCondition("cometShard", cShard);
|
||||
@@ -1410,8 +1410,8 @@ namespace CalamityMod.CalPlayer
|
||||
extraAccessoryML = boost.Contains("extraAccessoryML");
|
||||
eCore = boost.Contains("etherealCore");
|
||||
mFruit = boost.Contains("miracleFruit");
|
||||
bOrange = boost.Contains("bloodOrange");
|
||||
eBerry = boost.Contains("elderBerry");
|
||||
sTangerine = boost.Contains("sanguineTangerine");
|
||||
tCloudberry = boost.Contains("taintedCloudberry");
|
||||
dFruit = boost.Contains("dragonFruit");
|
||||
pHeart = boost.Contains("phantomHeart");
|
||||
cShard = boost.Contains("cometShard");
|
||||
@@ -2246,9 +2246,9 @@ namespace CalamityMod.CalPlayer
|
||||
public override void ModifyMaxStats(out StatModifier health, out StatModifier mana)
|
||||
{
|
||||
health = StatModifier.Default;
|
||||
health.Base = bOrange.ToInt() * BloodOrange.LifeBoost
|
||||
health.Base = sTangerine.ToInt() * SanguineTangerine.LifeBoost
|
||||
+ mFruit.ToInt() * MiracleFruit.LifeBoost
|
||||
+ eBerry.ToInt() * Elderberry.LifeBoost
|
||||
+ tCloudberry.ToInt() * TaintedCloudberry.LifeBoost
|
||||
+ dFruit.ToInt() * Dragonfruit.LifeBoost;
|
||||
|
||||
mana = StatModifier.Default;
|
||||
|
||||
@@ -326,7 +326,7 @@ namespace CalamityMod.Events
|
||||
|
||||
Player player = Main.player[ClosestPlayerToWorldCenter];
|
||||
|
||||
SoundEngine.PlaySound(RuneofKos.CVSound, player.Center);
|
||||
SoundEngine.PlaySound(MarkofProvidence.CVSound, player.Center);
|
||||
NPC.SpawnOnPlayer(ClosestPlayerToWorldCenter, type);
|
||||
}, usesSpecialSound: true, permittedNPCs: ModContent.NPCType<DarkEnergy>()),
|
||||
|
||||
@@ -334,7 +334,7 @@ namespace CalamityMod.Events
|
||||
{
|
||||
Player player = Main.player[ClosestPlayerToWorldCenter];
|
||||
|
||||
SoundEngine.PlaySound(RuneofKos.StormSound, player.Center);
|
||||
SoundEngine.PlaySound(MarkofProvidence.StormSound, player.Center);
|
||||
NPC.SpawnOnPlayer(ClosestPlayerToWorldCenter, type);
|
||||
}, usesSpecialSound: true, permittedNPCs: new int[] { ModContent.NPCType<StormWeaverBody>(), ModContent.NPCType<StormWeaverTail>(), }),
|
||||
|
||||
@@ -342,7 +342,7 @@ namespace CalamityMod.Events
|
||||
{
|
||||
Player player = Main.player[ClosestPlayerToWorldCenter];
|
||||
|
||||
SoundEngine.PlaySound(RuneofKos.SignutSound, player.Center);
|
||||
SoundEngine.PlaySound(MarkofProvidence.SignutSound, player.Center);
|
||||
NPC.SpawnOnPlayer(ClosestPlayerToWorldCenter, type);
|
||||
}, usesSpecialSound: true, permittedNPCs: new int[] { ModContent.NPCType<CosmicLantern>(), ModContent.NPCType<CosmicMine>() }),
|
||||
|
||||
|
||||
@@ -8,7 +8,8 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Accessories
|
||||
{
|
||||
public class ElementalQuiver : ModItem, ILocalizedModType
|
||||
[LegacyName("ElementalQuiver")]
|
||||
public class PlanebreakersPouch : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Accessories";
|
||||
public override void SetDefaults()
|
||||
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
@@ -11,7 +11,8 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.PermanentBoosters
|
||||
{
|
||||
public class BloodOrange : ModItem, ILocalizedModType
|
||||
[LegacyName("BloodOrange")]
|
||||
public class SanguineTangerine : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Misc";
|
||||
|
||||
@@ -45,16 +46,16 @@ namespace CalamityMod.Items.PermanentBoosters
|
||||
if (player.itemAnimation > 0 && player.itemTime == 0)
|
||||
{
|
||||
player.itemTime = Item.useTime;
|
||||
if (modPlayer.bOrange)
|
||||
if (modPlayer.sTangerine)
|
||||
{
|
||||
string key = "Mods.CalamityMod.Misc.BloodOrangeText";
|
||||
string key = "Mods.CalamityMod.Misc.SanguineTangerineText";
|
||||
Color messageColor = Color.Orange;
|
||||
CalamityUtils.DisplayLocalizedText(key, messageColor);
|
||||
return false;
|
||||
}
|
||||
|
||||
player.UseHealthMaxIncreasingItem(LifeBoost);
|
||||
modPlayer.bOrange = true;
|
||||
modPlayer.sTangerine = true;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
@@ -63,7 +64,7 @@ namespace CalamityMod.Items.PermanentBoosters
|
||||
{
|
||||
TooltipLine line = list.FirstOrDefault(x => x.Mod == "Terraria" && x.Name == "Tooltip1");
|
||||
|
||||
if (line != null && Main.LocalPlayer.Calamity().bOrange)
|
||||
if (line != null && Main.LocalPlayer.Calamity().sTangerine)
|
||||
line.Text += "\n" + CalamityUtils.GetTextValue("Misc.GenericConsumedText");
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 955 B After Width: | Height: | Size: 955 B |
@@ -12,7 +12,8 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.PermanentBoosters
|
||||
{
|
||||
public class Elderberry : ModItem, ILocalizedModType
|
||||
[LegacyName("Elderberry")]
|
||||
public class TaintedCloudberry : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Misc";
|
||||
|
||||
@@ -46,16 +47,16 @@ namespace CalamityMod.Items.PermanentBoosters
|
||||
if (player.itemAnimation > 0 && player.itemTime == 0)
|
||||
{
|
||||
player.itemTime = Item.useTime;
|
||||
if (modPlayer.eBerry)
|
||||
if (modPlayer.tCloudberry)
|
||||
{
|
||||
string key = "Mods.CalamityMod.Misc.ElderberryText";
|
||||
string key = "Mods.CalamityMod.Misc.TaintedCloudberryText";
|
||||
Color messageColor = Color.Turquoise;
|
||||
CalamityUtils.DisplayLocalizedText(key, messageColor);
|
||||
return false;
|
||||
}
|
||||
|
||||
player.UseHealthMaxIncreasingItem(LifeBoost);
|
||||
modPlayer.eBerry = true;
|
||||
modPlayer.tCloudberry = true;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
@@ -64,7 +65,7 @@ namespace CalamityMod.Items.PermanentBoosters
|
||||
{
|
||||
TooltipLine line = list.FirstOrDefault(x => x.Mod == "Terraria" && x.Name == "Tooltip1");
|
||||
|
||||
if (line != null && Main.LocalPlayer.Calamity().eBerry)
|
||||
if (line != null && Main.LocalPlayer.Calamity().tCloudberry)
|
||||
line.Text += "\n" + CalamityUtils.GetTextValue("Misc.GenericConsumedText");
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,10 @@
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Placeables.Banners
|
||||
{
|
||||
[LegacyName("HiveBanner")]
|
||||
public class AstraglomerateBanner : BaseBanner
|
||||
{
|
||||
public override int BannerTileStyle => 40;
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 339 B After Width: | Height: | Size: 339 B |
@@ -1,7 +0,0 @@
|
||||
namespace CalamityMod.Items.Placeables.Banners
|
||||
{
|
||||
public class HiveBanner : BaseBanner
|
||||
{
|
||||
public override int BannerTileStyle => 40;
|
||||
}
|
||||
}
|
||||
@@ -12,8 +12,8 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.SummonItems
|
||||
{
|
||||
[LegacyName("RuneofCos")]
|
||||
public class RuneofKos : ModItem, ILocalizedModType
|
||||
[LegacyName("RuneofCos", "RuneofKos")]
|
||||
public class MarkofProvidence : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.SummonItems";
|
||||
public static readonly SoundStyle CVSound = new("CalamityMod/Sounds/Item/CeaselessVoidSpawn");
|
||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
@@ -44,8 +44,8 @@ AstralSlime: With slimes already acclimated to absorbing both matter and energy
|
||||
Atlas: Knights of the infection, these fusions of creatures pack an immense punch. Though slow due to their overbearing weight, a single blow from an atlas is easily able to pulverize a monolith. Their hearts continue to slowly beat even after being ripped from their bodies, for their lives seemingly cannot truly end.
|
||||
FusionFeeder: Bloated with mana, the immense amount of magical power has dulled the instincts of these former sand sharks, their movements now slow and sluggish. Their need for food has been permanently sated, and they now thirst only for distant stars.
|
||||
Hadarian: Once mere desert vultures, they have been metamorphosed into new beings, their feathers stripped and replaced with gooey tissue and stone-like plating. They sit still as a statue, with eyes seemingly staring at both everything, and nothing at all.
|
||||
HiveEnemy: Amalgamations of several creatures, with all of their features rendered unrecognizable after being fused into a singular being. Unable to act on their own due to its immense mass, hives choose instead to split off small parts of themselves to fight for them.
|
||||
Hiveling: Hivelings may be rather unthreatening alone, though dangerous in large numbers. Being simply extensions of a hive, they lack a preservation instinct, and fight ferociously to the death so that they may serve the greater whole.
|
||||
Astraglomerate: Amalgamations of several creatures, with all of their features rendered unrecognizable after being fused into a singular being. Unable to act on their own due to their immense mass, Astraglomerates choose instead to split off small parts of themselves to fight for them.
|
||||
Glomerling: Glomerlings may be rather unthreatening alone, though dangerous in large numbers. Being simply extensions of a hive, they lack a preservation instinct, and fight ferociously to the death so that they may serve the greater whole.
|
||||
Mantis: The most versatile organism born from the Astral Infection, mantises can reach incredible speeds and are equipped with claws capable of slicing through all but the most durable metals with ease. When their foes are at a distance, they are capable of condensing latent mana in the air to form bladed disks they can throw at their enemies.
|
||||
Nova: Warped yet simple creatures created from but stardust and mana, containing a volatile nucleus within. They feel that they must defend the infection despite lacking proper means of even defending themselves, and so all they can do to ward off intruders is overcharge their nucleus, causing themselves to combust.
|
||||
SightseerCollider: Originally demon eyes, these now act as an extension of the dead star. Unlike the larger variants, these sightseers lack the ability to spit at their enemies. All they are capable of is ramming into those who intrude upon land taken by the Astral Infection with a questionable amount of success.
|
||||
|
||||
@@ -658,16 +658,6 @@ ElementalGauntlet: {
|
||||
'''
|
||||
}
|
||||
|
||||
ElementalQuiver: {
|
||||
DisplayName: Elemental Quiver
|
||||
Tooltip:
|
||||
'''
|
||||
15% increased ranged damage, 5% increased ranged critical strike chance and 20% reduced ammo usage
|
||||
Grants a 20% chance to not consume arrows
|
||||
Greatly increases all ranged projectile velocity
|
||||
'''
|
||||
}
|
||||
|
||||
ElysianAegis: {
|
||||
DisplayName: Elysian Aegis
|
||||
Tooltip:
|
||||
@@ -1261,6 +1251,16 @@ PlaguedFuelPack: {
|
||||
'''
|
||||
}
|
||||
|
||||
PlanebreakersPouch: {
|
||||
DisplayName: Planebreaker's Pouch
|
||||
Tooltip:
|
||||
'''
|
||||
15% increased ranged damage, 5% increased ranged critical strike chance and 20% reduced ammo usage
|
||||
Grants a 20% chance to not consume arrows
|
||||
Greatly increases all ranged projectile velocity
|
||||
'''
|
||||
}
|
||||
|
||||
ProfanedSoulArtifact: {
|
||||
DisplayName: Profaned Soul Artifact
|
||||
Tooltip:
|
||||
|
||||
@@ -64,16 +64,6 @@ TwinklerItem: {
|
||||
}
|
||||
|
||||
// Permanent Boosters
|
||||
BloodOrange: {
|
||||
DisplayName: Blood Orange
|
||||
Tooltip:
|
||||
'''
|
||||
Permanently increases maximum life by {0}
|
||||
Can only be used once and requires the max amount of Life Fruits consumed
|
||||
It has a distinctly sweet flavor and a strong aroma
|
||||
'''
|
||||
}
|
||||
|
||||
CelestialOnion: {
|
||||
DisplayName: Celestial Onion
|
||||
Tooltip:
|
||||
@@ -112,16 +102,6 @@ Ectoheart: {
|
||||
'''
|
||||
}
|
||||
|
||||
Elderberry: {
|
||||
DisplayName: Elderberry
|
||||
Tooltip:
|
||||
'''
|
||||
Permanently increases maximum life by {0}
|
||||
Can only be used once and requires the max amount of Life Fruits consumed
|
||||
A tangy, tart flavor with a somewhat earthen touch
|
||||
'''
|
||||
}
|
||||
|
||||
ElectrolyteGelPack: {
|
||||
DisplayName: Electrolyte Gel Pack
|
||||
Tooltip:
|
||||
@@ -186,6 +166,16 @@ RedLightningContainer: {
|
||||
'''
|
||||
}
|
||||
|
||||
SanguineTangerine: {
|
||||
DisplayName: Sanguine Tangerine
|
||||
Tooltip:
|
||||
'''
|
||||
Permanently increases maximum life by {0}
|
||||
Can only be used once and requires the max amount of Life Fruits consumed
|
||||
It has a distinctly sweet flavor and a strong aroma
|
||||
'''
|
||||
}
|
||||
|
||||
StarlightFuelCell: {
|
||||
DisplayName: Starlight Fuel Cell
|
||||
Tooltip:
|
||||
@@ -195,6 +185,16 @@ StarlightFuelCell: {
|
||||
'''
|
||||
}
|
||||
|
||||
TaintedCloudberry: {
|
||||
DisplayName: Tainted Cloudberry
|
||||
Tooltip:
|
||||
'''
|
||||
Permanently increases maximum life by {0}
|
||||
Can only be used once and requires the max amount of Life Fruits consumed
|
||||
A tangy, tart flavor with a somewhat earthen touch
|
||||
'''
|
||||
}
|
||||
|
||||
// Spawn Blockers
|
||||
SpawnBlockersOn: Currently enabled
|
||||
SpawnBlockersOff: Currently disabled
|
||||
|
||||
@@ -160,6 +160,25 @@ CausticTear: {
|
||||
'''
|
||||
}
|
||||
|
||||
MarkofProvidence: {
|
||||
DisplayName: Mark of Providence
|
||||
Tooltip:
|
||||
'''
|
||||
An ornate sigil of the Profaned Flame
|
||||
Hatred yet burns upon its brow
|
||||
[SPAWN]
|
||||
Not consumable
|
||||
'''
|
||||
SpawnInfo: Such power attracts otherworldly beings
|
||||
SpawnVoid:
|
||||
'''
|
||||
Summons the Ceaseless Void
|
||||
Enrages on the surface
|
||||
'''
|
||||
SpawnSignus: Summons Signus, Envoy of the Devourer
|
||||
SpawnWeaver: Summons the Storm Weaver
|
||||
}
|
||||
|
||||
MartianDistressRemote: {
|
||||
DisplayName: Martian Distress Remote
|
||||
Tooltip:
|
||||
@@ -242,25 +261,6 @@ ProfanedShard: {
|
||||
SpawnRemix: Summons the Profaned Guardians when used in the Hallow or Underworld
|
||||
}
|
||||
|
||||
RuneofKos: {
|
||||
DisplayName: Rune of Kos
|
||||
Tooltip:
|
||||
'''
|
||||
An ornate sigil of the Profaned Flame
|
||||
Hatred yet burns upon its brow
|
||||
[SPAWN]
|
||||
Not consumable
|
||||
'''
|
||||
SpawnInfo: Such power attracts otherworldly beings
|
||||
SpawnVoid:
|
||||
'''
|
||||
Summons the Ceaseless Void
|
||||
Enrages on the surface
|
||||
'''
|
||||
SpawnSignus: Summons Signus, Envoy of the Devourer
|
||||
SpawnWeaver: Summons the Storm Weaver
|
||||
}
|
||||
|
||||
SandstormsCore: {
|
||||
DisplayName: Sandstorm's Core
|
||||
Tooltip:
|
||||
|
||||
@@ -437,7 +437,7 @@ HerringStaff: {
|
||||
|
||||
HivePod: {
|
||||
DisplayName: Hive Pod
|
||||
Tooltip: Summons an astral hive to protect you
|
||||
Tooltip: Summons an astraglomerate to protect you
|
||||
}
|
||||
|
||||
IgneousExaltation: {
|
||||
|
||||
@@ -47,9 +47,9 @@ SevensDoubles: Doubles!
|
||||
SevensTriples: Triples!
|
||||
StylishHammerHit: Stylish!
|
||||
GenericConsumedText: "[c/8A8A8A:You have already consumed this item]"
|
||||
BloodOrangeText: You have already consumed a Blood Orange. Eating any more would make your blood too thick to flow.
|
||||
SanguineTangerineText: You have already consumed a Sanguine Tangerine. Eating any more would make your blood too thick to flow.
|
||||
MiracleFruitText: You have already consumed a Miracle Fruit. It would take a miracle to put you back together if you ate another.
|
||||
ElderberryText: You have already consumed an Elderberry. Your body would become dust if you ate more than one.
|
||||
TaintedCloudberryText: You have already consumed a Tainted Cloudberry. Your body would become dust if you ate more than one.
|
||||
DragonfruitText: You have already consumed a Dragonfruit. Any more draconic power and you'd be rejected.
|
||||
CometShardText: You have already used a Comet Shard. Your neurons would die if you used another.
|
||||
EtherealCoreText: You have already used an Ethereal Core. Your brain would escape your head if you dared to use it a second time.
|
||||
|
||||
@@ -45,8 +45,8 @@ AstralSlime.DisplayName: Astral Slime
|
||||
Atlas.DisplayName: Atlas
|
||||
FusionFeeder.DisplayName: Fusion Feeder
|
||||
Hadarian.DisplayName: Hadarian
|
||||
HiveEnemy.DisplayName: Hive
|
||||
Hiveling.DisplayName: Hiveling
|
||||
Astraglomerate.DisplayName: Astraglomerate
|
||||
Glomerling.DisplayName: Glomerling
|
||||
Mantis.DisplayName: Mantis
|
||||
Nova.DisplayName: Nova
|
||||
SightseerCollider.DisplayName: Sightseer Collider
|
||||
|
||||
@@ -998,9 +998,9 @@ namespace CalamityMod
|
||||
{
|
||||
return powerupName switch
|
||||
{
|
||||
"BloodOrange" => player.Calamity().bOrange,
|
||||
"SanguineTangerine" => player.Calamity().sTangerine,
|
||||
"MiracleFruit" => player.Calamity().mFruit,
|
||||
"Elderberry" => player.Calamity().eBerry,
|
||||
"TaintedCloudberry" => player.Calamity().tCloudberry,
|
||||
"Dragonfruit" => player.Calamity().dFruit,
|
||||
|
||||
"CometShard" => player.Calamity().cShard,
|
||||
@@ -1027,9 +1027,9 @@ namespace CalamityMod
|
||||
|
||||
switch (powerupName)
|
||||
{
|
||||
case "BloodOrange": player.Calamity().bOrange = value; break;
|
||||
case "SanguineTangerine": player.Calamity().sTangerine = value; break;
|
||||
case "MiracleFruit": player.Calamity().mFruit = value; break;
|
||||
case "Elderberry": player.Calamity().eBerry = value; break;
|
||||
case "TaintedCloudberry": player.Calamity().tCloudberry = value; break;
|
||||
case "Dragonfruit": player.Calamity().dFruit = value; break;
|
||||
|
||||
case "CometShard": player.Calamity().cShard = value; break;
|
||||
|
||||
@@ -231,8 +231,6 @@ namespace CalamityMod
|
||||
void EnemyRedirect(int item, string pageName) => wiki.Call(2, item, pageName);
|
||||
|
||||
// Items
|
||||
ItemRedirect(ItemType<BloodOrange>(), "Blood Orange (calamity)");
|
||||
ItemRedirect(ItemType<Elderberry>(), "Elderberry (calamity)");
|
||||
ItemRedirect(ItemType<PineapplePet>(), "Pineapple (calamity)");
|
||||
ItemRedirect(ItemType<TrashmanTrashcan>(), "Trash Can (pet)");
|
||||
ItemRedirect(ItemType<SandstormGun>(), "Sandstorm (weapon)");
|
||||
@@ -294,7 +292,6 @@ namespace CalamityMod
|
||||
ItemRedirect(ItemType<LoreYharon>(), loreItemPage);
|
||||
|
||||
// Enemies
|
||||
EnemyRedirect(NPCType<HiveEnemy>(), "Hive (enemy)");
|
||||
EnemyRedirect(NPCType<KingSlimeJewelRuby>(), "Crown Jewels");
|
||||
EnemyRedirect(NPCType<KingSlimeJewelSapphire>(), "Crown Jewels");
|
||||
EnemyRedirect(NPCType<KingSlimeJewelEmerald>(), "Crown Jewels");
|
||||
@@ -743,7 +740,7 @@ namespace CalamityMod
|
||||
["displayName"] = GetDisplayName(entryName),
|
||||
["spawnInfo"] = GetSpawnInfo(entryName),
|
||||
["despawnMessage"] = GetDespawnMessage(entryName),
|
||||
["spawnItems"] = ItemType<RuneofKos>(),
|
||||
["spawnItems"] = ItemType<MarkofProvidence>(),
|
||||
["collectibles"] = collection
|
||||
});
|
||||
}
|
||||
@@ -765,7 +762,7 @@ namespace CalamityMod
|
||||
["displayName"] = GetDisplayName(entryName),
|
||||
["spawnInfo"] = GetSpawnInfo(entryName),
|
||||
["despawnMessage"] = GetDespawnMessage(entryName),
|
||||
["spawnItems"] = ItemType<RuneofKos>(),
|
||||
["spawnItems"] = ItemType<MarkofProvidence>(),
|
||||
["collectibles"] = collection,
|
||||
["customPortrait"] = portrait,
|
||||
["overrideHeadTextures"] = "CalamityMod/NPCs/StormWeaver/StormWeaverHead_Head_Boss"
|
||||
@@ -783,7 +780,7 @@ namespace CalamityMod
|
||||
["displayName"] = GetDisplayName(entryName),
|
||||
["spawnInfo"] = GetSpawnInfo(entryName),
|
||||
["despawnMessage"] = GetDespawnMessage(entryName),
|
||||
["spawnItems"] = ItemType<RuneofKos>(),
|
||||
["spawnItems"] = ItemType<MarkofProvidence>(),
|
||||
["collectibles"] = collection
|
||||
});
|
||||
}
|
||||
|
||||
@@ -18,14 +18,14 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.NPCs.Astral
|
||||
{
|
||||
public class HiveEnemy : ModNPC
|
||||
public class Astraglomerate : ModNPC
|
||||
{
|
||||
public static Asset<Texture2D> glowmask;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
if (!Main.dedServ)
|
||||
glowmask = ModContent.Request<Texture2D>("CalamityMod/NPCs/Astral/HiveGlow", AssetRequestMode.AsyncLoad);
|
||||
glowmask = ModContent.Request<Texture2D>("CalamityMod/NPCs/Astral/AstraglomerateGlow", AssetRequestMode.AsyncLoad);
|
||||
Main.npcFrameCount[NPC.type] = 6;
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
NPC.knockBackResist = 0f;
|
||||
NPC.value = Item.buyPrice(0, 0, 15, 0);
|
||||
Banner = NPC.type;
|
||||
BannerItem = ModContent.ItemType<HiveBanner>();
|
||||
BannerItem = ModContent.ItemType<AstraglomerateBanner>();
|
||||
if (DownedBossSystem.downedAstrumAureus)
|
||||
{
|
||||
NPC.damage = 90;
|
||||
@@ -66,7 +66,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
{
|
||||
bestiaryEntry.Info.AddRange(new IBestiaryInfoElement[]
|
||||
{
|
||||
new FlavorTextBestiaryInfoElement("Mods.CalamityMod.Bestiary.HiveEnemy")
|
||||
new FlavorTextBestiaryInfoElement("Mods.CalamityMod.Bestiary.Astraglomerate")
|
||||
});
|
||||
}
|
||||
|
||||
@@ -80,12 +80,12 @@ namespace CalamityMod.NPCs.Astral
|
||||
{
|
||||
if (Main.rand.NextBool(100))
|
||||
{
|
||||
if (NPC.CountNPCS(ModContent.NPCType<Hiveling>()) < 10)
|
||||
if (NPC.CountNPCS(ModContent.NPCType<Glomerling>()) < 10)
|
||||
{
|
||||
NPC.ai[0] = 0;
|
||||
|
||||
// Spawn hiveling, it's ai[0] is the hive npc index.
|
||||
int n = NPC.NewNPC(NPC.GetSource_FromAI(), (int)NPC.Center.X, (int)NPC.Center.Y, ModContent.NPCType<Hiveling>(), 0, NPC.whoAmI);
|
||||
int n = NPC.NewNPC(NPC.GetSource_FromAI(), (int)NPC.Center.X, (int)NPC.Center.Y, ModContent.NPCType<Glomerling>(), 0, NPC.whoAmI);
|
||||
Main.npc[n].velocity.X = Main.rand.NextFloat(-0.4f, 0.4f);
|
||||
Main.npc[n].velocity.Y = Main.rand.NextFloat(-0.5f, -0.05f);
|
||||
}
|
||||
@@ -126,7 +126,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
//if dead do gores
|
||||
if (NPC.life <= 0)
|
||||
{
|
||||
int type = ModContent.NPCType<Hiveling>();
|
||||
int type = ModContent.NPCType<Glomerling>();
|
||||
|
||||
// TODO: Should this use `Main.ActiveNPCs` iterator?
|
||||
for (int i = 0; i < Main.maxNPCs; i++)
|
||||
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 643 B After Width: | Height: | Size: 643 B |
@@ -16,14 +16,14 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.NPCs.Astral
|
||||
{
|
||||
public class Hiveling : ModNPC
|
||||
public class Glomerling : ModNPC
|
||||
{
|
||||
public static Asset<Texture2D> glowmask;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
if (!Main.dedServ)
|
||||
glowmask = ModContent.Request<Texture2D>("CalamityMod/NPCs/Astral/HivelingGlow", AssetRequestMode.AsyncLoad);
|
||||
glowmask = ModContent.Request<Texture2D>("CalamityMod/NPCs/Astral/GlomerlingGlow", AssetRequestMode.AsyncLoad);
|
||||
Main.npcFrameCount[NPC.type] = 4;
|
||||
NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers();
|
||||
value.Position.Y -= 8;
|
||||
@@ -62,7 +62,7 @@ namespace CalamityMod.NPCs.Astral
|
||||
{
|
||||
bestiaryEntry.Info.AddRange(new IBestiaryInfoElement[]
|
||||
{
|
||||
new FlavorTextBestiaryInfoElement("Mods.CalamityMod.Bestiary.Hiveling")
|
||||
new FlavorTextBestiaryInfoElement("Mods.CalamityMod.Bestiary.Glomerling")
|
||||
});
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 892 B After Width: | Height: | Size: 892 B |
|
Before Width: | Height: | Size: 813 B After Width: | Height: | Size: 813 B |
@@ -2035,8 +2035,8 @@ namespace CalamityMod.NPCs.Providence
|
||||
{
|
||||
npcLoot.Add(ItemDropRule.BossBag(ModContent.ItemType<ProvidenceBag>()));
|
||||
|
||||
// Drops Rune of Cos on first kill
|
||||
npcLoot.AddIf(() => !DownedBossSystem.downedProvidence, ModContent.ItemType<RuneofKos>(), desc: DropHelper.FirstKillText);
|
||||
// Drops Mark of Providence on first kill
|
||||
npcLoot.AddIf(() => !DownedBossSystem.downedProvidence, ModContent.ItemType<MarkofProvidence>(), desc: DropHelper.FirstKillText);
|
||||
|
||||
npcLoot.AddConditionalPerPlayer(info =>
|
||||
{
|
||||
|
||||
@@ -1009,7 +1009,7 @@ namespace CalamityMod.NPCs.StormWeaver
|
||||
var GFBOnly = npcLoot.DefineConditionalDropSet(DropHelper.GFB);
|
||||
{
|
||||
GFBOnly.Add(ModContent.ItemType<ElementalGauntlet>(), hideLootReport: true);
|
||||
GFBOnly.Add(ModContent.ItemType<ElementalQuiver>(), hideLootReport: true);
|
||||
GFBOnly.Add(ModContent.ItemType<PlanebreakersPouch>(), hideLootReport: true);
|
||||
}
|
||||
|
||||
// Lore
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace CalamityMod.Projectiles.Summon
|
||||
public class Hive : ModProjectile, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Projectiles.Summon";
|
||||
public override string Texture => "CalamityMod/NPCs/Astral/HiveEnemy";
|
||||
public override string Texture => "CalamityMod/NPCs/Astral/Astraglomerate";
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace CalamityMod.Projectiles.Summon
|
||||
public class Hiveling : ModProjectile, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Projectiles.Summon";
|
||||
public override string Texture => "CalamityMod/NPCs/Astral/Hiveling";
|
||||
public override string Texture => "CalamityMod/NPCs/Astral/Glomerling";
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace CalamityMod.Tiles.FloralParadise
|
||||
|
||||
public override void KillMultiTile(int i, int j, int frameX, int frameY)
|
||||
{
|
||||
Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 16, ModContent.ItemType<BloodOrange>());
|
||||
Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 16, ModContent.ItemType<SanguineTangerine>());
|
||||
}
|
||||
|
||||
public override void SetDrawPositions(int i, int j, ref int width, ref int offsetY, ref int height, ref short tileFrameX, ref short tileFrameY)
|
||||
|
||||
@@ -184,7 +184,7 @@ namespace CalamityMod.Tiles
|
||||
npc = NPCType<AstralachneaGround>();
|
||||
break;
|
||||
case 40:
|
||||
npc = NPCType<HiveEnemy>();
|
||||
npc = NPCType<Astraglomerate>();
|
||||
break;
|
||||
case 41:
|
||||
npc = NPCType<StellarCulex>();
|
||||
|
||||
@@ -22,12 +22,12 @@ namespace CalamityMod.UI.ResourceSets
|
||||
CalamityPlayer modPlayer = Main.LocalPlayer.Calamity();
|
||||
if (modPlayer.dFruit)
|
||||
return folder + "Dragonfruit";
|
||||
if (modPlayer.eBerry)
|
||||
return folder + "Elderberry";
|
||||
if (modPlayer.tCloudberry)
|
||||
return folder + "TaintedCloudberry";
|
||||
if (modPlayer.mFruit)
|
||||
return folder + "MiracleFruit";
|
||||
if (modPlayer.bOrange)
|
||||
return folder + "BloodOrange";
|
||||
if (modPlayer.sTangerine)
|
||||
return folder + "SanguineTangerine";
|
||||
return string.Empty;
|
||||
}
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 149 B After Width: | Height: | Size: 149 B |
|
Before Width: | Height: | Size: 449 B After Width: | Height: | Size: 449 B |
|
Before Width: | Height: | Size: 155 B After Width: | Height: | Size: 155 B |
|
Before Width: | Height: | Size: 514 B After Width: | Height: | Size: 514 B |
@@ -393,8 +393,8 @@ namespace CalamityMod
|
||||
{ ModContent.NPCType<SightseerSpitter>(), astral },
|
||||
{ ModContent.NPCType<FusionFeeder>(), astral },
|
||||
{ ModContent.NPCType<Hadarian>(), astral },
|
||||
{ ModContent.NPCType<HiveEnemy>(), astral },
|
||||
{ ModContent.NPCType<Hiveling>(), astral },
|
||||
{ ModContent.NPCType<Astraglomerate>(), astral },
|
||||
{ ModContent.NPCType<Glomerling>(), astral },
|
||||
{ ModContent.NPCType<Mantis>(), astral },
|
||||
{ ModContent.NPCType<Nova>(), astral },
|
||||
{ ModContent.NPCType<SightseerCollider>(), astral },
|
||||
|
||||