<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.azisaba.net/index.php?action=history&amp;feed=atom&amp;title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB%3AGrid%2FCrafting_Square_Numbers</id>
	<title>モジュール:Grid/Crafting Square Numbers - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.azisaba.net/index.php?action=history&amp;feed=atom&amp;title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB%3AGrid%2FCrafting_Square_Numbers"/>
	<link rel="alternate" type="text/html" href="https://wiki.azisaba.net/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Grid/Crafting_Square_Numbers&amp;action=history"/>
	<updated>2026-05-19T13:46:48Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://wiki.azisaba.net/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Grid/Crafting_Square_Numbers&amp;diff=580&amp;oldid=prev</id>
		<title>PerfectBoat: ページの作成:「local p = {}  local g = require(&quot;Module:FTBCommon&quot;) local s = require(&quot;Module:FTBSprite&quot;)  function p.makeCraftingNumbers(amount, link) 	local pos = {11, 11, 11} 	 	if amount &gt; 1 then 		if amount &gt; 99 then 			pos[1] = math.floor(amount / 100) 			amount = math.mod(amount, 100) 			pos[2] = math.floor(amount / 10) 			amount = math.mod(amount, 10) 		elseif amount &gt; 9 then 			pos[2] = math.floor(amount / 10) 			amount = math.mod(amount, 10) 		end 		pos[3] = amount 	elsei…」</title>
		<link rel="alternate" type="text/html" href="https://wiki.azisaba.net/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Grid/Crafting_Square_Numbers&amp;diff=580&amp;oldid=prev"/>
		<updated>2022-05-22T12:42:41Z</updated>

		<summary type="html">&lt;p&gt;ページの作成:「local p = {}  local g = require(&amp;quot;Module:FTBCommon&amp;quot;) local s = require(&amp;quot;Module:FTBSprite&amp;quot;)  function p.makeCraftingNumbers(amount, link) 	local pos = {11, 11, 11} 	 	if amount &amp;gt; 1 then 		if amount &amp;gt; 99 then 			pos[1] = math.floor(amount / 100) 			amount = math.mod(amount, 100) 			pos[2] = math.floor(amount / 10) 			amount = math.mod(amount, 10) 		elseif amount &amp;gt; 9 then 			pos[2] = math.floor(amount / 10) 			amount = math.mod(amount, 10) 		end 		pos[3] = amount 	elsei…」&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
local g = require(&amp;quot;Module:FTBCommon&amp;quot;)&lt;br /&gt;
local s = require(&amp;quot;Module:FTBSprite&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
function p.makeCraftingNumbers(amount, link)&lt;br /&gt;
	local pos = {11, 11, 11}&lt;br /&gt;
	&lt;br /&gt;
	if amount &amp;gt; 1 then&lt;br /&gt;
		if amount &amp;gt; 99 then&lt;br /&gt;
			pos[1] = math.floor(amount / 100)&lt;br /&gt;
			amount = math.mod(amount, 100)&lt;br /&gt;
			pos[2] = math.floor(amount / 10)&lt;br /&gt;
			amount = math.mod(amount, 10)&lt;br /&gt;
		elseif amount &amp;gt; 9 then&lt;br /&gt;
			pos[2] = math.floor(amount / 10)&lt;br /&gt;
			amount = math.mod(amount, 10)&lt;br /&gt;
		end&lt;br /&gt;
		pos[3] = amount&lt;br /&gt;
	elseif amount == 0 then&lt;br /&gt;
		pos[3] = 0&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- Value for 0 is at position 10 in the sprite sheet&lt;br /&gt;
	for idx = 1, 3, 1 do&lt;br /&gt;
		if pos[idx] == 0 then&lt;br /&gt;
			pos[idx] = 10&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local output = &amp;quot;&amp;lt;span&amp;gt;&amp;quot; .. s.makeSprite(&amp;quot;GridNumbersCSS.png&amp;quot;, pos[1] - 1, 16, 64, link) .. &amp;quot;&amp;lt;/span&amp;gt;&amp;quot;&lt;br /&gt;
	output = output .. &amp;quot;&amp;lt;span style=\&amp;quot;position:absolute; left:12px;\&amp;quot;&amp;gt;&amp;quot; .. s.makeSprite(&amp;quot;GridNumbersCSS.png&amp;quot;, pos[2] - 1, 16, 64, link) .. &amp;quot;&amp;lt;/span&amp;gt;&amp;quot;&lt;br /&gt;
	output = output .. &amp;quot;&amp;lt;span style=\&amp;quot;position:absolute; left:24px;\&amp;quot;&amp;gt;&amp;quot; .. s.makeSprite(&amp;quot;GridNumbersCSS.png&amp;quot;, pos[3] - 1, 16, 64, link) .. &amp;quot;&amp;lt;/span&amp;gt;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
	return output&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	return p.makeCraftingNumbers(tonumber(frame.args[1] or 1), frame.args[2] or '')&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>PerfectBoat</name></author>
	</entry>
</feed>