Skip to content

Commit

Permalink
Use super where it's now possible.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kodiologist committed Jan 9, 2024
1 parent 7ca65b8 commit 85a6dfc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions simalq/tile/monster.hy
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down Expand Up @@ -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.]]
Expand Down
6 changes: 3 additions & 3 deletions simalq/tile/scenery.hy
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@
T)

:info-bullets (meth [#* extra]
(Scenery.info-bullets @
(.info-bullets (super)
#("Times entered" @times-entered)
#("Output direction" @output-dir)))
Expand Down Expand Up @@ -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.")
Expand Down Expand Up @@ -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.")

0 comments on commit 85a6dfc

Please sign in to comment.