scriptName _00E_NQ24_Playerhousing_Functions extends Quest

;=====================================================================================
;              							FUNCTIONS                  					 
;=====================================================================================

function FinishQuest()

	Levelsystem.GiveEp(__Config_RewardEXP)
	If _00E_AchievementsEnabled.GetValueInt() == 1
		Game.UnlockAchievement("END_HOME_01")
	EndIf
	
endFunction

String Function ChooseHouseName()

	Return (((Self as QUEST) as FORM) as UILIB_1).ShowTextInput("$How do you want to name your house?")

EndFunction

;=====================================================================================
;              							PROPERTIES                  					 
;=====================================================================================

Int property __Config_RewardEXP = 250 auto

_00e_questfunctions property Levelsystem auto

GlobalVariable Property _00E_AchievementsEnabled Auto