Skip to content

Commit 09449e9

Browse files
Lua code format - (Stylua)
1 parent 1a2f9d9 commit 09449e9

26 files changed

Lines changed: 27 additions & 57 deletions

data-otservbr-global/npc/alexander.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)
171171
npcHandler:setMessage(MESSAGE_GREET, "Hi there |PLAYERNAME|, and welcome to the {magic} store.")
172172
npcHandler:setMessage(MESSAGE_FAREWELL, "See you, |PLAYERNAME|.")
173173
npcHandler:setMessage(MESSAGE_WALKAWAY, "See you, |PLAYERNAME|.")
174-
npcHandler:setMessage(MESSAGE_SENDTRADE, "Of course, just browse through my wares. Or do you want to look only at ".. GetFormattedShopCategoryNames(itemsTable) ..".")
174+
npcHandler:setMessage(MESSAGE_SENDTRADE, "Of course, just browse through my wares. Or do you want to look only at " .. GetFormattedShopCategoryNames(itemsTable) .. ".")
175175
npcHandler:addModule(FocusModule:new(), npcConfig.name, true, true, true)
176176

177177
-- On buy npc shop message

data-otservbr-global/npc/asima.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ local function creatureSayCallback(npc, creature, type, message)
176176
return true
177177
end
178178

179-
npcHandler:setMessage(MESSAGE_SENDTRADE, "Of course, just browse through my wares. Or do you want to look only at ".. GetFormattedShopCategoryNames(itemsTable) ..".")
179+
npcHandler:setMessage(MESSAGE_SENDTRADE, "Of course, just browse through my wares. Or do you want to look only at " .. GetFormattedShopCategoryNames(itemsTable) .. ".")
180180
npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)
181181
npcHandler:addModule(FocusModule:new(), npcConfig.name, true, true, true)
182182

data-otservbr-global/npc/battlemart.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ end
209209
npcHandler:setMessage(MESSAGE_GREET, "It is good to see you. I'm always at your {shop options}")
210210
npcHandler:setMessage(MESSAGE_FAREWELL, "Farewell, |PLAYERNAME|, I'll be here if you need me again.")
211211
npcHandler:setMessage(MESSAGE_WALKAWAY, "Come back soon!")
212-
npcHandler:setMessage(MESSAGE_SENDTRADE, "Of course, just browse through my wares. Or do you want to look only at ".. GetFormattedShopCategoryNames(itemsTable) ..".")
212+
npcHandler:setMessage(MESSAGE_SENDTRADE, "Of course, just browse through my wares. Or do you want to look only at " .. GetFormattedShopCategoryNames(itemsTable) .. ".")
213213

214214
npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)
215215
npcHandler:addModule(FocusModule:new(), npcConfig.name, true, true, true)

data-otservbr-global/npc/chuckles.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ local function creatureSayCallback(npc, creature, type, message)
145145
return true
146146
end
147147

148-
npcHandler:setMessage(MESSAGE_SENDTRADE, "Of course, just browse through my wares. Or do you want to look only at ".. GetFormattedShopCategoryNames(itemsTable) ..".")
148+
npcHandler:setMessage(MESSAGE_SENDTRADE, "Of course, just browse through my wares. Or do you want to look only at " .. GetFormattedShopCategoryNames(itemsTable) .. ".")
149149
npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)
150150
npcHandler:addModule(FocusModule:new(), npcConfig.name, true, true, true)
151151

data-otservbr-global/npc/fenech.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)
169169
npcHandler:setMessage(MESSAGE_GREET, "Be mourned pilgrim in flesh and welcome to the magic store.")
170170
npcHandler:setMessage(MESSAGE_FAREWELL, "May enlightenment be your path.")
171171
npcHandler:setMessage(MESSAGE_WALKAWAY, "May enlightenment be your path.")
172-
npcHandler:setMessage(MESSAGE_SENDTRADE, "Of course, just browse through my wares. Or do you want to look only at ".. GetFormattedShopCategoryNames(itemsTable) ..".")
172+
npcHandler:setMessage(MESSAGE_SENDTRADE, "Of course, just browse through my wares. Or do you want to look only at " .. GetFormattedShopCategoryNames(itemsTable) .. ".")
173173
npcHandler:addModule(FocusModule:new(), npcConfig.name, true, true, true)
174174

175175
-- On buy npc shop message

data-otservbr-global/npc/frans.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)
130130
npcHandler:setMessage(MESSAGE_GREET, "Beeee greeeeted, Simula! What is your neeeed?")
131131
npcHandler:setMessage(MESSAGE_FAREWELL, "Bye.")
132132
npcHandler:setMessage(MESSAGE_WALKAWAY, "Bye.")
133-
npcHandler:setMessage(MESSAGE_SENDTRADE, "Of course, just browse through my wares. Or do you want to look only at ".. GetFormattedShopCategoryNames(itemsTable) ..".")
133+
npcHandler:setMessage(MESSAGE_SENDTRADE, "Of course, just browse through my wares. Or do you want to look only at " .. GetFormattedShopCategoryNames(itemsTable) .. ".")
134134
npcHandler:addModule(FocusModule:new(), npcConfig.name, true, true, true)
135135

136136
-- On buy npc shop message

data-otservbr-global/npc/frederik.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)
153153
npcHandler:setMessage(MESSAGE_GREET, "Hi there and welcome to my little magic shop.")
154154
npcHandler:setMessage(MESSAGE_FAREWELL, "Yeah, bye.")
155155
npcHandler:setMessage(MESSAGE_WALKAWAY, "Yeah, bye.")
156-
npcHandler:setMessage(MESSAGE_SENDTRADE, "Of course, just browse through my wares. Or do you want to look only at ".. GetFormattedShopCategoryNames(itemsTable) ..".")
156+
npcHandler:setMessage(MESSAGE_SENDTRADE, "Of course, just browse through my wares. Or do you want to look only at " .. GetFormattedShopCategoryNames(itemsTable) .. ".")
157157
npcHandler:addModule(FocusModule:new(), npcConfig.name, true, true, true)
158158

159159
-- On buy npc shop message

data-otservbr-global/npc/ghorza.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)
137137
npcHandler:setMessage(MESSAGE_GREET, "Hello, scraggy human.")
138138
npcHandler:setMessage(MESSAGE_FAREWELL, "Take care of evil spirits.")
139139
npcHandler:setMessage(MESSAGE_WALKAWAY, "Take care of evil spirits.")
140-
npcHandler:setMessage(MESSAGE_SENDTRADE, "Of course, just browse through my wares. Or do you want to look only at ".. GetFormattedShopCategoryNames(itemsTable) ..".")
140+
npcHandler:setMessage(MESSAGE_SENDTRADE, "Of course, just browse through my wares. Or do you want to look only at " .. GetFormattedShopCategoryNames(itemsTable) .. ".")
141141
npcHandler:addModule(FocusModule:new(), npcConfig.name, true, true, true)
142142

143143
-- On buy npc shop message

data-otservbr-global/npc/gnomegica.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)
150150
npcHandler:setMessage(MESSAGE_GREET, "Greetings! You came to the right gnome to buy {potions}, {runes} or {wands}. So let's talk about a {trade}.")
151151
npcHandler:setMessage(MESSAGE_FAREWELL, "Good bye and come again.")
152152
npcHandler:setMessage(MESSAGE_WALKAWAY, "Good bye and come again.")
153-
npcHandler:setMessage(MESSAGE_SENDTRADE, "Of course, just browse through my wares. Or do you want to look only at ".. GetFormattedShopCategoryNames(itemsTable) ..".")
153+
npcHandler:setMessage(MESSAGE_SENDTRADE, "Of course, just browse through my wares. Or do you want to look only at " .. GetFormattedShopCategoryNames(itemsTable) .. ".")
154154
npcHandler:addModule(FocusModule:new(), npcConfig.name, true, true, true)
155155

156156
-- On buy npc shop message

data-otservbr-global/npc/hamish.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ npcHandler:setMessage(
200200
What's your need? Say {trade} and we'll soon get you fixed up. Or ask me about {potions}, {wands}, or {runes}."
201201
)
202202

203-
npcHandler:setMessage(MESSAGE_SENDTRADE, "Of course, just browse through my wares. Or do you want to look only at ".. GetFormattedShopCategoryNames(itemsTable) ..".")
203+
npcHandler:setMessage(MESSAGE_SENDTRADE, "Of course, just browse through my wares. Or do you want to look only at " .. GetFormattedShopCategoryNames(itemsTable) .. ".")
204204
npcHandler:setMessage(MESSAGE_FAREWELL, "Use your runes wisely!")
205205
npcHandler:setMessage(MESSAGE_WALKAWAY, "Use your runes wisely!")
206206
npcHandler:setMessage(MESSAGE_SENDTRADE, "Take your pick! Or maybe you want to look only at {potions}, {wands} or {runes}?")

0 commit comments

Comments
 (0)