1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-14 10:13:13 +02:00
Commit Graph

823 Commits

Author SHA1 Message Date
Lynn
97d96dedf3 Translate the name of death causes 2019-06-01 00:12:41 +02:00
Lynn
8a84ef7504 Cleanup of player stats functions 2019-05-31 23:18:19 +02:00
Lynn
dc78d297b6 Use K, M, B, T notations for scores 2019-05-31 23:14:22 +02:00
Lynn
94934a7695
Merge pull request #934 from linaori/rewrite-score-storage
Rewrite score storage
2019-05-31 22:33:27 +02:00
Lynn
b5f70f2db1 review feedback 2019-05-31 21:42:15 +02:00
Lynn
b3dbd2bc62
Merge pull request #925 from linaori/feature/player-chat-colors-in-gui
Replaced command for player and chat colors
2019-05-31 21:13:02 +02:00
Lynn
b5b9a49fd1 Improved hotpath performance 2019-05-31 19:28:20 +02:00
grilledham
211d0ca18a
Merge pull request #929 from grilledham/remove_debug_data_from_gui_data
don't show the debugger's gui data in gui data
2019-05-31 12:28:09 +01:00
Lynn
f8812f6189 Use ScoreTracker for global score display 2019-05-30 21:57:43 +02:00
Lynn
34e3190882 Use a uniform storage for score storage 2019-05-30 20:22:21 +02:00
Lynn
6b8a042821 Lower color accuracy to a precision of 3 for small numbers 2019-05-30 18:55:42 +02:00
grilledham
2ef7f16550 added chat color sanitizer 2019-05-30 18:55:42 +02:00
Lynn
4add981a76 Sync colors from /color command to the settings 2019-05-30 18:55:41 +02:00
Lynn
1cd19c69e7 Replaced command for player and chat colors 2019-05-30 18:55:41 +02:00
Lynn
4e86ecf0ff Fixed locale table with string concat in market 2019-05-30 16:49:54 +02:00
Lynn
8f7695fefd Some diggy tweaks based on feedback
- Added an initial mining speed bonus
 - Added an option to toggle landfill research
 - Slightly increased oil spawn rates
2019-05-30 12:36:15 +02:00
grilledham
9e3993d8f5 don't show the debugger's gui data in gui data 2019-05-29 23:12:31 +01:00
Simon
f24b9aa51f
Crowdin sync 2019-05-29 (#928)
* Crowdin sync 2019-05-29

* fix cs technology tag

* Fixed rich text, new crowdin sync

Crowdin sync at 20:15 UTC 2019-05-29

* First diggy localisedStrings

* Added missing localisedString

* Updated readme + CI fix
2019-05-29 23:13:28 +02:00
Lynn
a0e4021d4a Added a sync message to the settings GUI 2019-05-28 16:49:59 +02:00
grilledham
d4667992d1 Merge branch 'develop' of https://github.com/Valansch/RedMew into gui_settings 2019-05-27 20:46:38 +01:00
Lynn
65b9e6d547 Schedule setting syncs per player, not globally 2019-05-27 19:09:43 +02:00
grilledham
2ad61b737d fix unused state variable 2019-05-27 16:42:06 +01:00
grilledham
5382d2c420 localisation 2019-05-27 16:34:29 +01:00
grilledham
ddc6d4e2c1 tag_group settings sync 2019-05-27 16:18:46 +01:00
grilledham
8877b73628 player_list settings sync 2019-05-27 16:10:36 +01:00
grilledham
a03cff2bd9 tasklist settings sync 2019-05-27 16:07:20 +01:00
grilledham
56bfa84388 fix no_notify set when settings change 2019-05-27 16:07:02 +01:00
grilledham
3cbce426ad update event settings names 2019-05-27 15:46:18 +01:00
grilledham
62d5c4ab9d Merge branch 'fix/nested-setting-in-event' of https://github.com/iltar/RedMew into gui_settings 2019-05-27 15:41:59 +01:00
grilledham
f31b060a0e poll_notify_sync 2019-05-27 15:41:38 +01:00
Lynn
55eead174d setting set should not nest the setting in the event 2019-05-27 16:01:48 +02:00
grilledham
4ec2d46f62
Merge pull request #919 from grilledham/debugger/gui_data
Debugger/gui data
2019-05-27 13:18:12 +01:00
Lynn
ecd4e73e3d Directly update settings fields when displayed 2019-05-27 13:50:37 +02:00
grilledham
6387b73788 removed unused variables 2019-05-26 21:13:57 +01:00
grilledham
1af3d3b237 fixed desyn issue 2019-05-26 21:03:42 +01:00
grilledham
f77a50b33b clear text unless both player and element is selected. 2019-05-26 20:44:59 +01:00
grilledham
e9b31c7038 updates 2019-05-26 20:32:44 +01:00
Lynn
22b6f587d2 Added a sync back towards the local state 2019-05-26 19:25:46 +02:00
Lynn
f4872717e2 Settings are now synced via Setting.set instead 2019-05-26 18:14:25 +02:00
grilledham
68b4c22e2b merge develop into debugger/gui_data 2019-05-26 16:41:39 +01:00
Lynn
f93a3714a6 Between joining and syncing settings, can't use button 2019-05-26 14:56:41 +02:00
Lynn
732941a642 Ensure window is closed when a player rejoins 2019-05-26 14:44:18 +02:00
Lynn
66d1f8e442 Use the timeout mechanism for server config 2019-05-26 13:51:46 +02:00
Lynn
3281d580f5 menu_item_tooltip -> tooltip for consistency 2019-05-26 13:43:38 +02:00
grilledham
9ec489f961 cancelled requests include data and cancelled = true 2019-05-26 13:42:12 +02:00
Lynn
36d22f052f Using game.get_player instead of game.players 2019-05-26 13:42:11 +02:00
Lynn
0950a4e13b Fixed incorrect merges and 0.17.x changes 2019-05-26 13:42:11 +02:00
Lynn
bc38c23a3a Review feedback processed 2019-05-26 13:42:11 +02:00
plague006
ed8c3a1453 Detect server 2019-05-26 13:42:10 +02:00
plague006
e395f0c6d7 Minor locale cleanup 2019-05-26 13:42:10 +02:00
Lynn
ac9c25ac6e Replaced settings commands with a GUI 2019-05-26 13:42:09 +02:00
Lynn
28f79a9166 Added tooltips for most menu items 2019-05-26 13:21:40 +02:00
Lynn
dda30a9208 Added a tooltip to explain the evolution button 2019-05-26 11:37:51 +02:00
grilledham
ff8d81120f
Merge pull request #912 from grilledham/misc-fixes
Misc fixes
2019-05-16 20:13:47 +01:00
grilledham
bcda7c8f39 re enabled disabled_font_color 2019-05-16 20:04:08 +01:00
grilledham
1c28b4eb31 re enabled poll focus colors, except disabled_font_color 2019-05-16 14:49:29 +01:00
grilledham
a0e178fc75 removed unsed Game variable 2019-05-16 12:11:01 +01:00
grilledham
880c0366d1 Game.get_player_by_index -> game.get_player 2019-05-16 11:10:56 +01:00
grilledham
c444844a3f refactor + extra checks for require fluid ores, pumpjack mining drills 2019-05-13 11:08:57 +01:00
TWLTriston
82874823ce Fix #910 - added radius lookups for drills 2019-05-12 19:30:51 -04:00
Simon
eb491364c4
fixed LuaPlayer -> Player.name (#903) 2019-05-03 16:47:05 +02:00
SimonFlapse
6f514c9f38 Two more 2019-05-02 18:05:03 +02:00
SimonFlapse
6b145dacbe More player -> character #2 2019-05-02 17:29:55 +02:00
SimonFlapse
56b6dfbd01 More player -> character 2019-05-02 17:02:53 +02:00
SimonFlapse
69bdd747fb Fixed technology and inventory rename
Also fixed player -> character in types
2019-05-02 16:53:12 +02:00
grilledham
e453e06097 removed unused variable Game 2019-05-02 13:47:42 +01:00
grilledham
da904702ca print player deaths to discord 2019-05-02 13:45:44 +01:00
Simon
201fc80e55
[Diggy] Updated experience gui (#840)
* Updated experience gui

* Fixed XP from rocket launches

* Added more rich-text

* Updated experience gui

* Fixed XP from rocket launches

* Added more rich-text

* Added more rich_text

* Added new hail_hydra and weapon_balance

* Spitter spawn behemoth worms

* Fixed linting

* Reverted spawn chance back to 0.05

* Fixed Diggy _CHEAT

Now overrides config.lua cheats when debug is not true
2019-04-22 20:21:04 +02:00
plague006
41dd68c435 Polish 2019-04-16 17:33:08 -04:00
plague006
03149901fa Add quick bar saving 2019-04-16 15:42:24 -04:00
grilledham
64deca9778 refactor + docs 2019-04-16 14:36:59 -04:00
grilledham
40353c19f8 cancelable try_get_data 2019-04-16 14:36:59 -04:00
Matthew
d6343143f8
Merge pull request #877 from plague006/fix/paint
Validity check in paint
2019-04-16 14:06:05 -04:00
plague006
4d1e6cb444 Fix event_view sorting, change name of error logging files. 2019-04-16 13:32:13 -04:00
Ku3mi41
f952f76cbd fix(player_list): removed unused variables 2019-03-30 23:00:49 +07:00
Ku3mi41
b02929edf0 feat(player_list): added internationalization 2019-03-30 22:17:29 +07:00
Matthew Heguy
79492b3e4a Validity check in paint 2019-03-17 12:42:07 -04:00
grilledham
11899e0668 fixed player_colors.color_saved_advert locale 2019-03-10 18:17:51 +00:00
Simon
4795fdd059
Redmew QoL additions (#870)
Added research_queue_enabled switch

Fixed construction robots placed by players in early game is unminable.
Also Fixed construction robots being bugged as unminable
2019-03-09 23:42:03 +01:00
grilledham
953c6c1805 unselected tab color to black 2019-03-09 15:02:01 +00:00
grilledham
29926ec609 layout fixes 2019-03-09 15:01:44 +00:00
grilledham
62eb07ac0b
Merge pull request #864 from grilledham/crashsite/updates
Crashsite updates
2019-03-09 14:19:05 +00:00
grilledham
41f2fc8c50 render text when hover over market 2019-03-08 17:31:00 +00:00
grilledham
34f6e04a84 also fix no notify for player_list, poll and tag_groups 2019-03-08 14:36:28 +00:00
grilledham
3486cda7c4 fix tasklist no notify 2019-03-08 14:32:16 +00:00
plague006
6b189c850a Fix for server 2019-03-04 16:20:53 -05:00
Matthew
9ad41cb3bc
Merge pull request #855 from plague006/feature/teach_chat
Add player_onboarding
2019-03-04 16:06:43 -05:00
Simon
7ab0f10bb9
Added logic for toggling minable robots (#790)
* Added logic for toggling minable robots

* Added aditional checks to prevent indexing nil

* Moved to Redmew-QoL

* Indent

* Moved to redmew-qol
2019-03-04 13:02:50 +01:00
plague006
dc0b597f5e Add player_onboarding 2019-03-04 06:38:54 -05:00
Matthew
e43513fcc1
Merge pull request #849 from plague006/locale
The big localization push
2019-03-04 06:35:13 -05:00
plague006
db6b321170 Remove redmew-setting commands to match #852 2019-03-04 01:57:51 -05:00
plague006
fe9eda2e45 Small updates+fixes 2019-03-03 17:54:51 -05:00
plague006
e0699036f8 Add debug_commands 2019-03-03 17:22:01 -05:00
plague006
891a863e68 Remove venus and its modules, silly_player names, walkabout, rusky_pvp and tempban 2019-03-03 17:22:01 -05:00
plague006
3268ec550e Change print strings to localised strings 2019-03-03 17:22:00 -05:00
plague006
55aa7fd916 Command descriptions
Remove search_command
Overhaul meltdown commands
Localize some gui
2019-03-03 17:21:59 -05:00
plague006
fc48d264cf Commands to locale
Change target_name refs to poll the player
2019-03-03 17:21:47 -05:00
plague006
38ccde5456 Fix event_view catching all checked_state changes 2019-03-03 14:52:05 -05:00
plague006
535c675028 Add generate_event_name to event module 2019-03-03 13:03:24 -05:00
SimonFlapse
58353e9c30 New sprite for info gui 2019-03-02 10:46:35 +01:00
Matthew
0b3bdec8e2
Merge pull request #839 from SimonFlapse/rich-text-gui
New GUI to assist in using the new rich text feature
2019-03-02 04:14:55 -05:00
plague006
060ee3afb7 Add set_alt_on_create 2019-03-02 02:12:12 -05:00
plague006
01946f7255 Remove quickbar check 2019-03-01 19:31:54 -05:00
SimonFlapse
f0425a1e32 x2 2019-03-01 22:19:56 +01:00
SimonFlapse
d4f6a9c40c Fixed linting errors 2019-03-01 22:08:58 +01:00
plague006
b3a176f4f8 Fix help text for poll 2019-03-01 14:36:43 -05:00
Lynn
6d32ef7f74 Fix the toast color display 2019-03-01 19:58:44 +01:00
SimonFlapse
4f9d004062 Added rich-text-gui 2019-03-01 14:54:36 +01:00
SimonFlapse
e7759b0d37 Converted to rich text
- Reducing the footprint
2019-03-01 10:18:39 +01:00
Matthew
30809c077a
Merge pull request #806 from plague006/feature/data_manipulation
Add scenario_data_manipulation
2019-02-28 17:36:40 -05:00
Matthew
6e5b1291a2
Merge pull request #833 from plague006/remove/all-tech
Remove all-tech command
2019-02-28 17:21:24 -05:00
Matthew
dd9048ed26
Merge pull request #835 from plague006/fix/meltdown
Don't have meltdown on for all maps
2019-02-28 17:13:56 -05:00
Matthew Heguy
15fee1a5ec Don't put boolean in a table 2019-02-28 16:32:20 -05:00
Matthew
ff0476bd2b
Merge pull request #811 from plague006/17/raise_destroy
[17][Enhancement] Raise events where appropriate.
2019-02-28 16:27:40 -05:00
Matthew Heguy
3410fa2dd0 Remove all-tech command 2019-02-28 14:48:08 -05:00
Matthew
01d53fdd25
Merge pull request #805 from plague006/fix/admin_commands
Take offline and invalid players for probation add/remove as well as regular-remove
2019-02-28 12:41:46 -05:00
Matthew
77df5209fd
Merge pull request #804 from SimonFlapse/fix_performance_scale
Improved performance_scale
2019-02-28 12:37:12 -05:00
Matthew Heguy
97dd73c619 Fix localised string name 2019-02-28 12:35:24 -05:00
Matthew
5779f15752
Merge pull request #814 from plague006/17/error_logging
[17] Add error_logging
2019-02-28 12:28:47 -05:00
Matthew
ab2b3edb63
Merge pull request #831 from SimonFlapse/Info-fix
Fixing info GUI
2019-02-28 12:16:41 -05:00
plague006
2428a93154 Add error_logging 2019-02-28 11:48:48 -05:00
Matthew
12557f8102
Merge pull request #826 from plague006/fix/walkabout
Fix walking_state in walkabout
2019-02-28 11:38:14 -05:00
Matthew Heguy
41cd0bffaa Increase newinfo height 2019-02-28 11:36:28 -05:00
Matthew
38c654421d
Merge pull request #832 from SimonFlapse/Poll-fix
Fixing poll gui
2019-02-28 11:29:47 -05:00
SimonFlapse
4fbd10543d Fixed info gui pages
Tested on all scalings
2019-02-28 15:05:30 +01:00
Matthew Heguy
32baf80cd1 Fix desync risk 2019-02-27 21:30:56 -05:00
Matthew Heguy
2045301baf Disable word wrapping 2019-02-27 17:44:00 -05:00
Matthew Heguy
9994cbfc7a Fix unfocused button color, fix width in map info 2019-02-27 16:16:46 -05:00
SimonFlapse
e613301d8d Fixed poll styling 2019-02-27 20:09:30 +01:00
SimonFlapse
dbb2bac6d1 Fixed clode button 2019-02-27 17:03:56 +01:00
SimonFlapse
32779ab01a Fixed REDMEW and small other styles
I can't seem to fix the rules tab and the scroll-bars.
Changing screen resolution and/or changing the gui scale while the gui is open breaks the style. It's fixed by redrawing it
2019-02-27 16:57:17 +01:00
SimonFlapse
650a0d9072 Retaining gui size for popups 2019-02-27 15:49:57 +01:00
Matthew Heguy
50098ace03 Fix walking_state in walkabout 2019-02-26 20:37:14 -05:00
Matthew Heguy
76ae6a1847 Fix mining speed buff in market 2019-02-26 16:31:00 -05:00
Matthew Heguy
09ef833dd2 Remove steel-axe, iron-axe 2019-02-26 14:08:49 -05:00
grilledham
6a3b0df094 fixes 2019-02-26 17:36:20 +00:00
Matthew
37edcb6751
Merge pull request #816 from plague006/17/player_built_tile
[17][Fix] Fix for possible nil item in on_player_built_tile
2019-02-26 10:11:23 -05:00
Matthew
230c0a033c
Merge pull request #813 from grilledham/0.17/visible_fixes
[17][Fix] visible_fixes
2019-02-25 10:49:56 -05:00
grilledham
2ff799f030 Changed sc to dc 2019-02-25 15:17:45 +00:00
plague006
6fab882c2f Fix for possible nil item in on_player_built_tile 2019-02-24 21:40:08 -05:00
grilledham
f2849b0fb8 visible_fixes 2019-02-24 23:07:15 +00:00
plague006
fa145e4bb4 Raise events where appropriate. 2019-02-24 16:04:53 -05:00
plague006
68c19734a2 Add scenario_data_manipulation 2019-02-24 10:45:48 -05:00
plague006
8b814316e4 Take offline and invalid players for probation add/remove as well as regular-remove 2019-02-24 08:25:14 -05:00
SimonFlapse
5c6d7b32f5 Improved performance_scale
It now keeps track of applied modifiers and doesn't override modifiers given from third parties.

It now works with diggy
2019-02-24 12:51:09 +01:00
grilledham
a0f4b64411 fix missing config variable 2019-02-23 13:40:20 -05:00
grilledham
3f9a6e3742 move cheat mode code into seperate function 2019-02-23 13:40:20 -05:00
plague006
c7591a1e97 Change Color.information to Color.info, fix missing comma from bad conflict fix 2019-02-23 12:31:28 -05:00
Matthew
566735e905
Merge branch 'develop' into regular_command 2019-02-23 12:19:15 -05:00
plague006
f2768cdc89 Avoid potential desyncs by not using ref to config in functions 2019-02-23 12:09:10 -05:00
grilledham
4a410ecf87 add regular commands notice for admins 2019-02-23 16:54:53 +00:00
Matthew
d0e2cb969a
Merge pull request #727 from plague006/donator_commands
Donator commands
2019-02-23 11:46:43 -05:00
plague006
9b4b907ea4 Remove Color 2019-02-23 11:32:42 -05:00
plague006
acc928312b More doc 2019-02-23 11:21:32 -05:00
plague006
ec50016f3a Remove redundant checks and message delay, refine doc. 2019-02-23 11:19:52 -05:00
grilledham
0db02230ca grilled's changes 2019-02-23 16:06:23 +00:00
plague006
46afaec38d Check for 0 entry tables 2019-02-23 10:56:25 -05:00
plague006
25a61256f0 Move generic death message into print after timeout 2019-02-23 10:54:36 -05:00
Matthew
c03b9c0cdd
Merge pull request #796 from grilledham/debugger/event_view_global_fix
Debugger/event view global fix
2019-02-23 10:33:40 -05:00
Simon
055d6602dc
Merge pull request #798 from plague006/fix/apocalypse
Set evolution scale when activating the apocalypse
2019-02-23 16:27:44 +01:00
plague006
0b5a22b6c8 Set evolution scale when activating the apocalypse 2019-02-23 10:20:38 -05:00
grilledham
8050de4414 fix player_list sort by rank 2019-02-23 14:39:59 +00:00
grilledham
ee6d347b98 removed unused require 2019-02-23 14:03:54 +00:00
grilledham
ba87c468ce on_open_debug callback 2019-02-23 13:08:47 +00:00
plague006
ec7d638228 on-join -> welcome 2019-02-22 17:37:51 -05:00
Matthew Heguy
d4a6d2b237 Add on_death 2019-02-22 17:37:51 -05:00
Matthew Heguy
19fb003f7e Expand donator messages 2019-02-22 17:37:50 -05:00
plague006
b090a736a8 Add donator commands 2019-02-22 17:37:50 -05:00
grilledham
a1aa2add44 Replace Global with global 2019-02-22 22:23:38 +00:00
plague006
f143f9583a Break regular+probation commands apart, switch to localised strings, refine color use 2019-02-22 15:07:55 -05:00
SimonFlapse
c5ad9f3f5a Added gui update on join 2019-02-22 13:51:20 +01:00
Matthew
6b9f6b68f4
Merge pull request #788 from plague006/event_view
Add event toggles to debugger
2019-02-21 16:51:12 -05:00
Matthew
74c11132a8
Merge pull request #702 from SimonFlapse/Train-AntiGrief
Added anti grief for trains
2019-02-21 16:39:08 -05:00
Matthew
b25f4e3b66
Merge pull request #780 from plague006/fix_regular
Fix increase and decrease player rank functions
2019-02-21 16:32:18 -05:00
Matthew Heguy
14b83d7266 Use Model.dump 2019-02-21 15:53:49 -05:00
Matthew Heguy
2a397163bc Remove todo 2019-02-21 14:32:27 -05:00
Matthew Heguy
184d5fa56d Add event toggles to debugger, increment version of debuggertron 2019-02-21 13:43:40 -05:00
Matthew Heguy
47bda3a69f Fix typo in Global ref 2019-02-20 21:41:08 -05:00
Matthew Heguy
84e2ee8887 Fix wrong condition 2019-02-20 19:05:48 -05:00
Matthew Heguy
6523efd040 Remove redundant check 2019-02-20 15:13:19 -05:00
Matthew Heguy
808c64a8e0 Fix increase and decrease player rank functions 2019-02-20 13:52:30 -05:00
Matthew Heguy
ffed15c30e Do not punish if there are multiple passengers 2019-02-20 13:07:47 -05:00
Matthew Heguy
3fe50a437f Switch to Global 2019-02-19 19:38:11 -05:00
Matthew Heguy
3d22658876 Rename allowed_to_nuke to is_trusted 2019-02-19 19:26:04 -05:00
Matthew Heguy
d7b3bac494 Check if train 2019-02-19 18:47:22 -05:00
Matthew Heguy
f49dccd1f4 Remove unneccessary nil and validity check 2019-02-19 18:42:46 -05:00
Matthew Heguy
ead93440ba Don't restrict train antigrief to force 'player', fix ref to player.name when player.valid is not true 2019-02-19 18:19:09 -05:00
plague006
ce4174b0bd Use commas as sep 2019-02-19 18:19:09 -05:00
SimonFlapse
307ba3684c Prevent train grief 2019-02-19 18:19:09 -05:00
Matthew
16fe4a7345
Merge pull request #742 from plague006/apply_lifecycle
Apply lifecycle
2019-02-19 14:13:28 -05:00
Matthew
5f41b35328
Merge pull request #762 from plague006/toast_command
Add toast command
2019-02-18 21:20:33 -05:00
plague006
dfad6180ba Refine error message 2019-02-18 20:51:39 -05:00
Matthew
fb9d5e5503
Merge pull request #770 from plague006/loader_check
After init, check if loaders should be enabled.
2019-02-18 20:25:50 -05:00
Matthew
cf661952b0
Merge pull request #764 from plague006/split_commands
Split commands into their respective modules
2019-02-18 20:18:34 -05:00
plague006
8ccfe43cef Make lifecycle more readable. 2019-02-18 01:43:59 -05:00
plague006
7f53ad171d After init, check if loaders should be enabled. 2019-02-18 01:16:33 -05:00
Matthew
06915dd5bb
Merge pull request #744 from plague006/1000x
Add 1000x
2019-02-18 00:50:08 -05:00
plague006
b99bf99c4f Toast-all to toast 2019-02-17 11:55:01 -05:00
Matthew
e9a27f5151
Merge pull request #767 from grilledham/player_list/sort_donators
sort donators
2019-02-17 11:54:12 -05:00
grilledham
d622712f1f sort donators 2019-02-17 15:56:18 +00:00