add initialization options to zonk_mode background

This commit is contained in:
Kistaro Windrider 2024-02-11 15:55:51 -08:00
parent 0476f22fc5
commit 9e746ce0d0
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -723,8 +723,16 @@ zonk_mode = {
cy=0,
}
mknew(zonk_mode, function(self)
self.stripes=fuzzy_stripey.new{}
self.brth=breather.new{}
self.stripes=fuzzy_stripey.new{
colors=self.bg_stripe_cols,
dy=self.bg_dy,
weight=self.bg_wgt,
}
self.brth=breather.new{
colors=self.br_cols,
sep=self.br_sep,
speed=self.br_spd,
}
end)
function zonk_mode:set(_, field,value)