Ink 是一种用于游戏的叙述性脚本语言,可以帮助开发者以轻松的语法快速书写多分枝互动游戏。
- 部署
Mirai
机器人框架。 - 安装本插件至
mirai/plugins/
- 将编译后的
main.ink.json
文件放置到mirai/data/moe.d2n.ink/data
- 使用
/ink
指令触发插件
- 安装
Inky
- 导入
group_sdk.ink
- 编写你的游戏 (示例:
main.ink
) - 导出到
main.ink.json
License: GNU Affero General Public License v3.0
Ink 是一种用于游戏的叙述性脚本语言,可以帮助开发者以轻松的语法快速书写多分枝互动游戏。
Mirai
机器人框架。mirai/plugins/
main.ink.json
文件放置到 mirai/data/moe.d2n.ink/data
/ink
指令触发插件Inky
group_sdk.ink
main.ink
)main.ink.json
当游戏中出现同时有十个以上的选项时,选择大于等于10的序号貌似会被解析成为个位数
如:
1.额外对话(苦恼的科员)
2.额外对话(焦急的科员&无奈的科员)
3.额外对话(荣仓终)
4.额外对话(洛奇&伯纳德)
5.额外对话(埃美丽)
6.额外对话(卢卡奇)
7.额外对话(古恩&希拉)
8.额外对话(梅厄)
9.额外对话(温世玲&阿德勒)
10.略过
后台日志输出:
2024-06-21 23:44:03 V/Bot.xxx: [xxxx] xxxxx(xxxxx) -> 10
2024-06-21 23:44:03 I/InkEngine: xxxxx -> 1
2024-06-21 23:45:14 V/Bot.xxx: [xxxx] xxxxx(xxxxx) -> 200
2024-06-21 23:45:14 I/InkEngine: xxxxx -> 2
无法触发序号为10的对话
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.