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

849 Commits

Author SHA1 Message Date
Russel Delainey
0aa715fcce Update config name to better match purpose 2019-06-09 22:36:53 -06:00
Russel Delainey
1573217813 Rewrite to avoid surface lookups 2019-06-09 22:34:13 -06:00
SimonFlapse
8d20eeff9d Preventing players from replaying when a cutscene from the cutscene module is already playing 2019-06-10 01:31:26 +02:00
SimonFlapse
1569867f8f Made soundpaths selectable 2019-06-10 01:14:23 +02:00
SimonFlapse
202e4c37b5 Fixed background parameters
Also added a new waypoint to Diggy with floating text
2019-06-10 01:04:14 +02:00
SimonFlapse
85fc38fd3a Minor changes to player_create
Allowing cutscenes to run before welcoming players via info gui and console messages.

Also includes a search limit for walls and rock to prevent the cutscene from running too far away from {0, 0}
2019-06-09 23:59:16 +02:00
SimonFlapse
003cd6c801 Added a radio to browse sounds 2019-06-09 16:39:21 +02:00
Lynn
aa4f98c22b Added retailer translations 2019-06-09 15:04:40 +02:00
SimonFlapse
f04b13f63a Added parameter passthrough to rendering module 2019-06-09 13:31:44 +02:00
SimonFlapse
de77c9601a Fixed players loosing control 2019-06-09 12:26:51 +02:00
SimonFlapse
3ca8e3f127 Cutscene Controller
Implemented for Diggy
2019-06-09 00:55:25 +02:00
grilledham
f7918088ab tooltip fix 2019-06-07 10:27:10 +01:00
grilledham
68c9f0ccf2 restored get_all_death_causes_by_player 2019-06-07 10:25:24 +01:00
Russel Delainey
4538af4152 Invert condition 2019-06-04 15:30:14 -06:00
Russel Delainey
c501c9ca85 Don't run cleanup on every death. 2019-06-04 15:28:08 -06:00
Russel Delainey
c07b5a39e0 Extracted filter to local 2019-06-04 14:50:09 -06:00
Russel Delainey
70fc151a3a Extract corpse list length into local var 2019-06-04 14:41:19 -06:00
Russel Delainey
0e725ad9e1 Check the force is an enemy, and the type that died is unit 2019-06-04 14:40:33 -06:00
Russel Delainey
77d3a581f3 Implement as guards to reduce nesting 2019-06-04 14:25:34 -06:00
Russel Delainey
8b79bc8024 Clean up testing code. 2019-06-04 13:24:46 -06:00
Russel Delainey
3a56ee1e5c First shot at #608 2019-06-04 13:07:43 -06:00
Lynn
98f11ee163
Satisfy travis 2019-06-04 11:05:00 +02:00
Lynn
6db5901e99
Hotfix for broken GUI, translation parameter count 2019-06-04 10:56:18 +02:00
Lynn
99890acdc2
Merge pull request #935 from linaori/cleanup-player-stats
Cleanup player stats
2019-06-02 17:16:55 +02:00
Lynn
f73e017e88 Optimize some reach distances 2019-06-01 17:11:17 +02:00
Lynn
fdee00dc06 Translate whois data 2019-06-01 13:41:12 +02:00
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