Ad placeholder

King's Knife: Difference between revisions

Jump to navigation Jump to search
More accurate details.
(Undo revision 241868 by Caiwyn (talk) and add more accurate details.)
(More accurate details.)
Line 4: Line 4:
| controller icon = Kings Knife Unfaded.png
| controller icon = Kings Knife Unfaded.png
| icon = Kings Knife Unfaded Icon.png
| icon = Kings Knife Unfaded Icon.png
| uid = WPN_KingsKnife
| uid = WPN_Duergar_Sword_KingsKnife
| uuid = 5908898d-5d9e-40de-ab07-3f8fb5f0174c
| uuid = 5908898d-5d9e-40de-ab07-3f8fb5f0174c
| description = '''King's Knife''' is a [[Duergar]] variant of the common [[Longsword]]. It is identical to a [[Longsword]] in all but appearance.
| description = '''King's Knife''' is a [[Duergar]] variant of the common [[Longsword]]. It is identical to a [[Longsword]] in all but appearance.
Line 37: Line 37:
| where to find y = 411
| where to find y = 411
| bugs =
| bugs =
In the game files, the ''root template'' of this sword (corresponding to the UUID, <code>5908898d-5d9e-40de-ab07-3f8fb5f0174c</code>) actually describes a shortsword, which is also used as the basis for the [[Knife of the Undermountain King]].
In the game files, the ''root template'' of this sword (UUID <code>5908898d-5d9e-40de-ab07-3f8fb5f0174c</code>) actually describes a shortsword, which is also used as the basis for the [[Knife of the Undermountain King]].


In fact, the magical properties of the [[Knife of the Undermountain King]] are also added to this King's Knife root template (via the <code><nowiki><Stats></nowiki></code> tag), meaning that this item should have those properties as well.
In fact, the magical properties of the [[Knife of the Undermountain King]] are also added to this root template (via the <code><nowiki><Stats></nowiki></code> tag), meaning that this item should have those properties as well, and will do so if spawned via the console.


However, the actual weapon entry for the King's Knife (corresponding to the UID, <code>WPN_KingsKnife</code>) also inherits properties from the regular longsword weapon entry (UID <code>WPN_Longsword</code>), which ends up making this item functionally identical to a common longsword instead.
However, the weapon that's actually spawned in-game is not directly based on the ''root template'', but rather on a ''stat entry'' called <code>WPN_KingsKnife</code> which in turn inherits properties from the <code>WPN_Longsword</code> stat entry. This ends up making this item functionally identical to a common longsword.
}}
}}
[[Category:Sources of Slashing damage]]
[[Category:Sources of Slashing damage]]

Navigation menu