@Thenomain said:
If it's not working correctly, then the best action is to check for an existing bug report here, and adding one if it's not there.
I still can't find the
room_attr_defaults
help file.
Tinymush 3.2.
@Thenomain said:
If it's not working correctly, then the best action is to check for an existing bug report here, and adding one if it's not there.
I still can't find the
room_attr_defaults
help file.
Tinymush 3.2.
@Thenomain said:
@Rainbow-Bright said:
Interesingly enough, room_parent isn't quite what I wanted and after thinking on it last night, I realized I could just toss a switch that checks to see if there is a preexisting exitformat or conformat on the room and utilize that instead.
Nnnnhhh, no, this is horrible coding. The point of parenting rooms is that the most immediate parent will give the information that you need.
As
room_attr_defaults
doesn't seem to be a config parameter, it's not going to do anything. Instead, what @Glitch and @Chime said are correct; you want to override the main room parent's @conformat by using a different parent room, or see if you're having config issues by trying:@conformat here=blah
If that doesn't work, you have a larger problem.
Oh, there's the quote button.
Ok, so, room_attr_defaults just picks up attributes on a thing or room (though theoretically, I wonder if there's anything preventing it from being a player object). Instead of utilizing room_parent, which is what I was not aware of for some reason (or discarded as not precisely what I needed at the time), I utilized this to hold exitformat, nameformat, conformat, and desc attributes that would proliferate across the game.
The problem, it seems, is that room_attr_defaults does not behave as it, theoretically, should. It's hard to tell what it should be doing as documentation for Tinymush in general is crap. It should, in my mind, be able to be overridden on individual rooms that overwrite that attribute. However, that does not work.
Whether, I should be utilizing room_parent or not is secondary, at the moment, to how room_attr_defaults should be working (or not be working).
Actually, as I am using it, room_attr_defaults is a config parameter. I'm not sure where you're not seeing it as one?
Interesingly enough, room_parent isn't quite what I wanted and after thinking on it last night, I realized I could just toss a switch that checks to see if there is a preexisting exitformat or conformat on the room and utilize that instead.
Thanks though, somehow, I missed room_parent existing.
Currently, I have it set in the conf file:
room_attr_defaults 200
Does room_attr_defaults work differently than room_parent?
Trying to force @parent room=#200 and then overriding the formatting doesnt' seem to work. I'll try with room_parent set instead and see if it breaks the rest of the game.
Is there a setting that allows for exitformat and conformat on a room to override the global (config file) set parent room look? I thought just setting the attribute on the room would do it, but apparently not.
Anyone?