🧪 Ejemplos Avanzados

Workflows completos inspirados en tu documentación para staff. Sigue los pasos y copia/pega los JSON cuando se soliciten.

1) Sistema de Minería (básico)

# Ítem Herramienta
!item-crear wooden_pickaxe
Props (JSON): {"tool": {"type": "pickaxe", "tier": 1}, "breakable": {"enabled": true, "maxDurability": 50, "durabilityPerUse": 1}}

# Ítem Recurso
!item-crear copper_ore
Props (JSON): {"craftingOnly": false}

# Área y Nivel
!area-crear mine.starter
Config (JSON): {"cooldownSeconds": 30, "icon": "⛏️"}
!area-nivel mine.starter 1
Requisitos (JSON): {"tool": {"required": true, "toolType": "pickaxe", "minTier": 1}}
Recompensas (JSON): {"draws": 2, "table": [{"type":"coins","amount":10,"weight":10},{"type":"item","itemKey":"copper_ore","qty":1,"weight":8}]}

2) Cofre de Recompensa Diaria

!item-crear daily_chest
Props (JSON): {
  "chest": {"enabled": true, "rewards": [
    {"type": "coins", "amount": 500},
    {"type": "item", "itemKey": "health_potion", "qty": 3}
  ], "consumeOnOpen": true}
}

3) Espada Legendaria (cadena resumida)

# Materiales base → fundición → crafteo
!item-crear magic_dust
!item-crear steel_ingot
# (fundición configurada por el equipo)

# Producto intermedio
!item-crear steel_sword_base
Props (JSON): {"tool": {"type": "sword", "tier": 3}, "damage": 25}

# Encantamiento aplicado
!encantar steel_sword_base ruby_core

# Producto final
!item-crear legendary_dragon_slayer
Props (JSON): {"damage": 45, "breakable": {"enabled": true, "maxDurability": 300}}
Receta (modal): steel_sword_base:1, magic_dust:3, dragon_scale:1