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

808 Commits

Author SHA1 Message Date
Russel Delainey
d69e7e9219 Use event tick instead of game.tick 2019-06-12 11:24:00 -06:00
Russel Delainey
f5ca64d671 Make travis happy? Please travis? 2019-06-10 12:47:43 -06:00
SimonFlapse
150df010d7 Forgot to invert colors 2019-06-10 19:10:34 +02:00
SimonFlapse
36f51bc2e5 Fixed rendering background
Minor tweaks to cutscene in diggy
2019-06-10 19:10:02 +02:00
SimonFlapse
71d850d04f Reverting upvalues not working in MP 2019-06-10 16:53:52 +02:00
SimonFlapse
6978cc0330 Fixed replay not working in MP 2019-06-10 16:32:13 +02:00
SimonFlapse
92c61779ed Removed unused applied styles to skip button 2019-06-10 16:14:18 +02:00
SimonFlapse
f9fb950639 Added skip button
Clean up in radio gui
2019-06-10 16:11:12 +02:00
SimonFlapse
860ead05c0 Added localisation, Debug.Print and Cleanup
Also changed some parameters to the draw_text with background so that 'g' and similar letters are not outside the background
2019-06-10 15:15:14 +02:00
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