Template talk:Item infobox

Before things get too far along or out of hand, shouldn't the community decide on what the parameters should be? --JonTheMon 21:42, 20 May 2011 (UTC)
 * I do agree that discussion is necessary. At this point however, the items that are there are based on the information provided by the developers. You can't simply "remove" items you feel are unnecessary. I have protected the template until discussion and consensus is reached, since this template is used on so many pages. -- Wynthyst [[Image:User Wynthyst sig icon.png ]] talk  21:46, 20 May 2011 (UTC)
 * Alright, I might have dived a little too fast into editing an important infobox, so my apologies, but would you care to explain why there is a "Mana Heal" category, and what its use is? There's already a "Mana Regen" category, so it can't be that. If it's supposed to be a category for how much flat mana it resores, why isn't there a "Life Heal" category? Why is there a section just called "Mana"? Why have a category specifically for "Potion"? Why is the "Power" category stat called "pick"? Is the "Shoot" category supposed to be for projectiles? Why have the "Tool", "Accessory", and "Body Slot" sections, along with the other ones I removed, when you can just specify them as "Sub-Type"s? I assume "Use Time" is supposed to be for how long something lasts, like the Light Orb, but it was a stretch for me to guess that. And on a final note, having a stat called "rare" makes me think it's asking if the item is rare, not what rarity it is.
 * Those are my thoughts on the subject anyway. Take it as you will. Spacebear 22:07, 20 May 2011 (UTC)


 * Ok, let's do this one thing at a time. I didn't set up the initial names, but I can probably figure out the intent.
 * Mana Heal - Probably a straight "how much mana does this recover"
 * Mana Regen - "How fast does the mana regen"
 * Life Regen - Yeah, I could see it also needing a "how much life" parameter as well
 * Pick - Yeah, the name is a bit ambiguous, but what else has power?
 * Shoot - Probably what the item actually shoots (like for a wand)
 * Tool and Accessory - could probably go, since we can detect that from the type
 * Body Slot - (+weapon) I can sorta see either keeping the specific categorization separate (in case you want multiple ways to categorize an item), but having a Sub-type doesn't sound too bad
 * Use Time - if a parameter is unclear, you can make the example/description better
 * Rare - rarity does sound a little better.
 * Anyhow, part of making this better is going through the process of discussion and consensus. --JonTheMon 22:31, 20 May 2011 (UTC)


 * The variables were provided by the devs in the information I used to initially build the wiki. I do agree that the infobox needs tweaking and things, but you can't simply change variable names, and add/remove stuff. This infobox is on every single item page. By changing the variable pick to power, you eliminated the values provided by the devs across the board. By changing the variable rare to rarity, you eliminated the dev provided rarity values across the board..... Your earlier edits that I didn't notice already removed the shoot speed values because you changed the variable sspeed to simply speed, but did not correct it on any of the pages where it was used. -- Wynthyst [[Image:User Wynthyst sig icon.png ]]  talk  22:38, 20 May 2011 (UTC)


 * (Shit, ninja'd while I was typing this up) Alright, I understand that I made a mistake, but that doesn't change the fact that some of the variable names are confusing at best, and that some stats would be much better off being combined into a single variable. To JonTheMon, the Hammer and the Axe both have power ratings.
 * Now, my suggestions for changes and reasonings are as follows:
 * Change "Mana Heal" to "Mana Restored", and add "Life Restored". Associated variables should be changed to "mrest" and "lrest" respectively. You can't "heal" mana.
 * Change "Mana" to "Mana Cost", with associated variable changed to "mcost". I have to assume that this was the original intent of the variable, considering there is no item that just flatly affects a players total mana, aside from the Mana Crystal, and that item only serves to increase the max once.
 * Remove "Potion", "Tool", "Accessory", and "Body Slot" variables. Replace these with an all encompassing "Sub-Type" variable. The way this would work out is that an item would have a "Type", being a "Weapon", "Equipment", "Tool", and one other type for everything else, probably "Miscellaneous". Each type would then have sub-types. Weapon sub-types could include "Sword", "Flail", "Projectile", "Explosive", "Wand", and "Spell". Equipment could include "Helmet", "Shirt", "Pants", and "Accessory". Tool could include "Axe", "Pickaxe", "Hammer", "Hamaxe", and perhaps things like the Bucket, Grappling Hook and the Magic Mirror, depending on if you classify those as tools. Miscellaneous could have sub-types like "Furniture" and "Bricks", etc.
 * Change "Shoot" to "Projectile Fired", rename variable to "pfired". Again, just assuming this was the original intention of this variable.
 * Change "Speed" to "Projectile Speed", rename variable to "pspeed". Clarification
 * Change "Rare" to "Rarity". I guess the variable can be left as is.
 * Add "Speed" variable, used to denote the swing speed of weapons and tools.
 * Change "Use Time" to.... Something, I'm not sure. It needs to be clarified that this variable is for how long an item lasts.
 * Change "pick" variable to "power". Hammers and Axes have power ratings too.
 * All that, and then have it be reordered so that the more important variables are higher up. The way I ordered it in my previous edit is how I think the ordering should go.
 * Spacebear 23:46, 20 May 2011 (UTC)
 * For "Use Time" change to duration? And what about rate of fire? Would that fall under the generic "Speed" parameter? And we might not end up needing projectile fired. I'm still not completely sold on the "Sub-type" variable. It seems a bit too catch-all, and might blow up later. Lemme think on it. As for "mrest" and "lrest", you could make them easier to figure out by having them be more spelled out ("manarestored" and "liferestored" or "mana_restored"). Short names can be good, but not if you have to sacrifice clarity. --JonTheMon 00:41, 21 May 2011 (UTC)
 * Haha, wow, how did I manage to forget about the word "Duration"? That will work perfectly. I actually much prefer having the variable names spelled out completely, I was just trying to keep it consistent. I'm not sure what you think the problems with the Sub-Type section could be. Perhaps you're worried about items like Starfury and the Hamaxes, since they fit multiple categories? You could always list an item under multiple sub-types, such as Starfury being a Sword and a Spell. -- Spacebear 00:55, 21 May 2011 (UTC)
 * Like I said, it just doesn't fully sit well for me, I'm still not sure why. Maybe someone else can bring light to it. Anyhow, do we need fields for "durability", or for armors "protection"? --JonTheMon 14:11, 21 May 2011 (UTC)
 * Somehow you and RBrandon are completely missing the "defense" stat right between "damage" and "pick. It's already there man. A "durability" stat could be handy for showing how strong each building material is, but I'm not sure how you could show that in anything other than words like "takes three hits from x". -- Spacebear 18:47, 21 May 2011 (UTC)
 * Somehow you and RBrandon are completely missing the "defense" stat right between "damage" and "pick. It's already there man. A "durability" stat could be handy for showing how strong each building material is, but I'm not sure how you could show that in anything other than words like "takes three hits from x". -- Spacebear 18:47, 21 May 2011 (UTC)


 * I have to say that I agree with Spacebear (and JonTheMon who ninja'd me). Currently the infoboxes read like a developer's config file, which I guess is exactly where they pulled the data from. We should start with the headings, which need to be made user friendly. "Potion" and "Accessory" are clearly flags used in the code. As far as the wiki is concerned they duplicate "Type" and therefore are redundant. "Shoot" needs to be clarified, I have no clue what it means, rate of fire maybe? "Mana" should be changed to something like "Mana Activation Cost". "Body Slot" is a bit of an enigma, I'm used to seeing it code to refer to head, torso, legs and footwareslots but in Terraria only body armour has a non -1 value which makes me think that in terms of the wiki it should be disregarded. "Use Time" is also irrelevant to armour or permanent effect items, so why include it? If you are loathe to take these values out completely, then maybe just make it so that the template hides them from read view, can it be done so based on "Type"? Values need some work too. The "Rarity" values don't impart much information to the new user, who will ask is a value of 1 rare or common? What are the units of "Use Time", "Knockback" or "Shoot". Oh ... and I wouldn't make templates editable by everyone either. You need to set up an editorial group to oversee that or limit it to editable by yourself based on the outcome of discussion pages. Dephelis 22:55, 20 May 2011 (UTC)


 * I agree, and as soon as we an get clarification from the developers regarding what the values represent those kinds of changes can be made. I do agree that there are some that can be currently removed from view. You guys have to understand.. I was given this information on Tuesday and told to have the wiki live by Wednesday.... I didn't have a lot of time to track down the devs to get clarification. -- Wynthyst [[Image:User Wynthyst sig icon.png ]] talk  23:03, 20 May 2011 (UTC)


 * Hey, no complaints from me here. I was impressed at how fast it came up in the first place! I think the simplest way of moving ahead is to hide what we're not sure about or that seems obvious pending confirmation. That way, if it turns out we were wrong to hide them, they can be revealed with no data lost. My first candidates would be the true/false flags like "Potion", "Tool" and "Accessory" as their purpose is clear. Dephelis 23:11, 20 May 2011 (UTC)


 * One of my complaints was going to be some of the information that is useless in some cases (damage value on non-weapon items for example) so good to hear that it's still being worked on. One thing that I still find strange, however is the absence of a defense value. This would probably be the most important piece of information for armor pieces, and there are several accessories that add to defense as well. I'm not sure if this information is lacking from the source, but even if it is the individual armor values are listed on the Armor page. --RBrandon 14:57, 21 May 2011 (UTC) Also, the item infobox would be a great place to put an item's monetary value. --RBrandon 15:16, 21 May 2011 (UTC)

(reset indent) So, after looking at some random pages, I can see a possible use for the Tool parameter: what is the ideal tool to use to break/remove/harvest a block/item. Is that a plausible use? --JonTheMon 14:17, 23 May 2011 (UTC)

New parameter(s): Dimensions/Length and Height
Placeable items have 2 dimensions: length and height. For example a furnace is 3x2: 3 tiles long, 2 tiles tall. A parameter should be added to either each one of both in the same variable. Remember that when defining sizes, the order is usually length, height and then width, but in 2D we don't have width. I recommend adding the new paramentes:
 * length =
 * height =

And show them like this in the infobox: It comes in handy when planning constructions to know the sizes. MithranArkanere 16:35, 23 May 2011 (UTC)
 * Dimensions: [length]x[height]

Price (Buy & Sell) fields
Suggestion, there should be fields for Buy and Sell price. You could consolidate this to a single field at the cost of having to calculate one or the other based on the NPC buy cut.
 * Is there any correlation between buy-sell price? Like sell is always 1/2 the buy? --JonTheMon 19:37, 25 May 2011 (UTC)
 * As far as I can tell, all items have a sell price 20% of the buy price, excepting musket balls. For example: if buy price is 5, sell price is 1. Mith - Talk 23:56, 25 May 2011 (UTC)

Item type
Rather than categorising all weapons as just "weapon" why not separate melee weapons and ranged weapons? --Demian 09:04, 26 May 2011 (UTC)


 * There should be some way to add different types, and/or nested types. Look at Bottles:
 * They are 'furniture'.
 * They are part of a 'tool' (alchemy station).
 * They are also a crafting material.
 * Same with weapons. A melee weapon is both a weapon and a melee weapon, but it cal also be a sword, or a magical item, etc. Mith - Talk 12:24, 27 May 2011 (UTC)

Consumable
Consumable doesn't appear in the actual item infobox, only adds the category. It should appear in the infobox like with 'placeable'. Mith - Talk 12:19, 27 May 2011 (UTC)