Skip to content

Commit

Permalink
[symbolz.lic] v1.1.2 gtk3 code deprecated call cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhoribu authored Jan 22, 2025
1 parent 415c8db commit e7d1a7e
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions scripts/symbolz.lic
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@
game: Gemstone
tags: Voln, Symbols, Society
required: Lich > 5.0.1
version: 1.1.1
version: 1.1.2
changelog:
1.1.2 (2025-01-22):
Minor GTK3 code cleanup
1.1.1 (2023-11-27):
Rubocop cleanup
1.1.0 (2021-03-01):
Expand All @@ -36,9 +38,9 @@
Gtk.queue {
gtk_checks = Hash.new

saveButton = Gtk::Button.new("Save and Close")
saveButton = Gtk::Button.new(:label => "Save and Close")

window = Gtk::Window.new(Gtk::Window::TOPLEVEL)
window = Gtk::Window.new(Gtk::WindowType::TOPLEVEL)
window.set_title "Symbolz 1.1.1 - Voln Symbol Upkeep"
window.border_width = 20

Expand Down Expand Up @@ -78,13 +80,13 @@
trans_check.set_tooltip_text("Activates when stunned, webbed, or bound - Lasts 30sec, 3min cooldown, 10min if used in Emergency(Stunned, etc..) And Requires You To Confirm Its Use If Stunned Unless You Type Symbol of Transendence Toggle Off")
renewal_check.set_tooltip_text("Activates at 70% spirit, uses until spirit is back at 100%")

vbox.pack_start(protect_check, false, true, 0)
vbox.pack_start(courage_check, false, true, 0)
vbox.pack_start(supremecy_check, false, true, 0)
vbox.pack_start(retribute_check, false, true, 0)
vbox.pack_start(mana_check, false, true, 0)
vbox.pack_start(trans_check, false, true, 0)
vbox.pack_start(renewal_check, false, true, 0)
vbox.pack_start(protect_check, :expand => false, :fill => true, :padding => 0)
vbox.pack_start(courage_check, :expand => false, :fill => true, :padding => 0)
vbox.pack_start(supremecy_check, :expand => false, :fill => true, :padding => 0)
vbox.pack_start(retribute_check, :expand => false, :fill => true, :padding => 0)
vbox.pack_start(mana_check, :expand => false, :fill => true, :padding => 0)
vbox.pack_start(trans_check, :expand => false, :fill => true, :padding => 0)
vbox.pack_start(renewal_check, :expand => false, :fill => true, :padding => 0)
vbox.pack_start(saveButton)

window.add(vbox)
Expand Down Expand Up @@ -135,7 +137,7 @@
elsif (num == '9812')
waitrt?
waitcastrt?
if !Spell[9049].active? and stunned? or webbed? or bound?
if !Spell[9049].active? && (stunned? or webbed? or bound?) && !checkroom("The Belly of the Beast") && !checkroom("Ooze, Innards") && !checkroom("Temporal Rift")
Spell[9812].cast
sleep 5
end
Expand Down

0 comments on commit e7d1a7e

Please sign in to comment.