Code: Select all
function housetoquest()
player:target_NPC(houseMaidId) -- Housekeeper
ChoiceOptionByName(getTEXT("HOUSE_MAID_LEAVE_HOUSE")) -- 'Leave the house'
waitForLoadingScreen(40);
end
function questtohouse()
yrest(1000) -- added this to prevent interuption if you were riding a mount just before calling questtohouse.
--inventory:useItem(202435) -- home sweet home standard -- comment out one you are not using.
inventory:useItem(208785) -- home sweet home 7 days
yrest(5000)
waitForLoadingScreen(40);
end