From 699bd61343e1d8c53c9e8945b0ec3b0ea1579067 Mon Sep 17 00:00:00 2001 From: Felipe Paluco <87909998+FelipePaluco@users.noreply.github.com> Date: Thu, 31 Oct 2024 15:06:31 -0300 Subject: [PATCH] refactor: variables in camel case --- data/scripts/actions/items/mystery_box.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/data/scripts/actions/items/mystery_box.lua b/data/scripts/actions/items/mystery_box.lua index 1f79ded111e..6afdf3ca464 100644 --- a/data/scripts/actions/items/mystery_box.lua +++ b/data/scripts/actions/items/mystery_box.lua @@ -1,6 +1,6 @@ -local mysterybox = Action() +local mysteryBox = Action() -function mysterybox.onUse(player, item, fromPosition, target, toPosition, isHotkey) +function mysteryBox.onUse(player, item, fromPosition, target, toPosition, isHotkey) local items = { 25361, 25360 } local randomItem = items[math.random(#items)] player:addItem(randomItem, 1) @@ -9,5 +9,5 @@ function mysterybox.onUse(player, item, fromPosition, target, toPosition, isHotk return true end -mysterybox:id(26186) -mysterybox:register() +mysteryBox:id(26186) +mysteryBox:register()