Woodblock Print Looks: Ukiyo-e and Shin-hanga Style Blocks
README.md
WoodblockWeather (module)
The woodblock looks' falling rain and snow as real weather. ukiyoeBlocks no longer prints falling rain or snow on the screen; instead Woodblock.apply, Woodblock.weather and Woodblock.timeOfDay call this module, which drives Cloudburst (install it from ZeroMind beside ukiyoeBlocks; it is found at run time) in its ink / woodblock rain look with ink splashes and its big round flakes. Drops stop under roofs, splash where they land, darken the ground and are the same for every player.
WoodblockWeather.want("rain" | "snow" | "clear", intensity?, seconds?): make it rain, snow or clear. Uses the scene's Cloudburst weather, or makes a syncedWoodblockWeatherentity with a Cloudburst component when the scene has none.WoodblockWeather.inkLooks(): switch running Cloudburst weather to the woodblock looks without changing what falls. EveryWoodblock.applycalls it.WoodblockWeather.kind(): what Cloudburst is making fall ("rain", "snow" or "clear").WoodblockWeather.ofLook(look): theweather: { kind, intensity }a look'slook.yamlasks for.WoodblockWeather.isOurs(): whether the running weather was made by a woodblock look rather than by the world.
Call it through require("~ukiyoeBlocks.Woodblock") in most games; reach it directly as require("~ukiyoeBlocks.WoodblockWeather") to drive the weather without changing the print.