Skip to content

Commit

Permalink
Add closing entry dialogues
Browse files Browse the repository at this point in the history
  • Loading branch information
GregHib committed Aug 7, 2024
1 parent 224d079 commit 341ee57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions data/definitions/scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ update_bank_slots: 1465
quest_journal_refresh: 2165
quest_journal_length: 1207
trade_warning: 143
close_entry: 101
int_entry: 108
string_entry: 109
dialogue_item_zoom: 3449
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package world.gregs.voidps.engine.client.ui

import it.unimi.dsi.fastutil.objects.ObjectOpenHashSet
import world.gregs.voidps.engine.client.playMusicTrack
import world.gregs.voidps.engine.client.sendScript
import world.gregs.voidps.engine.client.ui.chat.Colours
import world.gregs.voidps.engine.client.ui.event.CloseInterface
import world.gregs.voidps.engine.client.ui.event.InterfaceClosed
Expand Down Expand Up @@ -287,6 +288,7 @@ fun Player.closeInterfaces(): Boolean {
closed = true
}
queue.clearWeak()
sendScript("close_entry")
return closed
}

Expand Down

0 comments on commit 341ee57

Please sign in to comment.