Hello all,
Earlier, I was looking through my flag_types to make sure they matched with the defines in merc.h. This is what brought me to the room flags. Messing around, I create a new ROOM_LVLONE so that I could set this on the entrance to mud school. If the player is above level one, they can no longer enter..
Ok.. All is well so far.. Now, (Stock merc area) when standing in the temple of midgaard, the UP exit isn't shown anymore.. Still ok so far.. But now, the last little paragraph in the room description still mentions going up to mud school...
---
Equally large steps lead UP through a small door into the ENTRANCE to MUD SCHOOL. (type 'up' to go to MUD SCHOOL.) A small plaque is on this wall.
---
This is what I am trying to brainstorm about and looking for ideas for.. What do you think the best way to show or hide certain sections of a room description?
This in turn would be handy for other room flags such as ROOM_HERO_ONLY.. Maybe you want mortals to see a cetain room description, but if the player is a Hero, they get a new exit showing to the east, and now there is a small paragraph at the bottom of the room description with details about the new hero entrance to the east..
I'm drawing blanks... Anyone have any ideas on how to achieve this?
Thanks for your time,
Chris
Earlier, I was looking through my flag_types to make sure they matched with the defines in merc.h. This is what brought me to the room flags. Messing around, I create a new ROOM_LVLONE so that I could set this on the entrance to mud school. If the player is above level one, they can no longer enter..
Ok.. All is well so far.. Now, (Stock merc area) when standing in the temple of midgaard, the UP exit isn't shown anymore.. Still ok so far.. But now, the last little paragraph in the room description still mentions going up to mud school...
---
Equally large steps lead UP through a small door into the ENTRANCE to MUD SCHOOL. (type 'up' to go to MUD SCHOOL.) A small plaque is on this wall.
---
This is what I am trying to brainstorm about and looking for ideas for.. What do you think the best way to show or hide certain sections of a room description?
This in turn would be handy for other room flags such as ROOM_HERO_ONLY.. Maybe you want mortals to see a cetain room description, but if the player is a Hero, they get a new exit showing to the east, and now there is a small paragraph at the bottom of the room description with details about the new hero entrance to the east..
I'm drawing blanks... Anyone have any ideas on how to achieve this?
Thanks for your time,
Chris