</code></pre></div></div> <p>Returns 1 if the lock (container or scenery) is currently jammed, 0 otherwise.</p><hr /> <h3 class="d-inline-block" id="set_unjam_locks_time"> <a href="#set_unjam_locks_time" class="anchor-heading" aria-labelledby="set_unjam_locks_time"><svg viewBox="0 0 16 16" aria-hidden="true"><use xlink:href="#svg-link"></use></svg></a> <strong>set_unjam_locks_time</strong> </h3> <p class="label label-green">sfall.h</p> <div class="language-c++ highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kt">void</span> <span class="n">set_unjam_locks_time</span><span class="p">(</span><span class="kt">int</span> <span class="n">time</span><span class="p">)</span>
</code></pre></div></div> <p>Sets after how many hours (up to 127 hours) jammed locks will be unjammed if the player leaves the map. Also disables the auto unjam that occurs at midnight when the player is on the map. Passing 0 will disable the auto unjam mechanism completely. The auto unjam mechanism will be reset each time the player reloads the game.</p><hr /> <h3 class="d-inline-block" id="unjam_lock"> <a href="#unjam_lock" class="anchor-heading" aria-labelledby="unjam_lock"><svg viewBox="0 0 16 16" aria-hidden="true"><use xlink:href="#svg-link"></use></svg></a> <strong>unjam_lock</strong> </h3> <p class="label label-green">sfall.h</p> <div class="language-c++ highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kt">void</span> <span class="n">unjam_lock</span><span class="p">(</span><span class="n">ObjectPtr</span> <span class="n">obj</span><span class="p">)</span>
</code></pre></div></div> <p>Unjams a lock immediately without having to wait until the next day, or leave the map and then return after 24 hours. <strong>Does not work</strong> in <code class="language-plaintext highlighter-rouge">use_skill_on_p_proc</code> procedure.</p> </main> </div> </div> <div class="search-overlay"></div> </div> </body> </html>