TLDR
I really like your idea, and donât want you to give up on it.
So I dove through your code to fix it for you.
*scene_list
prologue
to_mais
inauguration
orientation
Timeskip
relation
*finish
Add *create scenevar ""
and *create labelvar ""
*scene_list
prologue
to_mais
inauguration
orientation
Timeskip
relation
*create scenevar ""
*create labelvar ""
*finish
I put them below scene_list so they donât get mixed up with all your character variables.
Now that you have a scene and label variable, just ignore them. Yes, really. You donât have to do anything with them until you unlock a event..like this.
*fake_choice
*disable_reuse #Inaya
[i]*The relationships tab has been updated*[/i]
*set I_affection +20
*set I_events_unlocked +1
Since it seems that events only start being unlocked at the Timeskip scene and onwards, we can start using scenevar and labelvar like this.
*set scenevar "Timeskip"
*if I_affection >= 60
*set I_relationship +5
*if A_affection >= 30
*set A_relationship +5
*if (L_affection >= 1) or (L_respect >= 1)
*set L_relationship +1
*set A_affection 0
*set I_affection 0
*set L_affection 0
*image chapter4.png center
It has been approximately 5 months since your first day at the academy. You run through the same iteration of activities each day: wake up, attend the academy, return home, put up with Aldrich, and sleep. While the topic of the Academy is breached, you often find yourself spending more time with a particular person than the others:
*fake_choice
*disable_reuse #Inaya
*label 00
*set labelvar "00"
[i]*The relationships tab has been updated*[/i]
*set I_affection +20
*set I_events_unlocked +1
After a month or so of pleadingâwhich made you lose more self-respect than you'd like to admitâyou were successful in persuading her to teach you swordsmanship. Thus, you both enjoyed energetic morning duels in your swordplay class
*if sweettooth = "true"
, spent tireless evenings sparring amidst the fields of tulips, and tender dusks sharing pastries.
*else
, and spent tireless evenings sparring amidst the fields of tulips.
*disable_reuse #Link
*if gender = "female"
*set L_affection +2
*else
*set L_respect +2
You are a constant subject of controversy among the students because of rumours that have somehow attached themselves to you. People don't socialise with you much, and you seldom see the other Hero Candidates in any personal capacity.
Link occasionally hangs out with you, unbothered by the controversies. Rather, he seems to be the only one willing to indulge you in any capacity.
*disable_reuse #Aiza
*set A_affection +15
[i]*The relationships tab has been updated*[/i]
After securing intelligence that Aiza is fond of debates, you promptly raided the market for books on the art of articulation. Practical experience you gained by losing around 170 debates.
In an unsuspecting recess, there was a time when Aiza came upon a brilliant idea to perform a taboo experiment which may or may not have endangered your lives, but that's a story for another timeâŠ
*disable_reuse #I have been exchanging letters with ${Firuz}
*set F_affection +10
*set F_relationship +5
*set F_hope +5
Finding ${Firuz}'s fairmail address was a memorable venture. One lead led to another, before finally you arrived at the door of Pure Purple, an inn allied with some organisation known as the 'Coup'. You would've made an enemy out of Maison's most influential underworld organisation if not for Link's timely rescue.
${Firuz} redeemed the hardships you faced by replying in positive, inquiring about your health, and sending the fingers of the underworld boss who troubled you as an apology.
*set r +1
*page_break
*label 01
*set labelvar "01"
Ah, academic progress...
*if (I_events_done >= 1)
Your sword arts class proceeds flawlessly. You had some trouble in the beginning, but training with Inaya made a huge difference. A week into the training, others ostracised you to the same category as her: never duel. Inaya and Aiza remain the only ones willing to take you on.
*else
Your sword arts class proceeds greatly. Your minimal experience is catching up quickly, apparent in Aiza's growing victories and Inaya's clean sweeps, but with a bit of effort, you manage to stay in the upper echelons.
Your demolition class, presided over by the same professor, also follows progress. You understand the fundamentals quite clearly now, able to perform a few lower order spells.
*page_break Orders?
*label 02
*set labelvar "02
*set statscreen_unlock 2
Oh yeah! You learned about that once Principle Mary finally got over the basic 6 types of Channelling, but not before digressing straight into the 'Higher Orders'. To summarise, after Order-6, classes evolve into their Higher Orders. Demolition, Harmony, Preservation, Enhancement, Encumberment, and Variance evolve into Annihilation, Equilibrium, Sustenance, Rectification, Impedance, and Entropy respectively. Things become sophisticated and a lot more nuanced in the Higher Orders as they represent the fundamental laws of the world. The complexities become apparent by the fact that Harmony, a healing class, becomes the deadliest offensive class of Channelling in existence, Equilibrium.
Orders are just the standard unit for spell measurement. Order1-Order6 deal with basic types with Order7-Order10 pertaining to the Higher Orders. Queerly, outside of them all lies a 12th Order, reserved for two miscellaneous classes of Channelling, or more accurately, concepts.
Order-12 harbours anything pertaining to the 'Divine Order' and 'Anomaly'. The Divine-Order is a concept which defines the nature of this world. There's no tangible proof due to which the 'Divine Order' is still only a concept. 'Anomalies' refers to unexplained phenomenons like the Void.
*page_break
*label 03
*set labelvar "03"
*if harmony
Despite her incessant discouragement, Professor Dareen Al-Maktoum is an able teacherâyou learned her name after she was forced to introduce herself by Mary. She has done relatively little in terms of practical work but theory is significantly important in harmony, or so she says. After 2 consecutive months of teaching, she finally demonstrated the first spell. Itâs a transparency spelâ"No, you can't see through just the clothes," she had specified. âInspectâ is what it's generally called.
It's a fairly simple spell. It allows the caster to perceive defective energy circulation, after which one may inspect the oddity in hopes of finding the cause. It's as difficult to master as easy it sounds, and an only oddly specific advice Professor Dareen gave you while sounding embarrassed was:
"Never use Harmony spells on your admired unless they're on the verge of death because you [i]will[/i] face an embarrassing time."
*page_break
*label 04
*set labelvar "04"
*if enhancement
Enhancement isn't as difficult as it's frustrating. Distracted for a second? Do the spell again. Concentration wavered slightly? Again. Messed up the scribbling? Again! You have to rush to the Professor every time so the room doesn't explode from failed enhancements. The cherry on top, the only form of permanent enhancements, which are the coveted ones, restrict themselves to the Higher Order of Rectification; nonetheless you survive and grasp the fundamentals.
*if preservation
TK
*if encumberment
Encumberment was a disaster.
Your professor underestimated how shiny of a thing Encumberment is, especially for the young. The day after she thought a spell for slowing a person's body by hampering all their energy momentarily, reports piled up in Principle Mary's office of students suddenly feeling sluggish, one-sided massacres in foodfights, unfair use of encumberment in 'tag' games, and many such incidents. Despite multiple scoldings and warnings, the chaos continued. A discipline committee was temporarily established, and all the trouble-makers were taken care of in just 3 days.
Professor Reine vowed to not teach you all another encumberment spell until you could recite John Mais' "175 moral principles of Channeling" by heart.
*page_break
*label 05
*set labelvar "05"
*if variance
Variance proves to be a difficult endeavour. Things like psychological cues, behavioural analysis, and their relation to energy is hard to grasp. Emotions affect the regulation of energy in different ways, and you can take advantage of that by introducing alterations in its flow to help conduce certain reactions.
A week into the class, it became apparent, much to your professor's dismay, that half the students are here to learn the infamous and mythical 'Love Spell'. The perpetual gloom that haunted the classroom for days after the revelation that no such spell exists hampered the learning process, but the students recovered soon enough, having realised the other, and more useful thrice emphasised, applications of Variance.
In addition to academic endeavours, your time home is spent in,
*comment I won't add any more labels since it seems this next bit is not done.
*fake_choice
#Playing Tacticia (Chess) with Aliya
*set hobby2 "tacticia"
You once found Aliya stooping over a wooden board, moving some pieces and talking with herself. In response to your inquiry she explained this sport known as tacticia. That was the foundation of your score of 2-155, later one being Aliya. You don't blame yourself because remembering not to take the Little Ladyâs gambit or how to counter the Maison Defence is harder than half of your academic work.
#Practising Archery
*if hobby1 != "archery"
*set hobby2 "archery"
*set archery +10
It was a peaceful morning. Dawn had just broken, and you laid slumbering. Yesterday night's exhaustion, assimilated from the dozen extra classes imposed upon you for the week, was gradually wearing off.
[i]*Chirp* *Chirp*[/i]
A sparrow had seen it fit to sing a passionate monodrama right outside the window of your room. For half an hour you suffered, before getting up and throwing the first object that your hands grasped. Your shoe went flying, missing the bird considerably and smacking Mr. Jorden, who was out on a walk, on the head. The bird showed its tiny tongue and flew away.
That was enough.
A training field was promptly set up at your insistence. There, on the centre of that target, you daily imagined that sparrow's mocking expression. Day by day, you got closer to wiping that smirk off its face, until one day its smirking apparition lay impaled upon your arrow. Alas, you couldn't hunt the actual bird down, but you continue practising in preparation of the fateful day you will encounter that beast again.
#Learning to play different instruments from Aliya
*set hobby2 "music"
Gentle weekends spent in listening to the fine resonance of the violin pervading through the great hall, as you dined on steaming
*if sweettooth = "true"
croissants
*else
sausages
, inspired in you a passion to acquaint yourself with those tender melodies. In this trance you asked Aliya for a turn, and consequently had to sleep hungry as all the chefs were rushed to harmonists. Aliya herself was so traumatised she didn't leave her room for the following two days.
The third day, she took it upon herself to rectify your lack of musicianship, so the World my be spared of another 'Disaster of tones'. She didn't relent at just the violin, you were too big of a 'musical terror' for that. The flute, the cello; she even imposed upon you the piano.
Your debutâthe real debut, not the Disaster of Tones, brought forth tears of happiness, though she denies that vehemently to this day.
#Gobbling up historical records and the World's history
*set hobby2 "history"
Dissatisfied with your lack of knowledge and Aliya's occasional teasing that you can't even name the last 5 Heroes, you sought refuge with Aldrich in the library. Through words enclosed within that room, you vicariously explored the political rivalry between Lakehold and Servalisâas the largest port and silk traders respectively, the caves of Amartia to north and the Endless Mist to the east, and various cities and nations each with its own place in the World; some a haven for tourists for their mountain ranges and valleys, some economical hubs for their gifted geography, and some renowned like Maison for their advanced Channeling research and channellers.
These bountiful nations, to quell anti-state plots and maintain order, are allowed to keep armies adhering strictly to the protocols set by the Court of Dakistrio. However, sometimes when rebellions fester too deeply or Vasils raise their heads in defiance, the Court faces no choice but to mobilise the Veritas, condemning entire nations to desolation.
Some days you spend exploring the Divine Sea, voyaging through the Hallway of Burning Waters in hopes of finding the Lost Fleet of the Pyre. Other days you spend navigating The Great Game between Amartia, Malios, and the Traders of Ferlancea. After months of strenuous reading, you succeed in naming the last 6 Heroes.
#I have been learning to cook
[Cool description TK]
Greetings! You have reached the end of the current demo. Let me know of your thought in the COG forums.
[i]And also please pray for my examsâ[/i]
*ending
Contrary to your routine, today you find yourself in the middle of the shopping district; a bunch of stalls, megamarts, and shops packed together under a glass dome. Aldrich and Aliya browse through the stores alongside you. The purpose of this visit is to get you some more clothes. Aldrich has donned a shady disguise for undisclosed reasons while Aliya draws all the attention with her too-colourful robes.
She stops for a moment, looking at a distant store. Its shelf displays the new best-selling product in Maisonâthe dress-up ragdoll. It's a peculiar thing: a rag doll constructed in such a way that you can change its clothes and do some light make-up on it, yet it proved to be a fantastic business idea as it soon became the newest obsession of Mais children and girls.
She shakes her head, accidentally catching your eye. You raise a teasing brow.
âAldrich, Aliya wantsââ
âNo!â She quickly rounds up on you. âI don't want a dress-up doll. I am a grown woman.â
âWe could get it if you want,â Aldrich says, observing the shop.
âI don't want such childish stuff!â She snaps her gaze away, eyes landing on the variety of âdress-up dollsâ waiting to be hers. Their soft and fluffy constitution melts her. âI⊠could try it I suppose. You go and bring it to me here, ${firstname}!â
âAh, I see. You don't want to be recognised.â Aldrich nods, taking you to the doll shop.
*fake_choice
#Hi, Aliya Al-Nofeh wants a dress-up doll. Aliya Al-Nofeh
Aldrich facepalms, and you can both feel the hostile glare coming from right outside the shop.
"Okay⊠which one do you want?"
"Hey! Aliya Al-Nofeh, which dress-up doll do you want?" You shout, gesturing towards her lingering outside the store.
She quickly dives inside the store, looking around to make sure no one saw her. She glares at you. "No dinner for you today!"
#Can I have that dress-up doll?
âOf course. Take your pick!â The shopkeeper says, pointing to the racks behind. There are a variety of âdress-up dollsâ hereâ
Wait, is that Link? And Aiza? And Inaya too???
At the top of the shelves, in various sizes and get-ups, are a few Link, Aiza, and Inaya âdress-up dollsâ. The massive space allocated to each set despite the fewer numbers suggests that most have already sold out.
*fake_choice
#Why isn't there a doll of me there?
âOh apologies. They sold out.â
âAm I um⊠that famous?â You tilt your head in confusion. Sure you are a Hero Candidate, but Aiza and Link are immensely popular public figures.
â${firstname}?â Aldrich waves a hand in-front of you.
You snap out of your reverie. âWhat were you saying?â
âI was saying it depends because all of your dolls were bought by a single person.â
UhâŠ
#Who was it?
âWell they told me not to disclose their identity so I request your understanding,â the shopkeeper says, lightly bowing his head in apology.
#It⊠wasn't Inaya was it?
He seems astonished. âHow⊠did you know?â
âA guess.â
âPlease donât let her find out that you know. Her glare was really scary when telling me not to disclose anything about her.â
âI will not.â You nod.
#It seems I may have a fanâŠ
Although you feel rather uncomfortable at the fact that someone may be playing with a literal dollâdozensâof you, it's perhaps an unavoidable part of being a Hero Candidate.
#No⊠like no one finds this creepy?
*fake_choice
#I want an Aiza doll
#I want a Link doll
#I want an Inaya doll
#I want all Aiza dolls
#I want all Link dolls
#I want all Inaya dolls
#So no doll for Firuz huh?
You return to Aliya
Next in your stats code.
*choice
#Relationship Events
*label I_e
*fake_choice
*selectable_if (I_events_unlocked >= 1) #Event 1: Sword of Pain
*if I_events_done >= 1
*fake_choice
#Replay Event
*gosub_scene relation sword_of_pain
*goto I_e
#Return
*goto I_e
*else
*fake_choice
#Play Event
*gosub_scene relation sword_of_pain
*goto I_e
#Return
*goto I_e
Change the *gosub
s to *redirect
s and drop the *goto
s under them since you can never reach them now.
*choice
#Relationship Events
*label I_e
*fake_choice
*selectable_if (I_events_unlocked >= 1) #Event 1: Sword of Pain
*if I_events_done >= 1
*fake_choice
#Replay Event
*redirect_scene relation sword_of_pain
#Return
*goto I_e
*else
*fake_choice
#Play Event
*redirect_scene relation sword_of_pain
#Return
*goto I_e
And last but not least, instead of this,
*page_break End
*return
Have this guy.
*page_break End
*if scenevar = "Timeskip"
*if (labelvar = "00")
*goto_scene Timeskip 00
*elseif (labelvar = "01")
*goto_scene Timeskip 01
*elseif (labelvar = "02")
*goto_scene Timeskip 02
*elseif (labelvar = "03")
*goto_scene Timeskip 03
*elseif (labelvar = "04")
*goto_scene Timeskip 04
*elseif (labelvar = "05")
*goto_scene Timeskip 05
So uh. Yea. There you go, it works.
Hereâs the example: CoGDemos
I highly recommend Project Calamity. I have spent the better part of 10-ish hours playing through it and code diving it today. And I can really say is..Play it. Yea, just play it. Itâs really good. I got me hooked from the start and now I canât wait for more.