initial release

This commit is contained in:
Draqoken
2025-07-01 23:39:29 +03:00
commit 230f1dd469
18 changed files with 824 additions and 0 deletions

44
scripts/pathupdator.set Normal file
View File

@@ -0,0 +1,44 @@
#alias loadpathchangeprompt {
#alarm 0.05 {#say {This function allows the user to alter the currently defined paths for the soundpack to load and should be used in cases when you moved your scripts and sounds folders to a different location/locations. With this in mind, would you like to continue?} VoiceOnly};
#pick {P:Are you sure?|
yes:pathconfig|
no:#abort}}
#alias pathconfig {
#alarm 0.100 {#say {Choose a path to edit, and once satisfied, press 'apply' to continue} VoiceOnly};
#pick {P:Soundpack path Configuration:|
Choose the disk where your scripts are stored, currently, (@scriptdisk):diskforscripts|
Choose the disk where your sounds are stored, currently (@sounddisk):diskforsounds|
Path for scripts (@tempscpath), press enter to edit:pathforscripts|
Path for sounds (@tempsppath), press enter to edit:pathforsounds|
Apply:finishpathchange}}
#alias diskforscripts {
#alarm 0.50 {#say {please enter the volume of the disk where your scripts are stored, it should be capitalized at all times, examples include, C, D, H, G...} VoiceOnly};
#prompt scriptdisk {Disk?};
pathconfig}
#alias diskforsounds {
#alarm 0.50 {#say {please enter the volume of the disk where your sounds are stored, it should be capitalized at all times, examples include, C, D, H, G...} VoiceOnly};
#prompt sounddisk {Disk?};
pathconfig}
#alias pathforscripts {
#alarm 0.50 {#say {Please enter a path, without disk lable, to the directory with the .set files located in} VoiceOnly};
#prompt tempscpath {Path to scripts};
pathconfig}
#alias pathforsounds {
#alarm 0.50 {#say {Please enter a path, without disk lables, to the directory with the sound folders located in} VoiceOnly};
#prompt tempsppath {Path to sounds};
pathconfig}
#alias finishpathchange {
#delfile {%CharInfo(MudName)/loader.set};
#file 1 {%CharInfo(MudName)/loader.set};
#write 1 {#var scpath {@scriptdisk:\@tempscpath}};
#write 1 {#var sppath @sounddisk:{@tempsppath}};
#close 1;
#alarm 0.50 {#say {Press enter to reload} VoiceOnly};
#pick {P:We're about to reload!|
Continue:#reload}}
#key {shift-f2} {loadpathchangeprompt}