From 85a6dfc2a5e5f4e322eb29faeee6bb712bd730b1 Mon Sep 17 00:00:00 2001 From: Kodi Arfer Date: Mon, 8 Jan 2024 10:49:36 -0500 Subject: [PATCH] Use `super` where it's now possible. --- simalq/tile/monster.hy | 6 +++--- simalq/tile/scenery.hy | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/simalq/tile/monster.hy b/simalq/tile/monster.hy index 6282ccb..5f540cc 100644 --- a/simalq/tile/monster.hy +++ b/simalq/tile/monster.hy @@ -377,12 +377,12 @@ (Tile.full-name.fget @))) :suffix-dict (meth [] (dict - #** (Summoner.suffix-dict @) + #** (.suffix-dict (super)) :freq (mixed-number @summon-frequency) :sHP @summon-hp)) :info-bullets (meth [] - (Summoner.info-bullets @ + (.info-bullets (super) #("Summoning frequency" (mixed-number @summon-frequency)) #("Type of summoned monsters" @summon-class) #("Hit points of summoned monsters" @summon-hp))) @@ -535,7 +535,7 @@ (@wander :implicit-attack F)) :info-bullets (meth [#* extra] - (Generated.info-bullets @ + (.info-bullets (super) #("Shot power" @shot-power))) :flavor-mon #[[Weak but incredibly annoying, this snickering little fiend is called a "lobber" in the tongue of the ancients. It throws hellstones, cursed missiles that can pierce most any obstacle. In close quarters, it resorts to cowering helplessly and begging for mercy, but, being a literal demon, it has no compunctions about getting right back to firing at you the moment it feels safe.]] diff --git a/simalq/tile/scenery.hy b/simalq/tile/scenery.hy index 18d4704..29348f6 100644 --- a/simalq/tile/scenery.hy +++ b/simalq/tile/scenery.hy @@ -384,7 +384,7 @@ T) :info-bullets (meth [#* extra] - (Scenery.info-bullets @ + (.info-bullets (super) #("Times entered" @times-entered) #("Output direction" @output-dir))) @@ -440,7 +440,7 @@ :blocks-move T :blocks-diag T :destructible-by-passwall-wand T :info-bullets (meth [#* extra] - (Scenery.info-bullets @ + (.info-bullets (super) #("Wallfall type" @wallnum))) :flavor "The special thing about this wall is that it can be destroyed by wallfall traps of the corresponding type.\n\nWhat's the deal with monster closets? Monsters are proud of who they are, am I right? I'll be here all week.") @@ -519,7 +519,7 @@ (@rm-from-map))) :info-bullets (meth [#* extra] - (Scenery.info-bullets @ + (.info-bullets (super) #("Turns remaining" @time-remaining))) :flavor "These glittering barriers of orange plasma offer you plenty of protection and monsters none at all. Enjoy 'em while they last.")