Module talk:Inventory slot/Aliases

Add "Any Wool Dye"
Can "Any Dye" also support bone meal, and "Any Wool Dye" be added to suppress the usage of bone meal? Basically like what was done with wool. --KnightMiner  (t 01:53, 6 July 2014 (UTC)


 * What about "Any Colored Dye"? –Matt ᐸ Talk Contribs ⎜ 06:08, 6 July 2014 (UTC)


 * That sounds good. The main thing I was asking for is since the definition of "Any Dye" would change, requiring many articles to update. --KnightMiner  (t 14:31, 6 July 2014 (UTC)

Fences/Fence Gates
With 1.8 it is possible to make more types of Fences and Fence Gates. Would be nice to have the following aliases :)


 * ['Any Wood Fence'] = 'Oak Fence; Spruce Fence; Birch Fence; Jungle Wood Fence; Acacia Fence; Dark Oak Fence',


 * ['Any Wood Fence Gate'] = 'Oak Fence Gate;Spruce Fence Gate;Birch Fence Gate;Jungle Fence Gate;Acacia Fence Gate;Dark Oak Fence Gate',

Oozebull (talk) 19:50, 7 August 2014 (UTC)


 * . I removed the "Wood" from the names, since that was the style mostly. Basically they are all called "wood type Fence" rather than "wood type wood Fence" --KnightMiner  (t 22:24, 7 August 2014 (UTC)


 * Surely you'd expect "Any Fence" to include Nether Brick Fence? If it's just going to have the wood ones, it should be called "Any Wood Fence". (Or maybe "Any wood Fence" since it isn't part of the name?) –Majr ᐸ Talk Contribs ⎜ 03:26, 8 August 2014 (UTC)


 * Maybe. Then again, for awhile both "Any Wool" and "Any Dye" both missed one. Then again, the goal was to switch away from that. I could switch it to that rather quick, since it is only used once so far.
 * I changed fences to now state wood, just in case we ever need "any Fence" for any fence. Are there plans to do the same to the article Fence, since the in game name now varies? (might bring it up over on fence) --KnightMiner  (t 13:32, 8 August 2014 (UTC)

Doors
Now multiple types of Wood Doors exist. I guess this alias is needed =)


 * ['Any Wood Door'] = 'Wooden Door;Spruce Door;Birch Door;Jungle Door;Acacia Door;Dark Oak Door'

Oozebull (talk) 15:47, 8 August 2014 (UTC)


 * Added as "Any wood Door" --KnightMiner  (t 17:07, 8 August 2014 (UTC)

Weird bug
There was a really weird bug in this that was causing "Script error" to display wherever   was used on this wiki. It had the following debug info: Lua error in Module:Grid/Aliases at line 224: bad argument #1 to 'insert' (table expected, got nil). Backtrace: (tail call): ? [C]: in function "insert" Module:Grid/Aliases:224: in function "init" package.lua:103: ? (tail call): ? (tail call): ? mw.lua:803: in function "loadData" Module:Grid:13: in function "cell" Module:Grid:344: in function "chunk" mw.lua:567: ? (tail call): ? [C]: in function "xpcall" MWServer.lua:87: in function "handleCall" MWServer.lua:301: in function "dispatch" MWServer.lua:40: in function "execute" mw_main.lua:7: in main chunk [C]: ? I managed to fix it by adding  after all the #1 arguments for all   calls (I couldn't find out where line 224 was because of the lack of a thing to show me line numbers that I could find)...can someone track down exactly where that particular table.insert call is and fix it? I tried my hardest and couldn't. You're welcome and thank you, AwesomeMan31415926 (profile|contribs) 04:56, 14 August 2015 (UTC)


 * It wasn't broken. You were seeing a cached version of a page from where it was broken while was making edits to it. –Majr ᐸ Talk Contribs 05:05, 14 August 2015 (UTC)