1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-30 04:40:54 +02:00

put quest name in tooltip

This commit is contained in:
danielmartin0 2024-09-09 17:14:48 +01:00
parent 52834c4e2e
commit 88d97cf88b
3 changed files with 5 additions and 5 deletions

View File

@ -579,7 +579,7 @@ gui_etaframe_charge_tooltip=Rocket silo charge: __1__/__2__ GJ\n\nFully charge t
gui_questframe=Island Quest:
gui_questframe_fail=Fail
gui_questframe_ok=OK
gui_questframe_complete_tooltip=This island's quest is complete, and this is the reward.
gui_questframe_complete_tooltip=This island's __1__ quest is complete, and this is the reward.
gui_questframe_time=Island Quest: Time\n\nLaunch a rocket before the countdown completes for a bonus.
gui_questframe_worms=Island Quest: Worms\n\nKill enough worms for a bonus.
gui_questframe_find=Island Quest: Ghosts\n\nFind the ghosts for a bonus.

View File

@ -836,7 +836,7 @@ function Public.process_siloframe_and_questframe_updates(flowsilo, flowquest, bo
local tooltip = ''
if quest_complete and quest_reward then
tooltip = {'pirates.gui_questframe_complete_tooltip'}
tooltip = {'pirates.gui_questframe_complete_tooltip', quest_type}
flow1.quest_label_1.caption = {'pirates.gui_questframe'}
flow1.quest_label_1.style.font_color = GuiCommon.achieved_font_color
flow1.quest_label_2.visible = true

View File

@ -18,9 +18,9 @@ local Public = {}
local enum = {
TIME = 'Time',
FIND = 'Find',
NODAMAGE = 'No_Damage',
RESOURCEFLOW = 'Resource_Flow',
RESOURCECOUNT = 'Resource_Count',
NODAMAGE = 'No Damage',
RESOURCEFLOW = 'Resource Flow',
RESOURCECOUNT = 'Resource Count',
WORMS = 'Worms',
FISH = 'Fish',
COMPILATRON = 'Compilatron', -- compilatron is robot that looks like sheep