From 0add474af2d58f0a01f5c483ea44e69d6580ecf9 Mon Sep 17 00:00:00 2001 From: Craig Davison Date: Mon, 1 Feb 2016 17:30:45 +0000 Subject: [PATCH] Follow naming conventions of textures and models in boats --- mods/boats/init.lua | 6 +++--- mods/boats/models/{boat.obj => boats_boat.obj} | 0 .../{boat_inventory.png => boats_inventory.png} | Bin .../textures/{boat_wield.png => boats_wield.png} | Bin 4 files changed, 3 insertions(+), 3 deletions(-) rename mods/boats/models/{boat.obj => boats_boat.obj} (100%) rename mods/boats/textures/{boat_inventory.png => boats_inventory.png} (100%) rename mods/boats/textures/{boat_wield.png => boats_wield.png} (100%) diff --git a/mods/boats/init.lua b/mods/boats/init.lua index a7e62e4..a85f6e1 100644 --- a/mods/boats/init.lua +++ b/mods/boats/init.lua @@ -36,7 +36,7 @@ local boat = { physical = true, collisionbox = {-0.5, -0.35, -0.5, 0.5, 0.3, 0.5}, visual = "mesh", - mesh = "boat.obj", + mesh = "boats_boat.obj", textures = {"default_wood.png"}, driver = nil, @@ -215,8 +215,8 @@ minetest.register_entity("boats:boat", boat) minetest.register_craftitem("boats:boat", { description = "Boat", - inventory_image = "boat_inventory.png", - wield_image = "boat_wield.png", + inventory_image = "boats_inventory.png", + wield_image = "boats_wield.png", wield_scale = {x = 2, y = 2, z = 1}, liquids_pointable = true, diff --git a/mods/boats/models/boat.obj b/mods/boats/models/boats_boat.obj similarity index 100% rename from mods/boats/models/boat.obj rename to mods/boats/models/boats_boat.obj diff --git a/mods/boats/textures/boat_inventory.png b/mods/boats/textures/boats_inventory.png similarity index 100% rename from mods/boats/textures/boat_inventory.png rename to mods/boats/textures/boats_inventory.png diff --git a/mods/boats/textures/boat_wield.png b/mods/boats/textures/boats_wield.png similarity index 100% rename from mods/boats/textures/boat_wield.png rename to mods/boats/textures/boats_wield.png