Compare commits

...

15 Commits

Author SHA1 Message Date
4509d18b51 . 2026-04-06 21:30:50 +09:00
8bc873bf29 . 2026-04-06 21:29:19 +09:00
5032a249d9 . 2026-04-06 21:27:08 +09:00
fdefcf3b3d . 2026-04-06 21:25:27 +09:00
a8d03b4ef7 . 2026-04-06 21:25:08 +09:00
b45aba71f8 Merge branch 'aperx' of https://github.com/PHIDIAS0303/ExpCluster into aperx 2026-04-06 21:17:44 +09:00
79aa19a04e . 2026-04-06 21:17:37 +09:00
729b7d61b6 Merge branch 'explosivegaming:main' into aperx 2026-04-06 20:12:47 +09:00
6cbc4e5cfb fix inventory clear (#416)
* Update clear_items function to accept player name

* Update inventory_clear.lua

* Update exp_scenario/module/control/inventory_clear.lua

Co-authored-by: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com>

---------

Co-authored-by: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com>
2026-03-27 13:48:53 +00:00
35fc7f3102 . 2026-03-26 18:32:18 +09:00
26ee6cee64 Merge branch 'aperx' of https://github.com/PHIDIAS0303/ExpCluster into aperx 2026-03-20 15:33:38 +09:00
ea70b81bcf . 2026-03-20 15:28:34 +09:00
b0c2e722ed Merge branch 'aperx' of https://github.com/PHIDIAS0303/ExpCluster into aperx 2026-03-19 17:38:53 +09:00
a1ca42e44d . 2026-03-19 17:38:46 +09:00
9e86796cb9 Merge branch 'explosivegaming:main' into aperx 2026-03-19 17:20:12 +09:00
2 changed files with 7 additions and 3 deletions

View File

@@ -1,5 +1,8 @@
--[[-- Control - Inventory Clear
Will move players items to spawn when they are banned or kicked, option to clear on leave
on_player_banned - player_name
on_player_kicked - player_index
]]
local ExpUtil = require("modules/exp_util")
@@ -7,6 +10,7 @@ local events = require("modules.exp_legacy.config.inventory_clear")
--- @param event { player_index: number }
local function clear_items(event)
if not event.player_index then return end
local player = assert(game.get_player(event.player_index))
local inventory = assert(player.get_main_inventory())
ExpUtil.transfer_inventory_to_surface{

View File

@@ -11,6 +11,6 @@ catalog:
react: 18.2.0
react-dom: 18.2.0
typescript: ^5.9.3
webpack: 5.98.0
webpack-cli: 5.1.4
webpack-merge: 5.9.0
webpack: 5.105.4
webpack-cli: 7.0.2
webpack-merge: 6.0.1