Convert toolbar minus datastore

This commit is contained in:
Cooldude2606
2025-01-28 02:03:06 +00:00
parent a2b4fd119b
commit e34a320d97
30 changed files with 999 additions and 895 deletions

View File

@@ -494,7 +494,7 @@ local rocket_list_container = Gui.element("rocket_list_container")
Gui.add_left_element(rocket_list_container, function(player, element)
return player.force.rockets_launched > 0 and Roles.player_allowed(player, "gui/rocket-info")
end)
Gui.create_toolbar_button{
Gui.toolbar.create_button{
name = "rocket_list_toggle",
left_element = rocket_list_container,
sprite = "item/rocket-silo",