User Tools

Site Tools


api:deceased_villager_data

DECEASED_VILLAGER_DATA

Category: Data

Cloneable

Properties


FullName

Runtime only, Savegame

  • Type: string
  • Expected: string value

Title

Runtime only, Savegame

  • Type: string
  • Expected: string value

AssetVillagerStatus

Runtime only, Savegame


Quote

Runtime only, Savegame

  • Type: string
  • Expected: string value

Portrait

Runtime only, Savegame


Gender

Runtime only, Savegame

  • Type: GENDER
  • Expected: enum value
  • Default value: GENDER.MALE

Functions


getStatusName

string getStatusName()

Need to use this function to get the status name since savegames < 1.9 have a null AssetVillagerStatus

api/deceased_villager_data.txt · Last modified: 2023/09/15 09:43 (external edit)