1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-09 16:13:31 +08:00

reformat README and place them at root of each MOD

This commit is contained in:
2022-09-11 09:53:02 +08:00
parent 78e5ba4266
commit 7ff9a48cf6
9 changed files with 37 additions and 29 deletions

View File

@@ -24,6 +24,6 @@
</ItemGroup> </ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent"> <Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="del /F /Q package\$(ProjectName)-$(Version).zip&#xA;zip -9 -j package/$(ProjectName)-$(Version).zip $(TargetPath) package/icon.png package/manifest.json package/README.md" /> <Exec Command="del /F /Q package\$(ProjectName)-$(Version).zip&#xA;zip -9 -j package/$(ProjectName)-$(Version).zip $(TargetPath) package/icon.png package/manifest.json README.md" />
</Target> </Target>
</Project> </Project>

View File

@@ -1,8 +1,9 @@
## CheatEnabler ## CheatEnabler
### Enable cheat functions as below ### Add various cheat functions while disabling abnormal determinants
* Disable abnormal determinants (Disable all sanity checks, and can get achievements on using Console and Developer Mode shortcuts). * Disable abnormal determinants (Disable all sanity checks, and can get achievements on using Console and Developer Mode
shortcuts).
* Shift+F4 to switch Developer Mode on/off. * Shift+F4 to switch Developer Mode on/off.
* Numpad 1: Gets all items and extends bag. * Numpad 1: Gets all items and extends bag.
* Numpad 2: Boosts walk speed, gathering speed and mecha energy restoration. * Numpad 2: Boosts walk speed, gathering speed and mecha energy restoration.

View File

@@ -24,6 +24,6 @@
</ItemGroup> </ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent"> <Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="del /F /Q package\$(ProjectName)-$(Version).zip&#xA;zip -9 -j package/$(ProjectName)-$(Version).zip $(TargetPath) package/icon.png package/manifest.json package/README.md" /> <Exec Command="del /F /Q package\$(ProjectName)-$(Version).zip&#xA;zip -9 -j package/$(ProjectName)-$(Version).zip $(TargetPath) package/icon.png package/manifest.json README.md" />
</Target> </Target>
</Project> </Project>

15
Dustbin/README.md Normal file
View File

@@ -0,0 +1,15 @@
## Dustbin
### Storages can abandon incoming items while capacity limited to zero
* Conditions to be dustbin: Storages with capacity limited to zero at top of stacks, and empty in 1st cell.
* Items sent into dustbins are removed immediately.
* Can get sands from abandoned items (with factors configurable):
* Get 10/100 sands from each silicon/fractal silicon ore
* Get 1 sand from any other normal item but fluid
* Known bugs
* Stack 1 more storage up on a zero limited one and remove it will cause dustbin stop working. Just put somethings
in and take them out to make the dustbin working again.
This is caused by a logic bug in original code where faulty set `lastFullItem` field of `StorageComponent` for
empty storages.

View File

@@ -1,12 +0,0 @@
## Dustbin
### Storages with capacity limited to zero act like dustbins(abandon incoming items)
* Conditions to become dustbin: Storages with capacity limited to zero at top of storage stacks with nothing in 1st cell.
* Items sent into dustbin are removed immediately.
* Can get sands from abandoned items (with factors configurable):
* Get 100 sands from each fractal silicon ore
* Get 10 sands from each silicon ore
* Get nothing from fluids
* Get 1 sand from any other normal item
* Known bug: stack 1 more storage up on a zero limited one and remove it will cause dustbin stop working. Just put somethings in and take them out to make the dustbin working again.

View File

@@ -23,6 +23,6 @@
</ItemGroup> </ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent"> <Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="del /F /Q package\$(ProjectName)-$(Version).zip&#xA;zip -9 -j package/$(ProjectName)-$(Version).zip $(TargetPath) package/icon.png package/manifest.json package/README.md" /> <Exec Command="del /F /Q package\$(ProjectName)-$(Version).zip&#xA;zip -9 -j package/$(ProjectName)-$(Version).zip $(TargetPath) package/icon.png package/manifest.json README.md" />
</Target> </Target>
</Project> </Project>

View File

@@ -8,7 +8,7 @@
But it is heavily optimized to resolve performance, accuracy and other issues in PlanetMiner. But it is heavily optimized to resolve performance, accuracy and other issues in PlanetMiner.
* Only recalculate count of veins when vein chunks are changed (added/removed by foundations/Sandbox-Mode, or * Only recalculate count of veins when vein chunks are changed (added/removed by foundations/Sandbox-Mode, or
exhausted), this removes Dictionary allocation on each planet for every frame which may impact performance. exhausted), so this removes Dictionary allocation on each planet for every frame.
* More accurate frame counting by use float number. * More accurate frame counting by use float number.
* Does not increase power consumptions on `Veins Utilization` upgrades. * Does not increase power consumptions on `Veins Utilization` upgrades.
* Separate power consumptions for veins, oil seeps and water. * Separate power consumptions for veins, oil seeps and water.

View File

@@ -2,9 +2,10 @@
## [CheatEnabler](CheatEnabler) ## [CheatEnabler](CheatEnabler)
### Enable cheat functions as below ### Add various cheat functions while disabling abnormal determinants
* Disable abnormal determinants (Disable all sanity checks, and can get achievements on using Console and Developer Mode shortcuts). * Disable abnormal determinants (Disable all sanity checks, and can get achievements on using Console and Developer Mode
shortcuts).
* Shift+F4 to switch Developer Mode on/off. * Shift+F4 to switch Developer Mode on/off.
* Numpad 1: Gets all items and extends bag. * Numpad 1: Gets all items and extends bag.
* Numpad 2: Boosts walk speed, gathering speed and mecha energy restoration. * Numpad 2: Boosts walk speed, gathering speed and mecha energy restoration.
@@ -43,7 +44,7 @@
* Separate power consumptions for veins, oil seeps and water. * Separate power consumptions for veins, oil seeps and water.
* Power consumptions are counted by groups of veins and count of oil seeps, which is more sensible. * Power consumptions are counted by groups of veins and count of oil seeps, which is more sensible.
* Can burn fuels in certain slot when energy below half of max. * Can burn fuels in certain slot when energy below half of max.
* Sprayed fuels generates extra energy as normal. * Sprayed fuels generates extra energy as normal.
* All used parameters are configurable: * All used parameters are configurable:
* ILS has the same speed as normal Mining Machine for normal ores by default. * ILS has the same speed as normal Mining Machine for normal ores by default.
@@ -71,13 +72,16 @@
## [Dustbin](Dustbin) ## [Dustbin](Dustbin)
### Storages with capacity limited to zero act like dustbins(abandon incoming items) ### Storages can abandon incoming items while capacity limited to zero
* Conditions to become dustbin: Storages with capacity limited to zero at top of storage stacks with nothing in 1st cell. * Conditions to be dustbin: Storages with capacity limited to zero at top of stacks, and empty in 1st cell.
* Items sent into dustbin are removed immediately. * Items sent into dustbins are removed immediately.
* Can get sands from abandoned items (with factors configurable): * Can get sands from abandoned items (with factors configurable):
* Get 100 sands from each fractal silicon ore * Get 10/100 sands from each silicon/fractal silicon ore
* Get 10 sands from each silicon ore * Get 1 sand from any other normal item but fluid
* Get nothing from fluids * Known bugs
* Get 1 sand from any other normal item * Stack 1 more storage up on a zero limited one and remove it will cause dustbin stop working. Just put somethings
* Known bug: stack 1 more storage up on a zero limited one and remove it will cause dustbin stop working. Just put somethings in and take them out to make the dustbin working again. in and take them out to make the dustbin working again.
This is caused by a logic bug in original code where faulty set `lastFullItem` field of `StorageComponent` for
empty storages.