Compare commits
104 Commits
06de7417a8
...
v2.1.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
35c5fe36fb | ||
|
|
3f58e3deae | ||
|
|
788c864e71 | ||
|
|
680a4f8a5a | ||
|
|
8f46e286dd | ||
|
|
2eaf7a1ba2 | ||
|
|
6b58fa99cf | ||
|
|
5d1b623230 | ||
|
|
6e442c14c1 | ||
|
|
2eadb6fb23 | ||
|
|
d19afd7b1a | ||
|
|
98eda94f66 | ||
|
|
e0f5cb71c5 | ||
|
|
58140fd4d2 | ||
|
|
b44e0e65a5 | ||
|
|
cc460d6108 | ||
|
|
1dd1927612 | ||
|
|
21d4c9d568 | ||
|
|
35eac7d19d | ||
|
|
c1ed14385a | ||
|
|
50ad3d35e7 | ||
|
|
4df53d9f58 | ||
|
|
8a6f50dda6 | ||
|
|
49488505e2 | ||
|
|
dd64e8f44e | ||
|
|
b39772fd94 | ||
|
|
fc1135a621 | ||
|
|
d7ea91a1b8 | ||
|
|
53a8729968 | ||
|
|
ad93703a45 | ||
|
|
329c2f09c4 | ||
|
|
1f7434a133 | ||
|
|
145211ba9a | ||
|
|
1d58fd6bfd | ||
|
|
26d4e09bc8 | ||
|
|
49619fbaa2 | ||
|
|
751a0dec0f | ||
|
|
bc560c393b | ||
|
|
8eb0e44845 | ||
|
|
14f9340d0a | ||
|
|
150c991648 | ||
|
|
99640a5813 | ||
|
|
485c1bb48c | ||
|
|
5799cf635b | ||
|
|
066f1fd060 | ||
|
|
162eaffd1d | ||
|
|
b5a4db5224 | ||
|
|
09b3aeb8c5 | ||
|
|
c83ceef3c4 | ||
|
|
221e5219f0 | ||
|
|
145dfe964d | ||
|
|
bf9702e3a1 | ||
|
|
b3f1e6c9c5 | ||
|
|
960f3137c6 | ||
|
|
e38daf3ebb | ||
|
|
e72d16f811 | ||
|
|
dea6001234 | ||
|
|
67d7584a6e | ||
|
|
417e386412 | ||
|
|
c3d556ed80 | ||
|
|
af24e69848 | ||
|
|
6d2f1df0da | ||
|
|
037db837b2 | ||
|
|
e91fab8a94 | ||
|
|
b65ef06acd | ||
|
|
10527e4480 | ||
|
|
25d1d4f4bc | ||
|
|
b8fcb7203d | ||
|
|
79e21a1156 | ||
|
|
70d0b4460a | ||
|
|
40b1ba3542 | ||
|
|
274290cc5b | ||
|
|
fa6aa9bc7d | ||
|
|
b18c41349d | ||
|
|
b36f20c0d7 | ||
|
|
75a1d3c5aa | ||
|
|
78ab0fee06 | ||
|
|
1b8fe068f7 | ||
|
|
204635a84b | ||
|
|
21d6df56a4 | ||
|
|
514adffb9c | ||
|
|
0006634e5d | ||
|
|
fe79670273 | ||
|
|
f11af0da02 | ||
|
|
fbd56604c0 | ||
|
|
296e2665b5 | ||
|
|
70b6129c6e | ||
|
|
aa84c5f8a2 | ||
|
|
8b0a237ce4 | ||
|
|
6f89bc68fe | ||
|
|
48f7941e64 | ||
|
|
2557e76761 | ||
|
|
b2d556a9f4 | ||
|
|
b1faf87dc0 | ||
|
|
12b5d2d042 | ||
|
|
64dc0a5b1d | ||
|
|
4e63afbfc6 | ||
|
|
f8f863cada | ||
|
|
441e67a462 | ||
|
|
c01cdfd4e6 | ||
|
|
a4e609f927 | ||
|
|
ccb8be24d5 | ||
|
|
8d4cd08e2e | ||
|
|
a40c5e3951 |
2
.dockerignore
Normal file
@@ -0,0 +1,2 @@
|
||||
node_modules
|
||||
npm-debug.log
|
||||
29
.github/workflows/deploy.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
name: Build and Deploy
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
permissions:
|
||||
contents: write
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout 🛎️
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 10
|
||||
|
||||
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
|
||||
run: |
|
||||
pnpm install
|
||||
pnpm xlsx2json
|
||||
pnpm build
|
||||
|
||||
- name: Deploy 🚀
|
||||
uses: JamesIves/github-pages-deploy-action@v4
|
||||
with:
|
||||
folder: template # The folder the action should deploy.
|
||||
31
.github/workflows/node.js.yml
vendored
@@ -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
|
||||
5
.gitignore
vendored
@@ -107,4 +107,7 @@ utils/xlsxTransform-*
|
||||
|
||||
/.idea
|
||||
|
||||
__localStorage.json
|
||||
__localStorage.json
|
||||
|
||||
template/public
|
||||
public/data
|
||||
22
.vscode/launch.json
vendored
@@ -10,27 +10,9 @@
|
||||
"name": "test",
|
||||
"program": "${workspaceFolder}/test",
|
||||
"skipFiles": [
|
||||
"<node_internals>/**"
|
||||
"<node_internals>/**",
|
||||
"**/node_modumes/**"
|
||||
]
|
||||
},
|
||||
{
|
||||
"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
Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM node:alpine
|
||||
|
||||
ENV NPM_CONFIG_LOGLEVEL info
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
EXPOSE 8080
|
||||
CMD ["yarn", "dev"]
|
||||
|
||||
@@ -24,7 +24,7 @@ cd my-project
|
||||
2. 进入目录安装依赖。
|
||||
|
||||
```bash
|
||||
yarn install
|
||||
pnpm install
|
||||
```
|
||||
|
||||
或者
|
||||
@@ -36,7 +36,7 @@ npm install
|
||||
3. 启动本地服务器。
|
||||
|
||||
```bash
|
||||
yarn dev
|
||||
pnpm dev
|
||||
```
|
||||
|
||||
或者
|
||||
@@ -45,7 +45,7 @@ yarn dev
|
||||
npm run dev
|
||||
```
|
||||
|
||||
4. 启动完成后会自动打开浏览器访问 [http://localhost:8081/view/index.html](http://localhost:8081/view/index.html)。
|
||||
4. 启动完成后会自动打开浏览器访问 [http://localhost:5173](http://localhost:5173)。
|
||||
|
||||
</details>
|
||||
|
||||
@@ -59,4 +59,14 @@ node repl
|
||||
|
||||
</details>
|
||||
|
||||
## 其他版本
|
||||
|
||||
<details>
|
||||
<summary><strong>版本列表</strong></summary>
|
||||
<br />
|
||||
|
||||
- Cocos版:[gameall3d/LifeRestart_Cocos](https://github.com/gameall3d/LifeRestart_Cocos)
|
||||
|
||||
</details>
|
||||
|
||||
> 更多信息请参考 [官网文档](https://liferestart.syaro.io/)。
|
||||
|
||||
16
README.md
@@ -24,7 +24,7 @@ cd my-project
|
||||
2. Installation dependence.
|
||||
|
||||
```bash
|
||||
yarn install
|
||||
pnpm install
|
||||
```
|
||||
|
||||
Or
|
||||
@@ -36,7 +36,7 @@ npm install
|
||||
3. Start local server.
|
||||
|
||||
```bash
|
||||
yarn dev
|
||||
pnpm dev
|
||||
```
|
||||
|
||||
Or
|
||||
@@ -45,7 +45,7 @@ Or
|
||||
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).
|
||||
4. After the startup is complete, open a browser and visit [http://localhost:5173](http://localhost:5173).
|
||||
</details>
|
||||
|
||||
<details>
|
||||
@@ -58,4 +58,14 @@ 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/).
|
||||
|
||||
504
data/age.csv
71796
data/age.json
BIN
data/age.xlsx
BIN
data/en-us/achievement.xlsx
Normal file
BIN
data/en-us/age.xlsx
Normal file
BIN
data/en-us/character.xlsx
Normal file
BIN
data/en-us/events.xlsx
Normal file
BIN
data/en-us/talents.xlsx
Normal file
1750
data/events.csv
12652
data/events.json
BIN
data/events.xlsx
136
data/talents.csv
@@ -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,,,,,,,,,,,,
|
||||
|
1335
data/talents.json
BIN
data/zh-cn/achievement.xlsx
Normal file
BIN
data/zh-cn/age.xlsx
Normal file
BIN
data/zh-cn/character.xlsx
Normal file
BIN
data/zh-cn/events.xlsx
Normal file
BIN
data/zh-cn/talents.xlsx
Normal file
BIN
design/black/_theme_dark_achievement.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
design/black/_theme_dark_achievement@2x.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
design/black/_theme_dark_achievement@3x.png
Normal file
|
After Width: | Height: | Size: 61 KiB |
BIN
design/black/_theme_dark_main.png
Normal file
|
After Width: | Height: | Size: 8.1 KiB |
BIN
design/black/_theme_dark_main@2x.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
design/black/_theme_dark_main@3x.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
design/black/_theme_dark_main_2.png
Normal file
|
After Width: | Height: | Size: 8.9 KiB |
BIN
design/black/_theme_dark_main_2@2x.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
design/black/_theme_dark_main_2@3x.png
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
design/black/_theme_dark_property.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
design/black/_theme_dark_property@2x.png
Normal file
|
After Width: | Height: | Size: 37 KiB |
BIN
design/black/_theme_dark_property@3x.png
Normal file
|
After Width: | Height: | Size: 63 KiB |
BIN
design/black/_theme_dark_summary.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
design/black/_theme_dark_summary@2x.png
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
design/black/_theme_dark_summary@3x.png
Normal file
|
After Width: | Height: | Size: 64 KiB |
BIN
design/black/_theme_dark_talent.png
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
BIN
design/black/_theme_dark_talent@2x.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
design/black/_theme_dark_talent@3x.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
design/black/_theme_dark_talent_result.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
design/black/_theme_dark_talent_result@2x.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
design/black/_theme_dark_talent_result@3x.png
Normal file
|
After Width: | Height: | Size: 70 KiB |
BIN
design/black/_theme_dark_talent_result_selected.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
design/black/_theme_dark_talent_result_selected@2x.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
design/black/_theme_dark_talent_result_selected@3x.png
Normal file
|
After Width: | Height: | Size: 70 KiB |
BIN
design/black/_theme_dark_trajectory.png
Normal file
|
After Width: | Height: | Size: 7.9 KiB |
BIN
design/black/_theme_dark_trajectory@2x.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
design/black/_theme_dark_trajectory@3x.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
design/black/_theme_dark_trajectory_end.png
Normal file
|
After Width: | Height: | Size: 9.9 KiB |
BIN
design/black/_theme_dark_trajectory_end@2x.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
design/black/_theme_dark_trajectory_end@3x.png
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
design/cyber/lifeRestart.sketch
Normal file
BIN
design/cyber/lifeRestart.xd
Normal file
BIN
design/cyber/pages/_theme_cyber_achievement.png
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
design/cyber/pages/_theme_cyber_achievement@2x.png
Normal file
|
After Width: | Height: | Size: 99 KiB |
BIN
design/cyber/pages/_theme_cyber_achievement@3x.png
Normal file
|
After Width: | Height: | Size: 170 KiB |
BIN
design/cyber/pages/_theme_cyber_main.png
Normal file
|
After Width: | Height: | Size: 82 KiB |
BIN
design/cyber/pages/_theme_cyber_main@2x.png
Normal file
|
After Width: | Height: | Size: 237 KiB |
BIN
design/cyber/pages/_theme_cyber_main@3x.png
Normal file
|
After Width: | Height: | Size: 434 KiB |
BIN
design/cyber/pages/_theme_cyber_property.png
Normal file
|
After Width: | Height: | Size: 53 KiB |
BIN
design/cyber/pages/_theme_cyber_property@2x.png
Normal file
|
After Width: | Height: | Size: 128 KiB |
BIN
design/cyber/pages/_theme_cyber_property@3x.png
Normal file
|
After Width: | Height: | Size: 237 KiB |
BIN
design/cyber/pages/_theme_cyber_statistics.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
design/cyber/pages/_theme_cyber_statistics@2x.png
Normal file
|
After Width: | Height: | Size: 62 KiB |
BIN
design/cyber/pages/_theme_cyber_statistics@3x.png
Normal file
|
After Width: | Height: | Size: 110 KiB |
BIN
design/cyber/pages/_theme_cyber_summary.png
Normal file
|
After Width: | Height: | Size: 62 KiB |
BIN
design/cyber/pages/_theme_cyber_summary@2x.png
Normal file
|
After Width: | Height: | Size: 154 KiB |
BIN
design/cyber/pages/_theme_cyber_summary@3x.png
Normal file
|
After Width: | Height: | Size: 276 KiB |
BIN
design/cyber/pages/_theme_cyber_talent.png
Normal file
|
After Width: | Height: | Size: 135 KiB |
BIN
design/cyber/pages/_theme_cyber_talent@2x.png
Normal file
|
After Width: | Height: | Size: 401 KiB |
BIN
design/cyber/pages/_theme_cyber_talent@3x.png
Normal file
|
After Width: | Height: | Size: 751 KiB |
BIN
design/cyber/pages/_theme_cyber_talent_result.png
Normal file
|
After Width: | Height: | Size: 58 KiB |
BIN
design/cyber/pages/_theme_cyber_talent_result@2x.png
Normal file
|
After Width: | Height: | Size: 145 KiB |
BIN
design/cyber/pages/_theme_cyber_talent_result@3x.png
Normal file
|
After Width: | Height: | Size: 279 KiB |
BIN
design/cyber/pages/_theme_cyber_talent_result_selected.png
Normal file
|
After Width: | Height: | Size: 58 KiB |
BIN
design/cyber/pages/_theme_cyber_talent_result_selected@2x.png
Normal file
|
After Width: | Height: | Size: 143 KiB |
BIN
design/cyber/pages/_theme_cyber_talent_result_selected@3x.png
Normal file
|
After Width: | Height: | Size: 276 KiB |
BIN
design/cyber/pages/_theme_cyber_trajectory.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
design/cyber/pages/_theme_cyber_trajectory@2x.png
Normal file
|
After Width: | Height: | Size: 72 KiB |
BIN
design/cyber/pages/_theme_cyber_trajectory@3x.png
Normal file
|
After Width: | Height: | Size: 128 KiB |
BIN
design/cyber/pages/_theme_cyber_trajectory_end.png
Normal file
|
After Width: | Height: | Size: 56 KiB |
BIN
design/cyber/pages/_theme_cyber_trajectory_end@2x.png
Normal file
|
After Width: | Height: | Size: 116 KiB |
BIN
design/cyber/pages/_theme_cyber_trajectory_end@3x.png
Normal file
|
After Width: | Height: | Size: 186 KiB |
BIN
favicon.ico
Normal file
|
After Width: | Height: | Size: 200 KiB |
72
index.html
Normal file
@@ -0,0 +1,72 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
|
||||
<meta name="description" content="やり直すんだ。そして、次はうまくやる。"/>
|
||||
<meta name="keywords" content="人生重开模拟器 liferestart life restart remake 人生重来"/>
|
||||
<meta name="renderer" content="webkit"/>
|
||||
<meta name="apple-mobile-web-app-capable" content="yes"/>
|
||||
<meta name="full-screen" content="true"/>
|
||||
<meta name="x5-fullscreen" content="true"/>
|
||||
<meta name="360-fullscreen" content="true"/>
|
||||
<meta name="theme-color" content="#157878"/>
|
||||
<meta name="laya" screenorientation ="landscape"/>
|
||||
<meta http-equiv="expires" content="0"/>
|
||||
<meta http-equiv="Cache-Control" content="no-siteapp"/>
|
||||
<font-face font-family="方正像素12" src="fonts/方正像素12.ttf"/>
|
||||
<title>Life Restart</title>
|
||||
<!--以下引用了常用类库,如果不使用,可以删除-->
|
||||
|
||||
<!--核心包,封装了显示对象渲染,事件,时间管理,时间轴动画,缓动,消息交互,socket,本地存储,鼠标触摸,声音,加载,颜色滤镜,位图字体等-->
|
||||
<script type="text/javascript" src="libs/laya/laya.core.js"></script>
|
||||
<!--提供了微信小游戏的适配-->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.wxmini.js"></script> -->
|
||||
<!--提供了百度小游戏的适配-->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.bdmini.js"></script> -->
|
||||
<!--提供了小米小游戏的适配-->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.xmmini.js"></script> -->
|
||||
<!--提供了OPPO小游戏的适配-->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.quickgamemini.js"></script> -->
|
||||
<!--提供了bilibili小游戏的适配-->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.bilimini.js"></script> -->
|
||||
<!--提供了Alipay小游戏的适配-->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.Alipaymini.js"></script> -->
|
||||
<!--提供了qq小游戏的适配-->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.qqmini.js"></script> -->
|
||||
<!--提供了字节跳动小游戏的适配-->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.ttmini.js"></script> -->
|
||||
<!--提供了华为快游戏的适配-->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.hwmini.js"></script> -->
|
||||
<!--提供了淘宝商家应用的适配-->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.tbmini.js"></script> -->
|
||||
<!--提供了淘宝小部件的适配-->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.tbplugin.js"></script> -->
|
||||
<!--封装了webgl渲染管线,如果使用webgl渲染,可以在初始化时调用Laya.init(1000,800,laya.webgl.WebGL);-->
|
||||
<script type="text/javascript" src="libs/laya/laya.webgl.js"></script>
|
||||
<!--提供了VIVO小游戏的适配-->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.vvmini.js"></script> -->
|
||||
<!--是动画模块,包含了swf动画,骨骼动画等-->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.ani.js"></script> -->
|
||||
<!--包含更多webgl滤镜,比如外发光,阴影,模糊以及更多-->
|
||||
<script type="text/javascript" src="libs/laya/laya.filter.js"></script>
|
||||
<!--封装了html动态排版功能-->
|
||||
<script type="text/javascript" src="libs/laya/laya.html.js"></script>
|
||||
<!--粒子类库-->
|
||||
<script type="text/javascript" src="libs/laya/laya.particle.js"></script>
|
||||
<!--提供tileMap解析支持-->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.tiledmap.js"></script> -->
|
||||
<!--提供了制作UI的各种组件实现-->
|
||||
<script type="text/javascript" src="libs/laya/laya.ui.js"></script>
|
||||
<!-- 提供LayaAir3d接口 -->
|
||||
<!-- <script type="text/javascript" src="libs/laya/laya.d3.js"></script> -->
|
||||
|
||||
<!-- 物理引擎matter.js -->
|
||||
<!--自定义的js(src文件夹下)文件自动添加到下面jsfile模块标签里面里,js的顺序可以手动修改,修改后保留修改的顺序,新增加的js会默认依次追加到标签里-->
|
||||
<!--删除标签,ide不会自动添加js文件,请谨慎操作-->
|
||||
|
||||
<script type="module" src="src/index.js"></script>
|
||||
</head>
|
||||
<body style="background:black"></body>
|
||||
</html>
|
||||
12
jsconfig.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
// See http://go.microsoft.com/fwlink/?LinkId=759670
|
||||
// for the documentation about the jsconfig.json format
|
||||
"compilerOptions": {
|
||||
"target": "es5"
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"public",
|
||||
"view"
|
||||
]
|
||||
}
|
||||
37
laya/.laya
Normal file
@@ -0,0 +1,37 @@
|
||||
<project version="0.9.8">
|
||||
<asynRes>img,temp,sound </asynRes>
|
||||
<unDealRes>embed </unDealRes>
|
||||
<resTypes>png,jpg </resTypes>
|
||||
<resExportPath>public/images/atlas </resExportPath>
|
||||
<asynResExportPath>public </asynResExportPath>
|
||||
<codeExportPath>src/ui </codeExportPath>
|
||||
<codeImports><![CDATA[import laya.ui.*;
|
||||
import laya.display.*; ]]> </codeImports>
|
||||
<codeImportsJS><![CDATA[var View=laya.ui.View;
|
||||
var Dialog=laya.ui.Dialog;]]> </codeImportsJS>
|
||||
<uiType>0 </uiType>
|
||||
<uiExportPath>public/ui.json </uiExportPath>
|
||||
<boxTypes>Box,List,Tab,RadioGroup,ViewStack,Panel,HBox,VBox,Tree,Sprite </boxTypes>
|
||||
<pageTypes>View,Dialog </pageTypes>
|
||||
<shareResPath/>
|
||||
<codeType>2 </codeType>
|
||||
<resCanCompress/>
|
||||
<resPublishQuality>80 </resPublishQuality>
|
||||
<langPath/>
|
||||
<defaultFont/>
|
||||
<codeImportsTS><![CDATA[import View=laya.ui.View;
|
||||
import Dialog=laya.ui.Dialog;]]> </codeImportsTS>
|
||||
<textureWidth>2048 </textureWidth>
|
||||
<textureHeight>2048 </textureHeight>
|
||||
<picWidth>512 </picWidth>
|
||||
<picHeight>512 </picHeight>
|
||||
<power2>false </power2>
|
||||
<trimempty>false </trimempty>
|
||||
<codeViewExportPath>src/view </codeViewExportPath>
|
||||
<picType>0 </picType>
|
||||
<atlasType>1 </atlasType>
|
||||
<atlasScale/>
|
||||
<copyRes>true </copyRes>
|
||||
<dataCompact>true </dataCompact>
|
||||
<ver>0.9.9 beta </ver>
|
||||
</project>
|
||||