Add method returning description of DT interactable
This commit is contained in:
parent
80946a4246
commit
45345cabd8
@ -39,3 +39,7 @@ class DTSurvivalInteractable:
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
return DTSurvivalInteractable(distanceFromPlayer, classification, interactable)
|
return DTSurvivalInteractable(distanceFromPlayer, classification, interactable)
|
||||||
|
|
||||||
|
def getDescription(self):
|
||||||
|
dsc = "Classification: {}, Distance from player: {}".format(self.classification, self.distanceFromPlayer)
|
||||||
|
return dsc
|
||||||
|
Loading…
Reference in New Issue
Block a user