mirror of
https://bitbucket.org/minetest_gamers/x_enchanting.git
synced 2025-04-21 17:50:21 +02:00
Add screenshots and cleanup
This commit is contained in:
parent
d27a607543
commit
c53e9f3e48
BIN
screenshot.2.png
Normal file
BIN
screenshot.2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 103 KiB |
BIN
screenshot.3.png
Normal file
BIN
screenshot.3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 181 KiB |
BIN
screenshot.png
Normal file
BIN
screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 408 KiB |
@ -473,11 +473,8 @@ minetest.register_entity('x_enchanting:table_scroll', {
|
|||||||
self._scroll_closed = true
|
self._scroll_closed = true
|
||||||
self._tablechecktimer = 5
|
self._tablechecktimer = 5
|
||||||
self._playerchecktimer = 1
|
self._playerchecktimer = 1
|
||||||
self._bouncetimer = 3
|
|
||||||
self._player = nil
|
self._player = nil
|
||||||
self._last_rotation = nil
|
self._last_rotation = nil
|
||||||
self._bounce_up = false
|
|
||||||
self._bounce_init = false
|
|
||||||
|
|
||||||
self.object:set_armor_groups({ immortal = 1 })
|
self.object:set_armor_groups({ immortal = 1 })
|
||||||
self.object:set_animation({ x = 0, y = 0 }, 0, 0, false)
|
self.object:set_animation({ x = 0, y = 0 }, 0, 0, false)
|
||||||
@ -491,7 +488,6 @@ minetest.register_entity('x_enchanting:table_scroll', {
|
|||||||
self._last_rotation = self.object:get_rotation()
|
self._last_rotation = self.object:get_rotation()
|
||||||
self._tablechecktimer = self._tablechecktimer - dtime
|
self._tablechecktimer = self._tablechecktimer - dtime
|
||||||
self._playerchecktimer = self._playerchecktimer - dtime
|
self._playerchecktimer = self._playerchecktimer - dtime
|
||||||
self._bouncetimer = self._bouncetimer - dtime
|
|
||||||
|
|
||||||
-- table
|
-- table
|
||||||
if self._tablechecktimer <= 0 then
|
if self._tablechecktimer <= 0 then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user