2025-01-06 19:21:35 +08:00
|
|
|
|
from zhenxun.models.user_console import UserConsole
|
|
|
|
|
|
from zhenxun.utils.decorator.shop import shop_register
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@shop_register(
|
|
|
|
|
|
name="神秘药水",
|
|
|
|
|
|
price=999999,
|
|
|
|
|
|
des="鬼知道会有什么效果,要不试试?",
|
|
|
|
|
|
partition="小秘密",
|
|
|
|
|
|
icon="mysterious_potion.png",
|
|
|
|
|
|
)
|
|
|
|
|
|
async def _(user_id: str):
|
|
|
|
|
|
await UserConsole.add_gold(
|
|
|
|
|
|
user_id,
|
|
|
|
|
|
1000000,
|
|
|
|
|
|
"shop",
|
|
|
|
|
|
)
|
|
|
|
|
|
return "使用道具神秘药水成功!你滴金币+1000000!"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@shop_register(
|
2025-01-06 21:14:19 +08:00
|
|
|
|
name="神秘药水2",
|
2025-01-06 19:21:35 +08:00
|
|
|
|
price=999999,
|
|
|
|
|
|
des="鬼知道会有什么效果,要不试试?",
|
2025-01-06 21:14:19 +08:00
|
|
|
|
partition="小秘密",
|
2025-01-06 19:21:35 +08:00
|
|
|
|
)
|
|
|
|
|
|
async def _(user_id: str):
|
2025-01-06 21:14:19 +08:00
|
|
|
|
await UserConsole.add_gold(
|
|
|
|
|
|
user_id,
|
|
|
|
|
|
1000000,
|
|
|
|
|
|
"shop",
|
|
|
|
|
|
)
|
|
|
|
|
|
return "使用道具神秘药水成功!你滴金币+1000000!"
|