Move 16dirs version to master (#14)

closes #9
This commit is contained in:
bell07 2019-09-15 11:57:23 +02:00 committed by GitHub
parent 4ae8d694fa
commit 22b444d2a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
17 changed files with 3 additions and 3 deletions

View File

@ -113,7 +113,7 @@ local function get_compass_stack(player, stack)
end
local angle_dir = math.deg(dir)
local angle_relative = (angle_north + angle_dir) % 360
local compass_image = math.floor((angle_relative/30) + 0.5)%12
local compass_image = math.floor((angle_relative/22.5) + 0.5)%16
-- create new stack with metadata copied
local metadata = stack:get_meta():to_table()
@ -225,8 +225,8 @@ minetest.register_globalstep(function(dtime)
end)
-- register items
for i = 0, 11 do
local image = "ccompass_"..i..".png"
for i = 0, 15 do
local image = "ccompass_16_"..i..".png"
local groups = {}
if i > 0 then
groups.not_in_creative_inventory = 1

BIN
textures/ccompass_16_0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
textures/ccompass_16_1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
textures/ccompass_16_10.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
textures/ccompass_16_11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
textures/ccompass_16_12.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
textures/ccompass_16_13.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
textures/ccompass_16_14.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
textures/ccompass_16_15.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
textures/ccompass_16_2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
textures/ccompass_16_3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
textures/ccompass_16_4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
textures/ccompass_16_5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
textures/ccompass_16_6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
textures/ccompass_16_7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
textures/ccompass_16_8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
textures/ccompass_16_9.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB