Anonymous user
Module:Inventory slot: Difference between revisions
m
no edit summary
imported>Ttv pedro270707 m (Attempt at an inventory slot module, I hate Lua) |
imported>Ttv pedro270707 mNo edit summary |
||
| Line 40: | Line 40: | ||
:cssText( table.concat( slotCss, ";" ) .. ";" .. display ) | :cssText( table.concat( slotCss, ";" ) .. ";" .. display ) | ||
:attr( "data-mctitle", name ) | :attr( "data-mctitle", name ) | ||
slot:wikitext( sprite( { data = "InvSprite", id = | slot:wikitext( sprite( { data = "InvSprite", id = item } ) ) | ||
slotContainer:node( slot ) | slotContainer:node( slot ) | ||
end | end | ||