2021-10-05 22:15:58 +00:00
|
|
|
scriptName _00E_NQ24_Playerhousing_Functions extends Quest
|
|
|
|
|
|
|
|
;=====================================================================================
|
|
|
|
; FUNCTIONS
|
|
|
|
;=====================================================================================
|
|
|
|
|
|
|
|
function FinishQuest()
|
|
|
|
|
|
|
|
Levelsystem.GiveEp(__Config_RewardEXP)
|
|
|
|
If _00E_AchievementsEnabled.GetValueInt() == 1
|
2022-08-03 21:19:58 +00:00
|
|
|
Steam.UnlockAchievement("END_HOME_01")
|
2021-10-05 22:15:58 +00:00
|
|
|
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
|