Last active
September 29, 2015 12:00
-
-
Save AndrioCelos/7570be7f12c6aef5912f to your computer and use it in GitHub Desktop.
This script is no longer in use. We use the actual patch utility now.
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
alias patch { | |
if ($1 == augment-list-fix) { | |
noop $read(characters.als, nr, ^ *set {1}%weapon_augment \$readini\(\$char\(\$1\), augments, \%weapon\.name\)) | |
var %line = $readn | |
if (%line == 0) { | |
echo 4 Could not find the reference point in characters.als. | |
return | |
} | |
write -l $+ %line characters.als $eval( set %weapon_augment $readini($char($1), augments, $strip(%weapon.name)), 0) | |
reload -a characters.als | |
echo 12 Patch successful. | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment