User:Gorgon/Sandbox/Sandbox Charlie: Difference between revisions
< User:Gorgon | Sandbox
m (After JSON validation) |
m (Testing wiki markup removal from JSON) |
||
Line 19: | Line 19: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Spell template parameter descriptions.\nNote: All parameter values (except the 'Description') should be in uppercase unless using full sentences. Try to keep any description of effects in the 'Description' parameter.", | "description": "Spell template parameter descriptions.\nNote: All parameter values (except the 'Description') should be in uppercase unless using full sentences. Try to keep any description of effects in the 'Description' parameter.", | ||
"params": { | "params": { | ||
"Name": { | "Name": { | ||
"label": "Spell Name", | "label": "Spell Name", | ||
"description": "The name of the spell.\n- It should match the page name, but without any underscores.\n- All words in the spell name use | "description": "The name of the spell.\n- It should match the page name, but without any underscores.\n- All words in the spell name use Title Case. All words are capitalized, except for minor words (typically articles, short prepositions, and some conjunctions) that are not the first or last word of the spell name.", | ||
"example": "Cone of Cold", | "example": "Cone of Cold", | ||
"type": "line", | "type": "line", | ||
Line 75: | Line 30: | ||
"School": { | "School": { | ||
"label": "School", | "label": "School", | ||
"description": "The | "description": "The Magical School to which the spell belongs.", | ||
"type": "line", | "type": "line", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
Line 92: | Line 47: | ||
"Subschool": { | "Subschool": { | ||
"label": "Sub-School", | "label": "Sub-School", | ||
"description": "The | "description": "The Sub-School to which the spell belongs.\n- Only Conjuration, Enchantment, and Illusion schools can have a sub-school.", | ||
"type": "line", | "type": "line", | ||
"default": "", | "default": "", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
"( | "(Calling)", | ||
"( | "(Creation)", | ||
"( | "(Healing)", | ||
"( | "(Summoning)", | ||
"( | "(Charm)", | ||
"( | "(Compulsion)", | ||
"( | "(Figment)", | ||
"( | "(Glamer)", | ||
"( | "(Pattern)", | ||
"( | "(Phantasm)", | ||
"( | "(Shadow)" | ||
] | ] | ||
}, | }, | ||
"Descriptors": { | "Descriptors": { | ||
"label": "Descriptors", | "label": "Descriptors", | ||
"description": " | "description": "Descriptors indicate the nature of a spell.", | ||
"type": "line", | "type": "line", | ||
"default": "", | "default": "", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
"[ | "[ Acid ]", | ||
"[ | "[ Chaotic ]", | ||
"[ | "[ Cold ]", | ||
"[ | "[ Darkness ]", | ||
"[ | "[ Death ]", | ||
"[ | "[ Disease ]", | ||
"[ | "[ Divine ]", | ||
"[ | "[ Electricity ]", | ||
"[ | "[ Evil ]", | ||
"[ | "[ Fear ]", | ||
"[ | "[ Fire ]", | ||
"[ | "[ Force ]", | ||
"[ | "[ Good ]", | ||
"[ | "[ Language-dependent ]", | ||
"[ | "[ Lawful ]", | ||
"[ | "[ Light ]", | ||
"[ | "[ Mind-affecting ]", | ||
"[ | "[ Negative ]", | ||
"[ | "[ Nature ]", | ||
"[ | "[ Paralyze ]", | ||
"[ | "[ Poison ]", | ||
"[ | "[ Positive ]", | ||
"[ | "[ Sonic ]", | ||
"[ | "[ Teleportation ]", | ||
"[ | "[ Weapon_Enchantment ]" | ||
] | ] | ||
}, | }, | ||
"Level": { | "Level": { | ||
"label": "Class/Domain Levels", | "label": "Class/Domain Levels", | ||
"description": " | "description": "Level shows abbreviations for each class that can cast this spell and at what level it is cast. It also indicates if a spell is a domain spell and at what its level is cast.\n- Standard spellcasting class abbreviations are: Brd, Clr, Drd, Pal, Rgr, Sor/Wiz.\n- Include a link to the domain entry when adding one (see the included example for Haste).", | ||
"example": "Brd 3, Sor/Wiz 3, | "example": "Brd 3, Sor/Wiz 3, Travel 5", | ||
"type": "line", | "type": "line", | ||
"required": true | "required": true | ||
Line 151: | Line 106: | ||
"Innate Level": { | "Innate Level": { | ||
"label": "Innate Level", | "label": "Innate Level", | ||
"description": " | "description": "Innate Level is the level number of the the spell when there is no reference to a particular spellcasting class. Typically, the innate level is the lowest spell level among all the classes that can cast the spell (check the 'Innate' column for the spell in spells.2da).\n- The innate level is used when a class-dependent spell level cannot be determined, such as a spell cast from an item. It is also used when countering the spell with universal counter spells.", | ||
"type": "number", | "type": "number", | ||
"required": true | "required": true | ||
Line 157: | Line 112: | ||
"Components": { | "Components": { | ||
"label": "Components", | "label": "Components", | ||
"description": " | "description": "Components indicates what the character must do to cast the spell. Spells in NWN only use V (Verbal) and/or S (Somatic) as components unless they include extra component code (see: spells.2da - 'VS').", | ||
"type": "line", | "type": "line", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
Line 168: | Line 123: | ||
"Casting Time": { | "Casting Time": { | ||
"label": "Casting Time", | "label": "Casting Time", | ||
"description": " | "description": "Casting Time in NWN is 1 Action. The actual casting time can vary by a few seconds, but you can cast 1 spell per round as an action (more actions while hasted, quickened, and so on).", | ||
"type": "line", | "type": "line", | ||
"default": "1 Action", | "default": "1 Action", | ||
Line 175: | Line 130: | ||
"Range": { | "Range": { | ||
"label": "Target Range", | "label": "Target Range", | ||
"description": " | "description": "Range is the maximum distance from the caster at which the spell can affect a target.\n- Ranges are: (P) Personal - 0m, (T) Touch - 2.25m, (S) Short - 8m, (M) Medium - 20m, (L) Long - 40m.", | ||
"type": "line", | "type": "line", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
Line 188: | Line 143: | ||
"Target": { | "Target": { | ||
"label": "Target", | "label": "Target", | ||
"description": " | "description": "Target lists what is affected and the area of effect.\n- Format begins with either 'Caster', 'Target', or 'Area', optionally followed by the area of effect size. If the target can be either an object or area location, then use both.\n- Standard AoE sizes (non-standard sizes are also used): Personal, Single, Small - 1.67m, Medium - 3.33m, Large - 5.0m, Huge - 6.67m, Gargantuan - 8.33m, Colossal - 10m.", | ||
"example": "Caster: Personal / Target: Single / Area: Medium / Target/Area: 14m Cone", | "example": "Caster: Personal / Target: Single / Area: Medium / Target/Area: 14m Cone", | ||
"type": "line", | "type": "line", | ||
Line 195: | Line 150: | ||
"Duration": { | "Duration": { | ||
"label": "Duration", | "label": "Duration", | ||
"description": " | "description": "Duration is how long the spell lasts.\n- Standard durations are: Instantaneous, Permanent, Concentration, Discharge, or a timed duration value.\n- If the duration line ends with '(D)', the character can dismiss the spell at will (e.g., Shapechange).\n- Discharge means the same as 'Permanent (D)', with it only dispelled by the caster (e.g., Shifter forms if they were spells).\n- Avlis spell durations are all measured in 'real life' seconds or minutes. 'In game' time (i.e. the 20 RL minutes per game hour server setting) has no effect on hooked spell durations. There are no 'hour per level' or 'per day' hooked spells in Avlis (all old hour durations are '4 minutes', and day durations are '96 minutes').\n- The term 'turn' no meaning in NWN, and should always be replaced with 'minute'.\n- A 'round' does have special meaning in NWN, but as far as spell durations, it is '6 seconds' ('round' may be included for completeness).\n- You may use the suggested values as a base and edit them to suit your needs. See the examples.", | ||
"example": "Instantaneous / 1 Round (6 Seconds)/2 Levels / 1 Minute/Level / 4 Minutes/Level / 96 Minutes", | "example": "Instantaneous / 1 Round (6 Seconds)/2 Levels / 1 Minute/Level / 4 Minutes/Level / 96 Minutes", | ||
"type": "line", | "type": "line", | ||
Line 212: | Line 167: | ||
"Counters": { | "Counters": { | ||
"label": "Counters", | "label": "Counters", | ||
"description": " | "description": "Counters is a list of additional counter spells. This is a required parameter. If the spell doesn't have extra counters, or you don't know them, always use the default value of '--' (do not use 'None').\n- Include a link to the spell entry when adding one (see the included example for Entangle).", | ||
"example": " | "example": "Freedom of Movement", | ||
"type": "line", | "type": "line", | ||
"default": "--", | "default": "--", | ||
Line 220: | Line 175: | ||
"Saving Throw": { | "Saving Throw": { | ||
"label": "Saving Throw", | "label": "Saving Throw", | ||
"description": " | "description": "Saving Throw lists if the spell allows a save, what type(s), and the effects.\n- Anything more than a few words should be in the main 'Description'. Get the general save info in there and they can read on if they need to.", | ||
"example": "Fortitude: Negates, Will: Half / Reflex 1/2 (Evasion Ineffective) / Will And Fortitude: Partial", | "example": "Fortitude: Negates, Will: Half / Reflex 1/2 (Evasion Ineffective) / Will And Fortitude: Partial", | ||
"type": "line", | "type": "line", | ||
Line 233: | Line 188: | ||
"Spell Resistance": { | "Spell Resistance": { | ||
"label": "Spell Resistance", | "label": "Spell Resistance", | ||
"description": " | "description": "Spell Resistance shows if spell resistance (SR) resists this spell.\n- Do not guess. If you don't know, leave it blank.", | ||
"type": "line", | "type": "line", | ||
"default": "", | "default": "", | ||
Line 243: | Line 198: | ||
"Metamagic": { | "Metamagic": { | ||
"label": "Metamagic", | "label": "Metamagic", | ||
"description": " | "description": "Metamagic that can be use with this spell.\n- This can be a bit complicated to set correctly. spells.2da 'MetaMagic' determines what a caster can do with spell metamagic feats, but the code determines what effects can happen. Metamagic rods and other sources override (ignore) spells.2da settings, but they will not do anything if the code doesn't support it.\n- Do not guess. If you don't know, and don't have access to code source to confirm it, only add what you are sure of.\n- Do not say 'None'. Leave it blank instead. There are many custom metamagic types that will almost certainly work, even if the standard ones don't.\n- Do not use custom Avlis metamagic values here (only the types in the example). None of the custom metamagic applies to specific spells, and it should be obvious if they affect certain spell types.", | ||
"example": "Extend, Empower, Maximize, Silent, Still, Quicken", | "example": "Extend, Empower, Maximize, Silent, Still, Quicken", | ||
"type": "line", | "type": "line", | ||
Line 250: | Line 205: | ||
"Energy Substitution": { | "Energy Substitution": { | ||
"label": "Energy Substitution", | "label": "Energy Substitution", | ||
"description": " | "description": "Energy Substitution shows if the spell can use energy substitution.\n- This is enabled in the spell code, and can be used with metamagic rods.\n- Do not guess. If you don't know, leave it blank.", | ||
"type": "line", | "type": "line", | ||
"default": "", | "default": "", | ||
Line 260: | Line 215: | ||
"Description": { | "Description": { | ||
"label": "Spell Description", | "label": "Spell Description", | ||
"description": "Details of what the spell does and how it works.\n- Only add details for what a spell actually does in game terms. This is about the facts.\n- | "description": "Details of what the spell does and how it works.\n- Only add details for what a spell actually does in game terms. This is about the facts.\n-WYSIWYG in game, and nothing more. Do not add imagined or flowery descriptive details.\n- Do not include details about what a spell is supposed to do, whether or not a fix/update may happen in the future. Only describe the current spell behavior. The wiki can be updated if/when changes are made.", | ||
"type": "unbalanced-wikitext", | "type": "unbalanced-wikitext", | ||
"required": true | "required": true |
Revision as of 07:35, 4 January 2024
[[Magic:{{{School}}}|{{{School}}}]] {{{Subschool}}} {{{Descriptors}}}
Level: {{{Level}}}
Innate Level: {{{Innate Level}}}
Component(s): {{{Components}}}
Casting Time: {{{Casting Time}}}
Range: {{{Range}}}
Target: {{{Target}}}
Duration: {{{Duration}}}
Counter(s): {{{Counters}}}
Saving Throw: {{{Saving Throw}}}
Spell Resistance: {{{Spell Resistance}}}
Metamagic: {{{Metamagic}}}
Energy Substitution: {{{Energy Substitution}}}
{{{Description}}}
<templatedata> {
"description": "Spell template parameter descriptions.\nNote: All parameter values (except the 'Description') should be in uppercase unless using full sentences. Try to keep any description of effects in the 'Description' parameter.", "params": { "Name": { "label": "Spell Name", "description": "The name of the spell.\n- It should match the page name, but without any underscores.\n- All words in the spell name use Title Case. All words are capitalized, except for minor words (typically articles, short prepositions, and some conjunctions) that are not the first or last word of the spell name.", "example": "Cone of Cold", "type": "line", "required": true }, "School": { "label": "School", "description": "The Magical School to which the spell belongs.", "type": "line", "suggestedvalues": [ "Abjuration", "Conjuration", "Divination", "Enchantment", "Evocation", "Illusion", "Necromancy", "Transmutation", "Universal" ], "required": true }, "Subschool": { "label": "Sub-School", "description": "The Sub-School to which the spell belongs.\n- Only Conjuration, Enchantment, and Illusion schools can have a sub-school.", "type": "line", "default": "", "suggestedvalues": [ "(Calling)", "(Creation)", "(Healing)", "(Summoning)", "(Charm)", "(Compulsion)", "(Figment)", "(Glamer)", "(Pattern)", "(Phantasm)", "(Shadow)" ] }, "Descriptors": { "label": "Descriptors", "description": "Descriptors indicate the nature of a spell.", "type": "line", "default": "", "suggestedvalues": [ "[ Acid ]", "[ Chaotic ]", "[ Cold ]", "[ Darkness ]", "[ Death ]", "[ Disease ]", "[ Divine ]", "[ Electricity ]", "[ Evil ]", "[ Fear ]", "[ Fire ]", "[ Force ]", "[ Good ]", "[ Language-dependent ]", "[ Lawful ]", "[ Light ]", "[ Mind-affecting ]", "[ Negative ]", "[ Nature ]", "[ Paralyze ]", "[ Poison ]", "[ Positive ]", "[ Sonic ]", "[ Teleportation ]", "[ Weapon_Enchantment ]" ] }, "Level": { "label": "Class/Domain Levels", "description": "Level shows abbreviations for each class that can cast this spell and at what level it is cast. It also indicates if a spell is a domain spell and at what its level is cast.\n- Standard spellcasting class abbreviations are: Brd, Clr, Drd, Pal, Rgr, Sor/Wiz.\n- Include a link to the domain entry when adding one (see the included example for Haste).", "example": "Brd 3, Sor/Wiz 3, Travel 5", "type": "line", "required": true }, "Innate Level": { "label": "Innate Level", "description": "Innate Level is the level number of the the spell when there is no reference to a particular spellcasting class. Typically, the innate level is the lowest spell level among all the classes that can cast the spell (check the 'Innate' column for the spell in spells.2da).\n- The innate level is used when a class-dependent spell level cannot be determined, such as a spell cast from an item. It is also used when countering the spell with universal counter spells.", "type": "number", "required": true }, "Components": { "label": "Components", "description": "Components indicates what the character must do to cast the spell. Spells in NWN only use V (Verbal) and/or S (Somatic) as components unless they include extra component code (see: spells.2da - 'VS').", "type": "line", "suggestedvalues": [ "V", "S", "V, S" ], "required": true }, "Casting Time": { "label": "Casting Time", "description": "Casting Time in NWN is 1 Action. The actual casting time can vary by a few seconds, but you can cast 1 spell per round as an action (more actions while hasted, quickened, and so on).", "type": "line", "default": "1 Action", "required": true }, "Range": { "label": "Target Range", "description": "Range is the maximum distance from the caster at which the spell can affect a target.\n- Ranges are: (P) Personal - 0m, (T) Touch - 2.25m, (S) Short - 8m, (M) Medium - 20m, (L) Long - 40m.", "type": "line", "suggestedvalues": [ "P", "T", "S", "M", "L" ], "required": true }, "Target": { "label": "Target", "description": "Target lists what is affected and the area of effect.\n- Format begins with either 'Caster', 'Target', or 'Area', optionally followed by the area of effect size. If the target can be either an object or area location, then use both.\n- Standard AoE sizes (non-standard sizes are also used): Personal, Single, Small - 1.67m, Medium - 3.33m, Large - 5.0m, Huge - 6.67m, Gargantuan - 8.33m, Colossal - 10m.", "example": "Caster: Personal / Target: Single / Area: Medium / Target/Area: 14m Cone", "type": "line", "required": true }, "Duration": { "label": "Duration", "description": "Duration is how long the spell lasts.\n- Standard durations are: Instantaneous, Permanent, Concentration, Discharge, or a timed duration value.\n- If the duration line ends with '(D)', the character can dismiss the spell at will (e.g., Shapechange).\n- Discharge means the same as 'Permanent (D)', with it only dispelled by the caster (e.g., Shifter forms if they were spells).\n- Avlis spell durations are all measured in 'real life' seconds or minutes. 'In game' time (i.e. the 20 RL minutes per game hour server setting) has no effect on hooked spell durations. There are no 'hour per level' or 'per day' hooked spells in Avlis (all old hour durations are '4 minutes', and day durations are '96 minutes').\n- The term 'turn' no meaning in NWN, and should always be replaced with 'minute'.\n- A 'round' does have special meaning in NWN, but as far as spell durations, it is '6 seconds' ('round' may be included for completeness).\n- You may use the suggested values as a base and edit them to suit your needs. See the examples.", "example": "Instantaneous / 1 Round (6 Seconds)/2 Levels / 1 Minute/Level / 4 Minutes/Level / 96 Minutes", "type": "line", "suggestedvalues": [ "Instantaneous", "Permanent", "Concentration", "Discharge", "1 Round (6 Seconds)/Level", "1 Minute/Level", "4 Minutes/Level", "96 Minutes" ], "required": true }, "Counters": { "label": "Counters", "description": "Counters is a list of additional counter spells. This is a required parameter. If the spell doesn't have extra counters, or you don't know them, always use the default value of '--' (do not use 'None').\n- Include a link to the spell entry when adding one (see the included example for Entangle).", "example": "Freedom of Movement", "type": "line", "default": "--", "required": true }, "Saving Throw": { "label": "Saving Throw", "description": "Saving Throw lists if the spell allows a save, what type(s), and the effects.\n- Anything more than a few words should be in the main 'Description'. Get the general save info in there and they can read on if they need to.", "example": "Fortitude: Negates, Will: Half / Reflex 1/2 (Evasion Ineffective) / Will And Fortitude: Partial", "type": "line", "suggestedvalues": [ "None", "Fortitude", "Reflex", "Will" ], "required": true }, "Spell Resistance": { "label": "Spell Resistance", "description": "Spell Resistance shows if spell resistance (SR) resists this spell.\n- Do not guess. If you don't know, leave it blank.", "type": "line", "default": "", "suggestedvalues": [ "No", "Yes" ] }, "Metamagic": { "label": "Metamagic", "description": "Metamagic that can be use with this spell.\n- This can be a bit complicated to set correctly. spells.2da 'MetaMagic' determines what a caster can do with spell metamagic feats, but the code determines what effects can happen. Metamagic rods and other sources override (ignore) spells.2da settings, but they will not do anything if the code doesn't support it.\n- Do not guess. If you don't know, and don't have access to code source to confirm it, only add what you are sure of.\n- Do not say 'None'. Leave it blank instead. There are many custom metamagic types that will almost certainly work, even if the standard ones don't.\n- Do not use custom Avlis metamagic values here (only the types in the example). None of the custom metamagic applies to specific spells, and it should be obvious if they affect certain spell types.", "example": "Extend, Empower, Maximize, Silent, Still, Quicken", "type": "line", "default": "" }, "Energy Substitution": { "label": "Energy Substitution", "description": "Energy Substitution shows if the spell can use energy substitution.\n- This is enabled in the spell code, and can be used with metamagic rods.\n- Do not guess. If you don't know, leave it blank.", "type": "line", "default": "", "suggestedvalues": [ "No", "Yes" ] }, "Description": { "label": "Spell Description", "description": "Details of what the spell does and how it works.\n- Only add details for what a spell actually does in game terms. This is about the facts.\n-WYSIWYG in game, and nothing more. Do not add imagined or flowery descriptive details.\n- Do not include details about what a spell is supposed to do, whether or not a fix/update may happen in the future. Only describe the current spell behavior. The wiki can be updated if/when changes are made.", "type": "unbalanced-wikitext", "required": true } }, "paramOrder": [ "Name", "School", "Subschool", "Descriptors", "Level", "Innate Level", "Components", "Casting Time", "Range", "Target", "Duration", "Counters", "Saving Throw", "Spell Resistance", "Metamagic", "Energy Substitution", "Description" ], "format": "block"
} </templatedata>