enderalse/source/scripts/_00e_nq24_playerhousing_functions.psc

30 lines
992 B
Plaintext
Raw Normal View History

scriptName _00E_NQ24_Playerhousing_Functions extends Quest
;=====================================================================================
; FUNCTIONS
;=====================================================================================
function FinishQuest()
Levelsystem.GiveEp(__Config_RewardEXP)
If _00E_AchievementsEnabled.GetValueInt() == 1
Steam.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