mirror of
https://github.com/minetest-mods/technic.git
synced 2025-07-06 10:10:36 +02:00
Fix trailing whitespace (#482)
Trim all trailing whitespace characters,
This commit is contained in:
committed by
SmallJoker
parent
5f6b87d43a
commit
4f78a69ffc
@ -8,7 +8,7 @@ local S = technic.getter
|
||||
technic.register_power_tool("technic:flashlight", flashlight_max_charge)
|
||||
|
||||
minetest.register_alias("technic:light_off", "air")
|
||||
|
||||
|
||||
minetest.register_tool("technic:flashlight", {
|
||||
description = S("Flashlight"),
|
||||
inventory_image = "technic_flashlight.png",
|
||||
|
@ -62,7 +62,7 @@ end
|
||||
|
||||
local function drill_dig_it1 (player)
|
||||
local dir=player:get_look_dir()
|
||||
if math.abs(dir.x)>math.abs(dir.z) then
|
||||
if math.abs(dir.x)>math.abs(dir.z) then
|
||||
if dir.x>0 then return 0 end
|
||||
return 1
|
||||
end
|
||||
|
@ -93,7 +93,7 @@ minetest.register_tool("technic:prospector", {
|
||||
"label[0,7.5;Accuracy:]"..
|
||||
"label[0,8;98%]")
|
||||
return
|
||||
end,
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_on_player_receive_fields(function(user, formname, fields)
|
||||
@ -117,7 +117,7 @@ minetest.register_on_player_receive_fields(function(user, formname, fields)
|
||||
user:set_wielded_item(toolstack)
|
||||
return true
|
||||
end)
|
||||
|
||||
|
||||
minetest.register_craft({
|
||||
output = "technic:prospector",
|
||||
recipe = {
|
||||
|
@ -86,7 +86,7 @@ minetest.register_tool("technic:sonic_screwdriver", {
|
||||
return itemstack
|
||||
end,
|
||||
})
|
||||
|
||||
|
||||
minetest.register_craft({
|
||||
output = "technic:sonic_screwdriver",
|
||||
recipe = {
|
||||
|
Reference in New Issue
Block a user