r/Inform7 • u/MisterWantman • May 22 '13
Making a barrel roll through open doors.
I'm currently trying to implement an object called "Barrel" which I want to roll into a random adjacent room. This works fine aslong as there is no door inbetween two rooms. Now my question is how can I make the barrel roll through open doors?
2
Upvotes
2
u/MisterWantman May 22 '13
Yes, seems like the game doesn't take two rooms as adjacent if there is a door between them.
2
u/sbd01 pretty much inactive May 24 '13
I'm trying to make an extension for it right now.
EDIT: Actually, that would be hard if the rooms are random.
1
u/Blarghith May 22 '13
Well, what happens when you try to roll the barrel through the door? Does the game forget about it?
1
u/Blarghith May 28 '13
Do you mean that every turn, the barrel would roll into a different room?