Ammo IDs

From Terraria Wiki
Jump to navigation Jump to search
Main article: Data IDs

This page contains a sortable list of ammo IDs that are used internally in Terraria's game code to check if items should consume ammunition items when used.[1] This information can be useful for research purposes or in the development of third-party software, like mods.

ID list

ID Internal name Respective ammo Used by
0 None n/a All weapons that does not consume ammo
23 Gel Gel Flamethrower, Elf Melter
40 Arrow All arrows Bows and repeaters
71 Coin All coins Coin Gun
75 FallenStar Fallen Star Star Cannon, Super Star Shooter
97 Bullet All bullets Guns
169 Sand All Sand Blocks Sand Gun
283 Dart All darts Blowpipe, Dart Rifle, Dart Pistol, Blowgun
353 n/a Ale Ale Tosser
771 Rocket All rockets Grenade Launcher, Rocket Launcher, Proximity Mine Launcher,
Snowman Cannon, Celebration, Electrosphere Launcher, Celebration Mk2
780 Solution All solutions Clentaminator, Terraformer
931 Flare All flares Flare Gun
949 Snowball Snowball Snowball Cannon
1261 StyngerBolt Stynger Bolt Stynger
1783 CandyCorn Candy Corn Candy Corn Rifle
1785 JackOLantern Jack 'O Lantern Jack 'O Lantern Launcher
1836 Stake Stake Stake Launcher
3108 NailFriendly Nail Nail Gun

References

  1. Information taken from the Desktop version Desktop 1.4.4.9 source code, class AmmoID in Terraria.ID.cs. There may be inaccuracies, as the current Desktop version Desktop version is 1.4.5.5.