Compare commits
147 Commits
v1.1.0-bet
...
dd5a003801
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dd5a003801 | ||
|
|
ddc87ebf40 | ||
|
|
23bcae0b74 | ||
|
|
e075dfc23d | ||
|
|
9088ab0eb1 | ||
|
|
39388c6eaf | ||
|
|
0ce9b0ed02 | ||
|
|
aee4fcf164 | ||
|
|
5c0fe56915 | ||
|
|
b82da6c9a7 | ||
|
|
b1ffae9eaf | ||
|
|
fee986432d | ||
|
|
25fc74398a | ||
|
|
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 | ||
|
|
06de7417a8 | ||
|
|
b4d1d757e1 | ||
|
|
574df2b670 | ||
|
|
a5c26a8d68 | ||
|
|
866acdb8b2 | ||
|
|
b833713afe | ||
|
|
7db04c03d7 | ||
|
|
b13c6aa488 | ||
|
|
1c1a2315a0 | ||
|
|
38ac352795 | ||
|
|
2c9392de8d | ||
|
|
71507e0164 | ||
|
|
74e8a7b34f | ||
|
|
5031b089ff | ||
|
|
8a265a2e84 | ||
|
|
fb7d78ef83 | ||
|
|
65be1b4f40 | ||
|
|
77f483bd18 | ||
|
|
a52178b5f8 | ||
|
|
1e4670c112 | ||
|
|
ed0a5de025 | ||
|
|
c73d2ebae6 | ||
|
|
f048e0bbc2 | ||
|
|
7654b2a212 | ||
|
|
cf1acb64bf | ||
|
|
6433c737d7 | ||
|
|
1e816faf00 | ||
|
|
e876fc7768 | ||
|
|
a59bce865f | ||
|
|
1003a78a2a |
2
.dockerignore
Normal file
@@ -0,0 +1,2 @@
|
||||
node_modules
|
||||
npm-debug.log
|
||||
11
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
# To get started with Dependabot version updates, you'll need to specify which
|
||||
# package ecosystems to update and where the package manifests are located.
|
||||
# Please see the documentation for all configuration options:
|
||||
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
|
||||
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "" # See documentation for possible values
|
||||
directory: "/" # Location of package manifests
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
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"]
|
||||
|
||||
@@ -14,38 +14,22 @@
|
||||
<summary><strong>网页版</strong></summary>
|
||||
<br />
|
||||
|
||||
1. 下载项目代码。
|
||||
|
||||
```bash
|
||||
# 1. 下载项目代码
|
||||
git clone https://github.com/VickScarlet/lifeRestart.git my-project
|
||||
|
||||
# 2. 进入目录安装依赖
|
||||
cd my-project
|
||||
pnpm install
|
||||
|
||||
# 3. 转换XLSX表
|
||||
pnpm xlsx2json
|
||||
|
||||
# 4. 启动本地开发服务器
|
||||
pnpm dev
|
||||
```
|
||||
|
||||
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)。
|
||||
启动完成后打开浏览器访问 [http://localhost:5173](http://localhost:5173)。
|
||||
|
||||
</details>
|
||||
|
||||
@@ -59,4 +43,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/)。
|
||||
|
||||
47
README.md
@@ -14,38 +14,23 @@ English | [简体中文](./README-zh_CN.md)
|
||||
<summary><strong>Web Version</strong></summary>
|
||||
<br />
|
||||
|
||||
1. Clone project code.
|
||||
|
||||
```bash
|
||||
# 1. Clone project code.
|
||||
git clone git@github.com:VickScarlet/lifeRestart.git my-project
|
||||
cd my-project
|
||||
|
||||
# 2. Installation dependence.
|
||||
pnpm install
|
||||
|
||||
# 3. Transform XLSX
|
||||
pnpm xlsx2json
|
||||
|
||||
# 4. Start local dev server.
|
||||
pnpm dev
|
||||
```
|
||||
|
||||
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).
|
||||
After the startup is complete, open a browser and visit [http://localhost:5173](http://localhost:5173).
|
||||
</details>
|
||||
|
||||
<details>
|
||||
@@ -58,4 +43,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
57046
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
1572
data/events.csv
12263
data/events.json
BIN
data/events.xlsx
133
data/talents.csv
@@ -1,133 +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,理财达人,30、40、50岁时家境+1,"AGE?[30,40,50]",0,,,1,,,,,,,,,
|
||||
1060,成熟,12、18岁时智力+1,"AGE?[12,18]",1,,,,,,1,,,,,,
|
||||
1061,形象管理,16、24岁时颜值+1,"AGE?[16,24]",1,,,,1,,,,,,,,
|
||||
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,活死人,体质<-1时其他属性+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,不连续存在,你还拥有其他人格,,2,,,,,,,,,,,,
|
||||
1130,占位符,少一个可选天赋,,0,,,,,,,,,,,,
|
||||
1131,魔法棒,不知道有什么用……,,2,,,,,,,,,,,,
|
||||
|
1173
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 |
36
index.html
Normal file
@@ -0,0 +1,36 @@
|
||||
<!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>
|
||||
<!--
|
||||
<script type="text/javascript" src="libs/laya/laya.core.js"></script>
|
||||
<script type="text/javascript" src="libs/laya/laya.webgl.js"></script>
|
||||
<script type="text/javascript" src="libs/laya/laya.filter.js"></script>
|
||||
<script type="text/javascript" src="libs/laya/laya.html.js"></script>
|
||||
<script type="text/javascript" src="libs/laya/laya.particle.js"></script>
|
||||
<script type="text/javascript" src="libs/laya/laya.ui.js"></script>
|
||||
-->
|
||||
<script type="text/javascript" src="libs/laya/min/laya.core.min.js"></script>
|
||||
<script type="text/javascript" src="libs/laya/min/laya.webgl.min.js"></script>
|
||||
<script type="text/javascript" src="libs/laya/min/laya.filter.min.js"></script>
|
||||
<script type="text/javascript" src="libs/laya/min/laya.particle.min.js"></script>
|
||||
<script type="text/javascript" src="libs/laya/min/laya.ui.min.js"></script>
|
||||
<script type="module" src="src/index.js"></script>
|
||||
</head>
|
||||
<body style="background:black"></body>
|
||||
</html>
|
||||
10
jsconfig.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
// See http://go.microsoft.com/fwlink/?LinkId=759670
|
||||
// for the documentation about the jsconfig.json format
|
||||
"compilerOptions": {
|
||||
"module": "esnext",
|
||||
"target": "es6",
|
||||
},
|
||||
"include":["src", "repl", "vite.config.js"],
|
||||
"exclude": ["node_modules", "public", "view"]
|
||||
}
|
||||