</code></pre></div></div> <p>Will get the number of additional points a critter has in a skill, on top of whatever they have from their stats and other bonuses</p><hr /> <h3 id="mod_skill_points_per_level"> <a href="#mod_skill_points_per_level" class="anchor-heading" aria-labelledby="mod_skill_points_per_level"><svg viewBox="0 0 16 16" aria-hidden="true"><use xlink:href="#svg-link"></use></svg></a> <strong>mod_skill_points_per_level</strong> </h3> <div class="language-c++ highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kt">void</span> <span class="n">mod_skill_points_per_level</span><span class="p">(</span><span class="kt">int</span> <span class="n">value</span><span class="p">)</span>
</code></pre></div></div> <p>Accepts a value of between -100 and 100, and modifies the number of skill points the player recieves when they level up. This is a modification of what would otherwise happen, rather than a replacement. The value is not saved into the save game, so should be reset in the <code class="language-plaintext highlighter-rouge">game_loaded</code> section of a script.</p><hr /> <h3 id="set_available_skill_points"> <a href="#set_available_skill_points" class="anchor-heading" aria-labelledby="set_available_skill_points"><svg viewBox="0 0 16 16" aria-hidden="true"><use xlink:href="#svg-link"></use></svg></a> <strong>set_available_skill_points</strong> </h3> <div class="language-c++ highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kt">void</span> <span class="n">set_available_skill_points</span><span class="p">(</span><span class="kt">int</span> <span class="n">value</span><span class="p">)</span>
</code></pre></div></div> <p>Will set the number of additional points a critter has in a skill, on top of whatever they have from their stats and other bonuses. Note that skill points are part of the proto, so calling it on a critter will affect all critters that share the same proto.</p><hr /> <h3 id="set_skill_max"> <a href="#set_skill_max" class="anchor-heading" aria-labelledby="set_skill_max"><svg viewBox="0 0 16 16" aria-hidden="true"><use xlink:href="#svg-link"></use></svg></a> <strong>set_skill_max</strong> </h3> <div class="language-c++ highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kt">void</span> <span class="n">set_skill_max</span><span class="p">(</span><span class="kt">int</span> <span class="n">value</span><span class="p">)</span>
</code></pre></div></div> <p>Can’t be used to increase the skill cap above 300.</p> </div> </div> <div class="search-overlay"></div> </div> </body> </html>