2024-10-29 01:07:34 +00:00
extends QuestBase
func _init ( ) :
id = " PierresPetQuest "
func getVisibleName ( ) :
return " Becoming something lesser "
func getProgress ( ) :
var quest_status = GM . main . getModuleFlag ( " PierreModule " , " Quest_Status " )
var result = [ ]
2024-10-30 21:25:47 +00:00
result . append ( " Pierre gave you a map and a task - to get him whatever is in a place marked on the map, and look for number 84. Apparently this trust exercise requires you to wear a blindfold, wonder why... " )
2024-10-29 01:07:34 +00:00
if ( quest_status > 1 ) :
2024-10-30 21:25:47 +00:00
result . append ( " You ' ve found the hidden closet. Now just to find what Pierre asked of you... " )
if ( quest_status > 2 ) :
2024-10-31 00:36:55 +00:00
result . append ( " You ' ve got a pack of gum. Return it to Pierre. " )
if ( quest_status > 3 ) :
result . append ( " You ' ve delivered a pack of gum to Pierre. " )
2024-10-29 01:07:34 +00:00
return result
func isVisible ( ) :
return GM . main . getModuleFlag ( " PierreModule " , " Quest_Status " ) > 0
func isCompleted ( ) :
return GM . main . getModuleFlag ( " PierreModule " , " Quest_Status " ) > 10
func isMainQuest ( ) :
return false
2024-10-30 21:25:47 +00:00
# quest_status - state (number)
# 0 - no quest/haven't started
# -1 - refused Pierres quest
# 1 - accepted Pierres quest
# 2 - arrived at closet
# 3 - looted the gumball
# 4 - gave the gumball to Pierre