-- Creates entities from commited messages world = require("world") log = require("log") maker = {} maker.start_peer = () -> -- All modes now use client interface (including host) if world.network -- Receive suggestions from hub world.network\register_router("suggest", (from_id, data) -> -- Handle suggestion ) maker.start_elected = () -> if world.network_mode == "host" -- Hub can handle incoming suggestions from clients -- (Handled inline when clients send messages) log.info("Entity maker started in host mode", {"net"}) maker