Rename to vignette_redo.
This commit is contained in:
parent
aa59bd2d36
commit
cf4211fc75
@ -1,7 +1,7 @@
|
||||
Vignette
|
||||
--------
|
||||
Vignette Redo
|
||||
-------------
|
||||
|
||||
A Minetest mod to place a vignette filter on the screen.
|
||||
A Minetest mod to optionally place a vignette filter over the screen.
|
||||
|
||||
![Vignette Screenshot](screenshot.png "Vignette")
|
||||
|
||||
@ -16,7 +16,8 @@ This mod defaults to not applying filter. To enable, use the chat command:
|
||||
|
||||
Repeated use of this command will toggle the effect off and on.
|
||||
|
||||
**New:** Now with local storage to maintain state of vignette filter between sessions.
|
||||
Local mod storage is used to maintain state of vignette filter between sessions, per user.
|
||||
|
||||
|
||||
Licenses
|
||||
--------
|
||||
|
8
init.lua
8
init.lua
@ -1,12 +1,12 @@
|
||||
-- vignette
|
||||
-- Adds a vignette filter to player's screen
|
||||
-- vignette_redo
|
||||
-- Optionally place a vignette filter over the screen.
|
||||
-- Based on concept by TriBlade9
|
||||
-- By David_G (kestral246@gmail.com)
|
||||
-- 2019-03-19
|
||||
|
||||
-- Don't enable vignette effect at start.
|
||||
-- Vignette effect defaults to off at start.
|
||||
-- Use chat command "/vignette" to enable, and then to toggle effect off or on.
|
||||
-- Add local storage to maintain state of vignette filter per user.
|
||||
-- Added local storage to maintain state of vignette filter per user.
|
||||
|
||||
local vignette = {}
|
||||
local storage = minetest.get_mod_storage()
|
||||
|
Loading…
x
Reference in New Issue
Block a user