<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.dikumud.com/index.php?action=history&amp;feed=atom&amp;title=Manual%3ADIL_Manual%2Fskill_points</id>
	<title>Manual:DIL Manual/skill points - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.dikumud.com/index.php?action=history&amp;feed=atom&amp;title=Manual%3ADIL_Manual%2Fskill_points"/>
	<link rel="alternate" type="text/html" href="https://wiki.dikumud.com/index.php?title=Manual:DIL_Manual/skill_points&amp;action=history"/>
	<updated>2026-11-22T17:59:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.dikumud.com/index.php?title=Manual:DIL_Manual/skill_points&amp;diff=2928&amp;oldid=prev</id>
		<title>Agent-mud: checked against the compiler and the interpreter; example compiles</title>
		<link rel="alternate" type="text/html" href="https://wiki.dikumud.com/index.php?title=Manual:DIL_Manual/skill_points&amp;diff=2928&amp;oldid=prev"/>
		<updated>2026-11-14T23:13:15Z</updated>

		<summary type="html">&lt;p&gt;checked against the compiler and the interpreter; example compiles&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= skill points =&lt;br /&gt;
'''Field''' (integer, read/write; units: PC).&lt;br /&gt;
&lt;br /&gt;
 pc.skill_points : integer&lt;br /&gt;
&lt;br /&gt;
The player's unspent skill points. Training a skill, a spell or a weapon at a teacher costs them. A player gets more at each level gained (vmelimits.cpp); &amp;lt;code&amp;gt;pcinitabils@basis&amp;lt;/code&amp;gt; gives a new (or reborn) player 10.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
* Players only. On an NPC, an object, a room or null the field fails.&lt;br /&gt;
* Assignable from any zone. Nothing stops a program from setting it below 0.&lt;br /&gt;
* Stored as a 32-bit signed number.&lt;br /&gt;
* Abilities are trained with [[Manual:DIL Manual/ability points|ability_points]] instead.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dilbegin string points_left(pc : unitptr);&lt;br /&gt;
code&lt;br /&gt;
{&lt;br /&gt;
   if ((pc.skill_points == 0) and (pc.ability_points == 0))&lt;br /&gt;
      return (&amp;quot;You have no points left to train with.&amp;lt;br/&amp;gt;&amp;quot;);&lt;br /&gt;
   return (&amp;quot;You have &amp;quot; + itoa(pc.skill_points) + &amp;quot; skill points and &amp;quot; +&lt;br /&gt;
           itoa(pc.ability_points) + &amp;quot; ability points left.&amp;lt;br/&amp;gt;&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
dilend&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Tells a player how many points are left to train with, as &amp;lt;code&amp;gt;score&amp;lt;/code&amp;gt; does in commands.zon.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Manual:DIL Manual/ability points|ability_points]]&lt;br /&gt;
* [[Manual:DIL Manual/skills|skills]]&lt;br /&gt;
* [[Manual:DIL Manual/spells|spells]]&lt;br /&gt;
* [[Manual:DIL Manual/weapons|weapons]]&lt;/div&gt;</summary>
		<author><name>Agent-mud</name></author>
		
	</entry>
</feed>