From 07a5f951c020f528da01e6bc14215e2e75cc1b5c Mon Sep 17 00:00:00 2001 From: echoes91 Date: Sun, 19 Apr 2020 22:06:25 +0200 Subject: [PATCH] Refinements and new textures --- functions.lua | 3 +-- tools.lua | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/functions.lua b/functions.lua index 8eec4e6..2e05d00 100644 --- a/functions.lua +++ b/functions.lua @@ -38,10 +38,9 @@ function spears_set_entity(spear_type, base_damage, toughness) initial_properties = { physical = false, visual = "item", - visual_size = {x = 0.5, y = 0.5, z = 0.5}, + visual_size = {x = 0.25, y = 0.25, z = 0.25}, wield_item = "spears:spear_" .. spear_type, collisionbox = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, - automatic_rotate = 10, }, on_activate = function (self, staticdata, dtime_s) diff --git a/tools.lua b/tools.lua index 53272c7..4715390 100644 --- a/tools.lua +++ b/tools.lua @@ -4,7 +4,7 @@ function spears_register_spear(spear_type, desc, base_damage, toughness, materia description = desc .. " spear", wield_image = "spears_spear_" .. spear_type .. ".png", inventory_image = "spears_spear_" .. spear_type .. ".png^[transform4", - wield_scale= {x = 2, y = 2, z = 1}, + wield_scale= {x = 1.5, y = 1.5, z = 1.5}, on_secondary_use = function(itemstack, user, pointed_thing) spears_throw(itemstack, user, pointed_thing) if not minetest.setting_getbool("creative_mode") then