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

248 Commits

Author SHA1 Message Date
Matthew
e43513fcc1
Merge pull request #849 from plague006/locale
The big localization push
2019-03-04 06:35:13 -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
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
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
ab2b3edb63
Merge pull request #831 from SimonFlapse/Info-fix
Fixing info GUI
2019-02-28 12:16:41 -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
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
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
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
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
grilledham
a1aa2add44 Replace Global with global 2019-02-22 22:23:38 +00:00
SimonFlapse
c5ad9f3f5a Added gui update on join 2019-02-22 13:51:20 +01: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
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
plague006
b99bf99c4f Toast-all to toast 2019-02-17 11:55:01 -05:00
grilledham
d622712f1f sort donators 2019-02-17 15:56:18 +00:00
plague006
e4eff300f2 Add toast command 2019-02-16 20:14:04 -05:00
grilledham
e44658d15a left align rank cells 2019-02-16 12:24:54 +00:00
Matthew Heguy
397a84b150 Fix lint warnings 2019-02-14 03:03:51 -05:00
grilledham
3d0fc5acf5 updates to player list to show rank and donator 2019-02-13 12:38:24 +00:00
Matthew Heguy
d0de5951c6 Switch info to use locale for donator rank. Make donator a supplement to rank rather than rank itself. 2019-02-12 20:22:13 -05:00
plague006
c9404d8222 tag_group: deafult - > default, remove ipairs 2019-02-12 20:22:13 -05:00
plague006
e0b59e5fe6 Many fixes and tweaks 2019-02-12 20:22:12 -05:00
Matthew Heguy
28daf88f21 Overhaul rank system, command, donator, add probation rank 2019-02-12 20:22:12 -05:00
grilledham
9a1cdfd512 gui_data 2019-02-09 17:57:55 +00:00
grilledham
0d43501857 added _G.dump and dump commands 2019-02-06 21:20:08 +00:00
plague006
d6e8b145af Fix doc in info, expand doc task, fix MP check in player_create 2019-02-04 14:40:27 -05:00
Matthew
5449642d4d
Merge pull request #738 from plague006/cleanup/global
Clean up global
2019-02-04 12:27:44 -05:00
Lynn
c2b3fcc4f7 Review feedback 2019-02-03 11:28:00 +01:00
Lynn
3ebd1f5f7b Allow players to change their notification volume 2019-02-03 11:27:20 +01:00
Lynn
9892d1a569 Added a notification sound for toast messages 2019-02-03 11:26:22 +01:00
plague006
27e49408a4 Push global to Global 2019-02-03 02:04:42 -05:00
grilledham
c2c7d8f3f6 allow dumping nil 2019-02-02 17:42:51 +00:00
grilledham
ab15c1149f local rawset 2019-02-02 17:28:01 +00:00
grilledham
0398a9ae88 allow debugger to dump game.player 2019-02-02 17:26:41 +00:00
grilledham
1b7420190f fix debugger crash 2019-02-02 14:34:36 +00:00
Matthew
d2084049b2
Merge pull request #687 from SimonFlapse/Popup-Extended
Extra features for popup gui
2019-02-01 18:34:54 -05:00
SimonFlapse
20c00ab843 Addon to prevent popup spam 2019-02-01 22:11:02 +01:00
Matthew
2911794b7e
Merge pull request #706 from plague006/blueprint_helper_refactor
refactor blueprint_helper to not call Token directly and to correct lint warnings
2019-01-30 18:26:14 -05:00
Matthew
334d9d13a7
Merge pull request #682 from plague006/info_push_changelog
Add ability to modify changelog in-game
2019-01-30 18:25:52 -05:00
Matthew Heguy
4738f3e043 Fix missing dep 2019-01-30 18:20:11 -05:00
Matthew
214257b007
Merge pull request #716 from grilledham/debug_token
Debugger
2019-01-30 18:19:13 -05:00
Matthew Heguy
b936a37296 Remove identifier 2019-01-30 18:17:55 -05:00
SimonFlapse
dabb86541d Brainfarted, forgot to change a variable 2019-01-31 00:15:09 +01:00
SimonFlapse
5ac2f66e2a fixing lint warnings 2019-01-31 00:05:53 +01:00
grilledham
2df4aeee45 debugger 2019-01-30 22:32:43 +00:00
plague006
cb6578dd7b refactor blueprint_helper to not call Token directly and to correct lint warnings
(cherry picked from commit 1beef8ba6a)
2019-01-28 17:52:10 -05:00
Lynn
52d4ec0b84 Do not show a fish at > 0.901 evo 2019-01-28 21:27:05 +01:00
Lynn
53fad1a75b Added a GUI element + toasts to notify of biter evolution 2019-01-28 21:21:33 +01:00
grilledham
cc25ebe36e removed redundant code 2019-01-27 16:32:58 +00:00
grilledham
4a51c22f8a Added Public.close_toast_name 2019-01-27 16:02:58 +00:00
grilledham
b615408894 update documentation 2019-01-27 15:43:09 +00:00
grilledham
627463f251 alternative_toast 2019-01-27 15:34:40 +00:00
plague006
17e79663ec Fixes from testing, drop on_leave hook 2019-01-26 10:05:16 -05:00
Lynn
ed5b376ddc Fixed a bug where gui data might not be a table 2019-01-26 15:43:01 +01:00
Lynn
8bf932e5a7 Added template support and force/all player support 2019-01-26 15:08:24 +01:00
Matthew
81979aee7b Performance update for active toasts 2019-01-26 14:47:16 +01:00
Lynn
5fd0d82834 Make GLobal forward compatible with #688 2019-01-26 10:43:39 +01:00
Lynn
a16744787e Added a toast feature 2019-01-25 21:16:39 +01:00
SimonFlapse
ae94823df9 Allowing sprite paths instead of icon_id
Added a pass-through for sprite paths while keeping the 14 "quick" access icons.
2019-01-25 19:31:21 +01:00
plague006
69592e85c3 Don't upload unless something has changed 2019-01-25 11:48:54 -05:00
plague006
d1fbdac4bc Prevent triggered on open and close 2019-01-25 11:38:58 -05:00
plague006
4ab5fd3371 Localize global calls, make sure we don't upload the default message 2019-01-25 11:32:49 -05:00
plague006
c6fa42a82a Autoformat 2019-01-25 11:24:13 -05:00
plague006
54e33c114e Split tokenized function apart 2019-01-25 11:23:06 -05:00
Simon
341dec702a
Merge branch 'develop' into Popup-Extended 2019-01-25 17:19:10 +01:00
SimonFlapse
d7aafbf285 Porting to fix merge conflict 2019-01-25 17:18:02 +01:00
SimonFlapse
c40412d871 Extra features for popup gui
Added 13 new icons to the popup gui
Added the ability to change title

Updated popup-update commands wording, title and icon.
2019-01-25 17:05:12 +01:00
Matthew Heguy
b1647641c8 Use on_data_set_changed instead of nth tick 2019-01-25 08:15:58 -05:00
grilledham
d5c1b14b6e fix bug: toggle score gui button 2019-01-25 11:23:42 +00:00
Matthew
87691f0fbd
Merge pull request #670 from plague006/table_get_random_dictionary_entry
Remove get_random, add get_random_dictionary_entry
2019-01-24 18:14:27 -05:00
Matthew Heguy
7a3418262e Add ability to modify changelog in-game 2019-01-24 17:45:57 -05:00
grilledham
fc32446215 refresh score on all launches 2019-01-24 13:38:17 +00:00
Matthew Heguy
54eb1b08ba Use event.rocket, check force, don't print every launch 2019-01-23 18:33:43 -05:00
grilledham
f20e812919 removed global, changed styles, added total coins spent 2019-01-21 20:37:07 +00:00
plague006
f4ec6aa196 Remove get_random, add get_random_dictionary_entry, and may we never speak of it again. 2019-01-21 14:28:21 -05:00
grilledham
1981dd6c0f fix errors 2019-01-20 18:25:53 +00:00
grilledham
7b393ed65c changed button sprite 2019-01-20 17:18:01 +00:00
grilledham
b45b4b3dce score rewrite 2019-01-20 16:50:10 +00:00
Matthew
0927a839b8
Fix linting (#657)
Fix linting warnings
2019-01-19 11:34:29 -05:00
Matthew
5dd9ce9f90 Remove math and table as globals. (#647)
* Remove math and table as globals.
Create exceptions for table.lua and math.lua to modify respective globals and add returns for respective globals.

* Fix lint errors from table and math
2019-01-15 14:27:48 +01:00
Valansch
7fa83bae6c Add Tetris (#605)
Somehow nailed everything on the first try. What a pro.
2019-01-11 13:31:23 -05:00
Lynn
0ebe857532 Fixed volunteer references 2019-01-05 18:13:49 +01:00
Lynn
cb68f0c340 Fixed the infamous task desync and typos 2019-01-05 18:04:31 +01:00
Matthew
cb9e1e9792 Have info pull changelog from server (#621)
* Have info pull changelog from server

* Use on_server_started and create a proper function to pass to event
2019-01-04 14:45:37 +01:00
Jayefuu
ec2687accd Score spelling correction (#627) 2019-01-04 12:56:25 +01:00
Matthew
dab49c6f6c Yet another camera fix (#626) 2019-01-04 12:56:12 +01:00
Matthew
a84dcfdd91 Overhaul commands (#576)
* Split admin-only commands out of custom commands
Remove free item logging

* Overhaul commands remaining in custom_commands

* Overhaul commands in remaining files

* Change custom_commands to redmew_commands

* Remove follow.lua
2019-01-02 16:34:17 +01:00
Matthew
b43eef96e7 Fix not being able to switch targets without first closing camera (#574) 2019-01-02 14:42:31 +01:00
Matthew
77846c1d66
Merge pull request #604 from plague006/use_color_presets
Change custom colors to presets
2018-12-30 17:20:15 -05:00
plague006
494648f35c Change custom colors to presets 2018-12-29 12:39:20 -05:00
Matthew
8f4c99cc43 Restore ability to set map_extra_info (#588) 2018-12-29 02:19:55 +01:00
Matthew
69e675ffeb Beach and paint typos (#601)
* correct a typo, re-scope a couple vars, remove unused require

* Add typo in paint
2018-12-28 17:21:09 +01:00
Matthew Heguy
d381ee1a03 Update to new config structure 2018-12-23 11:36:34 -05:00
Matthew
bcf0c3e85d Fix issues with silly names (#559)
* Fix new LuaPlayer created on join.

* Change set_map_extra_info to add_map_extra_info

* Make silly_player and regulars compatible
2018-12-22 00:38:47 +01:00
Matthew
eb892a372e Add player_reward, add coins as reward for looking at info (#546)
* Add player_reward, add coins as reward for looking at info

* Remove table entries for completed rewards
2018-12-19 14:56:02 +01:00
Matthew
014b53aa42 Expand config (#560) 2018-12-19 14:41:28 +01:00
grilledham
f45d6d5111 allow player to toggle top buttons visibility 2018-12-16 01:28:00 +00:00
Matthew
edf50d24f7 Add camera (#493)
* Add camera

* Rewrite camera

* Use global register

* Add runtime killswitch.

* Change to every 120 ticks
2018-12-15 21:29:14 +01:00
Matthew
88e7c46d2f Expanded stat tracking (#484)
* Add new stat tracking

* Add player_total_playtime and server storing+getting

* Cover case of not running on server

* Add player built entities, fix playtime tracking

* Add some stat display

* Remove total playtime
2018-12-15 21:28:53 +01:00
Lynn
bbfcdd4629 Added a basic RedMew configuration setup (#502)
* Added a basic RedMew configuration setup
2018-12-06 12:18:52 +01:00
Lynn
39a5b13928 Minor fixes in the config 2018-12-01 22:06:24 +01:00
Matthew Heguy
3fa0091971 Change existing code to use new utility functions 2018-11-27 17:08:26 -05:00
Matthew Heguy
c7201e119b Rename utils and fix requires 2018-11-27 17:08:26 -05:00
James
f010eb0119 moved server and serverCommands module to features + added more documentation to server 2018-11-27 12:32:33 +00:00
Matthew
2bc69414e0
Merge branch 'develop' into server-module 2018-11-26 21:12:36 -05:00
Matthew
b142939c5f Overhaul config and global.scenario usage (#466) 2018-11-27 01:09:52 +01:00
grilledham
4e000efbb8 added missing server require 2018-11-26 16:55:12 +00:00
grilledham
3768a6a3ca merge develop 2018-11-25 11:54:06 +00:00
Matthew
b9e360ce3a Shift command logging to free_item_logging, fix cases of server as actor (#427)
Shift command logging to free_item_logging, fix cases of server as actor
2018-11-23 18:07:44 +01:00
grilledham
163f04789d Merge branch 'develop' of https://github.com/grilledham/RedMew into server-module 2018-11-23 11:44:20 +00:00
Matthew Heguy
e6dda20e41 All tabs to spaces 2018-11-21 08:42:39 -05:00
Matthew
96ab772393 Autoformat (#415) 2018-11-20 11:46:32 +01:00
grilledham
4f99e1353c merge develop 2018-11-19 16:07:15 +00:00
grilledham
196db1914f Utils.player_print -> Game.player_print 2018-11-18 23:49:58 +00:00
SimonFlapse
08b54e44af Added jail to playerlist report for admins and toggle jail in showreports 2018-11-18 20:34:18 +01:00
Matthew
5beaee7144 Comments to luadoc (#355)
Add logging to many commands, admin chat notices for a few commands
Overhaul print_admins
2018-11-18 12:59:52 +01:00
Matthew Heguy
a742c115ba Make box for new features larger 2018-11-17 09:56:22 -05:00
Matthew
fe84d14aa8 Shift elements around, remove "other servers", add train savior info (#356) 2018-11-17 12:59:51 +01:00
grilledham
ad4d1e20d3 merge develop 2018-11-16 16:34:37 +00:00
Simon
f525ba0b06 Made info.gui display on player_created (#340)
* Made info.gui display on player_created

Removed old welcome message and replaced it with a short reminder on how to change keybinding to enable chat.

* removed whitespace
2018-11-15 20:04:03 +01:00
Matthew
9f247e156e Move map info to config (#321)
* Move map info to config

* Move map info to config
2018-11-13 00:30:30 +01:00
Valansch
f1d4bf739c
Update player_list.lua 2018-11-12 19:24:53 +01:00
plague006
818391707e Move features into features folder 2018-11-11 03:08:50 -05:00