本WIKI由旅行者酒馆于2020年03月14日申请开通,内容按CC BY-NC-SA 4.0协议提供,编辑权限开放。感谢 大猫雷恩 对WIKI设计支持,期待更多能人异士加入原神WIKI。
免责声明 • 反馈留言 • 交流群:1018709157
原神WIKI五周年啦!
bugfix250107.1

全站通知:

模块:Map

来自原神WIKI_BWIKI_哔哩哔哩
跳到导航 跳到搜索

此模块的文档可以在模块:Map/doc创建

local p = {}
function p.getMarkType(frame)
	local type = mw.text.jsonDecode(mw.title.new('Data:Map/type/json'):getContent())
	for i, v in ipairs(type) do
	    if v.markTypeName == frame.args[1] then
	    	return v.markType
	    end
	end
	return ""
end	
function p.getMarkTypeNew(frame)
	local type = mw.text.jsonDecode(mw.title.new('Data:Map4/type/json'):getContent())
	for i, v in ipairs(type.data) do
	    if v.markTypeName == frame.args[1] then
	    	return v.markType
	    end
	end
	return ""
end
return p