From 21bfe72ab3cb7bb1f2649842739d39f7cb940a36 Mon Sep 17 00:00:00 2001 From: ROllerozxa Date: Sun, 1 May 2022 20:59:09 +0200 Subject: [PATCH] Initial Commit --- README.md | 2 ++ init.lua | 45 ++++++++++++++++++++++++++++++++++++ locale/enable_shadows.sv.tr | 6 +++++ locale/template.txt | 6 +++++ mod.conf | 3 +++ screenshot.png | Bin 0 -> 13855 bytes settingtypes.txt | 2 ++ 7 files changed, 64 insertions(+) create mode 100644 README.md create mode 100644 init.lua create mode 100644 locale/enable_shadows.sv.tr create mode 100644 locale/template.txt create mode 100644 mod.conf create mode 100644 screenshot.png create mode 100644 settingtypes.txt diff --git a/README.md b/README.md new file mode 100644 index 0000000..416edce --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# enable_shadows +Since recent versions of Minetest 5.6.0-dev the dynamic shadow feature has been disabled by default, being required to enable by the game or modset you're using. This is a small mod that is compatible with any game and that can reenable shadows and control its intensity per-world. \ No newline at end of file diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..3a60376 --- /dev/null +++ b/init.lua @@ -0,0 +1,45 @@ + +local S = minetest.get_translator('enable_shadows') +local storage = minetest.get_mod_storage() + +local default_intensity = tonumber(minetest.settings:get("enable_shadows_default_intensity") or 0.33) +local intensity = tonumber(storage:get("intensity") or default_intensity) + +minetest.register_on_joinplayer(function(player) + player:set_lighting({ + shadows = { intensity = intensity } + }) +end) + +core.register_chatcommand("shadow_intensity", { + params = "", + description = S("Set shadow intensity for the current world."), + func = function(name, param) + local new_intensity + if param ~= "" then + new_intensity = tonumber(param) or nil + else + new_intensity = tonumber(default_intensity) or nil + end + + if new_intensity < 0 or new_intensity > 1 or new_intensity == nil then + minetest.chat_send_player(name, minetest.colorize("#ff0000", S("Invalid intensity."))) + return true + end + + if new_intensity ~= default_intensity then + minetest.chat_send_player(name, S("Set intensity to @1.", new_intensity)) + storage:set_float("intensity", new_intensity) + else + minetest.chat_send_player(name, S("Set intensity to default value (@1).", default_intensity)) + storage:set_string("intensity", "") + end + + intensity = new_intensity + for _,player in pairs(minetest.get_connected_players()) do + player:set_lighting({ + shadows = { intensity = new_intensity } + }) + end + end +}) diff --git a/locale/enable_shadows.sv.tr b/locale/enable_shadows.sv.tr new file mode 100644 index 0000000..773f46c --- /dev/null +++ b/locale/enable_shadows.sv.tr @@ -0,0 +1,6 @@ +# textdomain: enable_shadows + +Set shadow intensity for the current world.=Ställ in skuggintensitet för nuvarande värld. +Invalid intensity.=Ogiltig intensitet +Set intensity to @1.=Ställde intensiteten till @1. +Set intensity to default value (@1).=Ställde intensiteten till standardvärde (@1). \ No newline at end of file diff --git a/locale/template.txt b/locale/template.txt new file mode 100644 index 0000000..4e60c63 --- /dev/null +++ b/locale/template.txt @@ -0,0 +1,6 @@ +# textdomain: enable_shadows + +Set shadow intensity for the current world.= +Invalid intensity.= +Set intensity to @1.= +Set intensity to default value (@1).= \ No newline at end of file diff --git a/mod.conf b/mod.conf new file mode 100644 index 0000000..2b74a56 --- /dev/null +++ b/mod.conf @@ -0,0 +1,3 @@ +title = Enable Shadows +name = enable_shadows +description = Enable shadows for Minetest 5.6.0-dev. \ No newline at end of file diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 0000000000000000000000000000000000000000..d865f9b286e625451c578571db76693792c18195 GIT binary patch literal 13855 zcmV+)HsHyLP)5!^U~+b`}6)hV{7LCkI}Oq|NE4W>+tgBH2ORZ!(PTa-N5B> z7SBB3`1nxg523WglM+IlsMczNF~_p3QqB4nvHIad!umK2)0jtT@F0rgc=X`Xek^c} zu^Np!V~nT{i1o$)!}a8+KMOBE4D=YwPdm#xj@L#HM*Fb*$Y6nGqS0vNR0odM&Oxy* zuj%NskHaYK1v6t+2=>u{TE&J#aj!0HdS=)<4NUvK?64^bX0 zqAHKGXtQqk_v7s2wC5)(W4c#h39X0MS7bl)V*c@VsF!;zTl0C??{OY2S=N;F!YJC6 z&@mOIuvV)cMj)OYE?_;nC-y$}NTyL3^L{_P$$^zj6IR4KxVDy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~>43K=1}Q-B&^B@Symi8)?RMn;W< zrF7SLp5115Wbiprb-_g3KZY&@QEW8HukG0ytSZ1N9afawi|>sR$_7)9D>6rqkJM_d zIHAQ|NQ?qu>fR~0|JnsuNMAVHLNthscVf}2Q7eNL#nC9CbarIT3$P09W(9*5khqnN;z|L@y;e!Y<|r! z`p9+xHqz0%ZH&wYSZq_YZ<B#J8M(&1O4JwPA87Z z)odY2ukrPf=SQp3Oknn~9>%f18KI1{0{=+Cx2ASF5xCS(-GxOz)?mS?Oxk;EW82*M z(WipN2QieE=ebgB=0{{zS`VxU?6>Gt=pHS)SU4B*rjO-EU|QJm&AL-VIvoZ@{R>!dH^4eL1gFZL%W*~C#H4en z9nL0wv-YY--|>19BL~50D%MsKa^I`Y|7ESIWGq~QedJ*!xS4gt|Fww4+Ap)Hw(e#s zKpEZg0kb&g9*tv_aZkCU0PV8N%Kn-_{5dK(!B6}gCbAgzHUoa#J@sG)eA+*o#U zA7JH(CHv>%u7+5+w01E5(2GAKAItR7Xi2T1mwpV?rhOHRcS z#?H3Rr>EH%#su?>RA-!76N#{g|-skQSNOp(OPaeqZot;~TrV zP;RpwQQh-?*I(_fYrsZYE%h#$?CoF1;{P##oEJKZNIKg=a_X)qXAHD= z#ofcT8A=6qZ}URU-9Z_X6PRxOwUzh*=UU;uFve{b7ckL(65ux{whLmh9I$C%G4LBo`YL)4qId%z|Lb2@c%M9Kf#9 zOvDS|8>9~wwnSW1BYNcR8$002ovPDHLkV1la)6e<7! literal 0 HcmV?d00001 diff --git a/settingtypes.txt b/settingtypes.txt new file mode 100644 index 0000000..ad37b4e --- /dev/null +++ b/settingtypes.txt @@ -0,0 +1,2 @@ +# Default shadow intensity when no other has been set. +enable_shadows_default_intensity (Default shadow intensity) float 0.33 0 1 \ No newline at end of file