-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
153 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
export enum AccelerateMode { | ||
Accerlerate = 1, | ||
Increase = 0, | ||
} | ||
|
||
export interface IBuildingParam { | ||
getCount():number | ||
toJSON():Object | ||
} | ||
|
||
export class BuildingParamDefault implements IBuildingParam{ | ||
accelerate_mode: AccelerateMode | ||
|
||
constructor(accelerate_mode = AccelerateMode.Accerlerate) { | ||
this.accelerate_mode = accelerate_mode | ||
} | ||
|
||
getCount(): number { | ||
return 1 | ||
} | ||
|
||
toJSON():Object { | ||
return {"Unknown": [this.accelerate_mode]} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/** | ||
* 白糖 7200 增产 36000 | ||
* 蓝糖 1152 增产 28800 | ||
* 磁铁 64 加速 23040 | ||
* 磁线圈 144 加速 23040 | ||
* 铜块 895 加速 214733 | ||
* 电路板 351 加速 126259 | ||
* 铁板 603 加速 144691 | ||
* 红糖 1440 加速 28800 | ||
* 石墨 634 加速 76032 | ||
* 黄糖 3072 增产 28800 | ||
* 金刚石 188 加速 59904 | ||
* 钛晶石 512 加速 23040 | ||
* 钛块 884 加速 105984 | ||
* 紫糖 3840 增产 28800 | ||
* CPU 1721 增产 64512 | ||
* 集成芯片 1147 加速 103219 | ||
* 硅块 1721 加速 206438 | ||
* 粒子带宽 1639 增产 23040 | ||
* 碳纳米管 615 加速 36864 | ||
* 晶格硅 154 加速 36864 | ||
* 塑料 461 加速 18432 | ||
* 绿糖 4608 增产 28800 | ||
* 量子芯片 615 增产 11520 | ||
* 位面过滤 1229 加速 18432 | ||
* 卡晶 410 加速 18432 | ||
* 石墨烯 308 加速 36864 | ||
* 钛化玻璃 512 加速 36864 | ||
* 玻璃 308 加速 36864 | ||
* 引力透镜 615 增产 11520 | ||
* 奇异物质 615 加速 9216 | ||
* 粒子容器 410 加速 18432 | ||
* 反物质 240 加速 28800 | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# 戴森球计划蓝图生成脚本 | ||
|
||
该脚本用来生成戴森球蓝图,将会先生成描述建筑布局的JSON文件 | ||
|
||
然后使用来自 https://github.com/Wesmania/dspbp 的编译器将JSON文件转换成游戏中的蓝图文件 | ||
|
||
## 试用 | ||
|
||
> npm i | ||
> npm start --output=output.json | ||
> ./third/dspbp.exe -i output.json -o output.txt undump | ||
## 当前状态 | ||
|
||
7200 蓝糖(未完成,缺物流塔和垂直传送带) | ||
|
||
---- | ||
|
||
# Dyson Sphere Project Blueprint Generator | ||
|
||
Try to generate the blueprint by code. It will generate the JSON file which describes the DSP blueprint. | ||
|
||
The compiler to convert blueprint.json to blueprint.txt is copy from https://github.com/Wesmania/dspbp | ||
|
||
## Test | ||
|
||
> npm i | ||
> npm start --output=output.json | ||
> ./third/dspbp.exe -i output.json -o output.txt undump | ||
# Current Status | ||
|
||
7200 Electric Matrix (not complete for the station and the belts) |