Skip to content

Instantly share code, notes, and snippets.

View KevinT3Hu's full-sized avatar

SmilingPie KevinT3Hu

  • 22:35 (UTC +08:00)
View GitHub Profile
function fish_prompt
set -l last_status $status
set -l normal (set_color normal)
# Gruvbox colors
set -l bg0_hard "1d2021"
set -l bg0 "282828"
set -l bg1 "3c3836"
set -l fg0 "fbf1c7"
set -l red_bright "fb4934"
'''
CalculateTrust.py script used to calculate how much sanity is needed to level up an operator's trust from and to a certain value
Usage: python CalculateTryst.py <StartValueOfTrust> <TargetValueOfTrust>
Example: python CalculateTrust.py 0 200
Output: 25570
Note that considering certain mechanics involved in the calculation, the result will be at most 80 away from the actual amount of sanity needed.
Also, the result of this script does not take the boost from certain activity operations into account.
by kht on 2022/09/18