Is it that you want the action count to go up for different rooms on the same floor? (Sorry, I don’t know German at all, so if I try to use the German terms I will fail…) That’s a bit trickier but doable. You have to define a floor as a kind of region, give floors an action count, and check whether the player is in a floor so you can increment the action count of the proper floor. Like this:
[code]A floor is a kind of region. A floor has a number called action count.
Floor 1 Hallway is a room. Floor 1 Hallway is north of Room 101. Floor 1 Hallway is south of Room 102.
Floor 2 Hallway is above Floor 1 Hallway. Floor 2 Hallway is north of Room 201. Floor 2 Hallway is south of Room 202.
First Floor is a floor. Floor 1 Hallway is in First Floor. Room 101 is in First Floor. Room 102 is in First Floor.
Second Floor is a floor. Floor 2 Hallway is in Second Floor. Room 201 is in Second Floor. Room 202 is in Second Floor.
Every turn when the player is regionally in a floor (called the current floor) (this is the increment and report the action count rule):
increment the action count of the current floor;
say “Action count: [action count of the current floor].”
Street is outside from Floor 1 Hallway.[/code]
That “(called the current floor)” is a very useful thing. It means that “when the player is regionally in a floor” not only tests whether the player is in a floor to see whether the rule should run, but also stores the floor that the player is in as the temporary variable “the current floor,” which we can use for the rest of the rule.
(IN a test like this, if the player is in more than one floor it picks one more-or-less arbitrarily to be the current floor–but you probably won’t have that happen.)
Also, there’s a subtle thing about why we have to say “regionally in” instead of “in,” which is explained in §6.11 of the documentation. Basically, being “in” a region isn’t the same as being “in” a room or a container; if we say something like “if the player is in First Floor” then Inform knows that we’re looking at a region and automatically interprets that as a region test, but in this case since we didn’t use the name of a specific region we have to explicitly tell Inform to use the region test. That’s what “regionally in” does.
Also, in case you’re wondering where the room declarations are, when you specify the map connections Inform automatically infers that all those things you’re placing are rooms. I didn’t even really have to say “Floor 1 Hallway is a room”!