</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"><ahref="#set_unjam_locks_time"class="anchor-heading"aria-labelledby="set_unjam_locks_time"><svgviewBox="0 0 16 16"aria-hidden="true"><usexlink:href="#svg-link"></use></svg></a><strong>set_unjam_locks_time</strong></h3><pclass="label label-green">sfall.h</p><divclass="language-c++ highlighter-rouge"><divclass="highlight"><preclass="highlight"><code><spanclass="kt">void</span><spanclass="n">set_unjam_locks_time</span><spanclass="p">(</span><spanclass="kt">int</span><spanclass="n">time</span><spanclass="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/><h3class="d-inline-block"id="unjam_lock"><ahref="#unjam_lock"class="anchor-heading"aria-labelledby="unjam_lock"><svgviewBox="0 0 16 16"aria-hidden="true"><usexlink:href="#svg-link"></use></svg></a><strong>unjam_lock</strong></h3><pclass="label label-green">sfall.h</p><divclass="language-c++ highlighter-rouge"><divclass="highlight"><preclass="highlight"><code><spanclass="kt">void</span><spanclass="n">unjam_lock</span><spanclass="p">(</span><spanclass="n">ObjectPtr</span><spanclass="n">obj</span><spanclass="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 <codeclass="language-plaintext highlighter-rouge">use_skill_on_p_proc</code> procedure.</p></main></div></div><divclass="search-overlay"></div></div></body></html>