diff --git a/project.godot b/project.godot index 9f698a3..199a269 100644 --- a/project.godot +++ b/project.godot @@ -20,11 +20,21 @@ Dialogic="*uid://ds2q0uclmolvu" directories/dch_directory={} directories/dtl_directory={ +"basic npc dialogue layout": "res://test/basic npc dialogue layout.dtl", +"random life expense letter": "res://test/random life expense letter.dtl", "timeline": "res://test/timeline.dtl" } layout/style_directory={} variables={ -"player_goal": "" +"RNG_1_4": "", +"for_timeline_calls": { +"requested_amount": "", +"requested_currency": "", +"requestee_class": "", +"requestee_name": "" +}, +"player_goal": "", +"player_name": "" } layout/style_list=[] layout/default_style="Default" diff --git a/test/basic npc dialogue layout.dtl b/test/basic npc dialogue layout.dtl new file mode 100644 index 0000000..4a87f72 --- /dev/null +++ b/test/basic npc dialogue layout.dtl @@ -0,0 +1,20 @@ +# Provide all variables in the "for_timeline_calls" folder when calling + +You've received a letter from {for_timeline_calls.requestee_name} the {for_timeline_calls.requestee_class}. +if {RNG_1_4} == 1.0: + "Oy Govnah!\ + I'm lookin' ferr a whee bit of {for_timeline_calls.requested_currency} if ye could spare some. {for_timeline_calls.requested_amount}, t'be specific." + "Iff'n you decide I ain't worth it, I'll be on me way to {enemy_name}'s recruitment office." +elif {RNG_1_4} == 2.0: + "Hello sire, I hope this message finds you well.\ + I've done some reflecting, and I believe my services are worth at least another {for_timeline_calls.requested_amount} {for_timeline_calls.requested_currency}." + "I'll expect it posthaste, otherwise you may consider my service to you at an end."" +elif {RNG_1_4} == 3.0: + "Eyyy, royalty dude!\ + Is it coooool if I have another {for_timeline_calls.requested_amount} {for_timeline_calls.requested_currency}..? I think that'd be pretty cooooool man \:)" + "If you're totally set in your ways though, I might just dip over to {kingdom2_name} and see if they're anymore radical!" + +else: + "Me. Re quest -- current see\ + {for_timeline_calls.requested_amount} this much of {for_timeline_calls.requested_currency}" + "\if not I kill my loyaly to you" \ No newline at end of file diff --git a/test/basic npc dialogue layout.dtl.uid b/test/basic npc dialogue layout.dtl.uid new file mode 100644 index 0000000..59a03a0 --- /dev/null +++ b/test/basic npc dialogue layout.dtl.uid @@ -0,0 +1 @@ +uid://bcl8oqdj8etpv diff --git a/test/random life expense letter.dtl b/test/random life expense letter.dtl new file mode 100644 index 0000000..3ceedfd --- /dev/null +++ b/test/random life expense letter.dtl @@ -0,0 +1,21 @@ +# Provide all variables in the "for_timeline_calls" folder when calling + +You've received a letter from {for_timeline_calls.requestee_name} the {for_timeline_calls.requestee_class}. +if {RNG_1_4} == 1.0: + "With shaking hands I write to you my lord. My dearest pet dog has fallen ill and I will require at least {for_timeline_calls.requested_amount} {for_timeline_calls.requested_currency} to pay for their treatment." + "At times like this my unshakable faith in you is unfortunately.. shaken. I hope you will see fit to give a mere {for_timeline_calls.requestee_class} such as I a chance." +elif {RNG_1_4} == 2.0: + "'Ello mate. Hope this doesn't catch you at a bad time with all the fightin' going on.\ + With all the hubub lately, I fear that my 'lil inn back home might finally go under, and I don't know if me old 'art could take that." + + "Spare an old coot some change won't you? {for_timeline_calls.requested_amount} o' {for_timeline_calls.requested_currency} should do nicely." +elif {RNG_1_4} == 3.0: + "Oh sire, dear sweet sire {player_name},\ + My dearest partner has at long last met their end in this bloody war, and alas, I haven't the slightest bit of coin to pay for the funeral!" + "If you'd see fit to provide a grieving lovebird such as myself {for_timeline_calls.requested_currency} {for_timeline_calls.requested_amount} I would be most grateful." + "For as much as I trust in your leadership, I fear that this war may not be worth the cost." +else: + "Oh your holy leader[i]SHIT[/i] + I can't [i]believe[/i] this stupid ███████ █a█ you've-" + "(sorry, bird crapped on my paper)" + "The point is.. if you don't give me {for_timeline_calls.requested_amount} {for_timeline_calls.requested_amount} right ███I██ N█W! I'm taking my ███ over to Archie's kingdom and never coming ba███" \ No newline at end of file diff --git a/test/random life expense letter.dtl.uid b/test/random life expense letter.dtl.uid new file mode 100644 index 0000000..a04904c --- /dev/null +++ b/test/random life expense letter.dtl.uid @@ -0,0 +1 @@ +uid://bx6cdpadiu4c diff --git a/test/timeline.dtl b/test/timeline.dtl index 16534bd..e02b0f7 100644 --- a/test/timeline.dtl +++ b/test/timeline.dtl @@ -1,6 +1,6 @@ Hello {player_name}! Welcome to the land of {land_name}! -You, sire, are the ruler of {kingdom1_name}; the most glorious kingdom in all the lands! -...Rivaled only of course by {kingdom2_name}, ruled by your sworn arch-nemesis {enemy_name}. +You, sire, are the ruler of {kingdom_name}; the most glorious kingdom in all the lands! +...Rivaled only of course by Rivaldom, ruled by your sworn arch-nemesis "Archie Nemisye." You knew of course that your kingdom was superior, because you had far more... - Gold - Food @@ -15,4 +15,4 @@ This came at great cost to your supples of this resource, but that was well wort Your main goal as a ruler.. the thing you wanted more than anything else was\: [text_input var="player_goal"] # Display this in some sort of message at the end for the winner -And you'd do whatever it took to force this onto {kingdom2_name} as well. No matter the price. \ No newline at end of file +And you'd do whatever it took to force this onto Rivaldom as well. No matter the price. \ No newline at end of file