Home sweet home 7 day and standard

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
beanybabe
Posts: 647
Joined: Wed Mar 06, 2013 1:27 am

Home sweet home 7 day and standard

#1 Post by beanybabe » 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
chr the treasure within.xml
here is a sample wp for a quest in chrysalia this does not gather the item.
(3.35 KiB) Downloaded 145 times
mt Black Rune Core.xml
this for one in meridian tundra this does not gather item
(3.35 KiB) Downloaded 130 times

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests