// Admin Panel > Hechizos: réplica del libro de hechizos (game_libro) para probar. Botón Bloquear / Desbloquear solo en // los aprendibles (maestro, firmas de rama, activas del árbol); los de nivel se informan. El estado lo da el servidor // (admin.lua, «H|»). No toca game_libro a propósito: ningún no-admin puede llegar a esto. AdmHCelda < UIWidget size: 92 80 change-cursor-image: true cursor: pointer GameCell id: marco anchors.top: parent.top anchors.horizontalCenter: parent.horizontalCenter margin-top: 4 phantom: true UIWidget id: icono size: 32 32 anchors.centerIn: parent phantom: true GameTextSmall id: nombre anchors.top: marco.bottom anchors.left: parent.left anchors.right: parent.right margin-top: 4 height: 28 text-auto-resize: false text-align: top text-wrap: true color: $otmmo-text phantom: true ValdrenVentana id: ventanaHechizos size: 700 520 text: Hechizos @onEscape: modules.game_admin.toggleHechizos() Panel id: pestanas anchors.top: parent.top anchors.left: parent.left width: 320 height: 24 layout: type: horizontalBox spacing: 4 UIWidget id: raya anchors.top: pestanas.bottom anchors.left: parent.left width: 320 height: 1 background-color: $otmmo-border phantom: true VerticalScrollBar id: barraRejilla anchors.top: raya.bottom anchors.left: rejilla.right anchors.bottom: parent.bottom margin-top: 12 step: 84 pixels-scroll: true ScrollablePanel id: rejilla anchors.top: raya.bottom anchors.left: parent.left anchors.bottom: parent.bottom width: 312 margin-top: 12 vertical-scrollbar: barraRejilla layout: type: grid cell-size: 100 84 cell-spacing: 4 num-columns: 3 flow: true UIWidget id: separador anchors.top: parent.top anchors.bottom: parent.bottom anchors.left: barraRejilla.right margin-left: 16 width: 1 background-color: $otmmo-border phantom: true Panel id: ficha anchors.top: parent.top anchors.left: separador.right anchors.right: parent.right anchors.bottom: parent.bottom margin-left: 18 GameTextMuted id: vacia anchors.centerIn: parent text: Elige un hechizo. GameCell id: marco size: 54 54 anchors.top: parent.top anchors.left: parent.left phantom: true UIWidget id: icono size: 48 48 anchors.centerIn: parent 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: datos anchors.top: marco.bottom anchors.left: parent.left anchors.right: parent.right margin-top: 16 text-wrap: true text-auto-resize: true GameParagraph id: estado anchors.top: datos.bottom anchors.left: parent.left anchors.right: parent.right margin-top: 16 ValdrenBoton id: desbloquear anchors.left: parent.left anchors.bottom: parent.bottom width: 140 text: Desbloquear Button id: bloquear anchors.left: parent.left anchors.bottom: parent.bottom size: 140 30 text: Bloquear