chaospearl Posted July 27, 2010 Share Posted July 27, 2010 Title says it all -- I'm looking for a mod that would allow you to rent an inn room for more than one night without having to speak to the innkeeper and re-rent the room every night. I stumbled across a cool mod called Traveller's Inns that changes the containers found in inns to be non-respawning, and part of the description says... "means that if you rent a room for the week, you can safely stow your items there without worrying about them disappearing." That sounds great, but it's kind of pointless because you actually CAN'T rent a room for a week. You could fake it by just re-renting the room every night, but that sort of kills the realism when the innkeeper acts like you're a new guest every time. I want to be able to pay up-front for a couple of days or a week. I searched around on the files section but couldn't find anything like this. Anyone know if such a mod exists? If not, I may try my hand at making one, if I can figure out how to go about it. Link to comment Share on other sites More sharing options...
lozor Posted July 27, 2010 Share Posted July 27, 2010 Title says it all -- I'm looking for a mod that would allow you to rent an inn room for more than one night without having to speak to the innkeeper and re-rent the room every night. I stumbled across a cool mod called Traveller's Inns that changes the containers found in inns to be non-respawning, and part of the description says... "means that if you rent a room for the week, you can safely stow your items there without worrying about them disappearing." That sounds great, but it's kind of pointless because you actually CAN'T rent a room for a week. You could fake it by just re-renting the room every night, but that sort of kills the realism when the innkeeper acts like you're a new guest every time. I want to be able to pay up-front for a couple of days or a week. I searched around on the files section but couldn't find anything like this. Anyone know if such a mod exists? If not, I may try my hand at making one, if I can figure out how to go about it. just tinker with the script variables from my inn mod : Scriptname aaPublicanWaywardinn ;CellName: waywardPrivateRooms ;Publican: aaWWSkeepr ;Room: Straight across from entry door ;Door Ref:waywardinnRentDoor short rent short rentday short rentmonth short cleanup short setup begin gamemode if ( rent == 1 ) if ( setup == 0 ) set rentday to GameDay set rentmonth to GameMonth set setup to 1 waywardinnRentDoor.unlock waywardinnRentDoorRentBed.SetOwnership else if ( GameDay != rentday ) set cleanup to 1 elseif ( GameMonth != rentmonth ) set cleanup to 1 endif endif if ( Player.GetinCell aaWaywardSwordinn == 0 ) if ( Cleanup ==1 ) set Cleanup to 2 endif endif if ( Cleanup == 2 ) set rent to 0 set setup to 0 set rentday to 0 set rentmonth to 0 set cleanup to 0 waywardinnRentDoor.SetOpenState 0 waywardinnRentDoor.lock 30 waywardinnRentDoorRentBed.SetOwnership aaWWSkeeper endif endif End this part deals with wich day you can rent, not 100% sure from here. but either find an offset to increase it with 7 daysor chance it to setrentday to gameweek ]if ( setup == 0 ) set rentday to GameDay set rentmonth to GameMonth set setup to 1 waywardinnRentDoor.unlock waywardinnRentDoorRentBed.SetOwnership else making if ( rent == 1 ) if ( setup == 0 ) set rentday to GameWeek set rentmonth to GameMonth set setup to 1 waywardinnRentDoor.unlock waywardinnRentDoorRentBed.SetOwnership else if ( GameWeek != rentday ) set cleanup to 1 elseif ( GameMonth != rentmonth ) set cleanup to 1 endif endif only that way will not be a full week , just till the next monday.maybe you can add a loop in the gameday and rentday comparisionsomething like if gameday != rentday && loop !=7 then set rentday to gameday set loop to loop +1 elsif gameday != rentday && loop = 7 then set cleanup to 1 set loop to 0 (not acctauly code!! )edit: forgot to reset "loop" so it would only work once :P i'm not an expert scripter so i don't really know the limitations, hell for all i know set rentday to gameday + 7 (maybe 6) might workif i can get some feedback from other scripters i'll try it out on my inn mod and include it =pas for your problem, when you got a working 7 day script copy paste it into every innkeepers script section @ the CS, mind the the refrencs to the beds tho, or you end up with every innkeeper giving you the same bed. Link to comment Share on other sites More sharing options...
alonsomartinez Posted July 27, 2010 Share Posted July 27, 2010 Im actually working on my own inn mod and I think I found an easy way to reset the variables for another day I will see if it can work if it does I will get back to you Link to comment Share on other sites More sharing options...
chaospearl Posted July 27, 2010 Author Share Posted July 27, 2010 I love you people. Ya-hoo! Link to comment Share on other sites More sharing options...
alonsomartinez Posted July 27, 2010 Share Posted July 27, 2010 Well it works Im making a new inn right now Link to comment Share on other sites More sharing options...
Recommended Posts