Skip to content

Commit

Permalink
Merge branch 'bikin-malu-saja' into 'master'
Browse files Browse the repository at this point in the history
Add missing packages to lua console

See merge request OpenMW/openmw!4254
  • Loading branch information
psi29a committed Jul 16, 2024
2 parents 4873a9f + 5768502 commit bd71f79
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions files/data/scripts/omw/console/global.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ local env = {
async = require('openmw.async'),
world = require('openmw.world'),
aux_util = require('openmw_aux.util'),
calendar = require('openmw_aux.calendar'),
time = require('openmw_aux.time'),
anim = require('openmw.animation'),
view = require('openmw_aux.util').deepToString,
print = printToConsole,
exit = function() player:sendEvent('OMWConsoleExit') end,
Expand Down
3 changes: 3 additions & 0 deletions files/data/scripts/omw/console/local.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ local env = {
nearby = require('openmw.nearby'),
self = require('openmw.self'),
aux_util = require('openmw_aux.util'),
anim = require('openmw.animation'),
calendar = require('openmw_aux.calendar'),
time = require('openmw_aux.time'),
view = require('openmw_aux.util').deepToString,
print = printToConsole,
exit = function() player:sendEvent('OMWConsoleExit') end,
Expand Down
2 changes: 2 additions & 0 deletions files/data/scripts/omw/console/menu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ local env = {
ui = require('openmw.ui'),
input = require('openmw.input'),
aux_util = require('openmw_aux.util'),
calendar = require('openmw_aux.calendar'),
time = require('openmw_aux.time'),
view = require('openmw_aux.util').deepToString,
print = printToConsole,
exit = exitLuaMenuMode,
Expand Down
3 changes: 3 additions & 0 deletions files/data/scripts/omw/console/player.lua
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,13 @@ local env = {
self = require('openmw.self'),
input = require('openmw.input'),
postprocessing = require('openmw.postprocessing'),
anim = require('openmw.animation'),
ui = require('openmw.ui'),
camera = require('openmw.camera'),
aux_util = require('openmw_aux.util'),
debug = require('openmw.debug'),
calendar = require('openmw_aux.calendar'),
time = require('openmw_aux.time'),
view = require('openmw_aux.util').deepToString,
print = printToConsole,
exit = exitLuaMode,
Expand Down

0 comments on commit bd71f79

Please sign in to comment.