<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to detect TOMBSTONES with minerals]]></title><description><![CDATA[<p>I have tried to make a code that looks for TOMBSTONES not have energy but have minerals.
I haven't found a way.
For dropped sources yes:</p>
<p>Game.spawns[&quot;Spawn1&quot;].room.find(FIND_DROPPED_RESOURCES, {filter: (x) =&gt; {return (x.resourceType != RESOURCE_ENERGY)}})</p>
<p>But for TOMBSTONES non.</p>
<p>If someone could help me to find TOMBSTONES with minerals I would greatly appreciate it.</p>
]]></description><link>http://screeps.com/forum/topic/3268/how-to-detect-tombstones-with-minerals</link><generator>RSS for Node</generator><lastBuildDate>Thu, 21 May 2026 16:56:25 GMT</lastBuildDate><atom:link href="http://screeps.com/forum/topic/3268.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 13 Dec 2022 16:54:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to detect TOMBSTONES with minerals on Tue, 13 Dec 2022 18:48:22 GMT]]></title><description><![CDATA[<p>I have tried to make a code that looks for TOMBSTONES not have energy but have minerals.
I haven't found a way.
For dropped sources yes:</p>
<p>Game.spawns[&quot;Spawn1&quot;].room.find(FIND_DROPPED_RESOURCES, {filter: (x) =&gt; {return (x.resourceType != RESOURCE_ENERGY)}})</p>
<p>But for TOMBSTONES non.</p>
<p>If someone could help me to find TOMBSTONES with minerals I would greatly appreciate it.</p>
]]></description><link>http://screeps.com/forum/post/16690</link><guid isPermaLink="true">http://screeps.com/forum/post/16690</guid><dc:creator><![CDATA[peta]]></dc:creator><pubDate>Tue, 13 Dec 2022 18:48:22 GMT</pubDate></item><item><title><![CDATA[Reply to How to detect TOMBSTONES with minerals on Invalid Date]]></title><description><![CDATA[<p>You may want to join the discord server <a href="https://discord.gg/screeps" rel="nofollow">https://discord.gg/screeps</a> and ask for help in the #world-help channel. There people can provide in-depth help easily <img
      src="http://screeps.com/forum/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=a1k070tfs06"
      class="not-responsive emoji emoji-android emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>Anyways to give you a brief answer, you'll want to use FIND_TOMBSTONES instead of FIND_DROPPED_RESOURCES. Then filter tombstones with store.* values matching what resources you want. <a href="https://docs.screeps.com/api/#Room.find" rel="nofollow">https://docs.screeps.com/api/#Room.find</a></p>
]]></description><link>http://screeps.com/forum/post/16691</link><guid isPermaLink="true">http://screeps.com/forum/post/16691</guid><dc:creator><![CDATA[MarvinTMB]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>