1.0 compatibility
This commit is contained in:
parent
5104f86ede
commit
6193b3ee2d
33 changed files with 712 additions and 49 deletions
|
|
@ -211,6 +211,10 @@ namespace RacesOfValheim
|
|||
|
||||
public bool UseItem(Humanoid user, ItemDrop.ItemData item) => false;
|
||||
|
||||
// New in Valheim 1.0: Hoverable gained this. Every vanilla implementation returns a
|
||||
// serialised m_hoverOffset, which is 0 unless the prefab sets one, so 0 is vanilla behaviour.
|
||||
public float GetHoverOffset() => 0f;
|
||||
|
||||
public string GetHoverName() => Title;
|
||||
|
||||
public string GetHoverText()
|
||||
|
|
@ -444,6 +448,10 @@ namespace RacesOfValheim
|
|||
|
||||
public bool UseItem(Humanoid user, ItemDrop.ItemData item) => false;
|
||||
|
||||
// New in Valheim 1.0: Hoverable gained this. Every vanilla implementation returns a
|
||||
// serialised m_hoverOffset, which is 0 unless the prefab sets one, so 0 is vanilla behaviour.
|
||||
public float GetHoverOffset() => 0f;
|
||||
|
||||
public string GetHoverName() => SvermHiveMarketPiece.DisplayName;
|
||||
|
||||
public string GetHoverText()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue