Home sweet home 7 day and standard
Posted: Tue Apr 26, 2016 4:41 pm
here is a function to use 7day or standard house I added a 1 sec delay before because is you were riding a mount it could interrupt the home sweet home.
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