Posts: 1,469
Threads: 57
Joined: Jul 2012
Thanks: 66
Given 127 thank(s) in 108 post(s)
I was updating items.ini today for 1.9, and the item names seemed very inconsistent. We should establish a convention as to the names that we use.
I suggest:
itemname=xyz
item_name=xyz
Along with the same for any common synonyms for all items. This would require a small update to the existing file but should improve consistency for the future.
Posts: 6,485
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1074 thank(s) in 852 post(s)
The item names should match the vanilla names. Of course, any names we've introduced in the past, as well as some common aliases, should be kept for compatibility reasons, unless there's a strong reason not to.
Posts: 1,469
Threads: 57
Joined: Jul 2012
Thanks: 66
Given 127 thank(s) in 108 post(s)
According to the wiki vanilla uses names with underscores. However our crafting and furnace files use the plain names without underscores. What is the correct solution there?
Posts: 6,485
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1074 thank(s) in 852 post(s)
items.ini should list both, recipes can use either. I guess we should use the underscore-y names for future items, but I still think we should keep the old ones.
Posts: 1,469
Threads: 57
Joined: Jul 2012
Thanks: 66
Given 127 thank(s) in 108 post(s)
OK, so I will make sure that the list includes both, to make it consistent. Thank you for the advice.