<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://newgrf-specs.tt-wiki.net/index.php?action=history&amp;feed=atom&amp;title=Callback%3A_Cargo_acceptance</id>
	<title>Callback: Cargo acceptance - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://newgrf-specs.tt-wiki.net/index.php?action=history&amp;feed=atom&amp;title=Callback%3A_Cargo_acceptance"/>
	<link rel="alternate" type="text/html" href="https://newgrf-specs.tt-wiki.net/index.php?title=Callback:_Cargo_acceptance&amp;action=history"/>
	<updated>2026-04-30T20:27:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://newgrf-specs.tt-wiki.net/index.php?title=Callback:_Cargo_acceptance&amp;diff=1572&amp;oldid=prev</id>
		<title>Pm-bot: Create a separate page for each callback</title>
		<link rel="alternate" type="text/html" href="https://newgrf-specs.tt-wiki.net/index.php?title=Callback:_Cargo_acceptance&amp;diff=1572&amp;oldid=prev"/>
		<updated>2011-06-16T18:57:51Z</updated>

		<summary type="html">&lt;p&gt;Create a separate page for each callback&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Cargo acceptance (1F) ==&lt;br /&gt;
&lt;br /&gt;
Called to decide what the building tile can accept. Uses 15 return bits. The returned word should have the layout of Sgmp, where the letters mean the following:&lt;br /&gt;
&lt;br /&gt;
{| |-&lt;br /&gt;
!Symbol!!Meaning&lt;br /&gt;
|-&lt;br /&gt;
|S||1 if the building should accept food/fizzy drinks instead of goods&lt;br /&gt;
|-&lt;br /&gt;
|g||If S is 1, the food acceptance in 1/8 units&lt;br /&gt;
|-&lt;br /&gt;
|||If S is 0, the goods acceptance in 1/8 units&lt;br /&gt;
|-&lt;br /&gt;
|m||mail acceptance in 1/8 units&lt;br /&gt;
|-&lt;br /&gt;
|p||passenger acceptance in 1/8 units&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
So, for example, giving the ID 8426h means &amp;quot;4/8 goods, 2/8 mail, 6/8 passenger&amp;quot;, while giving the ID 9205 means &amp;quot;2/8 food, 5/8 passenger&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If property 1E and/or [[Callbacks#Get accepted cargo types (2A/2C) |callback 2A]] is used, the meaning changes slightly. In this case, p means the acceptance of the first cargo type given, m means the same for the second cargo type, and g is the same for the third cargo type, while S must be zero.&lt;br /&gt;
[[Category:Callbacks]]&lt;/div&gt;</summary>
		<author><name>Pm-bot</name></author>
	</entry>
</feed>