Ammo Chain - ForOne-Club/ImproveGame GitHub Wiki

Ammo Chain is a new feature introduced in v1.7.1 that lets weapons pick ammo in a specific sequence. For example, for most guns, you can set it to "10 Unspecified Ammo" followed by "1 Ichor Bullet", which can lower the boss's defense at all times. Now let's see how to use it

Management Interface

The main interface of the UI. Here you can add and apply ammo chains to weapons.

image

You need to click "Add Ammo Chain" to add your first ammo chain. You can first see the Edit Interface Introduction, and then come back to see how to apply ammo chains after adding them.

After making sure you have at least one ammo chain, put the weapon into the weapon slot and click the ammo chain to apply it to the weapon (the premise is that your item must use ammo)

If you want to cancel the ammo chain on the weapon, right-click the weapon in the weapon slot

recording

Right-click an existing ammo chain to edit it.

Edit Interface

Click "Add Ammo Chain" or right-click on any ammo chain to enter the edit interface. Here you can adjust everything about the ammo chain.

image

The top left corner is the ammo chain icon. If you are editing an existing ammo chain, clicking the icon will directly delete the ammo chain. Operate with caution.

Click on the large text box in the middle to rename the ammo chain.

Eight colors are provided on the right. Setting colors can help distinguish different ammo chains.

recording

Now, the main part - configuring the ammo order!

All in-game ammo, including mod ammo, is displayed below. After selecting the ammo, click the gap in the ammo queue above to add the ammo to it.

Click the ammo in the queue to remove it.

Use the mouse wheel to adjust the quantity of a certain ammo. If the wheel is too slow for you, you can also hold down the "↑" and "↓" keys on the keyboard, which will be slightly faster.

recording

There is a special type of ammo on the left of the list - Unspecified Ammo, which represents the ammo that the weapon should use. In other words, select ammo according to the vanilla logic (i.e., first select the ammo in the ammo slot, and if there is none, select the ammo in the inventory).

image

If the queue is too long, drag the scroll bar below. You can also hold down Shift and use the mouse wheel to scroll.

recording

After configuring the ammo chain, click "Confirm" to save.

Once you have created your first ammo chain, you can go back to the Management Interface Introduction.

recording

Sharing

There are two ways to share ammo chains with your friends:

Sending Files

Obviously, since ammo chains are stored as files, you can directly send the files to your friends.

image

After clicking the button to open the folder, the files with the suffix .ammochain are the ammo chain files. Don't send the wrong ones.

Sending in-game as an item

For friends who are already playing with you, you can also directly send them the "Ammo Chain" item to transfer it.

In the Management Interface, middle-click a created ammo chain to send it to your inventory as an item.

(If it is not in the inventory, check the Void Bag and Big Backpack, it may have been automatically stored)

image

You can drop this ammo chain to your friends. After they use it, the ammo chain will be directly stored on their computer as a file, and then they can open the UI panel to apply it.

Using

The effect is very obvious. The weapon will use the corresponding ammo according to the queue (the premise is that you have these ammo in your inventory or big backpack).

image

Here, the first ammo in my inventory is the golden bullet, so the "Unspecified Ammo" will use the golden bullet.

Golden bullets are a bit like ichor bullets, but the ichor bullet sprite is a bit shorter.

d09c14cd_7856487

Note

If everything goes well, it will fire normally as above. But there may be some exceptions:

  • If an ammo does not match the ammo required by the weapon, or if you do not have the ammo, skip the ammo directly.
  • When all the ammo in the chain does not match the ammo required by the weapon, or you do not have any of them, ignore the entire ammo chain (fire directly as vanilla).
  • If an ammo is an unloaded item, skip the ammo directly.

Mod Compatibility

Since this mod modifies the way ammo is selected, it will be incompatible with mods that provide the function of "selecting ammo from portable storage such as piggy banks". In other words, either those mods' functions will fail, or Quality of Terraria's will fail.

If you strongly need extra space to store ammo, it is currently recommended to put the ammo in the big backpack. Weapons that use the ammo chain will take ammo from the big backpack in addition to the inventory.

In the future, we will consider adding a "ammo bag" to store ammo exclusively.