fix folders
This commit is contained in:
26
Other/Resource Count/README.md
Normal file
26
Other/Resource Count/README.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# Resorce Count
|
||||
|
||||
This script displays percentage remaining of all ship resources.
|
||||
|
||||
## Inputs
|
||||
|
||||
The inputs are default variable names:
|
||||
|
||||
- `:GasNetworkMaxResource`
|
||||
- `:FuelChamberMaxFuel`
|
||||
- `:MaxCoolant`
|
||||
- `:MaxRadiatorCoolant`
|
||||
- `:GasNetworkStoredResource`
|
||||
- `:FuelChamberFuel`
|
||||
- `:StoredCoolant`
|
||||
- `:StoredRadiatorCoolant`
|
||||
|
||||
## Outputs
|
||||
|
||||
The output is a string in the `:Resources` text panel.
|
||||
|
||||
- `:Resources`
|
||||
|
||||
## Credits
|
||||
|
||||
- Waselon#5191
|
||||
7
Other/Resource Count/resource-count.yolol
Normal file
7
Other/Resource Count/resource-count.yolol
Normal file
@@ -0,0 +1,7 @@
|
||||
f="\n" a="Gas : " b="Fuel: " c="Cool: " d="Rad : " n=100 e="%"
|
||||
maxg=:GasNetworkMaxResource maxf=:FuelChamberMaxFuel
|
||||
maxc=:MaxCoolant maxr=:MaxRadiatorCoolant
|
||||
gas=:GasNetworkStoredResource fuel=:FuelChamberFuel
|
||||
cool=:StoredCoolant radc=:StoredRadiatorCoolant
|
||||
gp=gas/maxg*n fp=fuel/maxf*n cp=cool/maxc*n rp=radc/maxr*n
|
||||
:Resources=f+a+gp/n*n+e+f+b+fp/n*n+e+f+c+cp/n*n+e+f+d+rp/n*n+e goto4
|
||||
Reference in New Issue
Block a user