Skip to content

Commit

Permalink
Fix minor issues
Browse files Browse the repository at this point in the history
Fix missing collision number, add sakura and kero name, fix advice in comments, add SNTP events, fix awkward wording in install dialogues
  • Loading branch information
Zichqec committed Oct 10, 2023
1 parent 5d5013b commit 40114d1
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 8 deletions.
4 changes: 2 additions & 2 deletions ghost/master/descript.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ shiori,yaya.dll
craftman,
craftmanurl,

sakura.name,
kero.name,
sakura.name,Simplicity
kero.name,Template

icon,icon.ico

Expand Down
32 changes: 30 additions & 2 deletions ghost/master/meta.dic
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//This file handles a couple little QOL functions you may want. But these are not necessary! If you don't care for them just erase them. If you don't want to set up network updates, you can comment or remove the update functions too. If you're not interested in any of these, just remove the whole file!
//This file handles a couple little QOL functions you may want, as well as some SNTP events since they don't have default text. But these are not necessary! If you don't care for them just erase them. If you don't want to set up network updates, you can comment or remove the update functions too. If you're not interested in any of these, just remove the whole file!

//—————————————————————————————— Installing something ——————————————————————————————
OnInstallComplete
{
"\0\s[0]Installed a %(reference0),\w4 called %(reference1)."
"\0\s[0]Installed %(reference1) (%(reference0))."
--
if "ghost" _in_ reference0 //A little menu to open or change to the ghost that was installed immediately
{
Expand Down Expand Up @@ -98,4 +98,32 @@ OnUpdateFailure //If the update fails
{
"\0\s[0]Error while updating:\w4 ""%(reference0)""."
}
}


//—————————————————————————————— SNTP (clock fixing) ——————————————————————————————
OnSNTPCompare
{
if reference3 != 0
{
_s = ""; if reference3 != 1; _s = "s"

"\0\s[0]The clock is off by %(reference3) second%(_s).\n\n"
--
"\![*]\q[Fix it,script:\6] \![*]\q[Leave it,blank]"
}
else
{
"\0\s[0]The clock is accurate."
}
}

OnSNTPCorrect
{
"\0\s[0]The clock has been corrected."
}

OnSNTPFailure
{
"\0\s[0]Could not correct the clock."
}
8 changes: 4 additions & 4 deletions shell/master/surfaces.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//Some quick notes:
//1: SERIKO does NOT support same line comments. If you want to write a comment, ALWAYS PUT IT ON ITS OWN LINE. If you put comments after other bits of code in the same line, it may seem to work at first, but it can cause cryptic errors down the line. Save yourself the trouble. Always put comments on their own lines in here. Additionally, it doesn't do block comments with /* and */
//2: The example blink code is set up with the new definition, which I recommend you use. Here is my guide to what that means: https://zichqec.github.io/s-the-skeleton/olddef_vs_newdef
//1: surfaces.txt does NOT support same line comments. If you want to write a comment, ALWAYS PUT IT ON ITS OWN LINE. If you put comments after other bits of code in the same line, it may seem to work at first, but it can cause cryptic errors down the line. Save yourself the trouble. Always put comments on their own lines in here. Additionally, it doesn't do block comments with /* and */
//2: The example blink code is set up with the new definition, which I recommend you use. Here is my guide to what that means: https://ukagaka.zichqec.com/guide/old_definition_vs_new_definition
//If you want to use old definition, make sure to erase that 'version,1' bit.
//3: It is very common for people to feel stuck on how to start, because they don't know what expressions to make without having dialogue, but they don't know what dialogue to write without having expressions. If you're feeling that way, I highly suggest using emoji as substitutes just to get you started! That may sound weird if you're not fond of emoji, but seriously, just give it a try. I've found that just writing a few messages in Discord and using the emoji to signify surface changes is a great help to get me past that initial hump where it feels impossible.
//4: Also consider taking a look at Ukadoc's list of recommended surfaces! https://ukagakadreamteam.github.io/ukadoc/manual/descript_shell_surfaces.html#caption_standarddef This can give you an idea of how to start, but also, some external SHIORI events use these surfaces by default! If your ghost has them, it will react as intended! It's not required, but it's something you can consider.
Expand All @@ -15,7 +15,7 @@ descript

surface0
{
collision,0,0,130,65,head
collision0,0,0,130,65,head

//Example code for blink animation - uncomment if you want it
//animation0.interval,random,4
Expand Down Expand Up @@ -47,5 +47,5 @@ surface0

surface10
{
collision,0,0,130,65,head
collision0,0,0,130,65,head
}

0 comments on commit 40114d1

Please sign in to comment.