Template:Item
From The EQMac Wiki
This is the template for items. The code is kind of confusing, so if you need to update this make sure that you test it in the sandbox first. Note that since there are a ton of items on the wiki, any item template modification will not take effect all at once. Rather, over time the wiki will get around to updating all of the various item pages. (You can refresh a specific item page manually by using the "refresh" button up top.)
To have the item template automatically display the picture for the item, the file name must be uploaded as the same name as the item with the extension of .png.
Note that the item template automatically enters in everything for spell/song scrolls; all you have to do is assign "Name", "Price", "MerchantSellPrice", and "Diety" (if the spell has a diety restriction).
Example Item
This is an attempt to create an example item with all possible template inputs on it for testing purposes.
| Example Item Container: CLOSED. This is a miraculous meal! This is a miraculous drink! MAGIC ITEM LORE ITEM NO DROP NO RENT Charges: 99 Slot: EAR NECK FACE HEAD FINGERS WRIST ARMS HANDS SHOULDERS CHEST Skill: 1H Blunt Atk Delay: 15 DMG: 10 Dmg Bonus: 2 AC: 10 Magic DMG: 2 Cold DMG: 2 Fire DMG: 2 Disease DMG: 2 Poison DMG: 2 Bane DMG: Vampyre +10 Skill Mod: Backstab +12% STR: +15 STA: +15 AGI: +15 DEX: +15 CHA: +15 HP: +200 MANA: +200 SV POISON: +15 SV MAGIC: +15 SV DISEASE: +15 SV FIRE: +15 SV COLD: +15 Recommended level of 65. Recommended skill of 200 Defense. Required level of 60. Effect: Blessing of Vah Kerrath (Worn) Focus Effect: Spell Haste IV WT: 0.1 Range: 500 Size: TINY Weight Reduction: 100% Capacity: 10 Size Capacity: GIANT Class: ALL Race: ALL Deity: Bertoxxulous Brell Serilis Bristlebane Cazic-Thule Erollisi Marr Innoruuk Karana Haste Percentage: 200% Health Regeneration (from Blessing of Vah Kerrath): 8 per tick Mana Regeneration (from Blessing of Vah Kerrath): 8 per tick Attack (from Blessing of Vah Kerrath): 20 Item Lore: This item doesn't exist, unfortunately. Price to NPC merchants: Price from NPC merchants: Weapon ratio: 0.67 | ||
This is an example spell scroll, which will automatically have all the appropriate values filled in.
| Spell: Example Spell Scroll MAGIC ITEM Charges: 1 Level Needed: ??? Skill: ??? Mana Cost: ??? WT: 0.1 Size: SMALL Class: ??? Race: ALL Price to NPC merchants: Price from NPC merchants: Contains spell: Example Spell Scroll | ||
Template Values
- Name (this is the in-game name of the item; note that this can sometimes be different than the page name, like in Part of Tasarin's Grimoire Pg. 23 (left))
- Food (possible values are Snack, Meal, Hearty, Banquet, Feast, or Miraculous; alternatively, you can use the full in-game descriptions on the food and drink page)
- Drink (possible values are Whistle, Drink, Refreshing, Flowing, Enduring, or Miraculous; alternatively, you can use the full in-game descriptions on the food and drink page)
- MagicItem (set to 1 if magic)
- LoreItem (set to 1 if lore)
- QuestItem (set to 1 if quest)
- NoDrop (set to 1 if no drop)
- NoRent (set to 1 if no rent)
- Charges
- Slot (possible values are "EAR", "FINGERS WRIST", "WRIST LEGS CHEST FACE NECK", etc.)
- Skill (the skill for a weapon or spell; possible values are "Piercing", "1H Blunt", "Abjuration", "Conjuration", etc.)
- AtkDelay
- DMG
- DMGBonus
- MagicDMG
- ColdDMG
- FireDMG
- DiseaseDMG
- PoisonDMG
- BaneDMG (possible values are "Vampyre +10", etc.)
- AC
- SkillMod (possible values are "Backstab +12%", etc.)
- STR
- STA
- AGI
- DEX
- WIS
- INT
- CHA
- HP
- MANA
- SVP
- SVM
- SVD
- SVF
- SVC
- RecommendedLevel
- RecommendedSkill (possible values are "30 Defense", etc.)
- RequiredLevel
- Effect (possible values are Haste, "Flame of the Efreeti", etc.)
- EffectWorn (set to 1 if it is a worn effect)
- EffectCombat (set to 1 if it is a combat effect)
- EffectMustEquip (set to 1 if you must equip the item to cast the effect)
- EffectCastingTime (set to the casting time of the effect or 0 if instant)
- FocusEffect (values should be "Spell Haste II", etc.)
- WT
- Range (for throwing items)
- WeightReduction (container property; possible values are 10, 20, etc.)
- Capacity (container property)
- Size (possible values are TINY, SMALL, MEDIUM, LARGE, and GIANT)
- SizeCapacity (container property; possible values are TINY, SMALL, MEDIUM, LARGE, and GIANT)
- Class (possible values are "WAR", "WAR CLR ROG", "ALL", etc.)
- Race (possible values are "HIE", "HEF ELF HIE", "ALL", etc.)
- Deity (possible values are Karana "Solusek Ro", etc.)
- Haste%
- Lore (the text that appears when you cast the spell Identify)
- Price (the amount an NPC merchant will pay for the item, in copper pieces)
- MerchantSellPrice (the amount an NPC merchant will sell the item to you for, in copper pieces)
