public virtual void DescribeInteractables() { if (this.hasInteractables) { IOController io = IOController.io; io.InlineLog("["); io.InlineLogAccent("Objects: "); foreach (InteractableObject item in interactables) { io.InlineLog(item.name + ", "); } io.TrimInlineBuffer(2); io.InlineLog("]"); io.FlushInlineLog(); } }
public virtual void DescribeNPCs() { if (this.hasNPCs) { IOController io = IOController.io; io.InlineLog("["); io.InlineLogAccent("NPCs: "); foreach (NPC npc in npcs) { io.InlineLog(npc.name + ", "); } io.TrimInlineBuffer(2); io.InlineLog("]"); io.FlushInlineLog(); } }
public virtual void DescribeExits() { if (this.hasObviousExits) { IOController io = IOController.io; io.InlineLog("["); io.InlineLogAccent("Exits: "); if (north) { io.InlineLog("north, "); } if (east) { io.InlineLog("east, "); } if (south) { io.InlineLog("south, "); } if (west) { io.InlineLog("west, "); } if (exits.Length > 0) { foreach (Place exit in exits) { io.InlineLog(exit.name + ", "); } } io.TrimInlineBuffer(2); io.InlineLog("]"); io.FlushInlineLog(); } }