Skip to content

Commit 56c5d25

Browse files
authored
Diggy: add blueprint tools (#1548)
* Diggy: add blueprint tools * Rename BP QoL to BP tools * Fix description typos * Address safety edge cases * Adjust padding * Fix bot mining error with player index
1 parent 37c90d4 commit 56c5d25

File tree

9 files changed

+617
-76
lines changed

9 files changed

+617
-76
lines changed

features/gui/experience.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ Public.get_main_frame = function(player)
268268

269269
local data = {}
270270
frame = Gui.add_left_element(player, { name = main_frame_name, type = 'frame', direction = 'vertical' })
271-
Gui.set_style(frame, { maximal_width = 360 })
271+
Gui.set_style(frame, { maximal_width = 332 })
272272

273273
local canvas = frame
274274
.add { type = 'flow', direction = 'vertical', style = 'vertical_flow' }
@@ -358,6 +358,7 @@ Public.get_main_frame = function(player)
358358
end
359359
Gui.set_data(frame, data)
360360
Public.update_main_frame(player)
361+
return frame
361362
end
362363

363364
Public.toggle_main_button = function(player)

locale/en/redmew_command_text.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ frontier_log_global=Logs the global table
134134
moderator=Gives a player the moderator rank
135135
moderator_remove=Demotes a player from moderator to the next lowest rank
136136
regular_all=Gives everyone online the regular rank, if not in probation
137+
blueprint_tools=Open the Blueprint Tools manager GUI
137138

138139
[command_custom_help]
139140
tp=<blank|mode|player> 3 different uses: "/tp" to tp to selected entity. "/tp mode" to toggle tp mode. "/tp Newcott" to tp to Newcott.

locale/en/redmew_maps.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ cutscene_case7_line1=This concludes the introduction
3636
cutscene_case7_line3=Have fun and keep digging!
3737
replay_cutscene=To replay the introduction, use the __1__ command
3838
39+
blueprint_tools_tooltip=Show blueprint tools
40+
3941
# locale linked to the crashsite scenario
4042
[crashsite]
4143
auto_play_cutscene=Auto play Crashsite cutscene

0 commit comments

Comments
 (0)