Skip to content

Commit 0e04498

Browse files
committed
feat(housewives): Update housewives
Signed-off-by: dark0dave <dark0dave@mykolab.com>
1 parent 8523092 commit 0e04498

File tree

5 files changed

+80
-0
lines changed

5 files changed

+80
-0
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: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,27 @@ END
101101

102102
// Boots
103103

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
124+
104125
/* baeloth has the luxurious lizardskin leapers */
105126
IF
106127
HasItem("zdbo02",Myself)

zdbae/cutscenes/zdcutauc.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

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%/cutscenes/zdcutauc.baf~

zdbae/zdbae.tp2

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,8 @@ INCLUDE ~zdbae/lib/core.tph~
2020
BEGIN ~crossmod~ DESIGNATED 1 LABEL ~crossmod~
2121
REQUIRE_COMPONENT ~zdbae.tp2~ "0" ~Requires main component~
2222
INCLUDE ~zdbae/lib/crossmod.tph~
23+
24+
// The Real House Wives Of Athkatla
25+
BEGIN ~housewives~ DESIGNATED 2 LABEL ~housewives~
26+
REQUIRE_COMPONENT ~zdbae.tp2~ "0" ~Requires main component~
27+
INCLUDE ~zdbae/lib/housewives.tph~

0 commit comments

Comments
 (0)