added some new lines, cleanup and updated the default sprite removing the armor

This commit is contained in:
2026-03-01 19:57:10 +05:00
parent 561f0ae501
commit a4a196a053
20 changed files with 58 additions and 144 deletions

View File

@ -192,8 +192,6 @@ timeslot
//--dayslot
//Like the above, but to find out what day it is. You can primarily use this for specialized dialogue on certain days, like the user's birthday. Either way, don't touch it.
dayslot
{
"%(month)month %(day)day"
@ -202,13 +200,6 @@ dayslot
//-----------------------Normal Booting----------------------------
//From this point on, the dialogue will be for any normal boot of your ghost. You can specialize this for certain days or times if you like, or if you're uninterested, leave it very simple.
//--OnBoot
//As you can probably guess, OnBoot runs when you boot your ghost.
//*********************Advanced User Info*******************************
//If you're defining new values that depend on what you were doing with your ghost (like say, if you've hit them, if they're in a certain mode of some kind) and are generally temporary, remember to put them in OnBoot and set them back to zero or off. For example, I have a counter in the Hunter Smoker ghost that keeps track of if you've hit one of them so that when you go into their menus, it will know to give you the option to apologize or not. So I made sure to add a hunterpunchcount = 0 tag at the beginning of OnBoot, that way when you boot them up, they start fresh and don't display the option if you haven't done anything wrong yet. It's unlikely this'll come up very much if you're not interested in expanding your ghost, but I'm making a note of it here anyway for enterprising developers, huge success.
@ -228,7 +219,7 @@ OnBoot
if dayslot == userbirthday
{
"\0\s[0]Хозяин, с днем рождения!\e"
"\0\s[0]%(username), с днем рождения!\e"
//"\0\s[0]It's %(bornmonthprint) %(borndayprint).\w8\1\s[10]Happy birthday, %(username).\e"
//Notice in this dialogue that there are two new envelopes, %(bornmonthprint) and %(borndayprint). These two things basically display the user's birthday - bornmonthprint is the month and borndayprint is the day. These were defined when the user put in their birthday in the menu.dic file. See word.dic for more info on envelopes.
}
@ -260,107 +251,50 @@ OnBoot
//This is another unique bit of coding from cindysuke's ghost. OnBoot above checks for the day when you open them, but normalboottalk can vary their dialogue in a few different ways depending on the time and weekday. I explain how to do that for advanced users below. If you're not interested, you can just fill out normalboottalk here with as much or as little dialogue as you want.
normalboottalk
{
"\0\s[0]Here is some boot dialogue.\e"
"\1\s[10]Here is some more boot dialogue.\e"
{
case hour
{
when 5-8
{
"\0\s[0]Ещё так рано.. Тебе тоже не спится?\e"
}
when 9-12
{
"\0\s[0]Доброе утро, %(username). Как спалось?\e"
}
when 0-4, 21-23
{
"\0\s[0]Доброй ночи, %(username). Не спится?\e"
}
others
{
"\0\s[0]Люма, боевой кастер. В твоём распоряжении, %(username)."
}
}
}
//*********************Advanced User Info*******************************
//cindysuke set up a system where you can have your ghost check for certain days or times of day and have dialogue corresponding to that when they boot up! If you're interested, you'll want to add the following into normalboottalk:
// if weekday == 6 && hour >= 19 //This checks if the weekday equals six, meaning saturday AND (using the && operator) if the hour is past 19. You can change these numbers or values to anything you like! As such you can check any combination of date and day and time for potential boot dialogue. You can also add more elseif checks for other days if you want.
// {
// "\0\s[0]It's Saturday night.\e"
// }
// elseif RAND(100) < 40 //What this does is choose a random number from 1-100, and then checks if that number is less than 40. If it's less than forty, then these dialogue pieces will occur. Remember, you can have multiple lines of dialogue within one set of brackets like this! You just need to make sure they're all enclosed in their own set of quotation marks.
// {
// "\0\s[0]This is one of the random boot conversations.\w8\1\s[10]The random number drawn was less than forty.\e"
// "\1\s[10]This is another one of the random boot conversations.\w8\0\s[0]The random number was again less than forty.\e"
// "\0\s[0]This is the third random boot conversation.\w8\1\s[10]The random number was less than forty.\e"
// }
// else
// {
// //The following if statements check the time of the day as defined above in the GetTimeSlot function. Do you remember the names that it defined? Now we're going to use them!
// if timeslot == "earlymorning" //The following dialogue will be called if they are booted during the time specified in GetTimeSlot (in this case, the hour being more than/equal to 5 but less than/equal to 8). Remember, you can add as many lines of dialogue here as you want, or take away as many as you want! Replace the dialogue here with what you see fit.
// {
// "\0\s[0]This is an early morning boot dialogue.\w8\1\s[10]Between the hours of five and eight.\e"
// "\1\s[10]This is another early morning boot dialogue.\w8\0\s[0]Again, between the hours of five and eight.\e"
// "\1\s[10]This is the third early morning boot dialogue.\w8\0\s[0]Between the hours of five and eight.\e"
// }
// elseif timeslot == "morning"
// {
// "\0\s[0]This is a morning boot dialogue.\e"
// "\1\s[10]This is another morning boot dialogue.\w8\0\s[0]Yup.\e"
// }
// elseif timeslot == "lunch"
// {
// "\0\s[0]This is a lunch boot dialogue.\1\s[10]Sure is.\e"
// "\1\s[10]This is another lunch boot dialogue.\e"
// }
// elseif timeslot == "afternoon"
// {
// "\1\s[10]This is an afternoon boot dialogue.\w8\0\s[0]That it is.\e"
// }
// elseif timeslot == "evening"
// {
// "\0\s[0]This is an evening boot dialogue.\1\s[10]Between the hours of 18 and 20.\e"
// }
// elseif timeslot == "latenight"
// {
// "\0\s[0]This is a late night boot dialogue.\1\w8\s[10]Between 21 and 24.\e"
// "\0\s[0]This is another late night boot dialogue.\1\w8\s[10]That it is.\e"
// "\1\s[10]This is the third late night boot dialogue.\w8\0\s[0]Between 21 and 24.\e"
// }
// else //the last timeslot we haven't done is midnight, which is what's under here.
// {
// "\0\s[0]This is a middle of the night boot dialogue.\1\w8\s[10]From midnight to five.\e"
// "\0\s[0]This is another middle of the night boot dialogue.\1\w8\s[10]That it is.\e"
// "\1\s[10]This is the third middle of the night boot dialogue.\w8\0\s[0]Very late at night.\e"
// }
// }
//Note! If you write any general boot dialogue, you'll want to put it in the "elseif RAND(100) < 40" section, since you can't have dialogue floating around outside of an if/else. Or in another if section you make, I don't know. It's up to you!
//**********************************************************************
//}
// Like OnBoot, this can be customized for times and days if you like, as you saw above. I'll leave in the simplified version, and add in the more complicated ones in a comment box for ambitious or experienced developers.
//--OnClose
//OnClose runs when you close your ghost. Like OnBoot, this can be customized for times and days if you like, as you saw above. I'll leave in the simplified version, and add in the more complicated ones in a comment box for ambitious or experienced developers.
//Do note, close dialogue must end with a \- instead of \e. \- will close the program.
//Like above with OnBoot, just replace all the following pieces of dialogue with your own. Note though that each bit here ends with \w8\w8\- instead of \e. The \w8 there is so there's a little pause before the ghost closes so the user can read the dialogue.
/**
* OnClose runs when user closes the ghost.
* Close dialogue must end with a \- instead of \e. \- will close the program.
*/
OnClose
{
"\0\s[0]This is some random close dialogue.\w8\w8\-"
"\1\s[10]This is another random close dialogue.\w8\w8\-"
//Add as many or as few close messages in here as you want! Make sure to end them with \w8\w8\- though.
}
{
case hour
{
//The \w8 there is so there's a little pause before the ghost closes so the user can read the dialogue.
when 0-5, 21-23
{
"\0\s[0]\_qСпокойной ночи!\w8\-"
}
others
{
"\0\s[0]Пока.\-"
}
}
}
//*********************Advanced User Info*******************************
//This works just like the one above for normalbootttalking! There are some different variables that can get checked of course, and make sure that it ends with \w8 and \-. The basic set-up of it here should take care of that for you, but it's always good to be cautious. Just uncomment and add the following into OnClose up there:
@ -453,7 +387,7 @@ OnClose
//-------------------------State Changing--------------------
//-------------------------State Changing--------------------
OnWindowStateMinimize
{
@ -463,7 +397,6 @@ OnWindowStateMinimize
OnWindowStateRestore
{
"\0\s[0]Здеесь..~\w4\e"
"\0\s[0]Пам-пака-пааам..~\w4\e"
}
@ -475,7 +408,8 @@ OnGhostChanging
{
if reference0 == "Lyuma"
{
"\0\s[0]Появится ли после перезагрузки та же самая Люма, или просто очень похожая?\w8\w8\e"
// Same as in case of minimizing, dialogs during ghost changing are quite interrupting
//"\0\s[0]Появится ли после перезагрузки та же самая Люма, или просто очень похожая?\w8\w8\e"
}
else
{
@ -493,7 +427,7 @@ OnGhostChanged
--
if reference0 == "Lyuma"
{
"\0\s[0]Хозяин, Люма вернулась\e"
"\0\s[0]%(username)? Добро пожаловать домой!\e"
}
else
{