Difference between revisions of "Manual:Zone Manual/Appendices/Skill definitions in values.h"

From DikuMUD Wiki
Jump to navigation Jump to search
(checked against the current code (wiki review 2026-11-15))
 
Line 1: Line 1:
 
==== Skill definitions in values.h ====
 
==== Skill definitions in values.h ====
−
The following list was extracted from the
+
 
−
''values.h''
+
Skills are numbered by the <code>SKI_</code> constants. A zone uses them in <code>SKILL_TRANSFER(SKI_..., amount)</code> for a magic item, and DIL uses them to test or change a character's skills. The numbers are defined in [https://github.com/Seifert69/DikuMUD3/blob/master/vme/include/values.h vme/include/values.h]; each skill's name, the guilds that teach it and its other properties are in [https://github.com/Seifert69/DikuMUD3/blob/master/vme/etc/commands.def vme/etc/commands.def] (an old <code>skills.def</code> no longer exists). The table below was made from these two files in November 2026; when in doubt, look there.
−
<nowiki>
+
 
−
#define SKI_TURN_UNDEAD       0
+
{| class="wikitable sortable"
−
#define SKI_SCROLL_USE         1
+
! Constant !! Value !! Name in commands.def !! Comment in the header
−
#define SKI_WAND_USE           2
+
|-
−
#define SKI_CONSIDER           3
+
| <code>SKI_TURN_UNDEAD</code> || 0 || turn undead ||
−
#define SKI_DIAGNOSTICS       4
+
|-
−
#define SKI_APPRAISAL         5
+
| <code>SKI_SCROLL_USE</code> || 1 || scroll use ||
−
#define SKI_VENTRILOQUATE     6
+
|-
−
#define SKI_WEATHER_WATCH     7
+
| <code>SKI_WAND_USE</code> || 2 || wand use ||
−
#define SKI_FLEE               8
+
|-
−
#define SKI_SNEAK             9
+
| <code>SKI_CONSIDER</code> || 3 || consider ||
−
#define SKI_BACKSTAB         10
+
|-
−
#define SKI_HIDE             11
+
| <code>SKI_DIAGNOSTICS</code> || 4 || diagnostics ||
−
#define SKI_FIRST_AID         12
+
|-
−
#define SKI_PICK_LOCK         13
+
| <code>SKI_APPRAISAL</code> || 5 || appraisal ||
−
#define SKI_STEAL             14
+
|-
−
#define SKI_RESCUE           15
+
| <code>SKI_VENTRILOQUATE</code> || 6 || ventriloquate ||
−
#define SKI_SEARCH           16
+
|-
−
#define SKI_LEADERSHIP       17
+
| <code>SKI_WEATHER_WATCH</code> || 7 || weather watching ||
−
#define SKI_KICK             18
+
|-
−
#define SKI_SWIMMING         19
+
| <code>SKI_FLEE</code> || 8 || fleeing ||
−
#define SKI_BASH             20
+
|-
−
#define SKI_CLIMB             21
+
| <code>SKI_SNEAK</code> || 9 || sneak ||
−
#define SKI_SHIELD           22
+
|-
−
#define SKI_TRIP             23
+
| <code>SKI_BACKSTAB</code> || 10 || backstab ||
−
#define SKI_DUAL_WIELD       24
+
|-
−
#define SKI_CUFF             25
+
| <code>SKI_HIDE</code> || 11 || hide ||
−
#define SKI_RESIZE_CLOTHES   26
+
|-
−
#define SKI_RESIZE_LEATHER   27
+
| <code>SKI_FIRST_AID</code> || 12 || first aid ||
−
#define SKI_RESIZE_METAL     28
+
|-
−
#define SKI_EVALUATE         29 /* "Fake skill to simulate combinations */
+
| <code>SKI_PICK_LOCK</code> || 13 || pick lock ||
−
#define SKI_PEEK             30
+
|-
−
#define SKI_PICK_POCKETS     31
+
| <code>SKI_STEAL</code> || 14 || stealing ||
−
#define SKI_FILCH             32
+
|-
−
#define SKI_DISARM           33
+
| <code>SKI_RESCUE</code> || 15 || rescue ||
−
#define SKI_SKIN           34
+
|-
−
#define SKI_SHELTER           35
+
| <code>SKI_SEARCH</code> || 16 || search ||
−
#define SKI_SOOTHE           36
+
|-
−
#define SKI_AMBUSH           37
+
| <code>SKI_LEADERSHIP</code> || 17 || leadership ||
−
#define SKI_CURARE           38
+
|-
−
#define SKI_FASHION           39
+
| <code>SKI_KICK</code> || 18 || kick ||
−
#define SKI_BUTCHER           40
+
|-
−
#define SKI_LAY_TRAP         41
+
| <code>SKI_SWIMMING</code> || 19 || swimming ||
−
#define SKI_SHOOT             42
+
|-
−
#define SKI_HERBS             43
+
| <code>SKI_BASH</code> || 20 || bash ||
−
#define SKI_FORAGE           44
+
|-
−
#define SKI_DOWSE             45
+
| <code>SKI_CLIMB</code> || 21 || climb ||
−
#define SKI_TRACK             46
+
|-
−
#define SKI_HUNT             47
+
| <code>SKI_SHIELD</code> || 22 || shield ||
−
#define SKI_THROW             48
+
|-
−
#define SKI_COOK             49
+
| <code>SKI_TRIP</code> || 23 || tripping ||
−
#define SKI_SCAN             50
+
|-
−
#define SKI_SLIP             51
+
| <code>SKI_DUAL_WIELD</code> || 24 || two weapon style ||
−
#define SKI_PALM             52
+
|-
−
#define SKI_PLANT             53
+
| <code>SKI_CUFF</code> || 25 || hand cuffing ||
−
#define SKI_STALK             54
+
|-
−
#define SKI_KNEE             55
+
| <code>SKI_RESIZE_CLOTHES</code> || 26 || resize clothes ||
−
#define SKI_ELBOW             56
+
|-
−
#define SKI_HIT               57
+
| <code>SKI_RESIZE_LEATHER</code> || 27 || resize leather ||
−
#define SKI_PUNCH             58
+
|-
−
#define SKI_GLANCE           59</nowiki>
+
| <code>SKI_RESIZE_METAL</code> || 28 || resize metal ||
 +
|-
 +
| <code>SKI_EVALUATE</code> || 29 || Evaluating || "Fake skill to simulate combinations
 +
|-
 +
| <code>SKI_PEEK</code> || 30 || peeking ||
 +
|-
 +
| <code>SKI_PICK_POCKETS</code> || 31 || pick pockets ||
 +
|-
 +
| <code>SKI_FILCH</code> || 32 || filching ||
 +
|-
 +
| <code>SKI_DISARM</code> || 33 || disarming ||
 +
|-
 +
| <code>SKI_SKIN</code> || 34 || skin ||
 +
|-
 +
| <code>SKI_SHELTER</code> || 35 || shelter ||
 +
|-
 +
| <code>SKI_SOOTHE</code> || 36 || soothe ||
 +
|-
 +
| <code>SKI_AMBUSH</code> || 37 || ambush ||
 +
|-
 +
| <code>SKI_CURARE</code> || 38 || curare ||
 +
|-
 +
| <code>SKI_FASHION</code> || 39 || fashion weapon ||
 +
|-
 +
| <code>SKI_BUTCHER</code> || 40 || butcher ||
 +
|-
 +
| <code>SKI_LAY_TRAP</code> || 41 || lay trap ||
 +
|-
 +
| <code>SKI_SHOOT</code> || 42 || shoot ||
 +
|-
 +
| <code>SKI_HERBS</code> || 43 || herbs ||
 +
|-
 +
| <code>SKI_FORAGE</code> || 44 || forage ||
 +
|-
 +
| <code>SKI_DOWSE</code> || 45 || dowse ||
 +
|-
 +
| <code>SKI_TRACK</code> || 46 || track ||
 +
|-
 +
| <code>SKI_HUNT</code> || 47 || hunt ||
 +
|-
 +
| <code>SKI_THROW</code> || 48 || throw ||
 +
|-
 +
| <code>SKI_COOK</code> || 49 || cook ||
 +
|-
 +
| <code>SKI_SCAN</code> || 50 || scan ||
 +
|-
 +
| <code>SKI_SLIP</code> || 51 || slip ||
 +
|-
 +
| <code>SKI_PALM</code> || 52 || palm ||
 +
|-
 +
| <code>SKI_PLANT</code> || 53 || plant ||
 +
|-
 +
| <code>SKI_STALK</code> || 54 || stalk ||
 +
|-
 +
| <code>SKI_KNEE</code> || 55 || knee ||
 +
|-
 +
| <code>SKI_ELBOW</code> || 56 || elbow ||
 +
|-
 +
| <code>SKI_HIT</code> || 57 || hit ||
 +
|-
 +
| <code>SKI_PUNCH</code> || 58 || punch ||
 +
|-
 +
| <code>SKI_GLANCE</code> || 59 || glance ||
 +
|-
 +
| <code>SKI_ARM_LEATHER</code> || 60 || armor soft leather ||
 +
|-
 +
| <code>SKI_ARM_HLEATHER</code> || 61 || armor hard leather ||
 +
|-
 +
| <code>SKI_ARM_CHAIN</code> || 62 || armor chain ||
 +
|-
 +
| <code>SKI_ARM_PLATE</code> || 63 || armor plate ||
 +
|-
 +
| <code>SKI_FRENZY</code> || 64 || frenzy ||
 +
|-
 +
| <code>SKI_BERSERK</code> || 65 || berserk ||
 +
|-
 +
| <code>SKI_RAGE</code> || 66 || rage ||
 +
|-
 +
| <code>SKI_TAUNT</code> || 67 || taunt ||
 +
|-
 +
| <code>SKI_CHARGE</code> || 68 || charge ||
 +
|-
 +
| <code>SKI_LEAP</code> || 69 || leap ||
 +
|-
 +
| <code>SKI_DEFEND</code> || 70 || defend ||
 +
|-
 +
| <code>SKI_WHIRL</code> || 71 || whirl ||
 +
|-
 +
| <code>SKI_CLEAVE</code> || 72 || cleave ||
 +
|-
 +
| <code>SKI_REND</code> || 73 || rend ||
 +
|-
 +
| <code>SKI_SLAM</code> || 74 || slam ||
 +
|}
  
 
<div style='padding-top: 30px; padding-bottom: 20px; text-align: left;float:left;width:50%;'>[[Manual:Zone_Manual/Appendices/Complete magical transfers macros listing|Previous: Complete magical transfers macros listing]]</div>
 
<div style='padding-top: 30px; padding-bottom: 20px; text-align: left;float:left;width:50%;'>[[Manual:Zone_Manual/Appendices/Complete magical transfers macros listing|Previous: Complete magical transfers macros listing]]</div>
 
<div style='padding-top: 30px; padding-bottom: 20px; text-align: right;float:right;width:50%;'>[[Manual:Zone_Manual/Appendices/Spell definitions in values.h|Next: Spell definitions in values.h]]</div>
 
<div style='padding-top: 30px; padding-bottom: 20px; text-align: right;float:right;width:50%;'>[[Manual:Zone_Manual/Appendices/Spell definitions in values.h|Next: Spell definitions in values.h]]</div>

Latest revision as of 06:24, 15 November 2026

Skill definitions in values.h

Skills are numbered by the SKI_ constants. A zone uses them in SKILL_TRANSFER(SKI_..., amount) for a magic item, and DIL uses them to test or change a character's skills. The numbers are defined in vme/include/values.h; each skill's name, the guilds that teach it and its other properties are in vme/etc/commands.def (an old skills.def no longer exists). The table below was made from these two files in November 2026; when in doubt, look there.

Constant Value Name in commands.def Comment in the header
SKI_TURN_UNDEAD 0 turn undead
SKI_SCROLL_USE 1 scroll use
SKI_WAND_USE 2 wand use
SKI_CONSIDER 3 consider
SKI_DIAGNOSTICS 4 diagnostics
SKI_APPRAISAL 5 appraisal
SKI_VENTRILOQUATE 6 ventriloquate
SKI_WEATHER_WATCH 7 weather watching
SKI_FLEE 8 fleeing
SKI_SNEAK 9 sneak
SKI_BACKSTAB 10 backstab
SKI_HIDE 11 hide
SKI_FIRST_AID 12 first aid
SKI_PICK_LOCK 13 pick lock
SKI_STEAL 14 stealing
SKI_RESCUE 15 rescue
SKI_SEARCH 16 search
SKI_LEADERSHIP 17 leadership
SKI_KICK 18 kick
SKI_SWIMMING 19 swimming
SKI_BASH 20 bash
SKI_CLIMB 21 climb
SKI_SHIELD 22 shield
SKI_TRIP 23 tripping
SKI_DUAL_WIELD 24 two weapon style
SKI_CUFF 25 hand cuffing
SKI_RESIZE_CLOTHES 26 resize clothes
SKI_RESIZE_LEATHER 27 resize leather
SKI_RESIZE_METAL 28 resize metal
SKI_EVALUATE 29 Evaluating "Fake skill to simulate combinations
SKI_PEEK 30 peeking
SKI_PICK_POCKETS 31 pick pockets
SKI_FILCH 32 filching
SKI_DISARM 33 disarming
SKI_SKIN 34 skin
SKI_SHELTER 35 shelter
SKI_SOOTHE 36 soothe
SKI_AMBUSH 37 ambush
SKI_CURARE 38 curare
SKI_FASHION 39 fashion weapon
SKI_BUTCHER 40 butcher
SKI_LAY_TRAP 41 lay trap
SKI_SHOOT 42 shoot
SKI_HERBS 43 herbs
SKI_FORAGE 44 forage
SKI_DOWSE 45 dowse
SKI_TRACK 46 track
SKI_HUNT 47 hunt
SKI_THROW 48 throw
SKI_COOK 49 cook
SKI_SCAN 50 scan
SKI_SLIP 51 slip
SKI_PALM 52 palm
SKI_PLANT 53 plant
SKI_STALK 54 stalk
SKI_KNEE 55 knee
SKI_ELBOW 56 elbow
SKI_HIT 57 hit
SKI_PUNCH 58 punch
SKI_GLANCE 59 glance
SKI_ARM_LEATHER 60 armor soft leather
SKI_ARM_HLEATHER 61 armor hard leather
SKI_ARM_CHAIN 62 armor chain
SKI_ARM_PLATE 63 armor plate
SKI_FRENZY 64 frenzy
SKI_BERSERK 65 berserk
SKI_RAGE 66 rage
SKI_TAUNT 67 taunt
SKI_CHARGE 68 charge
SKI_LEAP 69 leap
SKI_DEFEND 70 defend
SKI_WHIRL 71 whirl
SKI_CLEAVE 72 cleave
SKI_REND 73 rend
SKI_SLAM 74 slam
Previous: Complete magical transfers macros listing
Next: Spell definitions in values.h