naphid
Terrarian
The tutorial doesn't list all the item parameters. Heres some more: (I can't guaruntee they all work as some functionalities are not in the api yet.)
*Phew that was a lot of typing
@bluemagic123 you should add these to the OP. Or not. I dunno. Either way I guess
*Phew that was a lot of typing
@bluemagic123 you should add these to the OP. Or not. I dunno. Either way I guess
item.name(string)
item.texture(string) //Path to the texture. Dunno if this works
item.code(string)//Full type name for the ModItem-extending class to be used for this item.
item.displayName(string)
item.size(int)
item.width(int)
item.height(int)
item.scale(float)//Scale multiplier used when drawing the item in the world.
item.tooltip(string)//The tooltip of the item, as seen in game.
item.useStyle(int)
item.holdStyle(int)
item.useAnimation(int)
item.useTime(int)
item.channel(bool)//Whether the item can be channeled
item.maxStack(int)
item.pick(int)//Item's Pick Power
item.axe(int)//Item's Axe Power
item.hammer(int)//Item's Hammer Power
item.tileBoost(int)//The tile placement range increase when equipped.
item.placeStyle(int)//The Placement Style to use
item.damage(int)
item.knockback(float)
item.healLife(int)//How much life is gained when consumed(must be consumable first(duh!))
item.healMana(int)//How much mana is gained when consumed(must be consumable first(duh!))
item.potion(bool)//Whether the item is a potion (triggers the Potion Sickness debuff).
item.consumable(bool)//Whether it is consumed on use
item.autoReuse(bool)//Whether the item can be continuously used by holding down.
item.useTurn(bool)//Whether the player will turn to face the mouse
item.defence(int)
item.rare(int)
item.lifeRegen(int)
item.manaIncrease(int)
item.mana(int)//How much mana used on use
item.vanity(bool)//Whether or not it is an vanity item
item.crit(int//Crit chance bonus
item.noUseGraphic(bool)//Whether or not to hide item on use
item.melee(bool)//Makes the damage type melee
item.ranged(bool)//Makes the damage type ranged
item.magic(bool)//Makes the damage type magic
item.summon(bool)//Makes the damage type summon
item.reuseDelay(int)
item.color(int)//in RGB or RGBA format
item.mech(bool)//whether or not wires are displayed when the item is equipped
item.makeNPC(int, string)//NPC spawned when used
item.value(int)//Item buy value. Sell value is 1/5th of this.
item.shoot(int, string) //Projectile type used by this weapon
item.useAmmo(int, string)//The type of the ammo used by this item.
item.ammo(int, string)//The type of the ammo used by this item.
item.accessory(bool)//Whether or not it is an accessory
item.buff(int, string)//The type of buff given by this item
item.texture(string) //Path to the texture. Dunno if this works
item.code(string)//Full type name for the ModItem-extending class to be used for this item.
item.displayName(string)
item.size(int)
item.width(int)
item.height(int)
item.scale(float)//Scale multiplier used when drawing the item in the world.
item.tooltip(string)//The tooltip of the item, as seen in game.
item.useStyle(int)
item.holdStyle(int)
item.useAnimation(int)
item.useTime(int)
item.channel(bool)//Whether the item can be channeled
item.maxStack(int)
item.pick(int)//Item's Pick Power
item.axe(int)//Item's Axe Power
item.hammer(int)//Item's Hammer Power
item.tileBoost(int)//The tile placement range increase when equipped.
item.placeStyle(int)//The Placement Style to use
item.damage(int)
item.knockback(float)
item.healLife(int)//How much life is gained when consumed(must be consumable first(duh!))
item.healMana(int)//How much mana is gained when consumed(must be consumable first(duh!))
item.potion(bool)//Whether the item is a potion (triggers the Potion Sickness debuff).
item.consumable(bool)//Whether it is consumed on use
item.autoReuse(bool)//Whether the item can be continuously used by holding down.
item.useTurn(bool)//Whether the player will turn to face the mouse
item.defence(int)
item.rare(int)
item.lifeRegen(int)
item.manaIncrease(int)
item.mana(int)//How much mana used on use
item.vanity(bool)//Whether or not it is an vanity item
item.crit(int//Crit chance bonus
item.noUseGraphic(bool)//Whether or not to hide item on use
item.melee(bool)//Makes the damage type melee
item.ranged(bool)//Makes the damage type ranged
item.magic(bool)//Makes the damage type magic
item.summon(bool)//Makes the damage type summon
item.reuseDelay(int)
item.color(int)//in RGB or RGBA format
item.mech(bool)//whether or not wires are displayed when the item is equipped
item.makeNPC(int, string)//NPC spawned when used
item.value(int)//Item buy value. Sell value is 1/5th of this.
item.shoot(int, string) //Projectile type used by this weapon
item.useAmmo(int, string)//The type of the ammo used by this item.
item.ammo(int, string)//The type of the ammo used by this item.
item.accessory(bool)//Whether or not it is an accessory
item.buff(int, string)//The type of buff given by this item