Skip to content

Valks-Terraria-Mods/MerchantsPlus

Repository files navigation

Mod updated to 1.4.4

This mod makes the game easier by adding over 90 unique shops containing NEARLY EVERY ITEM IN TERRARIA spread across all merchants.

Even the guide, nurse, angler, tax collector and old man are now merchants!

Although not all the items are unlocked at once, you will need to defeat bosses and other types of enemies to progress.

For example, the merchant sells a copper (or tin depending on what kind of world you are in) pickaxe at first. If you defeat the slime king then he will sell a iron pick and a silver pick when you beat the Eye of Cthulhu. He also sells items based on your currently equipped gear. If you have a bow equipped then he will sell you a bow that progresses as you defeat bosses. If you are holding a sword then he will sell a sword and so on.

Progression is not entirely tied to bosses but also world events and even killing say 1000 of a certain enemy.

If you are interested how progression works for the majority of items have a look at the following source code.

MerchantsPlus/Utils.cs

Lines 59 to 99 in 3ce86bb

/// <summary>
/// The players progression, the first 7 levels are prehardmode and
/// the 18 other levels are hardmode. (Making a total of 25 progression
/// levels.
/// </summary>
/// <returns>Returns the players progression level.</returns>
public static int Progression()
{
int progression = 0;
// Pre
if (NPC.downedSlimeKing) progression++;
if (DownedEyeOfCthulhu()) progression++;
if (NPC.downedGoblins) progression++;
if (DownedBrainOfCthulhu() || DownedEaterOfWorlds()) progression++;
if (NPC.downedQueenBee) progression++;
if (DownedSkeletron()) progression++;
if (DownedWallOfFlesh()) progression++;
// Post
if (NPC.downedPirates) progression++;
if (NPC.downedClown) progression++;
if (NPC.downedMechBoss1) progression++;
if (NPC.downedMechBoss2) progression++;
if (NPC.downedMechBoss3) progression++;
if (NPC.downedHalloweenTree) progression++;
if (NPC.downedHalloweenKing) progression++;
if (NPC.downedPlantBoss) progression++;
if (NPC.downedGolemBoss) progression++;
if (NPC.downedFishron) progression++;
if (NPC.downedChristmasIceQueen) progression++;
if (NPC.downedChristmasSantank) progression++;
if (NPC.downedChristmasTree) progression++;
if (NPC.downedFrost) progression++;
if (NPC.downedMartians) progression++;
if (NPC.downedAncientCultist) progression++;
if (NPC.downedTowers) progression++;
if (NPC.downedMoonlord) progression++;
return progression;
}

Featuring

  • Merchants sell more items based on bosses and enemies defeated
  • Some merchants items get upgraded as you progress
  • Merchants sell items based on what you currently have equipped
  • Items that use to have no sell value now have unique sell values
  • Quests (Quests give you hints on what you need to do to unlock more items) (WIP)
  • Merchants have a chance to drop items on death (enabled by default)
  • All merchants have 300 health (enabled by default)
  • Merchants have slightly reduced sizes (enabled by default)
  • Merchants shoot different projectiles based on bosses defeated (enabled by default)

New

  • Adds a shop for the NPC from the Magic Storage mod

Want to help contribute? Here are some ways you can contribute:

  • Suggesting new shops and items
  • Suggesting price changes and item condition changes for making the mod more balanced
  • Listing items that have no sell value

FAQ Q: Is this compatible with other mods? A: This mod does not touch vanilla shops but rather adds its own additional shops to merchants so it should be fully compatible with other mods

Q: I looked at the source code and the sell prices do not match up with that from script and in game. A: This is because of the "happiness currency multiplier" that currently cannot be disabled via modding.

Send bug reports and suggestions here for faster response: https://discord.gg/866cg8yfxZ

Source: https://github.com/Valks-Terraria-Mods/MerchantsPlus

My Other Mods: https://steamcommunity.com/sharedfiles/filedetails/?id=3025618564