Модуль:Entity Sprite/all: различия между версиями
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) мНет описания правки |
||
| Строка 121: | Строка 121: | ||
local stateStr = "" | local stateStr = "" | ||
if state then | if state then | ||
stateStr = "(" .. state .. ")" | stateStr = "(state: " .. state .. ")" | ||
end | end | ||
return mw.getCurrentFrame():preprocess("{{Entity Sprite/Image|" .. entry.id .. "|" .. spritePath .. stateStr .. "}}") | return mw.getCurrentFrame():preprocess("{{Entity Sprite/Image|" .. entry.id .. "|https://github.com/space-syndicate/space-station-14/blob/master/Resources/Textures/" .. spritePath .. stateStr .. "}}") | ||
end | end | ||