A couple of issues I have here, one being the title. I've made a custom opening line for rent room as the cell is a bunkhouse and there are no rooms just beds. Also made a RoomCost Global Variaable by duplicating the vanilla RoomCost and increasing its value from 10 to 25 (expensive place).
This is what I see in game when renting https://onedrive.live.com/?cid=B60C11D037429D8E&id=B60C11D037429D8E%2130695&v=3
I've changed both the Global Variables in the Topic Form to my Global Variable.
Secondly from watching a video about renting rooms the author said that the bed that the WIrentroom script points to should be owned by the owner NPC. In the past I've always left the rented bed as no owner. But according to tutorial doing this allows player to sleep without paying so I made the bed owned by the bunkhouse owner. Now after renting the room/bed, NPC shows me to the bed but I can't sleep on it as it is owned.
Advice maestros please.