<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans">
	<id>https://wum.hetonger.cn/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3A%E7%89%A9%E5%93%81%E6%9F%A5%E8%AF%A2</id>
	<title>模块:物品查询 - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wum.hetonger.cn/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3A%E7%89%A9%E5%93%81%E6%9F%A5%E8%AF%A2"/>
	<link rel="alternate" type="text/html" href="https://wum.hetonger.cn/index.php?title=%E6%A8%A1%E5%9D%97:%E7%89%A9%E5%93%81%E6%9F%A5%E8%AF%A2&amp;action=history"/>
	<updated>2026-11-27T20:29:11Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wum.hetonger.cn/index.php?title=%E6%A8%A1%E5%9D%97:%E7%89%A9%E5%93%81%E6%9F%A5%E8%AF%A2&amp;diff=787&amp;oldid=prev</id>
		<title>NotBot：​上线 drop.json 正式物品、种子与旅行数据；条件转备注，零材料标注需持有</title>
		<link rel="alternate" type="text/html" href="https://wum.hetonger.cn/index.php?title=%E6%A8%A1%E5%9D%97:%E7%89%A9%E5%93%81%E6%9F%A5%E8%AF%A2&amp;diff=787&amp;oldid=prev"/>
		<updated>2026-10-24T05:09:38Z</updated>

		<summary type="html">&lt;p&gt;上线 drop.json 正式物品、种子与旅行数据；条件转备注，零材料标注需持有&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hans&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2026年10月24日 (六) 13:09的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l32&quot;&gt;第32行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第32行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     if kind ~= &amp;#039;配方&amp;#039; then return &amp;#039;&amp;#039; end&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     if kind ~= &amp;#039;配方&amp;#039; then return &amp;#039;&amp;#039; end&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     local body = C.literal(recipe.name) .. (recipe.quantity == 1 and &amp;#039;&amp;#039; or (&amp;#039;x&amp;#039; .. recipe.quantity)) .. &amp;#039;&amp;amp;#61;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     local body = C.literal(recipe.name) .. (recipe.quantity == 1 and &amp;#039;&amp;#039; or (&amp;#039;x&amp;#039; .. recipe.quantity)) .. &amp;#039;&amp;amp;#61;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     for _, material in ipairs(recipe.materials) do body = body .. &#039;&amp;lt;br&amp;gt;&#039; .. C.link(material.name) .. &#039;x&#039; .. material.quantity end&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     for _, material in ipairs(recipe.materials) do&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;        &lt;/ins&gt;body = body .. &#039;&amp;lt;br&amp;gt;&#039; .. C.link(material.name) .. &#039;x&#039; .. material.quantity &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;..&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;            (material.quantity == 0 and &#039;（需持有）&#039; or &#039;&#039;)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    &lt;/ins&gt;end&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     return body&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     return body&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;end&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;end&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wum_wiki_new:diff:1.41:old-772:rev-787:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>NotBot</name></author>
	</entry>
	<entry>
		<id>https://wum.hetonger.cn/index.php?title=%E6%A8%A1%E5%9D%97:%E7%89%A9%E5%93%81%E6%9F%A5%E8%AF%A2&amp;diff=772&amp;oldid=prev</id>
		<title>NotBot：​将超市可购买信息独立存储于模板空间，保留物品来源查询；机制页不修改</title>
		<link rel="alternate" type="text/html" href="https://wum.hetonger.cn/index.php?title=%E6%A8%A1%E5%9D%97:%E7%89%A9%E5%93%81%E6%9F%A5%E8%AF%A2&amp;diff=772&amp;oldid=prev"/>
		<updated>2026-10-24T04:29:39Z</updated>

		<summary type="html">&lt;p&gt;将超市可购买信息独立存储于模板空间，保留物品来源查询；机制页不修改&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hans&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2026年10月24日 (六) 12:29的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot;&gt;第2行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第2行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local D = require(&amp;#039;模块:物品数据&amp;#039;)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local D = require(&amp;#039;模块:物品数据&amp;#039;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local p = {}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local p = {}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;function p.shop(frame)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    local c = C.context(frame)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    local result = D.getShop(c.option(&#039;name&#039;, c.option(1, c.name)))&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    if result.status == &#039;error&#039; then return C.diagnostic(result) end&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    return result.status == &#039;known&#039; and C.literal(result.availability) or &#039;&#039;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;end&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;function p.info(frame)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;function p.info(frame)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     local c = C.context(frame)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     local c = C.context(frame)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wum_wiki_new:diff:1.41:old-717:rev-772:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>NotBot</name></author>
	</entry>
	<entry>
		<id>https://wum.hetonger.cn/index.php?title=%E6%A8%A1%E5%9D%97:%E7%89%A9%E5%93%81%E6%9F%A5%E8%AF%A2&amp;diff=717&amp;oldid=prev</id>
		<title>NotBot：​建立模块化物品展示及用户提供的测试数据（不迁移旧掉落）</title>
		<link rel="alternate" type="text/html" href="https://wum.hetonger.cn/index.php?title=%E6%A8%A1%E5%9D%97:%E7%89%A9%E5%93%81%E6%9F%A5%E8%AF%A2&amp;diff=717&amp;oldid=prev"/>
		<updated>2026-10-24T04:01:08Z</updated>

		<summary type="html">&lt;p&gt;建立模块化物品展示及用户提供的测试数据（不迁移旧掉落）&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local C = require(&amp;#039;模块:物品通用&amp;#039;)&lt;br /&gt;
local D = require(&amp;#039;模块:物品数据&amp;#039;)&lt;br /&gt;
local p = {}&lt;br /&gt;
function p.info(frame)&lt;br /&gt;
    local c = C.context(frame)&lt;br /&gt;
    local name = c.option(&amp;#039;name&amp;#039;, c.option(1, c.name))&lt;br /&gt;
    local level = c.option(&amp;#039;num&amp;#039;, c.option(2, &amp;#039;&amp;#039;))&lt;br /&gt;
    if not tonumber(level) then return &amp;#039;&amp;#039; end&lt;br /&gt;
    local result = D.getCollection(name, level)&lt;br /&gt;
    if result.status == &amp;#039;error&amp;#039; then return C.diagnostic(result) end&lt;br /&gt;
    for _, entry in ipairs(result.entries or {}) do&lt;br /&gt;
        if entry.status == &amp;#039;none&amp;#039; then return &amp;#039;无&amp;#039; end&lt;br /&gt;
        if entry.status == &amp;#039;known&amp;#039; then return C.literal(entry.text) end&lt;br /&gt;
    end&lt;br /&gt;
    return &amp;#039;&amp;#039;&lt;br /&gt;
end&lt;br /&gt;
function p.recipe(frame)&lt;br /&gt;
    local c = C.context(frame)&lt;br /&gt;
    local result = D.getRecipes(c.option(&amp;#039;name&amp;#039;, c.option(1, c.name)))&lt;br /&gt;
    if result.status == &amp;#039;error&amp;#039; then return C.diagnostic(result) end&lt;br /&gt;
    if result.status ~= &amp;#039;known&amp;#039; then return &amp;#039;&amp;#039; end&lt;br /&gt;
    local recipe = result.recipes[1]&lt;br /&gt;
    local kind = c.option(&amp;#039;type&amp;#039;, c.option(2, &amp;#039;配方&amp;#039;))&lt;br /&gt;
    if kind == &amp;#039;等级&amp;#039; then return recipe.level ~= nil and tostring(recipe.level) or &amp;#039;&amp;#039; end&lt;br /&gt;
    if kind == &amp;#039;信息&amp;#039; then return C.literal(recipe.info or &amp;#039;&amp;#039;) end&lt;br /&gt;
    if kind ~= &amp;#039;配方&amp;#039; then return &amp;#039;&amp;#039; end&lt;br /&gt;
    local body = C.literal(recipe.name) .. (recipe.quantity == 1 and &amp;#039;&amp;#039; or (&amp;#039;x&amp;#039; .. recipe.quantity)) .. &amp;#039;&amp;amp;#61;&amp;#039;&lt;br /&gt;
    for _, material in ipairs(recipe.materials) do body = body .. &amp;#039;&amp;lt;br&amp;gt;&amp;#039; .. C.link(material.name) .. &amp;#039;x&amp;#039; .. material.quantity end&lt;br /&gt;
    return body&lt;br /&gt;
end&lt;br /&gt;
function p.upper(frame)&lt;br /&gt;
    local c = C.context(frame)&lt;br /&gt;
    local result = D.getUses(c.option(&amp;#039;name&amp;#039;, c.option(1, c.name)))&lt;br /&gt;
    if result.status == &amp;#039;error&amp;#039; then return C.diagnostic(result) end&lt;br /&gt;
    if result.status ~= &amp;#039;known&amp;#039; then return &amp;#039;&amp;#039; end&lt;br /&gt;
    local links = {}&lt;br /&gt;
    for _, name in ipairs(result.products) do links[#links + 1] = C.link(name) end&lt;br /&gt;
    return table.concat(links, &amp;#039;、&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>NotBot</name></author>
	</entry>
</feed>