mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-06 00:23:49 +02:00
class panel small fix
Changes: - Fixed button update to enable/disable it when people pick the class
This commit is contained in:
parent
db5e74f147
commit
93116e0e56
@ -16,7 +16,7 @@ softmod_info_tips_1=Features of the game that are hard to work out alone
|
||||
softmod_info_tips_2=• The captain can steer the boat from the crow's nest by placing 100 rail signals in one of the blue boxes.\n• Resources granted to the ship appear in the captain's cabin.\n• Charging a silo drains power from everything else on its network.\n• The quantity of ore available on an island is independent of the order in which you break rocks.\n• Passive pollution ramps up over time on each island.\n• The strength of attacks is proportional to the number of remaining nests. (The time-based rate of evolution is proportional to nests too, but destroying a nest will immediately jump evolution by most of the amount it 'would have' made had it survived.)\n• Lab productivity increases with each league.\n• item-on-ground entities on the deck are moved to the cabin when the boat moves, for performance reasons.\n• Commands: /ccolor gives you a fun color. /classinfo {classname} gives the description of the named class. To manage your class, use /take {classname} or /giveup.
|
||||
|
||||
softmod_info_updates_1=Significant recent changes
|
||||
softmod_info_updates_2=v1.3\n• Hold chests are now destructible.\n• Fluid is now transportable between decks.\n• New classes, and new 'Class Window'.\n• Many other improvements, small features, and balance changes.\n\nv1.2\n• Mod portal release.
|
||||
softmod_info_updates_2=v1.3.1\n• Fixed quartermaster and its tooltip. Also buffed physical damage buff it provides to nearby players from 10% to 30%.\n\nv1.3\n• Hold chests are now destructible.\n• Fluid is now transportable between decks.\n• New classes, and new 'Class Window'.\n• Many other improvements, small features, and balance changes.\n\nv1.2\n• Mod portal release.
|
||||
|
||||
softmod_info_credits_1=Credits
|
||||
softmod_info_credits_2=Pirate Ship designed and coded by thesixthroc. Updates from Piratux. Comfy codebase and help from Gerkiz, Hanakocz and Mew @ Comfy Industries (https://getcomfy.eu). Some island structure blueprints contributed by Mattisso.\n\nCome chat with us: https://getcomfy.eu/discord\n\n"Those white gloves. I'll never forget them 'till the day I die." - Dr. John
|
||||
|
@ -196,18 +196,21 @@ function Public.full_update(player)
|
||||
button.style.font_color = black
|
||||
button.style.hovered_font_color = black
|
||||
button.style.clicked_font_color = black
|
||||
button.enabled = true
|
||||
elseif class_entry.taken_by == player.index then
|
||||
button.caption = {'pirates.gui_classes_drop'}
|
||||
button.tooltip = {'pirates.gui_classes_drop_tooltip'}
|
||||
button.style.font_color = red
|
||||
button.style.hovered_font_color = red
|
||||
button.style.clicked_font_color = red
|
||||
button.enabled = true
|
||||
else
|
||||
button.caption = {'pirates.gui_classes_take'}
|
||||
button.tooltip = {'pirates.gui_classes_take_disabled_tooltip'}
|
||||
button.style.font_color = black
|
||||
button.style.hovered_font_color = black
|
||||
button.style.clicked_font_color = black
|
||||
button.enabled = false
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user