Модуль:Entity Sprite/all: различия между версиями
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) мНет описания правки |
||
| Строка 138: | Строка 138: | ||
local joined = table.concat(states, ", ") | local joined = table.concat(states, ", ") | ||
local base = "https://github.com/space-syndicate/space-station-14/blob/master/Resources/Textures/" .. spritePath .. "/" | local base = "https://github.com/space-syndicate/space-station-14/blob/master/Resources/Textures/" .. spritePath .. "/" | ||
joined = mw.ustring.gsub(joined, "([%w_]+)", "[" .. base .. "%1.png %1]") | joined = mw.ustring.gsub(joined, "([%w_%-]+)", "[" .. base .. "%1.png %1]") | ||
stateStr = "" .. joined | stateStr = "" .. joined | ||
end | end | ||