Template:NPCSub: Difference between revisions

From Exiled Kingdoms Wiki
mNo edit summary
No edit summary
 
(12 intermediate revisions by 2 users not shown)
Line 2: Line 2:
|findItem={{#if:{{{Drops|}}}|{{#if:{{#pos:{{{Drops}}}|[[{{{Sel}}}]]}}|;[[{{{Name}}}]]}}}}
|findItem={{#if:{{{Drops|}}}|{{#if:{{#pos:{{{Drops}}}|[[{{{Sel}}}]]}}|;[[{{{Name}}}]]}}}}
|findVendItem={{#if:{{{Inventory|}}}|{{#if:{{#pos:;{{{InvI}}};|;{{{Sel}}};}}|;[[{{{Name}}}]]|{{#if:{{#pos:;{{{InvA}}};|;{{{Sel}}};}}|;[[{{{Name}}}]]|{{#if:{{#pos:;{{{InvW}}};|;{{{Sel}}};}}|;[[{{{Name}}}]]}}}}}}}}
|findVendItem={{#if:{{{Inventory|}}}|{{#if:{{#pos:;{{{InvI}}};|;{{{Sel}}};}}|;[[{{{Name}}}]]|{{#if:{{#pos:;{{{InvA}}};|;{{{Sel}}};}}|;[[{{{Name}}}]]|{{#if:{{#pos:;{{{InvW}}};|;{{{Sel}}};}}|;[[{{{Name}}}]]}}}}}}}}
|GetVendor={{#if:{{{Inventory|}}}|[[{{{Name}}}]];}}
|GetVendor={{#if:{{{Inventory|}}}|* [[{{{Name}}}]]}}
|GetQuests={{#if:{{{Quest|}}}|:
|GetQuests={{#if:{{{Quest|}}}|* [[{{{Name}}}]]}}
* [[{{{Name}}}]]}}
|GetUseless={{#if:{{{Quest|}}}||{{#if:{{{Actions|}}}||{{#if:{{{Inventory|}}}||* [[{{{Name}}}]]}}}}}}
|GetUseless={{#if:{{{Quest|}}}||{{#if:{{{Actions|}}}||{{#if:{{{Inventory|}}}||* [[{{{Name}}}]]}}}}}}
|GetActions={{#if:{{#pos:{{{Actions}}}|{{{Sel}}}}}|[[{{{Name}}}]];}}
|GetActions={{#if:{{#pos:{{{Actions}}}|{{{Sel}}}}}|[[{{{Name}}}]];}}
Line 18: Line 17:
===Quests===
===Quests===
{{columns |2|
{{columns |2|
{{TextC|{{{Quest|}}}|SList}}}}}}
{{#invoke:TextC|SList|{{{Quest|}}}}}}}}}
===Drops===
===Drops===
{{columns|2|{{TextC|{{{Drops|}}}|SList}}}}
{{columns|2|
{{#invoke:TextC|SList|{{{Drops|}}}}}}}
{{Tables|MobSub1}}
{{Tables|MobSub1}}
{{Tables|MobSub1Input|{{{LevelL|}}}|{{{LevelH|}}}|{{{Armor|}}}|{{{HP|}}}}}
{{Tables|MobSub1Input|{{{LevelL|}}}|{{{LevelH|}}}|{{{Armor|}}}|{{{HP|}}}}}
Line 27: Line 27:
{{{RawResist|}}}}}
{{{RawResist|}}}}}
{{Tables|MobSub3}}
{{Tables|MobSub3}}
{{Tables|MobSub3Input|{{{Attributes|}}}|{{{Skills|}}}}}
{{Tables|MobSub3Input|{{{Attributes|}}}|{{{Skills|}}}|{{{RawDmg|}}}}}
</td></tr>
</td></tr>
}}
}}
Line 40: Line 40:
===Quests===
===Quests===
{{columns |2|
{{columns |2|
{{TextC|{{{Quest|}}}|SList}}}}}}
{{#invoke:TextC|SList|{{{Quest|}}}}}}}}}
===Drops===
===Drops===
{{columns|2|{{TextC|{{{Drops|}}}|SList}}}}
{{columns|2|{{#invoke:TextC|SList|{{{Drops|}}}}}}}
{{Tables|MobSub1}}
{{Tables|MobSub1}}
{{Tables|MobSub1Input|{{{LevelL|}}}|{{{LevelH|}}}|{{{Armor|}}}|{{{HP|}}}}}
{{Tables|MobSub1Input|{{{LevelL|}}}|{{{LevelH|}}}|{{{Armor|}}}|{{{HP|}}}}}
Line 49: Line 49:
{{{RawResist|}}}}}
{{{RawResist|}}}}}
{{Tables|MobSub3}}
{{Tables|MobSub3}}
{{Tables|MobSub3Input|{{{Attributes|}}}|{{{Skills|}}}}}
{{Tables|MobSub3Input|{{{Attributes|}}}|{{{Skills|}}}|{{{RawDmg|}}}}}
|MobTbl={{Tables|MobTblInput|{{{Icon|}}}|{{{Name}}}|{{{LevelL|}}}|{{{LevelH|}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP|}}}|{{{Armor|}}}|{{{RawDmg|}}}|{{{Quest|}}}|{{{Drops|}}}}}
|MobTbl={{Tables|MobTblInput|{{{Icon|}}}|{{{Name}}}|{{{LevelL|}}}|{{{LevelH|}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP|}}}|{{{Armor|}}}|{{{RawDmg|}}}|{{{Quest|}}}|{{{Drops|}}}}}
|npcTbl={{Tables|NPCTblInput|{{{Image|{{{Icon}}}}}}|{{{Name|}}}|{{{Faction|}}}|{{{Location1|}}}|{{{Location2|}}}|{{{Quest|}}}|{{{Actions|}}}}}
|npcTbl={{Tables|NPCTblInput|{{{Image|{{{Icon}}}}}}|{{{Name|}}}|{{{Faction|}}}|{{{Location1|}}}|{{{Location2|}}}|{{{Quest|}}}|{{{Actions|}}}}}
|npcInv={{Inventory|{{{InvI|}}}|{{{InvA|}}}|{{{InvW|}}}|{{{Markup|1}}}}}
|npcInv={{#invoke:Inventory|getItems|{{{InvI|}}}|{{{InvA|}}}|{{{InvW|}}}|{{{Markup|}}}}}
|npcInvList={{Inventory|{{{InvI|}}}|{{{InvA|}}}|{{{InvW|}}}|{{{Markup|1}}}|Links}}
|npcInvList={{#invoke:Inventory|makeList|{{{InvI|}}}|{{{InvA|}}}|{{{InvW|}}}|{{{Markup|}}}}}
|npcSel={{{{{{Sel|}}}}}}
|npcSel={{{{{{Sel|}}}}}}
|genSel={{{{{{Sel|}}}}}}
|genSel={{{{{{Sel|}}}}}}
Line 83: Line 83:
* {{{Location5|}}}}}{{#if:{{{Quest|}}}|:
* {{{Location5|}}}}}{{#if:{{{Quest|}}}|:
=== Quests ===
=== Quests ===
{{TextC|{{{Quest|}}}|SList}}}}{{#if:{{{Actions|}}}|:
{{#invoke:TextC|SList|{{{Quest|}}}}}}}{{#if:{{{Actions|}}}|:
=== Actions ===
=== Actions ===
{{{Actions}}}{{#ifeq:{{{Transport}}}|Yes|<includeonly>
{{{Actions}}}{{#ifeq:{{{Transport}}}|Yes|<includeonly>
Line 94: Line 94:
<includeonly>[[Category:NPC:Merchants]]</includeonly>
<includeonly>[[Category:NPC:Merchants]]</includeonly>
{{Tables|AreaMerchant|{{PAGENAME}}'s Wares}}
{{Tables|AreaMerchant|{{PAGENAME}}'s Wares}}
{{Inventory|{{{InvI|}}}|{{{InvA|}}}|{{{InvW|}}}|{{{Markup|1}}}}}
{{#invoke:Inventory|getItems|{{{InvI|}}}|{{{InvA|}}}|{{{InvW|}}}|{{{Markup|}}}}}
</table>
</table>}}{{#if:{{ListofTraitChecks|NPCSel|[[{{{Name|}}}]]}}|:
}}{{#if:{{{Combatant|}}}|:
== Trait Checks ==
The following [[Trait]] checks are associated with this character. Those marked with [[File:Decisive.png|16px]] are mandatory for achieving certain outcomes or rewards which can not be accomplished otherwise.
{{Tables|TraitTbl|NPCSel}}
{{ListofTraitChecks|NPCSel|[[{{{Name|}}}]]}}
</table>}}{{#if:{{{Combatant|}}}|:
<includeonly>[[Category:Bestiary]]</includeonly>
<includeonly>[[Category:Bestiary]]</includeonly>
== Combatant Stats ==
== Combatant Stats ==
{{Tables|MobIndv|{{#if:{{{Race|}}}|1}}}}
{{Tables|MobIndv|{{#if:{{{Race|}}}|1}}}}
{{Tables|MobIndvInput|{{{Groups|}}}|{{{LevelL|}}}|{{{LevelH|}}}|{{{Armor|}}}|{{{HP|}}}|{{{Movement|}}}|{{{Race|}}}}}
{{Tables|MobIndvInput|{{{Groups|}}}|{{{LevelL|}}}|{{{LevelH|}}}|{{{Armor|}}}|{{{HP|}}}|{{{Movement|}}}|{{{Race|}}}|{{{Class|}}}}}
{{Tables|MobSub2}}
{{Tables|MobSub2}}
{{Tables|MobSub2RInput|{{{RawDmg|}}}|
{{Tables|MobSub2RInput|{{{RawDmg|}}}|
{{{RawResist|}}}}}
{{{RawResist|}}}}}
{{Tables|MobSub3}}
{{Tables|MobSub3}}
{{Tables|MobSub3Input|{{{Attributes|}}}|{{{Skills|}}}}}{{#if:{{{NameV2|}}}|:
{{Tables|MobSub3Input|{{{Attributes|}}}|{{{Skills|}}}|{{{RawDmg|}}}}}{{#if:{{{NameV2|}}}|:
=== {{{Name}}} ({{{NameV2}}}) ===
=== {{{Name}}} ({{{NameV2}}}) ===
{{Tables|MobIndv|{{#if:{{{RaceV2|}}}|1}}}}
{{Tables|MobIndv|{{#if:{{{RaceV2|}}}|1}}}}
{{Tables|MobIndvInput|{{{Groups|}}}|{{{LevelLV2|}}}|{{{LevelHV2|}}}|{{{ArmorV2|}}}|{{{HPV2|}}}|{{{MovementV2|}}}|{{{RaceV2|}}}}}
{{Tables|MobIndvInput|{{{Groups|}}}|{{{LevelLV2|}}}|{{{LevelHV2|}}}|{{{ArmorV2|}}}|{{{HPV2|}}}|{{{MovementV2|}}}|{{{RaceV2|}}}|{{{Class|}}}}}
{{Tables|MobSub2}}
{{Tables|MobSub2}}
{{Tables|MobSub2RInput|{{{RawDmgV2|}}}|
{{Tables|MobSub2RInput|{{{RawDmgV2|}}}|
{{{RawResistV2|}}}}}
{{{RawResistV2|}}}}}
{{Tables|MobSub3}}
{{Tables|MobSub3}}
{{Tables|MobSub3Input|{{{AttributesV2|}}}|{{{SkillsV2|}}}}}
{{Tables|MobSub3Input|{{{AttributesV2|}}}|{{{SkillsV2|}}}|{{{RawDmgV2|}}}}}
}}
=== Drops ===
=== Drops ===
{{TextC|{{{Drops|}}}|SList}}
{{Columns|{{TextC|{{{Drops|}}}|SListCol}}|{{TextC|{{{Drops|}}}|SList}}}}
}}}}
}}
==Notes==
==Notes==
{{#if:{{{Movement|}}}|
{{#if:{{{Movement|}}}|

Latest revision as of 20:25, 18 November 2020