MMapper icon indicating copy to clipboard operation
MMapper copied to clipboard

random exits/rooms

Open tomaswindsor opened this issue 8 years ago • 8 comments

Right now, we can only specify that a direction has random behavior. But MUME has 2 separate features relevant to randomness of exits:

  1. random chance you will end up going different dir than you intended
  2. random chance your followers will go different dir than you

Right now we cannot diferentiate these in mmapper. Question is if the losing of the followers behavior is tied to a room or to individual exits in MUME. All cases I remember apply to all exits in those rooms...

tomaswindsor avatar Apr 26 '17 11:04 tomaswindsor

Please let me know if you have figured out if these are exit flags or room flags

nschimme avatar Dec 23 '17 08:12 nschimme

We need to ask A+ (I suggest Rogon or Waba) to make sure. But my guess is both is a room flag. At least I can't remember any room where only one exit is random while others are not (except for specially mudlled exits like Lorien boundary) or any room where the behavior for random exits differs for individual exits.

That however does not mean that in future MUME won't change in this regard. So maybe it's more prudent approach to implement it as exit flags (room behavior can be simulated by editing all exits). Currently MMapper implements it as exit flags, except it does not differentiate between the two types of randomness (losing followers or not) (this could simply be solved by addition of another flag). Also I think there is a percentage setting which sets how high this randomness is (and how much it can be mitigated by track skill). Some exits are very random (e.g. lord area or Frychra's room), some barely (e.g. path to willow). So maybe we could differentiate too atleast between slightly random, random and highly random exits.

tomaswindsor avatar Dec 23 '17 16:12 tomaswindsor

It seems like Cheeselab had a room flag for randoms: Cheeselab3

nschimme avatar Dec 25 '17 08:12 nschimme

But it seems they also didn't differentiate between the follower-losing and other randoms in Cheeselab.

tomaswindsor avatar Dec 25 '17 11:12 tomaswindsor

I've verified that this is indeed the case. There are standard random exit flags and then a custom /lib that Ainur can add as a room flag when building rooms. The exit flags are what splits groups and the lib keeps them together.

nschimme avatar Dec 28 '17 18:12 nschimme

We still need to decide if we want to keep current implementation in MMapper and have these as exit flags or if we want to switch into room flags implementation. If we choose to switch, we should probably consider change in rendering too and render the randomness via an icon or an overlay like Cheeselab rather than coloring the boundaries. When you color the boundaries, there is a disadvantage that it may not always be obvious to which of the neighboring rooms the colored boundary belongs (matter of 1 pixel often) so that approach is ideal when the exit-behavior is usually same from both sides (which for random rooms often will not be the case).

tomaswindsor avatar Dec 29 '17 09:12 tomaswindsor

MMapper currently has 'LoadFlags' and 'MobFlags' but not 'RoomFlags'. Technically some 'LoadFlags' (i.e. ATTENTION and TOWER) are really 'RoomFlags' Likewise there are also 'LoadFlags' that are really 'MobFlags' (i.e. MULE and HORSE).

nschimme avatar Jan 02 '18 21:01 nschimme

What you call 'MobFlags' are still 'RoomFlags' (they describe a room, not a mobile). We have no true 'MobFlags' in MMapper (flags describing mobiles).

tomaswindsor avatar Jan 03 '18 17:01 tomaswindsor