Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
XxpichoclesxX authored Dec 14, 2023
1 parent bc27979 commit 00a3bc9
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions Stand2/Xmass Unlocker 2023.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@

menu.divider(menu.my_root(), "Yeti Event")
local yeti = menu.list(menu.my_root(), "Yeti", {}, "Desbloqueara el yeti.")
local locations = {
{-1562.69, 4699.04, 50.426},
{-1359.869, 4733.429, 46.919},
{-1715.398, 4501.203, 0.096},
{-1282.18, 4487.826, 12.643},
{-1569.665, 4478.485, 20.215},
{-1345.828, 4838.062, 137.522}
}

menu.divider(yeti, "Unlock Event First")

menu.action(yeti, "Unlock Yeti", {}, "Will unlock the yeti new function.", function()
memory.write_byte(memory.script_global(262145 + 36054), 1)
util.trigger_script_event(1 << players.user(), {1833904680})
end)

menu.divider(yeti, "All yeti clues")

for idx, coords in locations do
yeti:action("Clues " .. idx, {}, "Teleport to the yeti clues", function()
util.teleport_2d(coords[1], coords[2])
end)
end

menu.divider(menu.my_root(), "Especific Unlockers")

menu.action(menu.my_root(), "Unlock Truck", {}, "Will unlock the new fremode xmass truck.", function()
memory.write_byte(memory.script_global(262145 + 36055), 1)
util.toast("Should be on the map already.")
end)

menu.action(menu.my_root(), "Unlock New Mission", {}, "Will unlock newest mission from the DLC", function()
memory.write_byte(memory.script_global(262145 + 36058), 1)
memory.write_byte(memory.script_global(262145 + 36058), 1)
end)

menu.divider(menu.my_root(), "Unlock All (Might be risky)")

menu.action(menu.my_root(), "Unlock All", {}, "Will bassicly unlock everything on the new DLC.", function()
for i = 36050, 36300 do
memory.write_byte(memory.script_global(262145 + i), 1)
end
memory.write_byte(memory.script_global(262145 + 36250), 1)
memory.write_byte(memory.script_global(262145 + 36251), 1)
end)

0 comments on commit 00a3bc9

Please sign in to comment.