Skip to content

Commit 557877a

Browse files
committed
feat(trhow): The Real House Wives of Athkatla
Signed-off-by: dark0dave <dark0dave@mykolab.com>
1 parent 8e48d20 commit 557877a

File tree

8 files changed

+110
-10
lines changed

8 files changed

+110
-10
lines changed

zdbae/baf/ar0700.baf

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
IF
2+
Global("ZDAuctionTrigger","GLOBAL",1)
3+
THEN
4+
RESPONSE #100
5+
SetGlobal("ZDAuctionTrigger","GLOBAL",1)
6+
// Actioneer
7+
CreateCreature("ZDAUC",[1928.3425],N)
8+
// Crowd
9+
CreateCreature("NOBLE1",[1748.3319],S)
10+
CreateCreature("NOBLE2",[1805.3313],S)
11+
CreateCreature("NOBL4",[1874.3320],S)
12+
CreateCreature("NOBL5",[1933.3324],S)
13+
CreateCreature("NOBL6",[1976.3319],S)
14+
CreateCreature("NOBLEW1",[2000. 3319],S)
15+
CreateCreature("NOBLEW2",[2126.331],S)
16+
Continue()
17+
END
18+
19+
IF
20+
Global("ZDAuctionTrigger","GLOBAL",3)
21+
THEN
22+
RESPONSE #100
23+
SetGlobal("ZDAuctionTrigger","GLOBAL",4)
24+
// Actioneer
25+
ActionOverride("ZDAUC",DestroySelf())
26+
Continue()
27+
END

zdbae/baf/zdbaes.baf

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,28 @@ RESPONSE #100
9999
SetInterrupt(TRUE)
100100
END
101101

102-
// Boots
102+
// Boots //
103+
104+
// Timer
105+
IF
106+
InParty("ZDBAE")
107+
AreaCheck("AR0400")
108+
Global("ZDCreateBootTimer","GLOBAL",0)
109+
THEN
110+
RESPONSE #100
111+
SetGlobal("ZDCreateBootTimer","GLOBAL",1)
112+
SetGlobalTimer("ZDBootTimer","AR0400", 3600)
113+
END
114+
115+
// Trigger timer
116+
IF
117+
GlobalTimerExpired("ZDBootTimer", "GLOBAL")
118+
Global("ZDTriggerBoots","GLOBAL",0)
119+
THEN
120+
RESPONSE #100
121+
SetGlobal("ZDTriggerBoots","GLOBAL",1)
122+
StartDialogNoSet([PC])
123+
END
103124

104125
/* baeloth has the luxurious lizardskin leapers */
105126
IF

zdbae/cutscenes/zbcutauc.baf

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
IF
2+
True()
3+
THEN
4+
RESPONSE #100
5+
CutSceneID(Player1)
6+
ClearAllActions()
7+
DisplayStringHead("Announcer","For those who value not only elegance but also refinement and sophistication, I present to you these magnificent ") /* ~~ */
8+
EndCutSceneMode()
9+
AddJournalEntry("You went to an auction with baeloth, who knew shopping could be so fun!",INFO) /* ~~ */
10+
ActionOverride("ZDBAE",StartDialogueNoSet([PC]))
11+
END
File renamed without changes.

zdbae/dialog/zdbaej.d

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
BEGIN ZDBAEJ
22

3+
/// Boots ///
4+
IF ~GLOBAL("ZDTriggerBoots","GLOBAL",1)~
5+
THEN zbbootbegin
6+
SAY ~I've step in gahh, why do you surfacers keep track me through flies filth and feaces! I demand we stop and search for a new pair of boots!~
7+
IF ~~
8+
IF EDWIN
9+
EDWIN: ~(Such simple simians. Can't watch were they are going. Still this might be an opportunity to purchase magical items and increase my power over this lot further.)~
10+
IF EDWINA
11+
EDWINA ~(Such simple simeons. Can't watch were they are going. But I can't deny, the simple pleasure of shopping. I feel strange, no matter.)~
12+
BAELOTH ~You there Edwin is it? Do you happen to have any such divination into where such a dashing dapper Drow as myself could such acquire acute luxury galoshes?~
13+
EDWIN ~(Must I indulge this menagerie at every step! The lack knowledge of the finer things in this world is insulting!) Why yes, of course I know of a place. But one such as yourself can not enter.~
14+
BAELOTH ~Ahh, I ascertain your allusion. An appropriate allurement is appropriate.~
15+
EDWIN ~(Gods save me from this Drow!) Whatever do you mean?!~
16+
BAELOTH ~Well my suitably simple "simian", see through these thoughts, and think. What gift of gratuity, is granted to those who give the gift of glamour? All that glitters is gold?~
17+
EDWIN ~(He uses my words against me?! I ought to blast him back down to his home!) ... I see what you mean. But for one such as yourself it will be expensive. You are not easy on the eyes.~
18+
IF EDWINA
19+
BAELOTH ~<WINKS> I see what you mean. However if I am with you I am sure it will be of little consequence!~
20+
EDWINA ~(I I, ~
21+
IF EDWIN
22+
BAELOTH ~I see... ~
23+
END
24+
325
/* luxurious lizardskin leapers are equipped */
426
IF ~Global("zdbaeleapers","GLOBAL",1)~
527
THEN zdbaeleapers
@@ -28,7 +50,9 @@ THEN zdbaefurries
2850
IF ~~ THEN DO ~SetGlobal("zdbaefurries","GLOBAL",2)~ EXIT
2951
END
3052

53+
// ------------------------
3154
// Temple District (AR0900)
55+
// ------------------------
3256
// Response: Listen to me, my brothers and sisters... heed my words. We have been chosen as the recipient of a most holy miracle, one that should neither be dismissed nor ignored!
3357
INTERJECT CSGAAL 0 ZDBAEGAAL0
3458
== ZDBAEJ IF ~InParty("ZDBAE") !StateCheck("ZDBAE", CD_STATE_NOTVALID)~ THEN

zdbae/lib/core.tph

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -196,20 +196,15 @@ COPY ~%MOD_FOLDER%/cre/zdbae.cre~ ~override/ZDBAE25.CRE~
196196
// Compile dialog
197197
COMPILE EVALUATE_BUFFER ~%MOD_FOLDER%/dialog~
198198

199-
// Append tob banter with sod banter
200-
COPY ~%MOD_FOLDER%/dialog/zdbaeb.d~ ~weidu_external/%MOD_FOLDER%/compile/zdbaeb.d~
201-
REPLACE_TEXTUALLY ~BEGIN ZDBAEB~ ~~
202-
REPLACE_TEXTUALLY ~== ZDBAEB~ ~== ZDBAE25B~
203-
COPY ~%MOD_FOLDER%/dialog/zdbae25b.d~ ~weidu_external/%MOD_FOLDER%/compile/zdbae25b.d~
204-
APPEND_FILE ~weidu_external/%MOD_FOLDER%/compile/zdbaeb.d~
205-
COMPILE EVALUATE_BUFFER ~weidu_external/%MOD_FOLDER%/compile/zdbae25b.d~
199+
// Compile cutscene
200+
COMPILE EVALUATE_BUFFER ~%MOD_FOLDER%/cutscene/zbcutrel.baf~
206201

207202
// Scripts
208203
COMPILE EVALUATE_BUFFER ~%MOD_FOLDER%/baf/zdbaes.baf~
209204
COMPILE EVALUATE_BUFFER ~%MOD_FOLDER%/baf/zdbae25s.baf~
210205
COMPILE EVALUATE_BUFFER ~%MOD_FOLDER%/baf/zdbaed.baf~
211206
COMPILE EVALUATE_BUFFER ~%MOD_FOLDER%/baf/zdbae25d.baf~
212-
COMPILE EVALUATE_BUFFER ~%MOD_FOLDER%/baf/zbcutrel.baf~
207+
213208

214209
ACTION_IF FILE_EXISTS_IN_GAME ~baldur.bcs~ THEN BEGIN
215210
EXTEND_TOP ~baldur.bcs~ ~%MOD_FOLDER%/baf/rep.baf~
@@ -235,6 +230,7 @@ UNLESS ~zdbae~
235230
COPY ~%MOD_FOLDER%/epilogue/zdbae.2da~ ~override/zdbae01.2da~
236231
REPLACE ~99999~ @60
237232

233+
238234
// Spawn Baeloth in the Copper Cornet
239235
EXTEND_TOP ~AR0406.BCS~ ~%MOD_FOLDER%/baf/ar0406.baf~
240236
EVALUATE_BUFFER

zdbae/lib/housewives.tph

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/// Real Housewives of Athkatla ///
2+
3+
// Create Auctioneer
4+
COPY_EXISTING ~ANN01.CRE~ ~ZDAUC.CRE~
5+
SAY NAME1 ~Auctioneer~
6+
SAY NAME2 ~Auctioneer~
7+
WRITE_ASCII SCRIPT_OVERRIDE ~zdauc~ #8
8+
WRITE_ASCII DEATHVAR ~zdauc~ #32
9+
WRITE_ASCII DIALOG ~zdauc~ #8
10+
11+
// Script to Start
12+
EXTEND_TOP ~AR0700.BCS~ ~%MOD_FOLDER%/baf/ar0700.baf~
13+
EVALUATE_BUFFER
14+
15+
// Compile cutscene
16+
COMPILE EVALUATE_BUFFER ~%MOD_FOLDER%/cutscene/zbcutauc.baf~

zdbae/zdbae.tp2

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
BACKUP ~weidu_external/backup/zdbae~
22
AUTHOR ~dark0dave~
33
README ~zdbae/readme.md~
4-
VERSION ~v0.11~
4+
VERSION ~v0.12~
55
AUTO_EVAL_STRINGS
66

77
AUTO_TRA ~zdbae/tra/%s~
@@ -19,3 +19,8 @@ INCLUDE ~zdbae/lib/core.tph~
1919
BEGIN ~crossmod~ DESIGNATED 1 LABEL ~crossmod~
2020
REQUIRE_COMPONENT ~zdbae.tp2~ "0" ~Requires main component~
2121
INCLUDE ~zdbae/lib/crossmod.tph~
22+
23+
// The Real House Wives Of Athkatla
24+
BEGIN ~housewives~ DESIGNATED 2 LABEL ~housewives~
25+
REQUIRE_COMPONENT ~zdbae.tp2~ "0" ~Requires main component~
26+
INCLUDE ~zdbae/lib/housewives.tph~

0 commit comments

Comments
 (0)