Update painting mod to Git commit da8f4ba...
https://github.com/minetest-mods/painting/tree/da8f4bamaster
parent
0c242d9c9e
commit
484bef43a1
|
@ -80,7 +80,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
|
|||
* [enchanting][] ([GPL / WTFPL / CC BY-SA-NA][lic.enchanting]) -- version: [dee7dde Git][ver.enchanting] *2021-06-04*
|
||||
* [intllib][] ([Unlicense][lic.unlicense]) -- version: [6ebdc53][ver.intllib] *2021-02-23* ***DEPRECATED***
|
||||
* [listitems][] ([MIT][lic.listitems]) -- version: [0.7][ver.listitems] *2021-04-29*
|
||||
* [painting][] (WTFPL) -- version [8961849 Git][ver.painting] *2016-05-05* ([patched][patch.painting])
|
||||
* [painting][] (WTFPL) -- version: [da8f4ba Git][ver.painting] *2021-06-25*
|
||||
* [pipeworks][] ([LGPL][lic.lgpl3.0] / [CC BY-SA][lic.ccbysa4.0]) -- version: [2670fd8 Git][ver.pipeworks] *2021-05-06* ([patched][patch.pipeworks])
|
||||
* [wdata][] ([MIT][lic.wdata]) -- version: [1.1][ver.wdata] *2021-06-15*
|
||||
* mobiles/
|
||||
|
@ -599,7 +599,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
|
|||
[ver.mywoodslopes]: https://github.com/minetest-mods/mywoodslopes/tree/3a1b531
|
||||
[ver.nether]: https://github.com/minetest-mods/nether/tree/v3
|
||||
[ver.no_fall_damage]: https://repo.or.cz/minetest_no_fall_damage.git/shortlog/refs/tags/1.0.0
|
||||
[ver.painting]: https://github.com/minetest-mods/painting/tree/8961849
|
||||
[ver.painting]: https://github.com/minetest-mods/painting/tree/da8f4ba
|
||||
[ver.pbmarks]: https://github.com/AntumMT/mod-pbmarks/releases/tag/v1.0
|
||||
[ver.pipeworks]: https://gitlab.com/VanessaE/pipeworks/tree/2670fd8
|
||||
[ver.player_monoids]: https://github.com/minetest-mods/player_monoids/tree/ed11a73
|
||||
|
@ -664,7 +664,6 @@ The game includes the mods from the default [minetest_game](https://github.com/m
|
|||
[patch.motorbike]: https://github.com/AntumMT/mod-motorbike/tree/0aa5c9c
|
||||
[patch.mysheetmetal]: https://github.com/AntumMT/mod-mysheetmetal/tree/2ffb3a2
|
||||
[patch.nether]: https://github.com/AntumMT/mod-nether/tree/7a84ddd
|
||||
[patch.painting]: https://github.com/AntumMT/mod-painting/tree/c7dc09a
|
||||
[patch.pipeworks]: https://gitlab.com/AntumMT/mod-pipeworks/tree/48b082e
|
||||
[patch.quartz]: https://github.com/AntumMT/mod-quartz/tree/adc759e
|
||||
[patch.rainbow_ore]: https://github.com/AntumMT/mod-rainbow_ore/tree/0227a86
|
||||
|
|
|
@ -98,7 +98,7 @@ minetest.register_entity("painting:picent", {
|
|||
|
||||
on_activate = function(self, staticdata)
|
||||
|
||||
local pos = self.object:getpos()
|
||||
local pos = self.object:get_pos()
|
||||
local meta = minetest.get_meta(pos)
|
||||
local data = meta:get_string("painting:picturedata")
|
||||
|
||||
|
@ -189,10 +189,10 @@ minetest.register_entity("painting:paintent", {
|
|||
|
||||
--get player eye level
|
||||
--see player.h line 129
|
||||
local ppos = vector.add(puncher:getpos(), puncher:get_eye_offset())
|
||||
local ppos = vector.add(puncher:get_pos(), puncher:get_eye_offset())
|
||||
ppos.y = ppos.y + puncher:get_properties().eye_height
|
||||
|
||||
local pos = self.object:getpos()
|
||||
local pos = self.object:get_pos()
|
||||
local l = puncher:get_look_dir()
|
||||
|
||||
local d = dirs[self.fd]
|
||||
|
@ -326,7 +326,7 @@ minetest.register_craftitem("painting:paintedcanvas", {
|
|||
local p = minetest.add_entity(pos, "painting:picent"):get_luaentity()
|
||||
|
||||
p.object:set_properties({ textures = { to_imagestring(data.grid, data.res) }})
|
||||
p.object:setyaw(math.pi * fd / -2)
|
||||
p.object:set_yaw(math.pi * fd / -2)
|
||||
|
||||
return ItemStack("")
|
||||
end
|
||||
|
@ -469,7 +469,7 @@ minetest.register_node("painting:easel", {
|
|||
|
||||
p.object:set_properties({ collisionbox = paintbox[fd % 2] })
|
||||
p.object:set_armor_groups({immortal = 1})
|
||||
p.object:setyaw(math.pi * fd / -2)
|
||||
p.object:set_yaw(math.pi * fd / -2)
|
||||
p.grid = initgrid(res)
|
||||
p.res = res
|
||||
p.fd = fd
|
||||
|
|
Loading…
Reference in New Issue