Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #143

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 19 additions & 8 deletions .debug/lua-definitions/noitapatcher.lua
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function noitapatcher.UseItem(responsible_entity_id, item_entity_id, ignore_relo

---Patch out logging for a certain string literal.
---@param logstr string The string to look for in the exe, it should end with a newline character in most cases.
---@return bool patch_successful
---@return boolean patch_successful
function noitapatcher.SilenceLogs(logstr) end

---Like Noita's LoadPixelScene, but doesn't care if the scene has been loaded before.
Expand All @@ -75,10 +75,10 @@ function noitapatcher.SilenceLogs(logstr) end
---@param x number
---@param y number
---@param background_file string
---@param skip_biome_checks bool Defaults to false
---@param skip_edge_textures bool Defaults to false
---@param skip_biome_checks boolean Defaults to false
---@param skip_edge_textures boolean Defaults to false
---@param color_to_material_table table Defaults to {}
---@param background_z_index int Defaults to 50
---@param background_z_index integer Defaults to 50
function noitapatcher.ForceLoadPixelScene(materials_filename, colors_filename, x, y, background_file, skip_biome_checks, skip_edge_textures, color_to_material_table, background_z_index) end

---Enable source location logging
Expand All @@ -91,8 +91,8 @@ function noitapatcher.EnableLogFiltering(enable) end

---Disable system updates
---@param system_name string Name of the system to disable, for instance BlackHoleSystem
---@param change_to bool enable (true) or disable (false)
---@return bool change_succeeded
---@param change_to boolean enable (true) or disable (false)
---@return boolean change_succeeded
function noitapatcher.ComponentUpdatesSetEnabled(system_name, change_to) end

---Serialize an entity
Expand Down Expand Up @@ -130,8 +130,19 @@ function noitapatcher.PhysBodySetTransform(component_id, x, y, r, vx, vy, av) en
---@return number box2d angular velocity
function noitapatcher.PhysBodyGetTransform(component_id) end

---Mark the current game mode as a daily. Disables spell progress and if called during mod init makes all spells available for the run.
---@param deterministic bool
---Mark the current game mode as a daily. Disables spell unlocks and if called during mod init makes all spells available for the run.
---@param deterministic boolean
function noitapatcher.SetGameModeDeterministic(deterministic)end

---Set the current pause state bitfield.
---0, 1, 4 and >=32 are safe values to use.
---0 means unpaused, 4 is the escape menu pause, the other safe values don't have any GUI.
---@param value integer new pause state value
---@return integer previous pause state value
function noitapatcher.SetPauseState(value)end

---Set the current pause state bitfield value.
---@return integer current pause state value
function noitapatcher.GetPauseState()end

return noitapatcher
Binary file modified mods/noita-mp/lua_modules/lib/lua/5.1/noitapatcher.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion mods/noita-mp/lua_modules/lib/lua/5.1/noitapatcher.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
release-1.18.0
release-1.21.4
Binary file not shown.
Loading