Files
LihonT/sdk/lihont-ltp/lihont_ltp/ru.py
cheb0chik 8b7fa5ff57 LihonT 2 Serena alpha
Themes as data: the settings and the rest of TikTok take a look (Stickers, Windows 95, or a theme a plugin brings with the
right ui.theme); the DEBUG recovery mode (Clear cache in Android resets the look and puts the plugins in safe mode); new
plugin functions (name.style, confetti and buzz on a tap); a few memory trims in the chat bubbles; the person list for bubbles
no longer shows screen labels.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 12:32:37 +03:00

36 lines
2.1 KiB
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"""То же самое по-русски: from lihont_ltp.ru import *
плагин = Плагин("Тихая ночь", автор="Вася")
плагин.видео(ночь & хэштег("challenge"), скрыть, сказать("Тихая ночь"))
плагин.сохранить()
"""
from . import core
from .core import (account as аккаунт, after as после, all_of as все_условия, always as всегда, any_of as любое_условие,
author as автор, before as перед, between as между, bounce as туда_сюда, wander as бродит,
day as день, download as скачать, evening as вечер,
friday as пятница, style as вид_имени, confetti as конфетти, buzz as вибро, hashtag as хэштег, hide as скрыть, like as лайк, me as я, morning as утро,
night as ночь, person as человек, picture as картинка, rename as переименовать, say as сказать,
sound as звук, weekday as день_недели, weekend as выходные, wiggle as качнуться, word as слово)
class Плагин(core.Plugin):
def __init__(self, название, автор="", описание="", версия="1.0", id=None, иконка=None, лицензия=None, ии=None):
super().__init__(название, author=автор, description=описание, version=версия, id=id, icon=иконка,
license=лицензия, ai=ии)
def видео(self, когда, *действия, **kw):
return self.video(когда, *действия, **kw)
def имя(self, когда, *действия, **kw):
return self.name(когда, *действия, **kw)
def экран(self, *действия, **kw):
return self.screen(*действия, **kw)
def сохранить(self, *a, **kw):
return self.save(*a, **kw)
def защитник(self, *a, **kw):
return self.guard(*a, **kw)