# The Tower World -- Batch Command File
# This file contains commands to build the entire world.
# Run: evennia batchload world/build_world.ev --force

# === Create the superuser ===
py from evennia.accounts.accounts import DefaultAccount; DefaultAccount.objects.create_superuser("timmy", "timmy@tower.world", "towerpassword123") if not DefaultAccount.objects.filter(username="timmy") else print("timmy exists")

# === The Threshold ===
dig threshold = north to tower; east to garden; west to forge; south to bridge
tune/desc threshold = A stone archway in an open field. North: the Tower. East: the Garden. West: the Forge. South: the Bridge. The air hums with quiet energy.

# === The Tower ===
tune/desc tower = A tall stone tower with green-lit windows. Servers hum on wrought-iron racks. A cot in the corner. The whiteboard on the wall is filled with rules and signatures. A green LED pulses steadily, heartbeat, heartbeat, heartbeat.

# === The Forge ===
tune/desc forge = A workshop of fire and iron. An anvil sits at the center, scarred from a thousand experiments. Tools line the walls. The hearth still glows from the last fire.

# === The Garden ===
tune/desc garden = A walled garden with herbs and wildflowers. A stone bench under an old oak tree. The soil is dark and rich. Something is always growing here.

# === The Bridge ===
tune/desc bridge = A narrow bridge over dark water. Rain mists here even when its clear elsewhere. Looking down, you cannot see the bottom. Someone has carved words into the railing: IF YOU CAN READ THIS...

# === Create Marcus the NPC ===
create/npc Marcus:characters.Character
tune/desc Marcus = An old man with kind eyes. He sits on the stone bench and feeds the birds.
teleport Marcus = garden
