> cat /wizhelp/wizadvanced
> _
======================================================================== Advanced Wizard Topics ======================================================================== Advanced techniques for experienced wizards. ADVANCED HELP TOPICS: wizadvanced1 - Doors and Exits wizadvanced2 - Combat Mechanics wizadvanced3 - Puzzle Systems wizadvanced4 - Item Properties wizadvanced5 - Room Commands wizadvanced6 - Plugin Hooks wizadvanced7 - Debugging Tips QUICK EXAMPLES: Locked Door: ```python exit = Exit("north", "vault", ExitType.DOOR) exit.can_traverse = lambda p: (p.has_item("gold_key"), "The door is locked!") ``` Custom Command in Room: ```python def handle_pull_lever(player, params): player.message("You pull the lever...") # Open secret door room.custom_commands = {"pull": handle_pull_lever} ``` Weapon with Special Properties: ```python weapon = Weapon( name="frost blade", damage=50, flags={"freezing": True} ) ``` Time-based Room Changes: ```python def get_dynamic_description(self): hour = datetime.now().hour if 6 <= hour < 18: return "Sunlight streams through windows." else: return "Moonlight casts eerie shadows." ``` BEST PRACTICES: - Test everything thoroughly - Document complex systems - Use meaningful variable names - Handle edge cases - Check debug.log regularly Type wizhelp wizadvanced#</> for specific topics. ========================================================================
> _