13 Commits

Author SHA1 Message Date
VickScarlet 3b37b960fa Deploying to gh-pages from @ VickScarlet/lifeRestart@f12a147093 🚀 2026-03-30 09:50:02 +00:00
VickScarlet cbe5a5a8ca Deploying to gh-pages from @ VickScarlet/lifeRestart@ddc87ebf40 🚀 2026-01-26 09:50:51 +00:00
VickScarlet 0309eecee4 Deploying to gh-pages from @ VickScarlet/lifeRestart@9088ab0eb1 🚀 2026-01-26 06:48:14 +00:00
VickScarlet f27bf5bd00 Deploying to gh-pages from @ VickScarlet/lifeRestart@39388c6eaf 🚀 2025-09-24 09:46:37 +00:00
VickScarlet 3039fe3e92 Deploying to gh-pages from @ VickScarlet/lifeRestart@aee4fcf164 🚀 2025-05-17 13:27:27 +00:00
VickScarlet 5425fbc50d Deploying to gh-pages from @ VickScarlet/lifeRestart@5c0fe56915 🚀 2025-05-17 13:17:45 +00:00
VickScarlet c941be7e28 Deploying to gh-pages from @ VickScarlet/lifeRestart@b82da6c9a7 🚀 2025-04-06 12:39:20 +00:00
VickScarlet 516156d8e7 Deploying to gh-pages from @ VickScarlet/lifeRestart@b1ffae9eaf 🚀 2025-04-06 11:39:24 +00:00
VickScarlet aeedbfbe47 Deploying to gh-pages from @ VickScarlet/lifeRestart@fee986432d 🚀 2025-04-05 10:37:25 +00:00
VickScarlet e2c97807ab Deploying to gh-pages from @ VickScarlet/lifeRestart@3f58e3deae 🚀 2025-04-05 09:58:31 +00:00
VickScarlet 633f379c45 Deploying to gh-pages from @ VickScarlet/lifeRestart@788c864e71 🚀 2025-04-05 09:47:58 +00:00
VickScarlet 6c1e71a964 Deploying to gh-pages from @ VickScarlet/lifeRestart@8f46e286dd 🚀 2025-04-05 09:40:46 +00:00
VickScarlet e3d1b38c73 Initial gh-pages commit 2025-04-05 09:40:46 +00:00
202 changed files with 160906 additions and 103824 deletions
-2
View File
@@ -1,2 +0,0 @@
node_modules
npm-debug.log
-31
View File
@@ -1,31 +0,0 @@
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: npm run build --if-present
- run: npm test
-110
View File
@@ -1,110 +0,0 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
*.lcov
# nyc test coverage
.nyc_output
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
.env.test
# parcel-bundler cache (https://parceljs.org/)
.cache
# Next.js build output
.next
# Nuxt.js build / generate output
.nuxt
dist
# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public
# vuepress build output
.vuepress/dist
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/
# TernJS port file
.tern-port
utils/xlsxTransform-*
/.idea
__localStorage.json
-3
View File
@@ -1,3 +0,0 @@
{
"esversion": 9
}
-36
View File
@@ -1,36 +0,0 @@
{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "test",
"program": "${workspaceFolder}/test",
"skipFiles": [
"<node_internals>/**"
]
},
{
"type": "node",
"request": "launch",
"name": "xlsxTransform",
"program": "${workspaceFolder}/utils/xlsxTransform.js",
"args": ["data"],
"skipFiles": [
"<node_internals>/**"
]
},
{
"name": "Attach by Process ID",
"processId": "${command:PickProcess}",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node"
},
]
}
-15
View File
@@ -1,15 +0,0 @@
FROM node:alpine
ENV NPM_CONFIG_LOGLEVEL info
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 8080
CMD ["yarn", "dev"]
-21
View File
@@ -1,21 +0,0 @@
MIT License
Copyright (c) 2021 神戸小鳥
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-72
View File
@@ -1,72 +0,0 @@
# Life Restart
<a href="https://discord.gg/U3qrf49NMQ"><img src="https://img.shields.io/discord/883382868427014255?color=%23FEE75C&label=Discord&logo=discord&logoColor=white&style=for-the-badge" /></a>
[English](./README.md) | 简体中文
## 简介
- Game Life Restart
## 使用
<details>
<summary><strong>网页版</strong></summary>
<br />
1. 下载项目代码。
```bash
git clone https://github.com/VickScarlet/lifeRestart.git my-project
cd my-project
```
2. 进入目录安装依赖。
```bash
yarn install
```
或者
```bash
npm install
```
3. 启动本地服务器。
```bash
yarn dev
```
或者
```bash
npm run dev
```
4. 启动完成后会自动打开浏览器访问 [http://localhost:8081/view/index.html](http://localhost:8081/view/index.html)。
</details>
<details>
<summary><strong>控制台版本</strong></summary>
<br />
```bash
node repl
```
</details>
## 其他版本
<details>
<summary><strong>版本列表</strong></summary>
<br />
- Cocos版:[gameall3d/LifeRestart_Cocos](https://github.com/gameall3d/LifeRestart_Cocos)
</details>
> 更多信息请参考 [官网文档](https://liferestart.syaro.io/)。
-71
View File
@@ -1,71 +0,0 @@
# Life Restart
<a href="https://discord.gg/U3qrf49NMQ"><img src="https://img.shields.io/discord/883382868427014255?color=%23FEE75C&label=Discord&logo=discord&logoColor=white&style=for-the-badge" /></a>
English | [简体中文](./README-zh_CN.md)
## Introduction
- Game Life Restart
## Usage
<details>
<summary><strong>Web Version</strong></summary>
<br />
1. Clone project code.
```bash
git clone git@github.com:VickScarlet/lifeRestart.git my-project
cd my-project
```
2. Installation dependence.
```bash
yarn install
```
Or
```bash
npm install
```
3. Start local server.
```bash
yarn dev
```
Or
```bash
npm run dev
```
4. After the startup is complete, will automatically open a browser and visit [http://localhost:8081/view/index.html](http://localhost:8081/view/index.html).
</details>
<details>
<summary><strong>Command Line Version</strong></summary>
<br />
```bash
node repl
```
</details>
## Other Version
<details>
<summary><strong>Versions</strong></summary>
<br />
- Cocos Ver: [gameall3d/LifeRestart_Cocos](https://github.com/gameall3d/LifeRestart_Cocos)
</details>
> More instructions at [documentation](https://liferestart.syaro.io/).
+1 -5
View File
@@ -2,10 +2,7 @@
<html lang="{{ site.lang | default: "en-US" }}">
<head>
<meta charset="UTF-8">
<script data-ad-client="ca-pub-9857163863537600" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
{% seo %}
<link rel="preconnect" href="https://fonts.gstatic.com">
<link rel="preload" href="https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap" as="style" type="text/css" crossorigin>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#157878">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
@@ -18,8 +15,7 @@
<header class="page-header" role="banner">
<h1 class="project-name">{{ page.title | default: site.title | default: site.github.repository_name }}</h1>
<h2 class="project-tagline">{{ page.description | default: site.description | default: site.github.project_tagline }}</h2>
<a href="/view/" class="btn">RESTART</a>
<a href="/view/test.html" class="btn">Source Version</a>
<a href="/public/" class="btn">RESTART</a>
{% if site.github.is_project_page %}
<a href="{{ site.github.repository_url }}" class="btn">View on GitHub</a>
{% endif %}
File diff suppressed because it is too large Load Diff
Binary file not shown.
-504
View File
File diff suppressed because one or more lines are too long
-71816
View File
File diff suppressed because it is too large Load Diff
BIN
View File
Binary file not shown.
-1750
View File
File diff suppressed because it is too large Load Diff
-12664
View File
File diff suppressed because it is too large Load Diff
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large Load Diff
-136
View File
@@ -1,136 +0,0 @@
$id,name,description,condition,grade,status,effect:SPR,effect:MNY,effect:CHR,effect:STR,effect:INT,exclusive[],exclusive[],exclusive[],exclusive[],exclusive[],exclusive[]
序号,天赋名,括号中的内容,触发条件,稀有度,初始可用属性点,额外快乐,额外家境,额外颜值,额外体质,额外智力,互斥天赋,互斥天赋,互斥天赋,互斥天赋,互斥天赋,互斥天赋
1001,随身玉佩,或许有护佑作用,,0,,,,,,,,,,,,
1002,红肚兜,小时候死亡率降低,,0,,,,,,,,,,,,
1003,生而为男,性别一定为男,,1,,,,,,,1004,1025,1024,1113,,
1004,生而为女,性别一定为女,,1,,,,,,,1003,1024,1025,,,
1005,动漫高手,入宅的可能性翻6倍,,2,,,,,,,,,,,,
1006,乐观,快乐+1,,0,,1,,,,,,,,,,
1007,天赋异禀,初始可用属性点+2,,1,2,,,,,,,,,,,
1008,天生抑郁,快乐-3,,0,,-3,,,,,,,,,,
1009,网络巨魔,快乐+2,,1,,2,,,,,,,,,,
1010,天龙人,你拥有北京户口,,2,,,,,,,1012,1013,1014,,,
1011,独生子女,你没有兄弟姐妹,,0,,,,,,,,,,,,
1012,乡间微风,你出生在农村,,0,,,,,,,1010,1013,1014,,,
1013,城中高楼,你出生在城市,,0,,,,,,,1010,1012,1014,,,
1014,美籍华人,你有美国国籍,,2,,,3,,,,1010,1012,1013,,,
1015,家中老大,你最受父母宠爱,,1,,,,,,,,,,,,
1016,水性良好,不会被淹死,,0,,,,,,,,,,,,
1017,先天免疫,你不会得艾滋病,,0,,,,,,,,,,,,
1018,人类进化,所有属性+1,,2,,1,1,1,1,1,,,,,,
1019,超凡,初始可用属性点+4,,2,4,,,,,,,,,,,
1020,父母美貌,颜值+2,,1,,,,2,,,,,,,,
1021,红颜薄命,颜值+2,体质-2,,0,,,,2,-2,,,,,,,
1022,属蛇,不会被蛇咬死,,0,,,,,,,,,,,,
1023,半神,所有属性+2,,3,,2,2,2,2,2,,,,,,
1024,人中龙凤,天生双重性别,,2,,,,,,,1003,1004,1025,,,
1025,阴阳之外,天生无性别,,2,,,,,,,1003,1024,1004,1113,,
1026,彩虹之下,可能和同性交往,,0,,,,,,,1113,,,,,
1027,斩情证道,终生不恋爱结婚,,1,,,,,,,1113,,,,,
1028,桃花连连,恋爱机会提升,,0,,,,,,,,,,,,
1029,平安童年,12岁前父母都健在,,1,,,,,,,,,,,,
1030,宠物大师,宠物不会意外死亡,,0,,,,,,,,,,,,
1031,天生残疾,体质-2,,0,,,,,-2,,,,,,,
1032,早产儿,所有属性-1,,0,,-1,-1,-1,-1,-1,,,,,,
1033,十死无生,体质-10,,0,,,,,-10,,,,,,,
1034,家运不顺,家境-2,,0,,,-2,,,,,,,,,
1035,头着地,智力-2,,0,,,,,,-2,,,,,,
1036,胎教,智力+1,,0,,,,,,1,,,,,,
1037,班中红人,和同学容易处好关系,,0,,,,,,,,,,,,
1038,骑士,能轻松学会骑车,,0,,,,,,,,,,,,
1039,永远的神,电竞天才,,1,,,,,,,,,,,,
1040,戒律,赌毒不沾,,0,,,,,,,,,,,,
1041,丁克,不生孩子,,1,,,,,,,1113,,,,,
1042,少数民族,高考+5分,,0,,,,,,,,,,,,
1043,老司机,你和家人不会发生车祸,,0,,,,,,,,,,,,
1044,低压,你的家人不会心脏病,,0,,,,,,,,,,,,
1045,战功,你退伍后会当官,,0,,,,,,,,,,,,
1046,不孕不育,你生不出孩子,,1,,,,,,,1113,,,,,
1047,白头偕老,爱人至少能活到70岁,,1,,,,,,,,,,,,
1048,神秘的小盒子,100岁时才能开启,,3,,,,,,,,,,,,
1049,三十而立,30岁时家境+2,AGE?[30],0,,,2,,,,,,,,,
1050,四十不惑,40岁时智力+2,AGE?[40],0,,,,,,2,,,,,,
1051,知天命,50岁时智力、快乐+1,AGE?[50],0,,1,,,,1,,,,,,
1052,耳顺,60岁时快乐+2,AGE?[60],0,,2,,,,,,,,,,
1053,从心所欲,70岁时快乐+3,AGE?[70],0,,3,,,,,,,,,,
1054,老当益壮,60岁时体质+2,AGE?[60],1,,,,,2,,,,,,,
1055,鹤发童颜,70岁时颜值+3,AGE?[70],0,,,,3,,,,,,,,
1056,学前启蒙,5岁时智力+2,AGE?[5],1,,,,,,2,,,,,,
1057,十八变,18岁时颜值+2,AGE?[18],1,,,,2,,,,,,,,
1058,迟来之财,90岁时家境+4,AGE?[90],0,,,4,,,,,,,,,
1059,理财达人,40岁时家境+3,AGE?[40],0,,,3,,,,,,,,,
1060,成熟,18岁时智力+2,AGE?[18],1,,,,,,2,,,,,,
1061,形象管理,24岁时颜值+2,AGE?[24],1,,,,2,,,,,,,,
1062,成年礼,18岁时快乐+1,AGE?[18],0,,1,,,,,,,,,,
1063,开光之胎,初始可用属性点+1,,0,1,,,,,,,,,,,
1064,天命,初始可用属性点+8,,3,8,,,,,,,,,,,
1065,祖传药丸,功能不明,,1,,,,,,,,,,,,
1066,精准扶贫,家境为0时家境+1,(MNY<1)&(MNY>-1),0,,,1,,,,,,,,,
1067,乐天派,快乐为0时快乐+1,(SPR<1)&(SPR>-1),1,,1,,,,,,,,,,
1068,命悬一线,体质为0时体质+1,(STR<1)&(STR>-1),0,,,,,1,,,,,,,
1069,智可生财,若20岁时智力>8,家境+2,(AGE?[20])&(INT>8),0,,,2,,,,,,,,,
1070,舔狗甚多,若20岁时颜值>8,快乐+2,(AGE?[20])&(CHR>8),0,,2,,,,,,,,,,
1071,保胎丸,你不会胎死腹中,,0,,,,,,,,,,,,
1072,白化病,你不会遭遇枪击,,0,,,,,,,,,,,,
1073,佛宗,考上哈佛大学的几率提高,,0,,,,,,,,,,,,
1074,悟道,智力>10时快乐+3,INT>10,1,,3,,,,,,,,,,
1075,驻颜,体质>10时颜值+3,STR>10,0,,,,3,,,,,,,,
1076,界限突破,体质>10时快乐+3,STR>10,1,,3,,,,,,,,,,
1077,倾城,颜值>10时快乐+3,CHR>10,1,,3,,,,,,,,,,
1078,训练有方,智力>10时体质+3,INT>10,0,,,,,3,,,,,,,
1079,相由心生,智力>10时颜值+3,INT>10,0,,,,3,,,,,,,,
1080,智多鑫,智力>10时家境+3,INT>10,0,,,3,,,,,,,,,
1081,灵光,快乐>10时其他属性+1,SPR>10,0,,,1,1,1,1,,,,,,
1082,天启,快乐>10时其他属性+2,SPR>10,1,,,2,2,2,2,,,,,,
1083,神谕,快乐>10时其他属性+3,SPR>10,2,,,3,3,3,3,,,,,,
1084,献祭,初始可用属性点-2,快乐+2,,0,-2,2,,,,,1122,,,,,
1085,幸运儿,初始可用属性点-3,快乐+5,,1,-3,5,,,,,1122,,,,,
1086,挑战者,初始可用点-10,,0,-10,,,,,,1122,,,,,
1087,你不懂,家境>10时快乐+3,MNY>10,1,,3,,,,,,,,,,
1088,整容,家境>10时颜值+3,MNY>10,0,,,,3,,,,,,,,
1089,钻石健身卡,家境>10时体质+3,MNY>10,0,,,,,3,,,,,,,
1090,身残志坚,体质<0时其他属性+1,STR<0,0,,1,1,1,,1,,,,,,
1091,活死人,体质<0时其他属性+2,STR<0,1,,2,2,2,,2,,,,,,
1092,开一扇窗,颜值<0时其他属性+1,CHR<0,0,,1,1,,1,1,,,,,,
1093,大额头,颜值-2,智力+2,,0,,,,-2,,2,,,,,,
1094,痘痘脸,颜值-1,,0,,,,-1,,,,,,,,
1095,潜能,家境<0时其他属性+1,MNY<0,0,,1,,1,1,1,,,,,,
1096,哀兵,快乐<0时其他属性+1,SPR<0,0,,,1,1,1,1,,,,,,
1097,苦痛侍僧,快乐<-1时其他属性+2,SPR<-1,1,,,2,2,2,2,,,,,,
1098,觉醒,家境<-1时其他属性+2,MNY<-1,1,,2,,2,2,2,,,,,,
1099,抖M,家境-2,快乐+2,,0,,2,-2,,,,,,,,,
1100,海的女儿,颜值-2,初始可用属性点+1,,0,1,,,-2,,,,,,,,
1101,进阶,所有属性>5时,所有属性+1,(SPR>5)&(MNY>5)&(CHR>5)&(STR>5)&(INT>5),0,,1,1,1,1,1,,,,,,
1102,超进化,所有属性>5时,所有属性+2,(SPR>5)&(MNY>5)&(CHR>5)&(STR>5)&(INT>5),1,,2,2,2,2,2,,,,,,
1103,白色胶囊,你10岁时无事发生,AGE?[10],0,,,,,,,,,,,,
1104,紫色胶囊,跳过你的40~50岁,"AGE?[40,41,42,43,44,45,46,47,48,49,50]",2,,,,,,,,,,,,
1105,蓝色胶囊,你20、30岁时无事发生,"AGE?[20,30]",1,,,,,,,,,,,,
1106,健康饮食,你不吃洋快餐,,0,,,,,,,,,,,,
1107,不想罢了,你不会上清华大学,,0,,,,,,,,,,,,
1108,挑衅,你喜欢没事找事,,0,,,,,,,,,,,,
1109,旅行者,你喜欢旅游,,0,,,,,,,,,,,,
1110,水仙,你比较自恋,,0,,,,,,,,,,,,
1111,缺一门,无效果,,0,,,,,,,,,,,,
1112,异界来客,你可能听到一些绝密消息,,2,,,,,,,,,,,,
1113,三胎人生,你尽可能生三胎,,1,,,,,,,1003,1025,1026,1027,1041,1046
1114,橙色胶囊,跳过你的60~90岁,"AGE?[60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90]",3,,,,,,,,,,,,
1115,宙斯,参加奥赛的几率提高,,0,,,,,,,,,,,,
1116,为人民服务,考公务员时一定能考上,,0,,,,,,,,,,,,
1117,表现良好,入狱会减刑,,0,,,,,,,,,,,,
1118,小吉,运气稍微提升,,0,,,,,,,,,,,,
1119,天秤座,据说做事很公平,,0,,,,,,,,,,,,
1120,万里挑一,你很攻,,0,,,,,,,,,,,,
1121,把握不住,你有强迫症,,0,,,,,,,,,,,,
1122,急了急了,赶着投胎,不要初始属性了,,1,-20,,,,,,1084,1085,1086,,,
1123,不离不弃,你不会离婚,,0,,,,,,,,,,,,
1124,足量,身高不矮,,0,,,,,,,,,,,,
1125,易胖体质,颜值更容易降低,,0,,,,,,,,,,,,
1126,黄帝,种族主义者,,0,,,,,,,,,,,,
1127,左撇子,习惯使用左手,,0,,,,,,,,,,,,
1128,克苏鲁,&▓▓▓◆▓▓▓¥#▓@■.◆,,2,,,,,,,,,,,,
1129,不连续存在,你还拥有其他人格,,1,,,,,,,,,,,,
1130,占位符,少一个可选天赋,,0,,,,,,,,,,,,
1131,魔法棒,不知道有什么用……,,2,,,,,,,,,,,,
1132,返老还童,可能会回到年轻的时候,,1,,,,,,,,,,,,
1133,时光倒流,或许时间会倒流,,0,,,,,,,,,,,,
1134,转世重修,渡劫失败重生,,2,,,,,,,,,,,,
1 $id name description condition grade status effect:SPR effect:MNY effect:CHR effect:STR effect:INT exclusive[] exclusive[] exclusive[] exclusive[] exclusive[] exclusive[]
2 序号 天赋名 括号中的内容 触发条件 稀有度 初始可用属性点 额外快乐 额外家境 额外颜值 额外体质 额外智力 互斥天赋 互斥天赋 互斥天赋 互斥天赋 互斥天赋 互斥天赋
3 1001 随身玉佩 或许有护佑作用 0
4 1002 红肚兜 小时候死亡率降低 0
5 1003 生而为男 性别一定为男 1 1004 1025 1024 1113
6 1004 生而为女 性别一定为女 1 1003 1024 1025
7 1005 动漫高手 入宅的可能性翻6倍 2
8 1006 乐观 快乐+1 0 1
9 1007 天赋异禀 初始可用属性点+2 1 2
10 1008 天生抑郁 快乐-3 0 -3
11 1009 网络巨魔 快乐+2 1 2
12 1010 天龙人 你拥有北京户口 2 1012 1013 1014
13 1011 独生子女 你没有兄弟姐妹 0
14 1012 乡间微风 你出生在农村 0 1010 1013 1014
15 1013 城中高楼 你出生在城市 0 1010 1012 1014
16 1014 美籍华人 你有美国国籍 2 3 1010 1012 1013
17 1015 家中老大 你最受父母宠爱 1
18 1016 水性良好 不会被淹死 0
19 1017 先天免疫 你不会得艾滋病 0
20 1018 人类进化 所有属性+1 2 1 1 1 1 1
21 1019 超凡 初始可用属性点+4 2 4
22 1020 父母美貌 颜值+2 1 2
23 1021 红颜薄命 颜值+2,体质-2 0 2 -2
24 1022 属蛇 不会被蛇咬死 0
25 1023 半神 所有属性+2 3 2 2 2 2 2
26 1024 人中龙凤 天生双重性别 2 1003 1004 1025
27 1025 阴阳之外 天生无性别 2 1003 1024 1004 1113
28 1026 彩虹之下 可能和同性交往 0 1113
29 1027 斩情证道 终生不恋爱结婚 1 1113
30 1028 桃花连连 恋爱机会提升 0
31 1029 平安童年 12岁前父母都健在 1
32 1030 宠物大师 宠物不会意外死亡 0
33 1031 天生残疾 体质-2 0 -2
34 1032 早产儿 所有属性-1 0 -1 -1 -1 -1 -1
35 1033 十死无生 体质-10 0 -10
36 1034 家运不顺 家境-2 0 -2
37 1035 头着地 智力-2 0 -2
38 1036 胎教 智力+1 0 1
39 1037 班中红人 和同学容易处好关系 0
40 1038 骑士 能轻松学会骑车 0
41 1039 永远的神 电竞天才 1
42 1040 戒律 赌毒不沾 0
43 1041 丁克 不生孩子 1 1113
44 1042 少数民族 高考+5分 0
45 1043 老司机 你和家人不会发生车祸 0
46 1044 低压 你的家人不会心脏病 0
47 1045 战功 你退伍后会当官 0
48 1046 不孕不育 你生不出孩子 1 1113
49 1047 白头偕老 爱人至少能活到70岁 1
50 1048 神秘的小盒子 100岁时才能开启 3
51 1049 三十而立 30岁时家境+2 AGE?[30] 0 2
52 1050 四十不惑 40岁时智力+2 AGE?[40] 0 2
53 1051 知天命 50岁时智力、快乐+1 AGE?[50] 0 1 1
54 1052 耳顺 60岁时快乐+2 AGE?[60] 0 2
55 1053 从心所欲 70岁时快乐+3 AGE?[70] 0 3
56 1054 老当益壮 60岁时体质+2 AGE?[60] 1 2
57 1055 鹤发童颜 70岁时颜值+3 AGE?[70] 0 3
58 1056 学前启蒙 5岁时智力+2 AGE?[5] 1 2
59 1057 十八变 18岁时颜值+2 AGE?[18] 1 2
60 1058 迟来之财 90岁时家境+4 AGE?[90] 0 4
61 1059 理财达人 40岁时家境+3 AGE?[40] 0 3
62 1060 成熟 18岁时智力+2 AGE?[18] 1 2
63 1061 形象管理 24岁时颜值+2 AGE?[24] 1 2
64 1062 成年礼 18岁时快乐+1 AGE?[18] 0 1
65 1063 开光之胎 初始可用属性点+1 0 1
66 1064 天命 初始可用属性点+8 3 8
67 1065 祖传药丸 功能不明 1
68 1066 精准扶贫 家境为0时家境+1 (MNY<1)&(MNY>-1) 0 1
69 1067 乐天派 快乐为0时快乐+1 (SPR<1)&(SPR>-1) 1 1
70 1068 命悬一线 体质为0时体质+1 (STR<1)&(STR>-1) 0 1
71 1069 智可生财 若20岁时智力>8,家境+2 (AGE?[20])&(INT>8) 0 2
72 1070 舔狗甚多 若20岁时颜值>8,快乐+2 (AGE?[20])&(CHR>8) 0 2
73 1071 保胎丸 你不会胎死腹中 0
74 1072 白化病 你不会遭遇枪击 0
75 1073 佛宗 考上哈佛大学的几率提高 0
76 1074 悟道 智力>10时快乐+3 INT>10 1 3
77 1075 驻颜 体质>10时颜值+3 STR>10 0 3
78 1076 界限突破 体质>10时快乐+3 STR>10 1 3
79 1077 倾城 颜值>10时快乐+3 CHR>10 1 3
80 1078 训练有方 智力>10时体质+3 INT>10 0 3
81 1079 相由心生 智力>10时颜值+3 INT>10 0 3
82 1080 智多鑫 智力>10时家境+3 INT>10 0 3
83 1081 灵光 快乐>10时其他属性+1 SPR>10 0 1 1 1 1
84 1082 天启 快乐>10时其他属性+2 SPR>10 1 2 2 2 2
85 1083 神谕 快乐>10时其他属性+3 SPR>10 2 3 3 3 3
86 1084 献祭 初始可用属性点-2,快乐+2 0 -2 2 1122
87 1085 幸运儿 初始可用属性点-3,快乐+5 1 -3 5 1122
88 1086 挑战者 初始可用点-10 0 -10 1122
89 1087 你不懂 家境>10时快乐+3 MNY>10 1 3
90 1088 整容 家境>10时颜值+3 MNY>10 0 3
91 1089 钻石健身卡 家境>10时体质+3 MNY>10 0 3
92 1090 身残志坚 体质<0时其他属性+1 STR<0 0 1 1 1 1
93 1091 活死人 体质<0时其他属性+2 STR<0 1 2 2 2 2
94 1092 开一扇窗 颜值<0时其他属性+1 CHR<0 0 1 1 1 1
95 1093 大额头 颜值-2,智力+2 0 -2 2
96 1094 痘痘脸 颜值-1 0 -1
97 1095 潜能 家境<0时其他属性+1 MNY<0 0 1 1 1 1
98 1096 哀兵 快乐<0时其他属性+1 SPR<0 0 1 1 1 1
99 1097 苦痛侍僧 快乐<-1时其他属性+2 SPR<-1 1 2 2 2 2
100 1098 觉醒 家境<-1时其他属性+2 MNY<-1 1 2 2 2 2
101 1099 抖M 家境-2,快乐+2 0 2 -2
102 1100 海的女儿 颜值-2,初始可用属性点+1 0 1 -2
103 1101 进阶 所有属性>5时,所有属性+1 (SPR>5)&(MNY>5)&(CHR>5)&(STR>5)&(INT>5) 0 1 1 1 1 1
104 1102 超进化 所有属性>5时,所有属性+2 (SPR>5)&(MNY>5)&(CHR>5)&(STR>5)&(INT>5) 1 2 2 2 2 2
105 1103 白色胶囊 你10岁时无事发生 AGE?[10] 0
106 1104 紫色胶囊 跳过你的40~50岁 AGE?[40,41,42,43,44,45,46,47,48,49,50] 2
107 1105 蓝色胶囊 你20、30岁时无事发生 AGE?[20,30] 1
108 1106 健康饮食 你不吃洋快餐 0
109 1107 不想罢了 你不会上清华大学 0
110 1108 挑衅 你喜欢没事找事 0
111 1109 旅行者 你喜欢旅游 0
112 1110 水仙 你比较自恋 0
113 1111 缺一门 无效果 0
114 1112 异界来客 你可能听到一些绝密消息 2
115 1113 三胎人生 你尽可能生三胎 1 1003 1025 1026 1027 1041 1046
116 1114 橙色胶囊 跳过你的60~90岁 AGE?[60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90] 3
117 1115 宙斯 参加奥赛的几率提高 0
118 1116 为人民服务 考公务员时一定能考上 0
119 1117 表现良好 入狱会减刑 0
120 1118 小吉 运气稍微提升 0
121 1119 天秤座 据说做事很公平 0
122 1120 万里挑一 你很攻 0
123 1121 把握不住 你有强迫症 0
124 1122 急了急了 赶着投胎,不要初始属性了 1 -20 1084 1085 1086
125 1123 不离不弃 你不会离婚 0
126 1124 足量 身高不矮 0
127 1125 易胖体质 颜值更容易降低 0
128 1126 黄帝 种族主义者 0
129 1127 左撇子 习惯使用左手 0
130 1128 克苏鲁 &▓▓▓◆▓▓▓¥#▓@■.◆ 2
131 1129 不连续存在 你还拥有其他人格 1
132 1130 占位符 少一个可选天赋 0
133 1131 魔法棒 不知道有什么用…… 2
134 1132 返老还童 可能会回到年轻的时候 1
135 1133 时光倒流 或许时间会倒流 0
136 1134 转世重修 渡劫失败重生 2
-1335
View File
File diff suppressed because it is too large Load Diff
BIN
View File
Binary file not shown.
-2
View File
File diff suppressed because one or more lines are too long
-2
View File
File diff suppressed because one or more lines are too long
-23
View File
@@ -1,23 +0,0 @@
{
"name": "life_restart",
"type": "module",
"bin": "repl/index.js",
"scripts": {
"test": "node test",
"xlsxTransform": "vt transform data",
"dev": "webpack serve --open /view/index.html",
"build": "webpack --mode production"
},
"dependencies": {
"@babel/core": "^7.15.4",
"@babel/preset-env": "^7.15.4",
"babel-loader": "^8.2.2",
"core-js": "^3.17.2",
"v-transform": "^1.0.1",
"webpack": "^5.64.2",
"webpack-dev-server": "^4.1.0"
},
"devDependencies": {
"webpack-cli": "^4.8.0"
}
}
+1
View File
@@ -0,0 +1 @@
var e=class extends ui.view.CyberTheme.CyberAchievementUI{constructor(){super(),this.btnBack.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.MAIN)),this.#e={min:Math.min(this.btnAchievement.fontSize,this.btnStatistics.fontSize),max:Math.max(this.btnAchievement.fontSize,this.btnStatistics.fontSize)},this.btnStatistics.on(Laya.Event.CLICK,this,()=>this.switch(`statistics`)),this.btnAchievement.on(Laya.Event.CLICK,this,()=>this.switch(`achievement`)),this.btnRank.on(Laya.Event.CLICK,this,$$event,[`message`,[`M_NoRank`]]),this.listAchievements.renderHandler=new Laya.Handler(this,this.onRenderAchievement),this.listAchievements.scrollBar.elasticDistance=150,this.on(Laya.Event.RESIZE,this,()=>{this.boxPage.width=2*this.width,this.boxA.width=this.boxB.width=this.width,this.boxPage.x<0&&(this.boxPage.x=-this.width);let e=this.listAchievements?._itemRender?.props?.width;if(e){let t=Math.max(Math.floor((this.width-65)/e),1);this.listAchievements.width=t*e+(t-1)*(this.listAchievements.spaceY||0)+30}})}#e;#t;init(){this.switch(`statistics`,0);let{statistics:e,achievements:t,PropertyTypes:n}=core;this.listAchievements.array=t,this.labRemakeTimes.text=e[n.TMS].value,this.labRemakeTimesJudge.text=e[n.TMS].judge,this.labAchievementCountJudge.color=$ui.common.grade[e[n.TMS].grade],this.labAchievementCount.text=e[n.CACHV].value,this.labAchievementCountJudge.text=e[n.CACHV].judge,this.labAchievementCountJudge.color=$ui.common.grade[e[n.CACHV].grade],this.labEventRate.text=parseInt(e[n.REVT].value*100)+`%`,this.prgEventRate.value=e[n.REVT].value,this.labTalentRate.text=parseInt(e[n.RTLT].value*100)+`%`,this.prgTalentRate.value=e[n.RTLT].value}switch(e,t=300){switch(this.#t&&this.#t.forEach(e=>Laya.Tween.clear(e)),this.#t=[],e){case`statistics`:t=-this.boxPage.x/this.width*t,this.#t.push(Laya.Tween.to(this.boxPage,{x:0},t,Laya.Ease.backOut,Laya.Handler.create(this,()=>this.#t=null)),Laya.Tween.to(this.btnStatistics,{fontSize:this.#e.max,anchorX:.5,anchorY:1},t,Laya.Ease.backOut),Laya.Tween.to(this.btnAchievement,{fontSize:this.#e.min,anchorX:.5,anchorY:1},t,Laya.Ease.backOut));break;case`achievement`:t=(this.width+this.boxPage.x)/this.width*t,this.#t.push(Laya.Tween.to(this.boxPage,{x:-this.width},t,Laya.Ease.backOut,Laya.Handler.create(this,()=>this.#t=null)),Laya.Tween.to(this.btnStatistics,{fontSize:this.#e.min,anchorX:.5,anchorY:1},t,Laya.Ease.backOut),Laya.Tween.to(this.btnAchievement,{fontSize:this.#e.max,anchorX:.5,anchorY:1},t,Laya.Ease.backOut));break}}onRenderAchievement(e,t){let n=e.dataSource,r=e.getChildByName(`name`),i=e.getChildByName(`description`),a=e.getChildByName(`completed`),o=e.getChildByName(`uncomplete`);n.isAchieved?(r.text=n.name,i.text=n.description,a.visible=!0,o.visible=!1):(r.text=n.hide?`???`:n.name,i.text=n.hide?`???`:n.description,a.visible=!1,o.visible=!0),e.colorFilter=$ui.gradeFilter(n.grade)}};export{e as default};
+1
View File
@@ -0,0 +1 @@
var e=class extends ui.view.DefaultTheme.AchievementUI{constructor(){super(),this.btnBack.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.MAIN)),this.btnRank.on(Laya.Event.CLICK,this,$$event,[`message`,[`M_NoRank`]]),this.listAchievements.renderHandler=new Laya.Handler(this,this.onRenderAchievement),this.listAchievements.scrollBar.elasticDistance=150}init(){let{statistics:e,achievements:t,PropertyTypes:n}=core;this.listAchievements.array=t,this.labRemakeTimes.text=$_.format($lang.F_RemakeTimes,e[n.TMS].value),this.labRemakeTimesJudge.text=e[n.TMS].judge,$_.deepMapSet(this.boxRemakeTimes,$ui.common.achievement[e[n.TMS].grade]),this.labAchievementCount.text=$_.format($lang.F_AchievementCount,e[n.CACHV].value),this.labAchievementCountJudge.text=e[n.CACHV].judge,$_.deepMapSet(this.boxAchievementCount,$ui.common.achievement[e[n.CACHV].grade]),this.labEventRate.text=parseInt(e[n.REVT].value*100)+`%`,this.prgEventRate.scaleX=e[n.REVT].value,$_.deepMapSet(this.boxEventRate,$ui.common.achievement[e[n.REVT].grade]),this.labTalentRate.text=parseInt(e[n.RTLT].value*100)+`%`,this.prgTalentRate.scaleX=e[n.RTLT].value,$_.deepMapSet(this.boxTalentRate,$ui.common.achievement[e[n.RTLT].grade])}onRenderAchievement(e){let t=e.dataSource,n=e.getChildByName(`name`),r=e.getChildByName(`description`),i=e.getChildByName(`boxMask`);$_.deepMapSet(e,$ui.common.achievement[t.grade]),n.color=r.color=$ui.common.defaultFontColor,t.isAchieved?(n.text=t.name,r.text=t.description,i.visible=!1):(n.text=t.hide?`???`:t.name,r.text=t.hide?`???`:t.description,i.visible=!0)}};export{e as default};
@@ -0,0 +1 @@
var e=class extends ui.view.CyberTheme.CyberAchievementPopupUI{constructor(){super()}async popup({achievement:e},t){Laya.Tween.clearAll(this),Laya.Tween.clearAll(this.boxBg),this.alpha=.8,this.labName.text=e.name,this.labName.color=$ui.common.grade[e.grade],this.x=-this.width,this.boxBg.x=this.boxBg.width,await Promise.all([Laya.promises.Tween.to(this,{x:0},300,Laya.Ease.strongOut),Laya.promises.Tween.to(this.boxBg,{x:0},300,Laya.Ease.strongOut,50)]),await Laya.promises.Tween.to(this,{alpha:0},3e3,Laya.Ease.strongIn)}};export{e as default};
@@ -0,0 +1 @@
var e=class extends ui.view.DefaultTheme.AchievementPopupUI{constructor(){super()}async popup({achievement:e},t){Laya.Tween.clearAll(this),Laya.Tween.clearAll(this.boxBg),this.alpha=.8,this.labName.text=e.name,this.labName.color=$ui.common.grade[e.grade],this.x=-this.width,this.boxBg.x=this.boxBg.width,await Promise.all([Laya.promises.Tween.to(this,{x:0},300,Laya.Ease.strongOut),Laya.promises.Tween.to(this.boxBg,{x:0},300,Laya.Ease.strongOut,50)]),await Laya.promises.Tween.to(this,{alpha:0},3e3,Laya.Ease.strongIn)}};export{e as default};
+1
View File
@@ -0,0 +1 @@
var e=class e extends ui.view.DefaultTheme.CelebrityUI{constructor(){super(),this.btnRetry.on(Laya.Event.CLICK,this,()=>this.random()),this.btnNext.on(Laya.Event.CLICK,this,this.next),this.panelCharacter.vScrollBar.elasticDistance=150}#e;static#t=Laya.plugin.extractComponents(e.uiView,[`boxCharacter`,`boxTalent`,`boxUniqueUnGenerate`]);#n(t,n){let{name:r,property:i,talent:a}=t,o=$ui.common.characterItem,s=e.#t(`boxCharacter`),c=s.getChildByName(`vboxStates`),l=s.getChildByName(`boxName`);l.label=r;let u=$_.clone(i);for(let e in u)Math.abs(u[e]-Math.PI)<1e-7&&(u[e]=`π`);c.label=$_.format($lang.F_PropertyStr,u),$_.deepMapSet(l,o.name),$_.deepMapSet(c,o.state);for(let t of a){let n=e.#t(`boxTalent`);n.label=$_.format($lang.F_TalentSelection,t),n.y=c.height+c.space,$_.deepMapSet(n,$ui.common.card[t.grade].normal),c.addChild(n)}let d=new Laya.Box;return d.height=c.space,d.y=c.height,c.addChild(d),c.scaleY=0,s.dataSource=t,s.switch=e=>c.scaleY=e?1:0,s.click=(e,t)=>{l.offAll(Laya.Event.CLICK),l.on(Laya.Event.CLICK,t||this,e)},n&&s.click(n),s}#r(t){let n=$ui.common.characterItem,r=e.#t(`boxUniqueUnGenerate`),i=r.getChildByName(`boxName`),a=r.getChildByName(`vboxStates`),o=a.getChildByName(`label`),s=a.getChildByName(`boxBtn`),c=s.getChildByName(`btn`);return $_.deepMapSet(i,n.name),$_.deepMapSet(a,n.state),$_.deepMapSet(c,n.name),s.y=o.height+a.space,o.event(Laya.Event.RESIZE),a.scaleY=0,r.dataSource=!1,r.switch=e=>a.scaleY=e?1:0,r.click=(e,t)=>{i.offAll(Laya.Event.CLICK),i.on(Laya.Event.CLICK,t||this,e)},r.generate=(e,t)=>{c.offAll(Laya.Event.CLICK),c.on(Laya.Event.CLICK,t||this,e)},t&&r.generate(t),r}init(){this.random()}close(){this.#e=null,this.vboxCharacter.destroyChildren(!0)}random(e){this.#e=null,this.vboxCharacter.destroyChildren(!0);let{unique:t,normal:n}=core.characterRandom(),r=[],i=this.generateUnique(t,()=>{core.generateUnique(),this.random(n)});i&&r.push(i),(e||n).forEach(e=>r.push(this.#n(e))),r.forEach((e,t)=>{e.y=t,this.vboxCharacter.addChild(e),e.click(()=>{this.#e&&this.#e.switch(!1),this.#e=e,e.switch(!0),e.event(Laya.Event.RESIZE)})}),e&&i&&(this.#e=i,i.switch(!0),i.event(Laya.Event.RESIZE))}generateUnique(e,t){return e?e.generate?(e.name=$lang.UI_UniqueWaTaShi,this.#n(e)):this.#r(t):null}next(){if(!this.#e)return $$event(`message`,[`M_PleaseSelectOne`]);if(!this.#e.dataSource)return $$event(`message`,[`M_UnGenerate`]);let{property:e,talent:t}=this.#e.dataSource,n=core.remake(t.map(e=>e.id));n.length>0&&$$event(`message`,[n.map(e=>[`F_TalentReplace`,e])]),$ui.switchView(UI.pages.TRAJECTORY,{propertyAllocate:e,talents:t,enableExtend:!1})}};export{e as default};
+1
View File
@@ -0,0 +1 @@
var e=class e extends ui.view.CyberTheme.CelebrityUI{constructor(){super(),this.btnRetry.on(Laya.Event.CLICK,this,()=>this.random()),this.btnNext.on(Laya.Event.CLICK,this,this.next),this.panelCharacter.vScrollBar.elasticDistance=150}#e;static#t=Laya.plugin.extractComponents(e.uiView,[`boxCharacter`,`boxTalent`,`boxUniqueUnGenerate`]);#n(t,n){let{name:r,property:i,talent:a}=t,o=e.#t(`boxCharacter`),s=o.getChildByName(`vboxStates`),c=o.getChildByName(`boxName`);c.getChildByName(`label`).text=r;let l=$_.clone(i);for(let e in l)Math.abs(l[e]-Math.PI)<1e-7&&(l[e]=`π`);s.getChildByName(`label`).text=$_.format($lang.F_PropertyStr,l);for(let t of a){let n=e.#t(`boxTalent`);n.getChildByName(`label`).text=$_.format($lang.F_TalentSelection,t),n.y=s.height+s.space;let r=n.getChildByName(`grade${t.grade}`);r&&(r.visible=!0),s.addChild(n)}let u=new Laya.Box;return u.height=s.space,u.y=s.height,s.addChild(u),s.scaleY=0,o.dataSource=t,o.switch=e=>s.scaleY=e?1:0,o.click=(e,t)=>{c.offAll(Laya.Event.CLICK),c.on(Laya.Event.CLICK,t||this,e)},n&&o.click(n),o}#r(t){let n=e.#t(`boxUniqueUnGenerate`),r=n.getChildByName(`boxName`),i=n.getChildByName(`vboxStates`),a=i.getChildByName(`label`),o=i.getChildByName(`boxBtn`).getChildByName(`btn`);return a.event(Laya.Event.RESIZE),i.scaleY=0,n.dataSource=!1,n.switch=e=>i.scaleY=e?1:0,n.click=(e,t)=>{r.offAll(Laya.Event.CLICK),r.on(Laya.Event.CLICK,t||this,e)},n.generate=(e,t)=>{o.offAll(Laya.Event.CLICK),o.on(Laya.Event.CLICK,t||this,e)},t&&n.generate(t),n}init(){this.random()}close(){this.#e=null,this.vboxCharacter.destroyChildren(!0)}random(e){this.#e=null,this.vboxCharacter.destroyChildren(!0);let{unique:t,normal:n}=core.characterRandom(),r=[],i=this.generateUnique(t,()=>{core.generateUnique(),this.random(n)});i&&r.push(i),(e||n).forEach(e=>r.push(this.#n(e))),r.forEach((e,t)=>{e.y=t,this.vboxCharacter.addChild(e),e.click(()=>{this.#e&&this.#e.switch(!1),this.#e=e,e.switch(!0),e.event(Laya.Event.RESIZE)})}),e&&i&&(this.#e=i,i.switch(!0),i.event(Laya.Event.RESIZE))}generateUnique(e,t){return e?e.generate?(e.name=$lang.UI_UniqueWaTaShi,this.#n(e)):this.#r(t):null}next(){if(!this.#e)return $$event(`message`,[`M_PleaseSelectOne`]);if(!this.#e.dataSource)return $$event(`message`,[`M_UnGenerate`]);let{property:e,talent:t}=this.#e.dataSource,n=core.remake(t.map(e=>e.id));n.length>0&&$$event(`message`,[n.map(e=>[`F_TalentReplace`,e])]),$ui.switchView(UI.pages.TRAJECTORY,{propertyAllocate:e,talents:t,enableExtend:!1})}};export{e as default};
+7
View File
@@ -0,0 +1,7 @@
var e={UI_Next:`Next`,UI_Back:`Back`,UI_Skip:`Skip`,UI_Done:`Done`,UI_Cancel:`Cancel`,UI_Confirm:`Confirm`,UI_Retry:`Retry`,UI_Yes:`Yes`,UI_No:`No`,UI_OK:`OK`,UI_Close:`Close`,UI_Open:`Open`,UI_Search:`Search`,UI_Loading:`Now Loading`,UI_Error:`Error`,UI_Colon:`:`,UI_Times:`Times`,UI_Count:``,UI_Property_Charm:`CHR`,UI_Property_Intelligence:`INT`,UI_Property_Strength:`STR`,UI_Property_Money:`MNY`,UI_Property_Spirit:`SPR`,UI_Title_Remake:`Remake Simulate`,UI_Title_Subsequent:`The rubbish life doesn't want to stay for a second`,UI_Remake:`↻Remake Now`,UI_Thanks:`Thx`,UI_Achievement:`Achv`,UI_Cyber_Theme_Art_Design:`UI Design by 晰晰`,UI_Banner:`作者的新作《纸上谈亲》已上线小程序
微信/抖音搜索“纸上谈亲”即可游玩~`,UI_Title_Talent:`Talent Draw`,UI_Talent_Draw:`!10 Pulls!`,UI_Talent_Select_Uncomplete:`Choose 3 Talents, Please.`,UI_Title_Property:`Property Allocate`,UI_Left_Property_Point:`Left Property Point`,UI_Selected_Talent:`Selected Talent`,UI_Random_Allocate:`Random Allocate`,UI_Make_New_Life:`Make New Life`,UI_Manual:`Manual`,UI_Auto:`Auto`,UI_Goto_Summary:`Goto Summary`,UI_Title_Summary:`Life Summary`,UI_Talent_Extend:`Talent, You can choose one to extend`,UI_Remake_Again:`Remake Again`,UI_Final_Age:`Age`,UI_Total_Judge:`Judge`,UI_Achievement_Count:`Achievement`,UI_Remake_Times:`Remake Times`,UI_Event_Collection_Rate:`Event Collection`,UI_Talent_Collection_Rate:`Talent Collection`,UI_Statistics:`Statistics`,UI_Rank:`Rank`,UI_Achievement_Achieve:`Achievement`,UI_Judge_Level_0:`Hell`,UI_Judge_Level_1:`Worse`,UI_Judge_Level_2:`Bad`,UI_Judge_Level_3:`Normal`,UI_Judge_Level_4:`Good`,UI_Judge_Level_5:`Great`,UI_Judge_Level_6:`Excellent`,UI_Judge_Level_7:`Perfect`,UI_Spirit_Judge_Level_0:`Hell`,UI_Spirit_Judge_Level_1:`Tortured`,UI_Spirit_Judge_Level_2:`Unlucky`,UI_Spirit_Judge_Level_3:`Normal`,UI_Spirit_Judge_Level_4:`Happy`,UI_Spirit_Judge_Level_5:`Blissful `,UI_Spirit_Judge_Level_6:`Paradise`,UI_AGE_Judge_Level_0:`Stillborn`,UI_AGE_Judge_Level_1:`Early`,UI_AGE_Judge_Level_2:`Young`,UI_AGE_Judge_Level_3:`Heyday`,UI_AGE_Judge_Level_4:`Middle`,UI_AGE_Judge_Level_5:`Sexagenarian`,UI_AGE_Judge_Level_6:`Septuagenarian`,UI_AGE_Judge_Level_7:`Octogenarian`,UI_AGE_Judge_Level_8:`Nonagenarian`,UI_AGE_Judge_Level_9:`不老`,UI_AGE_Judge_Level_10:`修仙`,UI_AGE_Judge_Level_11:`仙寿`,UI_Intelligence_Judge_Level_7:`识海`,UI_Intelligence_Judge_Level_8:`元神`,UI_Intelligence_Judge_Level_9:`仙魂`,UI_Strength_Judge_Level_7:`凝气`,UI_Strength_Judge_Level_8:`筑基`,UI_Strength_Judge_Level_9:`金丹`,UI_Strength_Judge_Level_10:`元婴`,UI_Strength_Judge_Level_11:`仙体`,UI_Remake_Times_Judge_Level_0:`Purple rate constant`,UI_Remake_Times_Judge_Level_1:`Purple rate double`,UI_Remake_Times_Judge_Level_2:`Purple rate triple`,UI_Remake_Times_Judge_Level_3:`Purple rate Quadruple`,UI_Remake_Times_Judge_Level_4:`Purple rate Quintuple`,UI_Remake_Times_Judge_Level_5:`Purple rate Sextuple`,UI_Achievement_Count_Judge_Level_0:`Orange rate constant`,UI_Achievement_Count_Judge_Level_1:`Orange rate double`,UI_Achievement_Count_Judge_Level_2:`Orange rate triple`,UI_Achievement_Count_Judge_Level_3:`Orange rate Quadruple`,UI_Achievement_Count_Judge_Level_4:`Orange rate Quintuple`,UI_Achievement_Count_Judge_Level_5:`Orange rate Sextuple`,UI_Support_Programmer:`Programmer`,UI_Support_Designer:`Designer`,UI_Save:`Save`,UI_Load:`Load`,UI_Read:`Copy`,UI_Write:`Paste`,UI_CopySuccess:`Copy to clipboard success`,UI_CopyFailed:`Copy to clipboard Failed`,UI_PasteSuccessDecodeSuccess:`Load Success!`,UI_PasteSuccessDecodeFailed:`Paste success, but load Failed!`,UI_PasteFailedDecodeSuccess:`Paste Failed, use input load success!`,UI_PasteFailedDecodeFailed:`Paste Failed, use input load Failed!`,UI_LoadSuccess:`Load Success!`,UI_LoadFailed:`Load Failed!`,UI_Title_Celebrity:`Past life was...`,UI_CustomMode:`Custom`,UI_CustomModeDescription:`10 Talent
Custom property`,UI_CelebrityMode:`Celebrity`,UI_CelebrityModeDescription:`Past life is celebrity
Rebirth to modern`,UI_AllNot:`↻All Not`,UI_UniqueWaTaShi:`Unique of mine`,UI_UniqueWaTaShiContent:`
Unique character card different from other 60 million player
All property, All talent, All random
All has only one chance`,UI_GenerateNow:`Generate Now`,M_NoRank:`There is no rank`,M_PleaseSelectOne:`Please Select One`,M_UnGenerate:`Unique Character no generate`,M_DisableExtendTalent:`Celebrity mode can't extends talent`,F_RemakeTimes:`Remake {0} Times`,F_AchievementCount:`Achievement {0}`,F_TalentSelection:`{name} ({description})`,F_TalentConflict:`Conflict with talent ({0})`,F_TalentSelectLimit:`Talent select limit {0}`,F_TalentSelectNotComplect:`Please select {0} talent`,F_PropertyPointLeft:`You have left {0} property point`,F_TalentReplace:`Talent replace [{source.name}] -> [{target.name}]`,F_PropertyStr:`CHR{CHR} INT{INT} STR{STR} MNY{MNY}`};export{e as default};
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
var e=class extends ui.view.LoadingUI{constructor(){super()}static load(){return[`images/atlas/images/resource.atlas`]}show(){}onProgress(e){}};export{e as default};
+1
View File
@@ -0,0 +1 @@
var e=class extends ui.view.DefaultTheme.MainUI{constructor(){super(),this.btnRemake.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.MODE)),this.btnAchievement.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.ACHIEVEMENT)),this.btnThanks.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.THANKS)),this.btnGithub.on(Laya.Event.CLICK,this,goto,[`github`]),this.btnDiscord.on(Laya.Event.CLICK,this,goto,[`discord`]),this.btnThemes.on(Laya.Event.CLICK,this,()=>$ui.showDialog(UI.pages.THEMES)),this.btnSaveLoad.on(Laya.Event.CLICK,this,()=>$ui.showDialog(UI.pages.SAVELOAD))}static load(){return[`images/atlas/images/icons.atlas`]}init(){this.banner.visible=this.btnDiscord.visible=this.btnAchievement.visible=this.btnThanks.visible=!!core.times;let e=this.labSubTitle.text;this.labSubTitle.text=` `,this.labSubTitle.text=e}};export{e as default};
+1
View File
@@ -0,0 +1 @@
var e=class extends ui.view.CyberTheme.CyberMainUI{constructor(){super(),this.btnRemake.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.MODE)),this.btnAchievement.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.ACHIEVEMENT)),this.btnThanks.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.THANKS)),this.btnGithub.on(Laya.Event.CLICK,this,goto,[`github`]),this.btnDiscord.on(Laya.Event.CLICK,this,goto,[`discord`]),this.btnThemes.on(Laya.Event.CLICK,this,()=>$ui.showDialog(UI.pages.THEMES)),this.btnSaveLoad.on(Laya.Event.CLICK,this,()=>$ui.showDialog(UI.pages.SAVELOAD)),this.on(Laya.Event.RESIZE,this,()=>{let e=Math.max(this.width/this.imgBg.width,this.height/this.imgBg.height);this.imgBg.scale(e,e)})}static load(){return[`fonts/方正像素12.ttf`,`images/atlas/images/accessories.atlas`,`images/atlas/images/border.atlas`,`images/atlas/images/button.atlas`,`images/atlas/images/icons.atlas`,`images/atlas/images/progress.atlas`,`images/atlas/images/slider.atlas`]}init(){this.banner.visible=this.btnDiscord.visible=this.btnAchievement.visible=this.btnThanks.visible=!!core.times}};export{e as default};
+1
View File
@@ -0,0 +1 @@
var e=class extends ui.view.MessagePopupUI{constructor(){super(),this.left=this.right=0,this.boxBg.defaultColor=`#000000`,this.boxBg.hoverColor=`#000000`,this.boxBg.radius=20}async popup({message:e},t){this.message.text=e,this.message.commitMeasure(),this.height=this.message.height+this.boxBg.radius*2+this.message.fontSize,Laya.Tween.clearAll(this),this.alpha=0,this.y=-2*this.height,await Laya.promises.Tween.to(this,{y:0,alpha:1},300,Laya.Ease.backOut),await Laya.promises.Tween.to(this,{alpha:0},300,Laya.Ease.strongIn,3e3)}};export{e as default};
+1
View File
@@ -0,0 +1 @@
var e=class extends ui.view.DefaultTheme.ModeUI{constructor(){super(),this.btnCustom.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.TALENT)),this.btnCelebrity.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.CELEBRITY))}};export{e as default};
+1
View File
@@ -0,0 +1 @@
var e=class extends ui.view.CyberTheme.ModeUI{constructor(){super(),this.btnCustom.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.TALENT)),this.btnCelebrity.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.CELEBRITY))}};export{e as default};
+1
View File
@@ -0,0 +1 @@
var e=class extends ui.view.DefaultTheme.PropertyUI{constructor(){super();let e=this.#e=core.PropertyTypes;this.btnCharmIncrease.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[e.CHR,1]),this.btnCharmReduce.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[e.CHR,-1]),this.btnIntelligenceIncrease.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[e.INT,1]),this.btnIntelligenceReduce.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[e.INT,-1]),this.btnStrengthIncrease.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[e.STR,1]),this.btnStrengthReduce.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[e.STR,-1]),this.btnMoneyIncrease.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[e.MNY,1]),this.btnMoneyReduce.on(Laya.Event.CLICK,this,this.onPropertyAllocate,[e.MNY,-1]),this.inputCharm.on(Laya.Event.INPUT,this,this.onPropertyAllocateInput,[e.CHR]),this.inputIntelligence.on(Laya.Event.INPUT,this,this.onPropertyAllocateInput,[e.INT]),this.inputStrength.on(Laya.Event.INPUT,this,this.onPropertyAllocateInput,[e.STR]),this.inputMoney.on(Laya.Event.INPUT,this,this.onPropertyAllocateInput,[e.MNY]);let t=({currentTarget:e})=>{e.text=``};this.inputCharm.on(Laya.Event.MOUSE_DOWN,this,t),this.inputIntelligence.on(Laya.Event.MOUSE_DOWN,this,t),this.inputStrength.on(Laya.Event.MOUSE_DOWN,this,t),this.inputMoney.on(Laya.Event.MOUSE_DOWN,this,t),this.btnRandomAllocate.on(Laya.Event.CLICK,this,this.random),this.btnNext.on(Laya.Event.CLICK,this,this.next),this.listSelectedTalents.renderHandler=Laya.Handler.create(this,this.renderTalent,null,!1)}#e;#t;#n;#r;init({talents:e}){this.listSelectedTalents.array=e;let t=core.remake(e.map(e=>e.id));t.length>0&&$$event(`message`,[t.map(e=>[`F_TalentReplace`,e])]),this.#t=core.getPropertyPoints(),this.#r=core.propertyAllocateLimit,this.labLeftPropertyPoint.text=this.#t,this.#n={[this.#e.CHR]:0,[this.#e.INT]:0,[this.#e.STR]:0,[this.#e.MNY]:0},this.updateAllocate()}next(){let e=this.#t-this.total;if(e>0)return $$event(`message`,[`F_PropertyPointLeft`,e]);$ui.switchView(UI.pages.TRAJECTORY,{propertyAllocate:this.#n,talents:this.listSelectedTalents.array,enableExtend:!0})}get total(){return this.#n[this.#e.CHR]+this.#n[this.#e.INT]+this.#n[this.#e.STR]+this.#n[this.#e.MNY]}updateAllocate(){let e=this.#n[this.#e.CHR],t=this.#n[this.#e.INT],n=this.#n[this.#e.STR],r=this.#n[this.#e.MNY];this.inputCharm.text=``+e,this.inputIntelligence.text=``+t,this.inputStrength.text=``+n,this.inputMoney.text=``+r,this.labLeftPropertyPoint.text=this.#t-this.total,this.btnCharmIncrease.disabled=this.btnCharmIncrease.gray=!1,this.btnCharmReduce.disabled=this.btnCharmReduce.gray=!1,this.btnIntelligenceIncrease.disabled=this.btnIntelligenceIncrease.gray=!1,this.btnIntelligenceReduce.disabled=this.btnIntelligenceReduce.gray=!1,this.btnStrengthIncrease.disabled=this.btnStrengthIncrease.gray=!1,this.btnStrengthReduce.disabled=this.btnStrengthReduce.gray=!1,this.btnMoneyIncrease.disabled=this.btnMoneyIncrease.gray=!1,this.btnMoneyReduce.disabled=this.btnMoneyReduce.gray=!1}check(e,t,n){return!(n<e||n>t)}random(){let e=this.#t,t=[,,,,].fill(this.#r[1]);for(;e>0;){let n=Math.round(Math.random()*(Math.min(e,this.#r[1])-1))+1;for(;;){let r=Math.floor(Math.random()*4)%4;if(!(t[r]-n<0)){t[r]-=n,e-=n;break}}}this.#n[this.#e.CHR]=this.#r[1]-t[0],this.#n[this.#e.INT]=this.#r[1]-t[1],this.#n[this.#e.STR]=this.#r[1]-t[2],this.#n[this.#e.MNY]=this.#r[1]-t[3],this.updateAllocate()}onPropertyAllocate(e,t){this.check(this.#r[0],this.#r[1],this.#n[e]+t)&&this.check(0,this.#t,this.total+t)&&(this.#n[e]+=t,this.updateAllocate())}onPropertyAllocateInput(e,t){let n=parseInt(t.text)||0,r=this.total;r+n<0?n=this.#r[0]*4-r:r+n>this.#t&&(n=this.#t-r),n<this.#r[0]?n=this.#r[0]:n>this.#r[1]&&(n=this.#r[1]);let i=n-this.#n[e];i?this.onPropertyAllocate(e,i):this.updateAllocate()}renderTalent(e){let t=e.dataSource;e.label=$_.format($lang.F_TalentSelection,t);let n=$ui.common.card[t.grade].normal;$_.deepMapSet(e,n)}};export{e as default};
File diff suppressed because one or more lines are too long
+36
View File
@@ -0,0 +1,36 @@
var e=class extends ui.view.SaveLoadUI{constructor(){super(),this.btnClose.on(Laya.Event.CLICK,this,async()=>{await this.close(),$ui.switchView(UI.pages.MAIN)}),this.btnRead.on(Laya.Event.CLICK,this,async()=>{let e=await $$copy(this.input.text=this.data);$$event(`message`,[e?`UI_CopySuccess`:`UI_CopyFailed`])}),this.btnWrite.on(Laya.Event.CLICK,this,async()=>{let e=await $$read();e==0?this.data=[this.input.text,`UI_PasteFailedDecodeSuccess`,`UI_PasteFailedDecodeFailed`]:(this.input.text=e,this.data=[e,`UI_PasteSuccessDecodeSuccess`,`UI_PasteSuccessDecodeFailed`])}),this.btnSave.on(Laya.Event.CLICK,this,()=>{let e=new Blob([this.data],{type:`application/json`});e=(e.slice||e.webkitSlice||e.mozSlice).call(e,0,e.size,`application/octet-stream`);let t=document.createElementNS(`http://www.w3.org/1999/xhtml`,`a`);t.href=URL.createObjectURL(e),t.download=`Remake_save_${new Date().toISOString().replace(`:`,`.`)}.json`,document.body.appendChild(t),t.click(),document.body.removeChild(t),URL.revokeObjectURL(t.href)}),this.btnLoad.on(Laya.Event.CLICK,this,()=>{let e=document.createElement(`input`);e.setAttribute(`type`,`file`),e.setAttribute(`name`,`file`),e.setAttribute(`accept`,`application/json`),e.setAttribute(`style`,`display: none;`),document.body.appendChild(e),e.click(),e.onchange=e=>{let t=e.target.files[0];if(!t)return;let n=new FileReader;n.onload=()=>this.data=[n.result],n.readAsText(t),document.body.removeChild(t)}}),this.input.on(Laya.Event.MOUSE_DOWN,this,()=>{this.input.setSelection(0,this.input.text.length)}),this.btnBackup.on(Laya.Event.CLICK,this,()=>{let e=document.createElement(`div`);document.body.appendChild(e),e.style=`
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
opacity: 0.95`;let t=document.createElement(`div`);t.style=`
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: #fff;
opacity: 0.95`,document.body.appendChild(e),e.appendChild(t);let n=document.createElement(`textarea`);n.style=`position: absolute; width: ${window.innerWidth}px; height: ${window.innerHeight}px;`,n.value=JSON.stringify(JSON.parse(this.data),null,4),e.appendChild(n);let r=document.createElement(`div`);r.style=`
position: absolute;
top: 0;
right: 0;
width: 100px;
height: 100px;
background: red;
font-size:100px;
padding: 0;
line-height: 100px;
color: white;
opacity: 0.7`,r.innerHTML=`×`,e.appendChild(r),r.onclick=()=>e.remove();let i=document.createElement(`div`);i.style=`
position: absolute;
bottom: 0;
right: 0;
width: 100px;
height: 100px;
background: limegreen;
font-size: 35px;
padding: 0;
line-height: 50px;
color: white;
opacity: 0.7`,i.innerHTML=`LOAD<br>读取`,e.appendChild(i),i.onclick=()=>this.data=[n.value,`成功/success`,`失败/failed`,!0]})}static load(){return[`images/atlas/images/radio.atlas`]}init(){this.input.text=this.data}get data(){let e={};return Object.keys(localStorage).filter(e=>e.substr(0,4)!=`goog`).forEach(t=>e[t]=localStorage[t]),JSON.stringify(e)}set data([e,t=`UI_LoadSuccess`,n=`UI_LoadFailed`,r]){try{let n=JSON.parse(e);for(let e in n)localStorage.setItem(e,n[e]);r?alert(t):$$event(`message`,[t]),$ui.theme=$ui.theme,this.btnClose.event(Laya.Event.CLICK)}catch(e){console.error(e),r?alert(`${n}\n${e}`):$$event(`message`,[n])}}};export{e as default};
+1
View File
@@ -0,0 +1 @@
var e=class extends ui.view.CyberTheme.CyberSummaryUI{constructor(){super(),this.listSelectedTalents.renderHandler=Laya.Handler.create(this,this.renderTalent,null,!1),this.btnAgain.on(Laya.Event.CLICK,this,this.onAgain)}#e;#t;onAgain(){core.talentExtend(this.#e),core.times++,$ui.switchView(UI.pages.MAIN)}init({talents:e,enableExtend:t}){let{summary:n,lastExtendTalent:r}=core;this.#t=t;let i=$ui.common.filter,a=$ui.common.grade,o=n[core.PropertyTypes.HAGE];this.labAge.text=``+o.value,this.labAgeJudge.text=o.judge,this.labAgeJudge.color=a[o.grade];let s=n[core.PropertyTypes.SUM];this.labTotal.text=``+s.value,this.labTotalJudge.text=s.judge,this.labTotalJudge.color=a[s.grade];let c=n[core.PropertyTypes.HCHR];this.labCharm.text=``+c.value,this.prgCharm.value=c.progress,this.labCharmJudge.text=c.judge,this.labCharmJudge.color=a[c.grade],this.boxCharmGrade.colorFilter=i[c.grade];let l=n[core.PropertyTypes.HINT];this.labIntelligence.text=``+l.value,this.prgIntelligence.value=l.progress,this.labIntelligenceJudge.text=l.judge,this.labIntelligenceJudge.color=a[l.grade],this.boxIntelligenceGrade.colorFilter=i[l.grade];let u=n[core.PropertyTypes.HSTR];this.labStrength.text=``+u.value,this.prgStrength.value=u.progress,this.labStrengthJudge.text=u.judge,this.labStrengthJudge.color=a[u.grade],this.boxStrengthGrade.colorFilter=i[u.grade];let d=n[core.PropertyTypes.HMNY];this.labMoney.text=``+d.value,this.prgMoney.value=d.progress,this.labMoneyJudge.text=d.judge,this.labMoneyJudge.color=a[d.grade],this.boxMoneyGrade.colorFilter=i[d.grade];let f=n[core.PropertyTypes.HSPR];this.labSpirit.text=``+f.value,this.prgSpirit.value=f.progress,this.labSpiritJudge.text=f.judge,this.labSpiritJudge.color=a[f.grade],this.boxSpiritGrade.colorFilter=i[f.grade],e.sort(({id:e,grade:t},{id:n,grade:i})=>e==r?-1:n==r?1:i-t),this.#t?this.#e=e[0].id:this.#e=r,this.listSelectedTalents.array=e}renderTalent(e){let t=e.dataSource,n=e.getChildByName(`labTitle`),r=e.getChildByName(`grade1`),i=e.getChildByName(`grade2`),a=e.getChildByName(`grade3`),o=e.getChildByName(`labDescription`),s=e.getChildByName(`selected`),c=e.getChildByName(`unselected`);switch(n.text=t.name,o.text=t.description,t.grade){case 1:r.visible=!0,i.visible=!1,a.visible=!1;break;case 2:r.visible=!1,i.visible=!0,a.visible=!1;break;case 3:r.visible=!1,i.visible=!1,a.visible=!0;break;default:r.visible=!1,i.visible=!1,a.visible=!1;break}s.visible=t.id==this.#e,c.visible=!s.visible,e.off(Laya.Event.CLICK,this,this.onSelectTalent),e.on(Laya.Event.CLICK,this,this.onSelectTalent,[t.id])}onSelectTalent(e){if(!this.#t)return $$event(`message`,[`M_DisableExtendTalent`]);e==this.#e?this.#e=null:this.#e=e,this.listSelectedTalents.refresh()}};export{e as default};
+1
View File
@@ -0,0 +1 @@
var e=class extends ui.view.DefaultTheme.SummaryUI{constructor(){super(),this.listSummary.renderHandler=Laya.Handler.create(this,this.renderSummary,null,!1),this.listSelectedTalents.renderHandler=Laya.Handler.create(this,this.renderTalent,null,!1),this.btnAgain.on(Laya.Event.CLICK,this,this.onAgain)}#e;#t;onAgain(){core.talentExtend(this.#e),core.times++,$ui.switchView(UI.pages.MAIN)}init({talents:e,enableExtend:t}){let{summary:n,lastExtendTalent:r}=core;this.#t=t,this.listSummary.array=[[core.PropertyTypes.HCHR,$lang.UI_Property_Charm],[core.PropertyTypes.HINT,$lang.UI_Property_Intelligence],[core.PropertyTypes.HSTR,$lang.UI_Property_Strength],[core.PropertyTypes.HMNY,$lang.UI_Property_Money],[core.PropertyTypes.HSPR,$lang.UI_Property_Spirit],[core.PropertyTypes.HAGE,$lang.UI_Final_Age],[core.PropertyTypes.SUM,$lang.UI_Total_Judge]].map(([e,t])=>{let r=n[e];return{label:`${t}${$lang.UI_Colon} ${r.value} ${$lang[r.judge]}`,grade:r.grade}}),e.sort(({id:e,grade:t},{id:n,grade:i})=>e==r?-1:n==r?1:i-t),this.#t?this.#e=e[0].id:this.#e=r,this.listSelectedTalents.array=e}renderSummary(e){let{label:t,grade:n}=e.dataSource;e.label=t,$_.deepMapSet(e,$ui.common.summary[n])}renderTalent(e){let t=e.dataSource;e.label=$_.format($lang.F_TalentSelection,t);let n=$ui.common.card[t.grade];$_.deepMapSet(e,t.id==this.#e?n.selected:n.normal),e.getChildByName(`blank`).pause=t.id!=this.#e,e.off(Laya.Event.CLICK,this,this.onSelectTalent),e.on(Laya.Event.CLICK,this,this.onSelectTalent,[t.id])}onSelectTalent(e){if(!this.#t)return $$event(`message`,[`M_DisableExtendTalent`]);e==this.#e?this.#e=null:this.#e=e,this.listSelectedTalents.refresh()}};export{e as default};
+1
View File
@@ -0,0 +1 @@
var e=class extends ui.view.CyberTheme.CyberTalentUI{constructor(){super(),this.btnDrawCard.on(Laya.Event.CLICK,this,this.onClickDrawCard),this.btnNext.on(Laya.Event.CLICK,this,this.onClickNext),this.listTalents.renderHandler=Laya.Handler.create(this,this.renderTalent,null,!1),this.listTalents.scrollBar.elasticDistance=150,this.on(Laya.Event.RESIZE,this,()=>{let e=this.listTalents?._itemRender?.props?.width;if(e){let t=Math.max(Math.floor((this.width-40)/e),1);this.listTalents.width=t*e+(t-1)*(this.listTalents.spaceY||0)}})}#e=new Set;static load(){return[`images/background/background_2@3x.png`]}init(){this.pageDrawCard.visible=!0,this.pageResult.visible=!1,this.btnNext.label=`UI_Talent_Select_Uncomplete`,this.#e.clear()}close(){}onClickDrawCard(){this.pageDrawCard.visible=!1,this.pageResult.visible=!0,this.listTalents.array=core.talentRandom()}onClickNext(){if(this.#e.size<core.talentSelectLimit)return $$event(`message`,[`F_TalentSelectNotComplect`,core.talentSelectLimit]);let e=[...this.#e].map(e=>this.listTalents.array[e]);$ui.switchView(UI.pages.PROPERTY,{talents:e,enableExtend:!0})}renderTalent(e,t){let n=e.dataSource,r=e.getChildByName(`hboxTitle`),i=r.getChildByName(`labTitle`),a=r.getChildByName(`grades`),o=a.getChildByName(`grade1`),s=a.getChildByName(`grade2`),c=a.getChildByName(`grade3`),l=e.getChildByName(`labDescription`),u=e.getChildByName(`unselected`),d=e.getChildByName(`selected`);switch(n.grade){case 1:a.x=0,i.x=1,o.visible=!0,s.visible=!1,c.visible=!1;break;case 2:a.x=0,i.x=1,o.visible=!1,s.visible=!0,c.visible=!1;break;case 3:a.x=0,i.x=1,o.visible=!1,s.visible=!1,c.visible=!0;break;default:a.x=1,i.x=0,o.visible=!1,s.visible=!1,c.visible=!1;break}i.text=n.name,i.event(Laya.Event.RESIZE),l.text=n.description,u.visible=!(d.visible=this.#e.has(t)),e.offAll(Laya.Event.CLICK),e.on(Laya.Event.CLICK,this,()=>{if(this.#e.has(t))this.#e.delete(t);else{if(this.#e.size>=core.talentSelectLimit)return $$event(`message`,[`F_TalentSelectLimit`,core.talentSelectLimit]);let e=core.exclude([...this.#e].map(e=>this.listTalents.array[e].id),this.listTalents.array[t].id);if(e!=null){for(let{name:t,id:n}of this.listTalents.array)if(e==n)return $$event(`message`,[`F_TalentConflict`,t]);return}this.#e.add(t)}this.btnNext.label=this.#e.size===core.talentSelectLimit?`UI_Next`:`UI_Talent_Select_Uncomplete`,u.visible=!(d.visible=this.#e.has(t))})}};export{e as default};
+1
View File
@@ -0,0 +1 @@
var e=class extends ui.view.DefaultTheme.TalentUI{constructor(){super(),this.btnDrawCard.on(Laya.Event.CLICK,this,this.onClickDrawCard),this.btnNext.on(Laya.Event.CLICK,this,this.onClickNext),this.listTalents.renderHandler=Laya.Handler.create(this,this.renderTalent,null,!1),this.listTalents.scrollBar.elasticDistance=150}#e=new Set;init(){this.pageDrawCard.visible=!0,this.pageResult.visible=!1,this.btnNext.label=`UI_Talent_Select_Uncomplete`,this.#e.clear()}close(){}onClickDrawCard(){this.pageDrawCard.visible=!1,this.pageResult.visible=!0,this.listTalents.array=core.talentRandom()}onClickNext(){if(this.#e.size<core.talentSelectLimit)return $$event(`message`,[`F_TalentSelectNotComplect`,core.talentSelectLimit]);let e=[...this.#e].map(e=>this.listTalents.array[e]);$ui.switchView(UI.pages.PROPERTY,{talents:e,enableExtend:!0})}renderTalent(e,t){let n=e.dataSource,r=e.getChildByName(`blank`);e.label=$_.format($lang.F_TalentSelection,n);let i=$ui.common.card[n.grade],a=()=>{let n=this.#e.has(t);r.pause=!n,$_.deepMapSet(e,n?i.selected:i.normal)};a(),e.offAll(Laya.Event.CLICK),e.on(Laya.Event.CLICK,this,()=>{if(this.#e.has(t))this.#e.delete(t);else{if(this.#e.size>=core.talentSelectLimit)return $$event(`message`,[`F_TalentSelectLimit`,core.talentSelectLimit]);let e=core.exclude([...this.#e].map(e=>this.listTalents.array[e].id),this.listTalents.array[t].id);if(e!=null){for(let{name:t,id:n}of this.listTalents.array)if(e==n)return $$event(`message`,[`F_TalentConflict`,t]);return}this.#e.add(t)}this.btnNext.label=this.#e.size===core.talentSelectLimit?`UI_Next`:`UI_Talent_Select_Uncomplete`,a()})}};export{e as default};
+1
View File
@@ -0,0 +1 @@
var e=class e extends ui.view.DefaultTheme.ThanksUI{constructor(){super(),this.btnBack.on(Laya.Event.CLICK,this,()=>$ui.switchView(UI.pages.MAIN)),this.listSupports.renderHandler=Laya.Handler.create(this,this.renderSupport,null,!1),this.panelTopSupports.vScrollBar.elasticDistance=150,this.listSupports.scrollBar.elasticDistance=150,this.btnAFD.on(Laya.Event.CLICK,this,goto,[`sponsor_afd`]),this.btnDDF.on(Laya.Event.CLICK,this,goto,[`sponsor_ddf`])}static#e=Laya.plugin.extractComponents(e.uiView,[`boxTopSupport`]);#t(){let t=e.#e(`boxTopSupport`);return t.name=t.getChildByName(`name`),t.comment=t.getChildByName(`comment`),$_.deepMapSet(t,$ui.common.topSupportItem),t}#n;init(){let e=[];this.#n=[],core.specialThanks.sort(()=>.5-Math.random()).forEach(({group:t,name:n,comment:r,color:i})=>t==2?e.push({name:n,color:i}):this.renderTopSupport(n,r,i)),this.listSupports.array=e}renderTopSupport(e,t,n){let r=this.#t();r.name.text=e,r.comment.text=t,r.name.color=n||`#000000`,this.vboxTopSupports.addChild(r),this.#n.push(r),this.#n.forEach((e,t)=>e.y=t)}renderSupport(e){let{name:t,color:n}=e.dataSource;e.text=t,e.color=n||$ui.common.defaultFontColor}close(){this.#n.forEach(e=>{e.removeSelf(),e.destroy()}),this.#n=null}};export{e as default};
+1
View File
@@ -0,0 +1 @@
var e=class extends ui.view.ThemesUI{constructor(){super(),this.btnClose.on(Laya.Event.CLICK,this,()=>this.close()),this.btnOK.on(Laya.Event.CLICK,this,async()=>{let e=this.selected;if(!e==$ui.theme)return this.close();$ui.theme=e,await this.close(),$ui.switchView(UI.pages.MAIN)})}static load(){return[`images/atlas/images/radio.atlas`]}init(){this.selected=localStorage.getItem(`theme`)}get selected(){switch(this.radioTheme.selectedIndex){case 0:return`cyber`;case 1:return`dark`;case 2:return`light`;default:return`default`}}set selected(e){let t;switch(e){case`cyber`:t=0;break;case`dark`:t=1;break;case`light`:t=2;break;default:t=-1;break}this.radioTheme.selectedIndex=t}};export{e as default};
+2
View File
@@ -0,0 +1,2 @@
var e=class e extends ui.view.DefaultTheme.TrajectoryUI{constructor(){super();let e=[0,0];this.panelTrajectory.on(Laya.Event.MOUSE_DOWN,this,t=>e=[t.stageX,t.stageY]),this.panelTrajectory.on(Laya.Event.MOUSE_UP,this,t=>{let n=t.stageX-e[0],r=t.stageY-e[1];Math.sqrt(Math.abs(n)+Math.abs(r))>10||this.onNext()}),this.btnSummary.on(Laya.Event.CLICK,this,this.onSummary),this.panelTrajectory.vScrollBar.elasticDistance=150,this.scbSpeed.on(Laya.Event.CHANGE,this,()=>this.speed=this.scbSpeed.value),this.scbSpeed.on(Laya.Event.MOUSE_UP,this,()=>this.onNext())}#e;#t;static load(){return[`images/atlas/images/progress.atlas`,`images/atlas/images/slider.atlas`]}static#n=Laya.plugin.extractComponents(e.uiView,[`boxTrajectoryItem`]);#r(){let t=e.#n(`boxTrajectoryItem`);t.labContent=t.getChildByName(`labContent`),t.labAge=t.getChildByName(`hboxAge`).getChildByName(`labAge`);let n=$ui.common.trajectoryItem;return $_.deepMapSet(t,n.box),t.grade=e=>{$_.deepMapSet(t,n.grade[e||0])},t.getChildByName(`hboxAge`)._childs.forEach(e=>e.color=n.ageColor),t.labContent.color=n.contentColor,t}#i;#a;#o;#s;init({propertyAllocate:e,talents:t,enableExtend:n}){this.#s=n,this.boxParticle.visible=!1,this.boxSpeed.visible=!0,this.btnSummary.visible=!1,this.#a=[],this.#i=!1,this.#o=t,core.start(e),this.updateProperty(),this.onNext()}close(){this.scbSpeed.value=0,this.speed=0,this.#a.forEach(e=>{e.removeSelf(),e.destroy()}),this.#a=null}updateProperty(){let e=core.PropertyTypes,t=core.propertys;this.labCharm.text=t[e.CHR],this.labIntelligence.text=t[e.INT],this.labStrength.text=t[e.STR],this.labMoney.text=t[e.MNY],this.labSpirit.text=t[e.SPR]}onNext(){if(this.#i)return;let{age:e,content:t,isEnd:n}=core.next();this.#i=n,n&&(this.boxSpeed.visible=!1,this.btnSummary.visible=!0,Laya.timer.frameOnce(1,this,()=>{this.panelTrajectory.scrollTo(0,this.panelTrajectory.contentHeight)})),this.panelTrajectory.scrollTo(0,this.panelTrajectory.contentHeight),this.renderTrajectory(e,t),e>=100&&(this.boxParticle.visible=!0),this.updateProperty()}renderTrajectory(e,t){let n=this.#r();n.labAge.text=``+e,n.labContent.text=t.map(({type:e,description:t,grade:n,name:r,postEvent:i})=>{switch(e){case`TLT`:return`天赋【${r}】发动:${t}`;case`EVT`:return t+(i?`\n${i}`:``)}}).join(`
`),n.grade(t[t.length-1].grade),this.vboxTrajectory.addChild(n),this.#a.push(n),n.y=this.vboxTrajectory.height}onSummary(){let e=this.#o;$ui.switchView(UI.pages.SUMMARY,{talents:e,enableExtend:this.#s})}get speed(){return this.#e}set speed(e){this.#e=e,this.prgSpeed.value=e/this.scbSpeed.max,clearInterval(this.#t),this.#t=null,e&&(this.#t=setInterval(()=>this.onNext(),3e3*(1-this.prgSpeed.value)+300))}};export{e as default};
+2
View File
@@ -0,0 +1,2 @@
var e=class e extends ui.view.CyberTheme.CyberTrajectoryUI{constructor(){super();let e=[0,0];this.panelTrajectory.on(Laya.Event.MOUSE_DOWN,this,t=>e=[t.stageX,t.stageY]),this.panelTrajectory.on(Laya.Event.MOUSE_UP,this,t=>{let n=t.stageX-e[0],r=t.stageY-e[1];Math.sqrt(Math.abs(n)+Math.abs(r))>10||this.onNext()}),this.btnSummary.on(Laya.Event.CLICK,this,this.onSummary),this.panelTrajectory.vScrollBar.elasticDistance=150;let t=null,n=null,r=e=>{let t=this.panelTrajectory.vScrollBar.value+e;t<0&&(t=0),t>this.panelTrajectory.vScrollBar.max&&(t=this.panelTrajectory.vScrollBar.max),this.panelTrajectory.scrollTo(0,t)},i=(e,i)=>{e.off(Laya.Event.CLICK,this,r),e.on(Laya.Event.CLICK,this,r,[100*i]),n=setTimeout(()=>{e.off(Laya.Event.CLICK,this,r),t=setInterval(()=>r(10*i),10)},100)},a=()=>{t&&=(clearInterval(t),null),n&&=(clearTimeout(n),null)};this.btnUp.on(Laya.Event.MOUSE_DOWN,this,i,[this.btnUp,-1]),this.btnDown.on(Laya.Event.MOUSE_DOWN,this,i,[this.btnDown,1]),this.btnUp.on(Laya.Event.MOUSE_UP,this,a),this.btnUp.on(Laya.Event.MOUSE_OUT,this,a),this.btnDown.on(Laya.Event.MOUSE_UP,this,a),this.btnDown.on(Laya.Event.MOUSE_OUT,this,a),this.scbSpeed.on(Laya.Event.CHANGE,this,()=>this.speed=this.scbSpeed.value),this.scbSpeed.on(Laya.Event.MOUSE_UP,this,()=>this.onNext())}#e;#t;static#n=Laya.plugin.extractComponents(e.uiView,[`boxTrajectoryItem`]);#r(){let t=e.#n(`boxTrajectoryItem`);return t.labContent=t.getChildByName(`labContent`),t.labAge=t.getChildByName(`hboxAge`).getChildByName(`labAge`),t.boxGrade=t.getChildByName(`boxGrade`),t}#i;#a;#o;#s;init({propertyAllocate:e,talents:t,enableExtend:n}){this.#s=n,this.boxParticle.visible=!1,this.boxSpeed.visible=!0,this.btnSummary.visible=!1,this.#a=[],this.#i=!1,this.#o=t,core.start(e),this.updateProperty(),this.onNext()}close(){this.scbSpeed.value=0,this.speed=0,this.#a.forEach(e=>{e.removeSelf(),e.destroy()}),this.#a=null}updateProperty(){let e=core.PropertyTypes,t=core.propertys;this.labCharm.text=t[e.CHR],this.labIntelligence.text=t[e.INT],this.labStrength.text=t[e.STR],this.labMoney.text=t[e.MNY],this.labSpirit.text=t[e.SPR]}onNext(){if(this.#i)return;let{age:e,content:t,isEnd:n}=core.next();this.#i=n,n&&(this.boxSpeed.visible=!1,this.btnSummary.visible=!0,Laya.timer.frameOnce(1,this,()=>{this.panelTrajectory.scrollTo(0,this.panelTrajectory.contentHeight)})),this.panelTrajectory.scrollTo(0,this.panelTrajectory.contentHeight),this.renderTrajectory(e,t),e>=100&&(this.boxParticle.visible=!0),this.updateProperty()}renderTrajectory(e,t){let n=this.#r();n.labAge.text=``+e,n.labContent.text=t.map(({type:e,description:t,grade:n,name:r,postEvent:i})=>{switch(e){case`TLT`:return`天赋【${r}】发动:${t}`;case`EVT`:return t+(i?`\n${i}`:``)}}).join(`
`),$_.deepMapSet(n.boxGrade,$ui.common.gradeBlk[t[t.length-1].grade||0]),this.vboxTrajectory.addChild(n),this.#a.push(n),n.y=this.vboxTrajectory.height}onSummary(){let e=this.#o;$ui.switchView(UI.pages.SUMMARY,{talents:e,enableExtend:this.#s})}get speed(){return this.#e}set speed(e){this.#e=e,this.prgSpeed.value=e/this.scbSpeed.max,clearInterval(this.#t),this.#t=null,e&&(this.#t=setInterval(()=>this.onNext(),3e3*(1-this.prgSpeed.value)+300))}};export{e as default};
+7
View File
@@ -0,0 +1,7 @@
var e={UI_Next:`下一步`,UI_Back:`返回`,UI_Skip:`跳过`,UI_Done:`完成`,UI_Cancel:`取消`,UI_Confirm:`确认`,UI_Retry:`重试`,UI_Yes:``,UI_No:``,UI_OK:`确定`,UI_Close:`关闭`,UI_Open:`打开`,UI_Search:`搜索`,UI_Loading:`加载中...`,UI_Error:`错误`,UI_BackupBtn:`上面没有效果就试试这个吧`,UI_Colon:``,UI_Times:``,UI_Count:``,UI_Property_Charm:`颜值`,UI_Property_Intelligence:`智力`,UI_Property_Strength:`体质`,UI_Property_Money:`家境`,UI_Property_Spirit:`快乐`,UI_Title_Remake:`人生重开模拟器`,UI_Title_Subsequent:`这垃圾人生一秒也不想待了`,UI_Remake:`↻立即重开`,UI_Thanks:`感谢`,UI_Achievement:`成就`,UI_Cyber_Theme_Art_Design:`UI 设计 by 晰晰`,UI_Banner:`作者的新作《纸上谈亲》已上线小程序
微信/抖音搜索纸上谈亲即可游玩`,UI_Title_Talent:`天赋抽卡`,UI_Talent_Draw:`10连抽`,UI_Talent_Select_Uncomplete:`请选取 3 个天赋`,UI_Title_Property:`调整初始属性`,UI_Left_Property_Point:`剩余属性点`,UI_Selected_Talent:`已选天赋`,UI_Random_Allocate:`随机分配`,UI_Make_New_Life:`开始新人生`,UI_Manual:`手动`,UI_Auto:`自动`,UI_Goto_Summary:`人生总结`,UI_Title_Summary:`人生总结`,UI_Talent_Extend:`天赋你可以选择一个下辈子还能抽到`,UI_Remake_Again:`再次重开`,UI_Final_Age:`享年`,UI_Total_Judge:`总评`,UI_Achievement_Count:`获得成就`,UI_Remake_Times:`重开次数`,UI_Event_Collection_Rate:`事件收集率`,UI_Talent_Collection_Rate:`天赋收集率`,UI_Statistics:`统计`,UI_Rank:`排行榜`,UI_Achievement_Achieve:`获得成就`,UI_Judge_Level_0:`地狱`,UI_Judge_Level_1:`折磨`,UI_Judge_Level_2:`不佳`,UI_Judge_Level_3:`普通`,UI_Judge_Level_4:`优秀`,UI_Judge_Level_5:`罕见`,UI_Judge_Level_6:`逆天`,UI_Judge_Level_7:`传说`,UI_Spirit_Judge_Level_0:`地狱`,UI_Spirit_Judge_Level_1:`折磨`,UI_Spirit_Judge_Level_2:`不幸`,UI_Spirit_Judge_Level_3:`普通`,UI_Spirit_Judge_Level_4:`幸福`,UI_Spirit_Judge_Level_5:`极乐`,UI_Spirit_Judge_Level_6:`天命`,UI_AGE_Judge_Level_0:`胎死腹中`,UI_AGE_Judge_Level_1:`早夭`,UI_AGE_Judge_Level_2:`少年`,UI_AGE_Judge_Level_3:`盛年`,UI_AGE_Judge_Level_4:`中年`,UI_AGE_Judge_Level_5:`花甲`,UI_AGE_Judge_Level_6:`古稀`,UI_AGE_Judge_Level_7:`杖朝`,UI_AGE_Judge_Level_8:`南山`,UI_AGE_Judge_Level_9:`不老`,UI_AGE_Judge_Level_10:`修仙`,UI_AGE_Judge_Level_11:`仙寿`,UI_Intelligence_Judge_Level_7:`识海`,UI_Intelligence_Judge_Level_8:`元神`,UI_Intelligence_Judge_Level_9:`仙魂`,UI_Strength_Judge_Level_7:`凝气`,UI_Strength_Judge_Level_8:`筑基`,UI_Strength_Judge_Level_9:`金丹`,UI_Strength_Judge_Level_10:`元婴`,UI_Strength_Judge_Level_11:`仙体`,UI_Remake_Times_Judge_Level_0:`抽到紫色概率不变`,UI_Remake_Times_Judge_Level_1:`抽到紫色概率翻倍`,UI_Remake_Times_Judge_Level_2:`抽到紫色概率三倍`,UI_Remake_Times_Judge_Level_3:`抽到紫色概率四倍`,UI_Remake_Times_Judge_Level_4:`抽到紫色概率五倍`,UI_Remake_Times_Judge_Level_5:`抽到紫色概率六倍`,UI_Achievement_Count_Judge_Level_0:`抽到橙色概率不变`,UI_Achievement_Count_Judge_Level_1:`抽到橙色概率翻倍`,UI_Achievement_Count_Judge_Level_2:`抽到橙色概率三倍`,UI_Achievement_Count_Judge_Level_3:`抽到橙色概率四倍`,UI_Achievement_Count_Judge_Level_4:`抽到橙色概率五倍`,UI_Achievement_Count_Judge_Level_5:`抽到橙色概率六倍`,UI_Support_Programmer:`打赏程序(顿顿饭)`,UI_Support_Designer:`打赏策划(爱发电)`,UI_Save:`存档`,UI_Load:`读档`,UI_Read:`复制`,UI_Write:`粘贴`,UI_LoadSuccess:`读档成功`,UI_LoadFailed:`读档失败`,UI_CopySuccess:`成功复制存档到剪贴板`,UI_CopyFailed:`复制存档到剪贴板失败请手动复制存档内容`,UI_PasteSuccessDecodeSuccess:`读档成功`,UI_PasteSuccessDecodeFailed:`粘贴剪贴板存档内容成功但剪贴板内容读档失败`,UI_PasteFailedDecodeSuccess:`粘贴剪贴板存档内容失败使用输入的内容读档成功`,UI_PasteFailedDecodeFailed:`粘贴剪贴板存档内容失败使用输入的内容读档失败`,UI_Title_Celebrity:`你的前世是...`,UI_CustomMode:`经典模式`,UI_CustomModeDescription:`10连抽天赋
自由分配属性`,UI_CelebrityMode:`名人模式`,UI_CelebrityModeDescription:`前世是古代名人
重开到了现代`,UI_AllNot:`都不是`,UI_UniqueWaTaShi:`独一无二的我`,UI_UniqueWaTaShiContent:`
6000万玩家中独一无二的角色卡
所有属性 所有天赋 随机生成
每人只能生成一次`,UI_GenerateNow:`立即生成`,M_NoRank:`别卷了没有排行榜`,M_PleaseSelectOne:`请选择一个名人`,M_UnGenerate:`独一无二的我还没有生成`,M_DisableExtendTalent:`名人模式不能继承天赋`,F_RemakeTimes:`已重开{0}`,F_AchievementCount:`成就达成{0}`,F_TalentSelection:`{name}{description}`,F_TalentConflict:`与已选的{0}天赋冲突`,F_TalentSelectLimit:`只能选 {0} 个天赋`,F_TalentSelectNotComplect:`要选满{0}个天赋`,F_PropertyPointLeft:`你还有 {0} 属性点没有分配完`,F_TalentReplace:`天赋替换{source.name}->{target.name}`,F_PropertyStr:`颜值{CHR} 智力{INT} 体质{STR} 家境{MNY}`};export{e as default};
-1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

+69
View File
@@ -0,0 +1,69 @@
D .
D fonts
R 39B4F491 方正像素12.ttf
D images
D images/accessories
P ADDDCB66 cardicon@3x.png
R 0E2F6E7F insert_coin@3x.png
R B45325FC title@3x.png
P 074FEF52 title_left@3x.png
R 97E72B92 title_neon@3x.png
P 2BA0101A title_right@3x.png
R E1602E15 titlebar@3x.png
D images/background
R 9343F3BB background_1@3x.png
R 0B49B27D background_2@3x.png
D images/border
P A2B33396 achievement@3x.png
R 45A1A604 achievement_complete@3x.png
R 6CF3EE8E border_1@3x.png
R AAEA6308 border_2@3x.png
R A57A026E card@3x.png
P C1EDDBED property@3x.png
R A8C7A5A5 talent_item@3x.png
R DCE4E73A talent_item_selected@3x.png
R 373CDF45 up@3x.png
D images/button
P 69FF5572 button_back@3x.png
R 441BFE78 button_main@3x.png
P F2B85B54 button_small@3x.png
D images/icons
P C677F3AE icon_achievement@3x.png
P 3D072134 icon_chr@3x.png
P C663FAF5 icon_discord.png
P 3FA91C13 icon_github.png
P AB934AEA icon_int@3x.png
P F1A0724B icon_mny@3x.png
P D5AADAC9 icon_rank@3x.png
P 0806E5F3 icon_save.png
P 2DB0325D icon_spr@3x.png
P 2EFA541B icon_str@3x.png
P 804842C9 icon_thanks@3x.png
P 96DD5D94 icon_themes.png
P 6ECB5FEC icon_up@3x.png
D images/progress
P E2BF0C93 progress_1@3x$bar.png
P B86E1D0F progress_1@3x.png
P E7F15BA7 progress_2$bar.png
P 641A22BF progress_2.png
P AF80A9AF progress_s$bar.png
P 41417E8D progress_s.png
D images/radio
P CCF63014 radio_cyber.png
P 040DE73C radio_dark.png
P BA975F5A radio_light.png
D images/resource
P F3659301 bottombreath.png
P 496D6FB9 circle.png
P B5087365 circleflash.png
D images/slider
P 9682C590 hslider_s$bar.png
P F6238BD4 hslider_s$down.png
P F4198287 hslider_s$up.png
P 2A785866 hslider_s.png
R 8B95E6D3 vslider_1@3x$bar.png
P 6581FBA8 vslider_1@3x$down.png
P 6581FBA8 vslider_1@3x$up.png
R C9587878 vslider_1@3x.png
D images/texture
P FD231754 texture_1.png
@@ -0,0 +1 @@
{"frames":{"cardicon@3x.png":{"frame":{"h":466,"idx":0,"w":455,"x":0,"y":0},"sourceSize":{"h":466,"w":455},"spriteSourceSize":{"x":0,"y":0}},"title_left@3x.png":{"frame":{"h":27,"idx":0,"w":48,"x":456,"y":0},"sourceSize":{"h":27,"w":48},"spriteSourceSize":{"x":0,"y":0}},"title_right@3x.png":{"frame":{"h":27,"idx":0,"w":48,"x":456,"y":28},"sourceSize":{"h":27,"w":48},"spriteSourceSize":{"x":0,"y":0}}},"meta":{"image":"accessories.png","prefix":"images/accessories/"}}
Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

+1
View File
@@ -0,0 +1 @@
{"frames":{"achievement@3x.png":{"frame":{"h":412,"idx":0,"w":486,"x":0,"y":0},"sourceSize":{"h":412,"w":486},"spriteSourceSize":{"x":0,"y":0}},"property@3x.png":{"frame":{"h":84,"idx":0,"w":257,"x":0,"y":413},"sourceSize":{"h":84,"w":257},"spriteSourceSize":{"x":0,"y":0}}},"meta":{"image":"border.png","prefix":"images/border/"}}
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

+1
View File
@@ -0,0 +1 @@
{"frames":{"button_back@3x.png":{"frame":{"h":114,"idx":0,"w":147,"x":0,"y":91},"sourceSize":{"h":114,"w":147},"spriteSourceSize":{"x":0,"y":0}},"button_small@3x.png":{"frame":{"h":90,"idx":0,"w":225,"x":0,"y":0},"sourceSize":{"h":90,"w":225},"spriteSourceSize":{"x":0,"y":0}}},"meta":{"image":"button.png","prefix":"images/button/"}}
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

+1
View File
@@ -0,0 +1 @@
{"frames":{"icon_achievement@3x.png":{"frame":{"h":69,"idx":0,"w":65,"x":188,"y":385},"sourceSize":{"h":69,"w":65},"spriteSourceSize":{"x":0,"y":0}},"icon_chr@3x.png":{"frame":{"h":61,"idx":0,"w":57,"x":320,"y":448},"sourceSize":{"h":61,"w":57},"spriteSourceSize":{"x":0,"y":0}},"icon_discord.png":{"frame":{"h":384,"idx":0,"w":384,"x":0,"y":0},"sourceSize":{"h":384,"w":384},"spriteSourceSize":{"x":0,"y":0}},"icon_github.png":{"frame":{"h":384,"idx":0,"w":384,"x":385,"y":0},"sourceSize":{"h":384,"w":384},"spriteSourceSize":{"x":0,"y":0}},"icon_int@3x.png":{"frame":{"h":57,"idx":0,"w":54,"x":188,"y":455},"sourceSize":{"h":57,"w":54},"spriteSourceSize":{"x":0,"y":0}},"icon_mny@3x.png":{"frame":{"h":57,"idx":0,"w":54,"x":243,"y":455},"sourceSize":{"h":57,"w":54},"spriteSourceSize":{"x":0,"y":0}},"icon_rank@3x.png":{"frame":{"h":62,"idx":0,"w":72,"x":320,"y":385},"sourceSize":{"h":62,"w":72},"spriteSourceSize":{"x":0,"y":0}},"icon_save.png":{"frame":{"h":90,"idx":0,"w":90,"x":97,"y":385},"sourceSize":{"h":90,"w":90},"spriteSourceSize":{"x":0,"y":0}},"icon_spr@3x.png":{"frame":{"h":60,"idx":0,"w":57,"x":378,"y":448},"sourceSize":{"h":60,"w":57},"spriteSourceSize":{"x":0,"y":0}},"icon_str@3x.png":{"frame":{"h":57,"idx":0,"w":54,"x":393,"y":385},"sourceSize":{"h":57,"w":54},"spriteSourceSize":{"x":0,"y":0}},"icon_thanks@3x.png":{"frame":{"h":69,"idx":0,"w":65,"x":254,"y":385},"sourceSize":{"h":69,"w":65},"spriteSourceSize":{"x":0,"y":0}},"icon_themes.png":{"frame":{"h":96,"idx":0,"w":96,"x":0,"y":385},"sourceSize":{"h":96,"w":96},"spriteSourceSize":{"x":0,"y":0}},"icon_up@3x.png":{"frame":{"h":18,"idx":0,"w":33,"x":97,"y":476},"sourceSize":{"h":18,"w":33},"spriteSourceSize":{"x":0,"y":0}}},"meta":{"image":"icons.png","prefix":"images/icons/"}}
Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

@@ -0,0 +1 @@
{"frames":{"progress_1@3x$bar.png":{"frame":{"h":36,"idx":0,"w":203,"x":0,"y":262},"sourceSize":{"h":36,"w":203},"spriteSourceSize":{"x":0,"y":0}},"progress_1@3x.png":{"frame":{"h":36,"idx":0,"w":203,"x":204,"y":262},"sourceSize":{"h":36,"w":203},"spriteSourceSize":{"x":0,"y":0}},"progress_2$bar.png":{"frame":{"h":200,"idx":0,"w":200,"x":0,"y":0},"sourceSize":{"h":200,"w":200},"spriteSourceSize":{"x":0,"y":0}},"progress_2.png":{"frame":{"h":200,"idx":0,"w":200,"x":201,"y":0},"sourceSize":{"h":200,"w":200},"spriteSourceSize":{"x":0,"y":0}},"progress_s$bar.png":{"frame":{"h":60,"idx":0,"w":226,"x":0,"y":201},"sourceSize":{"h":60,"w":226},"spriteSourceSize":{"x":0,"y":0}},"progress_s.png":{"frame":{"h":60,"idx":0,"w":226,"x":227,"y":201},"sourceSize":{"h":60,"w":226},"spriteSourceSize":{"x":0,"y":0}}},"meta":{"image":"progress.png","prefix":"images/progress/"}}
Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

+1
View File
@@ -0,0 +1 @@
{"frames":{"radio_cyber.png":{"frame":{"h":300,"idx":0,"w":300,"x":0,"y":0},"sourceSize":{"h":300,"w":300},"spriteSourceSize":{"x":0,"y":0}},"radio_dark.png":{"frame":{"h":300,"idx":0,"w":300,"x":0,"y":301},"sourceSize":{"h":300,"w":300},"spriteSourceSize":{"x":0,"y":0}},"radio_light.png":{"frame":{"h":300,"idx":0,"w":300,"x":301,"y":0},"sourceSize":{"h":300,"w":300},"spriteSourceSize":{"x":0,"y":0}}},"meta":{"image":"radio.png","prefix":"images/radio/"}}
Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

@@ -0,0 +1 @@
{"frames":{"bottombreath.png":{"frame":{"h":200,"idx":0,"w":200,"x":0,"y":0},"sourceSize":{"h":200,"w":200},"spriteSourceSize":{"x":0,"y":0}},"circle.png":{"frame":{"h":200,"idx":0,"w":200,"x":0,"y":201},"sourceSize":{"h":200,"w":200},"spriteSourceSize":{"x":0,"y":0}},"circleflash.png":{"frame":{"h":200,"idx":0,"w":200,"x":201,"y":0},"sourceSize":{"h":200,"w":200},"spriteSourceSize":{"x":0,"y":0}}},"meta":{"image":"resource.png","prefix":"images/resource/"}}
Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

+1
View File
@@ -0,0 +1 @@
{"frames":{"hslider_s$bar.png":{"frame":{"h":180,"idx":0,"w":47,"x":0,"y":61},"sourceSize":{"h":180,"w":47},"spriteSourceSize":{"x":0,"y":0}},"hslider_s$down.png":{"frame":{"h":1,"idx":0,"w":1,"x":0,"y":242},"sourceSize":{"h":1,"w":1},"spriteSourceSize":{"x":0,"y":0}},"hslider_s$up.png":{"frame":{"h":1,"idx":0,"w":1,"x":0,"y":244},"sourceSize":{"h":1,"w":1},"spriteSourceSize":{"x":0,"y":0}},"hslider_s.png":{"frame":{"h":60,"idx":0,"w":226,"x":0,"y":0},"sourceSize":{"h":60,"w":226},"spriteSourceSize":{"x":0,"y":0}},"vslider_1@3x$down.png":{"frame":{"h":1,"idx":0,"w":1,"x":0,"y":246},"sourceSize":{"h":1,"w":1},"spriteSourceSize":{"x":0,"y":0}},"vslider_1@3x$up.png":{"frame":{"h":1,"idx":0,"w":1,"x":0,"y":248},"sourceSize":{"h":1,"w":1},"spriteSourceSize":{"x":0,"y":0}}},"meta":{"image":"slider.png","prefix":"images/slider/"}}
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

+1
View File
@@ -0,0 +1 @@
{"frames":{"texture_1.png":{"frame":{"h":400,"idx":0,"w":400,"x":0,"y":0},"sourceSize":{"h":400,"w":400},"spriteSourceSize":{"x":0,"y":0}}},"meta":{"image":"texture.png","prefix":"images/texture/"}}
Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 426 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 502 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Some files were not shown because too many files have changed in this diff Show More