// Admin Panel > Talentos: réplica del árbol (game_talentos) para probar SIN reglas (ni puntos, ni filas, ni requisitos). // Pestañas = ramas de la clase; solo la activa admite rangos; cambiar de rama es gratis y borra los rangos. Lo aplica el // servidor (admin.lua, «R|» -> talentos.lua, Talentos.admin*). No toca game_talentos (solo lee sus datos de presentación). // Una fila del árbol: «Fila N» y hasta 3 talentos. AdmTFila < Panel height: 58 GameTextSmall id: titulo anchors.left: parent.left anchors.verticalCenter: parent.verticalCenter width: 44 text-auto-resize: false phantom: true Panel id: celdas anchors.top: parent.top anchors.bottom: parent.bottom anchors.left: titulo.right anchors.right: parent.right layout: type: horizontalBox spacing: 12 // Un talento: ícono en su casilla e insignia n/máx debajo. En gris si está a 0 (Lua). AdmTCelda < UIWidget size: 56 58 change-cursor-image: true cursor: pointer GameCell id: marco anchors.top: parent.top anchors.horizontalCenter: parent.horizontalCenter phantom: true UIWidget id: icono size: 32 32 anchors.centerIn: parent image-source: /images/game/spells/spell-icons-32x32 phantom: true GameTextSmall id: rango anchors.bottom: parent.bottom anchors.horizontalCenter: parent.horizontalCenter phantom: true ValdrenVentana id: ventanaTalentos size: 640 600 text: Talentos @onEscape: modules.game_admin.toggleTalentos() Panel id: pestanas anchors.top: parent.top anchors.left: parent.left anchors.right: parent.right height: 24 layout: type: horizontalBox spacing: 4 UIWidget id: raya anchors.top: pestanas.bottom anchors.left: parent.left anchors.right: parent.right height: 1 background-color: $otmmo-border phantom: true GameTextMuted id: estadoRama anchors.top: raya.bottom anchors.left: parent.left anchors.right: usarRama.left margin-top: 12 margin-right: 8 ValdrenBoton id: usarRama anchors.top: raya.bottom anchors.right: parent.right margin-top: 6 width: 150 text: Usar esta rama Panel id: arbol anchors.top: estadoRama.bottom anchors.left: parent.left anchors.bottom: pie.top width: 250 margin-top: 16 layout: type: verticalBox spacing: 0 UIWidget id: separador anchors.top: arbol.top anchors.bottom: arbol.bottom anchors.left: arbol.right margin-left: 12 width: 1 background-color: $otmmo-border phantom: true Panel id: ficha anchors.top: arbol.top anchors.left: separador.right anchors.right: parent.right anchors.bottom: arbol.bottom margin-left: 18 GameTextMuted id: vacia anchors.centerIn: parent text: Elige un talento. GameCell id: marco size: 54 54 anchors.top: parent.top anchors.left: parent.left phantom: true UIWidget id: icono size: 32 32 anchors.centerIn: parent image-source: /images/game/spells/spell-icons-32x32 phantom: true GameTitle id: nombre anchors.top: marco.top anchors.left: marco.right anchors.right: parent.right margin-left: 12 margin-top: 8 height: 20 text-auto-resize: false GameTextMuted id: tipo anchors.top: nombre.bottom anchors.left: nombre.left anchors.right: parent.right margin-top: 4 text-auto-resize: false GameText id: rango anchors.top: marco.bottom anchors.left: parent.left anchors.right: parent.right margin-top: 16 GameParagraph id: efecto anchors.top: rango.bottom anchors.left: parent.left anchors.right: parent.right margin-top: 8 color: $otmmo-text GameParagraph id: requisito anchors.top: efecto.bottom anchors.left: parent.left anchors.right: parent.right margin-top: 12 Panel id: controles anchors.left: parent.left anchors.right: parent.right anchors.bottom: parent.bottom height: 30 layout: type: horizontalBox spacing: 8 Button id: menos size: 44 30 text: - Button id: mas size: 44 30 text: + ValdrenBoton id: maximo width: 64 text: Máx Button id: cero size: 44 30 text: 0 GameTextMuted id: puntos anchors.left: parent.left anchors.verticalCenter: pie.verticalCenter Button id: pie anchors.right: parent.right anchors.bottom: parent.bottom size: 120 30 text: Vaciar rangos