Skip to content

Commit

Permalink
Merge branch 'photonle:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
DatedGore authored Feb 2, 2025
2 parents e9a4943 + 845f860 commit 309fc05
Show file tree
Hide file tree
Showing 89 changed files with 2,228 additions and 15 deletions.
23 changes: 23 additions & 0 deletions addon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"title" : "Photon 2: Emergency Systems Platform",
"type" : "vehicle",
"tags" : [ "roleplay", "realism" ],
"ignore" :
[
"*.psd",
"*.vcproj",
"*.svn*",
"*.md",
"*.sw.vtx",
"*.dx80.vtx",
"*.smd",
"*.bak",
"*.tga",
"*.tx",
".annotations*",
".vscode*",
".git*",
"*.txt"

]
}
10 changes: 10 additions & 0 deletions lua/photon-v2/library/components/photon_sos_mpf4.lua
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ COMPONENT.Segments = {
["DUO_FLASH"] = sequence():FlashHold( { 1, 0, 2, 0 }, 3, 1 ),
["2FH_2C"] = sequence():FlashHold( { 1, 2 }, 2, 4 ),
["2FH_2C_FAST"] = sequence():FlashHold( { 1, 2 }, 2, 2 ),
["QUINT_3C"] = sequence():QuintFlash( 1, 0):QuintFlash( 2, 0):QuintFlash( 3, 0),
["SLOW_RUN"] = sequence():Alternate( 1, 0, 8),
["SUP_SLOW_RUN"] = sequence():Alternate( 1, 0, 10),
["Q_SWITCH"] = sequence():QSwitch( 1, 3),
["Q_SWITCH_ALT"] = sequence():QSwitch( 1, 3, true),
["OFF"] = { 0 },
}
},
Expand All @@ -124,6 +129,11 @@ COMPONENT.Patterns = {
["DUO_FLASH"] = { { "Light", "DUO_FLASH" } },
["2FH_2C"] = { { "Light", "2FH_2C" } },
["2FH_2C_FAST"] = { { "Light", "2FH_2C_FAST" } },
["QUINT_3C"] = { { "Light", "QUINT_3C" } },
["SLOW_RUN"] = { { "Light", "SLOW_RUN" } },
["SUP_SLOW_RUN"] = { { "Light", "SUP_SLOW_RUN" } },
["Q_SWITCH"] = { { "Light", "Q_SWITCH" } },
["Q_SWITCH_ALT"] = { { "Light", "Q_SWITCH_ALT" } },
["OFF"] = { { "Light", "OFF" } }
}

Expand Down
Loading

0 comments on commit 309fc05

Please sign in to comment.