This commit is contained in:
github-actions[bot]
2024-06-02 01:14:13 +00:00
parent 8aa501fb7c
commit 73d323c4ad
5 changed files with 9 additions and 9 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.9.0">Jekyll</generator><link href="/sfall/feed.xml" rel="self" type="application/atom+xml" /><link href="/sfall/" rel="alternate" type="text/html" /><updated>2024-06-01T20:14:58+00:00</updated><id>/sfall/feed.xml</id><title type="html">sfall</title><subtitle>Sfall documentation</subtitle></feed>
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.9.0">Jekyll</generator><link href="/sfall/feed.xml" rel="self" type="application/atom+xml" /><link href="/sfall/" rel="alternate" type="text/html" /><updated>2024-06-02T01:14:06+00:00</updated><id>/sfall/feed.xml</id><title type="html">sfall</title><subtitle>Sfall documentation</subtitle></feed>
+2 -2
View File
@@ -10,8 +10,8 @@
</code></pre></div></div> <p>Modifies what happens when a fake perk is selected from the perks dialog. It is treated as a set of flags - if bit 1 is set then it is added to the players traits, if bit 2 is set it is added to the players perks, and if bit 3 is set it is removed from the list of selectable perks. The default is 0x2.</p><hr /> <h3 id="remove_trait"> <a href="#remove_trait" class="anchor-heading" aria-labelledby="remove_trait"><svg viewBox="0 0 16 16" aria-hidden="true"><use xlink:href="#svg-link"></use></svg></a> <strong>remove_trait</strong> </h3> <div class="language-c++ highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kt">void</span> <span class="n">remove_trait</span><span class="p">(</span><span class="kt">int</span> <span class="n">traitID</span><span class="p">)</span>
</code></pre></div></div><hr /> <h3 id="seq_perk_freq"> <a href="#seq_perk_freq" class="anchor-heading" aria-labelledby="seq_perk_freq"><svg viewBox="0 0 16 16" aria-hidden="true"><use xlink:href="#svg-link"></use></svg></a> <strong>seq_perk_freq</strong> </h3> <div class="language-c++ highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kt">void</span> <span class="n">seq_perk_freq</span><span class="p">(</span><span class="kt">int</span> <span class="n">value</span><span class="p">)</span>
</code></pre></div></div> <p>Sets the number of levels between each perk.</p><hr /> <h3 id="set_fake_perk"> <a href="#set_fake_perk" class="anchor-heading" aria-labelledby="set_fake_perk"><svg viewBox="0 0 16 16" aria-hidden="true"><use xlink:href="#svg-link"></use></svg></a> <strong>set_fake_perk</strong> </h3> <div class="language-c++ highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kt">void</span> <span class="n">set_fake_perk</span><span class="p">(</span><span class="n">string</span> <span class="n">name</span><span class="p">,</span> <span class="kt">int</span> <span class="n">level</span><span class="p">,</span> <span class="kt">int</span> <span class="n">image</span><span class="p">,</span> <span class="n">string</span> <span class="n">desc</span><span class="p">)</span>
</code></pre></div></div> <p>Used to add additional traits and perks to the character screen. They will be saved correctly when the player saves and reloads games, but by themselves they will have no further effect on the character. For perks, the allowed range for levels is between 0 and 100; setting the level to 0 removes that perk. For traits, the level must be 0 or 1. The image is a numeric id that corresponds to an entry in <code class="language-plaintext highlighter-rouge">skilldex.lst</code>. The name is limited to 63 characters and the description to 255 characters by sfall, but internal Fallout limits may be lower.</p><hr /> <h3 id="set_fake_trait"> <a href="#set_fake_trait" class="anchor-heading" aria-labelledby="set_fake_trait"><svg viewBox="0 0 16 16" aria-hidden="true"><use xlink:href="#svg-link"></use></svg></a> <strong>set_fake_trait</strong> </h3> <div class="language-c++ highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kt">void</span> <span class="n">set_fake_trait</span><span class="p">(</span><span class="n">string</span> <span class="n">name</span><span class="p">,</span> <span class="kt">int</span> <span class="n">active</span><span class="p">,</span> <span class="kt">int</span> <span class="n">image</span><span class="p">,</span> <span class="n">string</span> <span class="n">desc</span><span class="p">)</span>
</code></pre></div></div> <p>Used to add additional traits and perks to the character screen. They will be saved correctly when the player saves and reloads games, but by themselves they will have no further effect on the character. For perks, the allowed range for levels is between 0 and 100; setting the level to 0 removes that perk. For traits, the level must be 0 or 1. The image is a numeric id that corresponds to an entry in <code class="language-plaintext highlighter-rouge">skilldex.lst</code>. The name is limited to 63 characters and the description to 255 characters by sfall, but internal Fallout limits may be lower.</p><hr /> <h3 id="set_perk_agl"> <a href="#set_perk_agl" class="anchor-heading" aria-labelledby="set_perk_agl"><svg viewBox="0 0 16 16" aria-hidden="true"><use xlink:href="#svg-link"></use></svg></a> <strong>set_perk_agl</strong> </h3> <div class="language-c++ highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kt">void</span> <span class="n">set_perk_agl</span><span class="p">(</span><span class="kt">int</span> <span class="n">perkID</span><span class="p">,</span> <span class="kt">int</span> <span class="n">value</span><span class="p">)</span>
</code></pre></div></div> <p>Used to add additional traits and perks to the character screen. They will be saved correctly when the player saves and reloads games, but by themselves they will have no further effect on the character. For perks, the allowed range for levels is between 0 and 100; setting the level to 0 removes that perk. For traits, the level must be 0 or 1. The image is a numeric ID that corresponds to an entry in <code class="language-plaintext highlighter-rouge">skilldex.lst</code>. The name is limited to 63 characters and the description to 255 characters by sfall, but internal Fallout limits may be lower.</p><hr /> <h3 id="set_fake_trait"> <a href="#set_fake_trait" class="anchor-heading" aria-labelledby="set_fake_trait"><svg viewBox="0 0 16 16" aria-hidden="true"><use xlink:href="#svg-link"></use></svg></a> <strong>set_fake_trait</strong> </h3> <div class="language-c++ highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kt">void</span> <span class="n">set_fake_trait</span><span class="p">(</span><span class="n">string</span> <span class="n">name</span><span class="p">,</span> <span class="kt">int</span> <span class="n">active</span><span class="p">,</span> <span class="kt">int</span> <span class="n">image</span><span class="p">,</span> <span class="n">string</span> <span class="n">desc</span><span class="p">)</span>
</code></pre></div></div> <p>Used to add additional traits and perks to the character screen. They will be saved correctly when the player saves and reloads games, but by themselves they will have no further effect on the character. For perks, the allowed range for levels is between 0 and 100; setting the level to 0 removes that perk. For traits, the level must be 0 or 1. The image is a numeric ID that corresponds to an entry in <code class="language-plaintext highlighter-rouge">skilldex.lst</code>. The name is limited to 63 characters and the description to 255 characters by sfall, but internal Fallout limits may be lower.</p><hr /> <h3 id="set_perk_agl"> <a href="#set_perk_agl" class="anchor-heading" aria-labelledby="set_perk_agl"><svg viewBox="0 0 16 16" aria-hidden="true"><use xlink:href="#svg-link"></use></svg></a> <strong>set_perk_agl</strong> </h3> <div class="language-c++ highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kt">void</span> <span class="n">set_perk_agl</span><span class="p">(</span><span class="kt">int</span> <span class="n">perkID</span><span class="p">,</span> <span class="kt">int</span> <span class="n">value</span><span class="p">)</span>
</code></pre></div></div><hr /> <h3 id="set_perk_chr"> <a href="#set_perk_chr" class="anchor-heading" aria-labelledby="set_perk_chr"><svg viewBox="0 0 16 16" aria-hidden="true"><use xlink:href="#svg-link"></use></svg></a> <strong>set_perk_chr</strong> </h3> <div class="language-c++ highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kt">void</span> <span class="n">set_perk_chr</span><span class="p">(</span><span class="kt">int</span> <span class="n">perkID</span><span class="p">,</span> <span class="kt">int</span> <span class="n">value</span><span class="p">)</span>
</code></pre></div></div><hr /> <h3 id="set_perk_desc"> <a href="#set_perk_desc" class="anchor-heading" aria-labelledby="set_perk_desc"><svg viewBox="0 0 16 16" aria-hidden="true"><use xlink:href="#svg-link"></use></svg></a> <strong>set_perk_desc</strong> </h3> <div class="language-c++ highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kt">void</span> <span class="n">set_perk_desc</span><span class="p">(</span><span class="kt">int</span> <span class="n">perkID</span><span class="p">,</span> <span class="n">string</span> <span class="n">value</span><span class="p">)</span>
</code></pre></div></div><hr /> <h3 id="set_perk_end"> <a href="#set_perk_end" class="anchor-heading" aria-labelledby="set_perk_end"><svg viewBox="0 0 16 16" aria-hidden="true"><use xlink:href="#svg-link"></use></svg></a> <strong>set_perk_end</strong> </h3> <div class="language-c++ highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kt">void</span> <span class="n">set_perk_end</span><span class="p">(</span><span class="kt">int</span> <span class="n">perkID</span><span class="p">,</span> <span class="kt">int</span> <span class="n">value</span><span class="p">)</span>
File diff suppressed because one or more lines are too long