@jtff/miztemplate-lib 3.1.11 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
FunkMan = SOCKET:New(10042, "127.0.0.1")
|
package/lua/src/130-airboss.lua
CHANGED
|
@@ -30,7 +30,7 @@ function detectShitHotBreak(objAirboss)
|
|
|
30
30
|
-- Requirements for Shit Hot break are velocity >475 knots and less than 700 feet
|
|
31
31
|
trigger.action.outText(player_name..' performing a Sierra Hotel Break around ' .. objAirboss.customconfig.alias .. ' !', 10)
|
|
32
32
|
local sh_message_to_discord = ('**'..player_name..' is performing a Sierra Hotel Break at '..UTILS.Round(player_velocity, 0)..' knots and '..player_alt_feet..' feet!**')
|
|
33
|
-
|
|
33
|
+
FunkMan:SendTable({
|
|
34
34
|
command="moose_text",
|
|
35
35
|
text=sh_message_to_discord,
|
|
36
36
|
msg_type='lso'
|
|
@@ -200,7 +200,7 @@ for index, airbossconfig in ipairs(AirBossConfig) do
|
|
|
200
200
|
objAirboss:SetMaxSectionSize(4)
|
|
201
201
|
objAirboss:SetMaxMarshalStacks(airbossconfig.maxstacks)
|
|
202
202
|
objAirboss:SetDefaultPlayerSkill(airbossconfig.difficulty) -- other options EASY / HARD
|
|
203
|
-
objAirboss:SetFunkManOn(
|
|
203
|
+
objAirboss:SetFunkManOn(10042, "127.0.0.1")
|
|
204
204
|
if airbossconfig.wirecorrection then
|
|
205
205
|
objAirboss:SetMPWireCorrection(airbossconfig.wirecorrection)
|
|
206
206
|
else
|
|
@@ -350,16 +350,16 @@ for index, airbossconfig in ipairs(AirBossConfig) do
|
|
|
350
350
|
myGrade.points = myGrade.points + 1.00
|
|
351
351
|
client_performing_sh:Set(0)
|
|
352
352
|
self:SetTrapSheet(self.trappath, "SH_unicorn_AIRBOSS-trapsheet-"..player_name)
|
|
353
|
-
timer.scheduleFunction(
|
|
354
|
-
function()
|
|
355
|
-
trigger.action.outSound("AIRBOSS/Airboss Soundfiles/sureshot.ogg")
|
|
356
|
-
end,
|
|
357
|
-
{},
|
|
358
|
-
timer.getTime() + 5
|
|
359
|
-
)
|
|
360
353
|
else
|
|
361
354
|
self:SetTrapSheet(self.trappath, "unicorn_AIRBOSS-trapsheet-"..player_name)
|
|
362
355
|
end
|
|
356
|
+
timer.scheduleFunction(
|
|
357
|
+
function()
|
|
358
|
+
trigger.action.outSound("AIRBOSS/Airboss Soundfiles/sureshot.ogg")
|
|
359
|
+
end,
|
|
360
|
+
{},
|
|
361
|
+
timer.getTime() + 5
|
|
362
|
+
)
|
|
363
363
|
|
|
364
364
|
elseif string_grade == "OK" and player_wire >1 then
|
|
365
365
|
if client_performing_sh:Get() == 1 then
|
|
@@ -401,7 +401,7 @@ for index, airbossconfig in ipairs(AirBossConfig) do
|
|
|
401
401
|
if playerData.wire == 1 then
|
|
402
402
|
myGrade.points = myGrade.points -1.00
|
|
403
403
|
local onewire_to_discord = ('**'..player_name..' almost had a rampstrike with that 1-wire!**')
|
|
404
|
-
|
|
404
|
+
FunkMan:SendTable({
|
|
405
405
|
command="moose_text",
|
|
406
406
|
text=onewire_to_discord,
|
|
407
407
|
msg_type='lso'
|
|
@@ -15,7 +15,7 @@ for index, traingingrangeconfig in ipairs(TrainingRangeConfig) do
|
|
|
15
15
|
trainingRange:SetDefaultPlayerSmokeBomb(false)
|
|
16
16
|
trainingRange:SetRangeRadius(0.2) -- bomb impact at more than 200m is out of range
|
|
17
17
|
trainingRange:SetScoreBombDistance(100)-- bomb impact at more than 100m won't be taken into account
|
|
18
|
-
trainingRange:SetFunkManOn(
|
|
18
|
+
trainingRange:SetFunkManOn(10042,"127.0.0.1")
|
|
19
19
|
trainingRange:SetAutosaveOn()
|
|
20
20
|
trainingRange:SetTargetSheet(traingingrangeconfig.targetsheetpath)
|
|
21
21
|
if ( type(traingingrangeconfig.srs) ~= nil ) then
|
package/package.json
CHANGED
|
@@ -213,7 +213,7 @@ async function doInject(ciObject, sourceMizFileName, workspacePath,destinationMi
|
|
|
213
213
|
// insertion des Librairies JTFF dans la file d'attente
|
|
214
214
|
settingsArray.push(
|
|
215
215
|
{
|
|
216
|
-
file: "settings-
|
|
216
|
+
file: "settings-funkman.lua",
|
|
217
217
|
},
|
|
218
218
|
{
|
|
219
219
|
file: "settings-global.lua",
|
|
@@ -221,8 +221,8 @@ async function doInject(ciObject, sourceMizFileName, workspacePath,destinationMi
|
|
|
221
221
|
);
|
|
222
222
|
libsArray.push({
|
|
223
223
|
folder: 'lib',
|
|
224
|
-
scriptTitle: '
|
|
225
|
-
scripts: ['
|
|
224
|
+
scriptTitle: 'FunkMan',
|
|
225
|
+
scripts: ['funkman.lua'],
|
|
226
226
|
timing: 17,
|
|
227
227
|
color: '0xffff00ff'
|
|
228
228
|
});
|
package/lua/lib/gemman.lua
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
GemMan = SOCKET:New(10043, "127.0.0.1")
|
|
File without changes
|