Template:NPC/preload: Difference between revisions

From OpenSpell Wiki
Jump to navigationJump to search
Created page with "{{Infobox NPC | name = <!-- NPC name exactly as in-game --> | image = <!-- 250px — upload via Special:Upload --> | caption = <!-- Short description under the image, e.g. "A Knight patrolling near Stonehaven" --> | description = <!-- The examine/description text from the game --> | combat_level = <!-- Leave blank if not a combat NPC --> | hitpoints = | accuracy = | strength = | defense = | m..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
| name          = <!-- NPC name exactly as in-game -->
| name          = <!-- NPC name exactly as in-game -->
| image          = <!-- [[File:NpcName.png|250px]] — upload via Special:Upload -->
| image          = <!-- [[File:NpcName.png|250px]] — upload via Special:Upload -->
| caption        = <!-- Short description under the image, e.g. "A Knight patrolling near Stonehaven" -->
| caption        = <!-- Short description under the image e.g. "A Knight patrolling near Stonehaven" -->
| description    = <!-- The examine/description text from the game -->
| description    = <!-- The examine/description text from the game -->
| combat_level  = <!-- Leave blank if not a combat NPC -->
| combat_level  = <!-- Leave blank if not a combat NPC -->
Line 18: Line 18:
}}
}}


<!--
  INTRO PARAGRAPH
  Write 1-2 sentences introducing the NPC.
  Format: '''NPC Name''' is a [level X enemy / friendly NPC] found in [[OpenSpell]].
-->
'''NPC Name''' is a level X enemy found in [[OpenSpell]].
'''NPC Name''' is a level X enemy found in [[OpenSpell]].


Line 28: Line 23:


== Locations ==
== Locations ==
<!--
  List where this NPC can be found.
  Use the Map spawn template to add the interactive map link.
  Coordinates are game-world X, Y values.
-->
{{Map spawn|label=NPC Name|cx=0|cy=0|level=1|markers=0,0,5}}
{{Map spawn|label=NPC Name|cx=0|cy=0|level=1|markers=0,0,5}}


Line 42: Line 32:


== Combat ==
== Combat ==
<!-- Only include this section if the NPC is a monster. Delete if not applicable. -->
<!-- Delete this section if the NPC is not a monster -->
'''NPC Name''' has a combat level of '''X''' with '''X''' hitpoints.


=== Drops ===
=== Drops ===
<!--
<!--
   List all drops with their rarity. Rarity colour guide:
   Use {{Drop|item name|amount|odds}} for each row.
   Always:    <span style="color:#2a7a2a;font-weight:600;">Always</span>
   Odds is a number from 0 to 1 (e.g. 0.05 = 5%), or the word "always".
  Common:    Common  (≥10%)
   The colour and label are set automatically.
  Uncommon:  <span style="color:#c07020;">Uncommon</span>  (5–10%)
  Rare:      <span style="color:#c03030;">Rare</span>  (1–5%)
   Very rare: <span style="color:#900090;font-weight:600;">Very rare</span>  (<1%)
-->
-->
{| class="wikitable sortable"
{| class="wikitable sortable"
! Item !! Amount !! Rarity !! Odds
! Item !! Amount !! Rarity !! Odds
|-
{{Drop|bones|1|always}}
| [[Item name]] || 1 || <span style="color:#2a7a2a;font-weight:600;">Always</span> ||
{{Drop|coins|10|0.25}}
|-
{{Drop|example item|1|0.05}}
| [[Item name]] || 1 || Common || X%
{{Drop|rare item|1|0.008}}
|}
|}


== Shop ==
== Shop ==
<!-- Only include this section if the NPC runs a shop. Delete if not applicable. -->
<!-- Delete this section if the NPC does not run a shop -->
'''NPC Name''' runs [[Shop Name]].
'''NPC Name''' runs [[Shop Name]].


== Pickpocket ==
== Pickpocket ==
<!-- Only include this section if the NPC is pickpocketable. Delete if not applicable. -->
<!-- Delete this section if the NPC is not pickpocketable -->
{| class="wikitable"
{| class="wikitable"
! colspan="2" | Pickpocket info
! colspan="2" | Pickpocket info
Line 85: Line 71:
{| class="wikitable sortable"
{| class="wikitable sortable"
! Item !! Amount !! Rarity !! Odds
! Item !! Amount !! Rarity !! Odds
|-
{{Drop|coins|10|always}}
| [[coins]] || X || <span style="color:#2a7a2a;font-weight:600;">Always</span> ||
{{Drop|rare item|1|0.002}}
|}
|}


== Dialogue ==
== Dialogue ==
<!-- Optional. Add any notable NPC dialogue here. Delete if not applicable. -->
<!-- Optional. Delete if not applicable. -->


== Trivia ==
== Trivia ==
<!-- Optional. Any interesting notes about this NPC. Delete if not applicable. -->
<!-- Optional. Delete if not applicable. -->


<!-- CATEGORIES — add all that apply, remove the rest -->
<!-- Keep only the categories that apply -->
[[Category:NPCs]]
[[Category:NPCs]]
[[Category:Monsters]]                 <!-- remove if not a combat NPC -->
[[Category:Monsters]]
[[Category:Level X0-X9 monsters]]     <!-- e.g. Level 40-49 monsters -->
[[Category:Level X0-X9 monsters]]
[[Category:Aggressive NPCs]]         <!-- remove if not aggressive -->
[[Category:Aggressive NPCs]]
[[Category:Pickpocketable NPCs]]     <!-- remove if not pickpocketable -->
[[Category:Pickpocketable NPCs]]
[[Category:Shopkeepers]]             <!-- remove if no shop -->
[[Category:Shopkeepers]]
[[Category:Non-combat NPCs]]         <!-- remove if IS a combat NPC -->
[[Category:Non-combat NPCs]]

Latest revision as of 10:17, 28 February 2026



General
Description '
Pickpocketable
Shop
Combat stats
Combat level
Hitpoints
Accuracy
Strength
Defense
Magic
Ranged
Speed
Aggressive
Respawn (ticks)


NPC Name is a level X enemy found in OpenSpell.

Examine text here.

Locations

[edit]
🗺️ Spawn locations Name&cx=0&cy=0&level=1&markers=0,0,5 View on interactive map →


Spawns Coordinates Map
1 (0, 0) Overworld

Combat

[edit]

Drops

[edit]
Item Amount Rarity Odds


bones 1

{{#ifeq:always|always|Always|{{#ifexpr:always>=0.25|Always|{{#ifexpr:always>=0.10|Common|{{#ifexpr:always>=0.05|Uncommon|{{#ifexpr:always>=0.01|Rare|Very rare}}}}}}}}}} || {{#ifeq:always|always|—|{{#ifexpr:always>=0.01|{{#expr:round(always*100,2)}}%|1/{{#expr:round(1/always,0)}}}}}}


coins 10

{{#ifeq:0.25|always|Always|{{#ifexpr:0.25>=0.25|Always|{{#ifexpr:0.25>=0.10|Common|{{#ifexpr:0.25>=0.05|Uncommon|{{#ifexpr:0.25>=0.01|Rare|Very rare}}}}}}}}}} || {{#ifeq:0.25|always|—|{{#ifexpr:0.25>=0.01|{{#expr:round(0.25*100,2)}}%|1/{{#expr:round(1/0.25,0)}}}}}}


example item 1

{{#ifeq:0.05|always|Always|{{#ifexpr:0.05>=0.25|Always|{{#ifexpr:0.05>=0.10|Common|{{#ifexpr:0.05>=0.05|Uncommon|{{#ifexpr:0.05>=0.01|Rare|Very rare}}}}}}}}}} || {{#ifeq:0.05|always|—|{{#ifexpr:0.05>=0.01|{{#expr:round(0.05*100,2)}}%|1/{{#expr:round(1/0.05,0)}}}}}}


rare item 1

{{#ifeq:0.008|always|Always|{{#ifexpr:0.008>=0.25|Always|{{#ifexpr:0.008>=0.10|Common|{{#ifexpr:0.008>=0.05|Uncommon|{{#ifexpr:0.008>=0.01|Rare|Very rare}}}}}}}}}} || {{#ifeq:0.008|always|—|{{#ifexpr:0.008>=0.01|{{#expr:round(0.008*100,2)}}%|1/{{#expr:round(1/0.008,0)}}}}}}

Shop

[edit]

NPC Name runs Shop Name.

Pickpocket

[edit]
Pickpocket info
XP
Requirement X crime
Success chance X% → X% (at max level)
Stun X ticks, X damage
Stun message Message here

Pickpocket loot

[edit]
Item Amount Rarity Odds


coins 10

{{#ifeq:always|always|Always|{{#ifexpr:always>=0.25|Always|{{#ifexpr:always>=0.10|Common|{{#ifexpr:always>=0.05|Uncommon|{{#ifexpr:always>=0.01|Rare|Very rare}}}}}}}}}} || {{#ifeq:always|always|—|{{#ifexpr:always>=0.01|{{#expr:round(always*100,2)}}%|1/{{#expr:round(1/always,0)}}}}}}


rare item 1

{{#ifeq:0.002|always|Always|{{#ifexpr:0.002>=0.25|Always|{{#ifexpr:0.002>=0.10|Common|{{#ifexpr:0.002>=0.05|Uncommon|{{#ifexpr:0.002>=0.01|Rare|Very rare}}}}}}}}}} || {{#ifeq:0.002|always|—|{{#ifexpr:0.002>=0.01|{{#expr:round(0.002*100,2)}}%|1/{{#expr:round(1/0.002,0)}}}}}}

Dialogue

[edit]

Trivia

[edit]