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

320 Commits

Author SHA1 Message Date
Lynn
34e3190882 Use a uniform storage for score storage 2019-05-30 20:22:21 +02:00
Lynn
d1305795de Ensure tables are compared by value for 1 level instead of reference 2019-05-30 19:28:28 +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
9fc7179981 Use a local table reference to prevent re-alloc 2019-05-27 21:09:31 +02:00
Lynn
65b9e6d547 Schedule setting syncs per player, not globally 2019-05-27 19:09:43 +02:00
Lynn
31931ff365 Fix bug when value is false 2019-05-27 16:40:30 +02: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
1af3d3b237 fixed desyn issue 2019-05-26 21:03:42 +01:00
grilledham
e9b31c7038 updates 2019-05-26 20:32:44 +01:00
grilledham
68b4c22e2b merge develop into debugger/gui_data 2019-05-26 16:41:39 +01:00
Lynn
7ed200bf3f Added an event when a setting is set 2019-05-26 16:18:07 +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
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
grilledham
ff8d81120f
Merge pull request #912 from grilledham/misc-fixes
Misc fixes
2019-05-16 20:13:47 +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
f6bf121057 added table.keys function 2019-05-13 11:07:11 +01:00
plague006
4d1e6cb444 Fix event_view sorting, change name of error logging files. 2019-04-16 13:32:13 -04:00
Cooldude2606
601f940b3f Game.get_player_from_any not working for indexs 2019-04-09 20:27:07 +01:00
Matthew
6ad8f8725e
Merge pull request #860 from plague006/fix_locale
Fix bad locale in crashsite
2019-03-06 19:07:06 -05:00
Matthew
2fa76ac85e
Merge pull request #853 from plague006/restrict_script
luacheckrc tweaks to script and commands
2019-03-06 16:44:18 -05:00
Matthew Heguy
2ab1d38c5d Add command aliases, fix doc in event 2019-03-06 16:35:38 -05:00
plague006
ed3f47ff18 Don't overwrite script.generate_event_name as it errors if given an arg 2019-03-04 16:37:32 -05:00
plague006
b389c15cc5 luacheckrc tweaks to raise warnings when registering events through script, or registering a command through commands 2019-03-04 06:57:08 -05:00
Matthew
e43513fcc1
Merge pull request #849 from plague006/locale
The big localization push
2019-03-04 06:35:13 -05:00
plague006
c491b524ee Remove unused var 2019-03-04 06:15:36 -05:00
plague006
fe830039fa Remove command search 2019-03-04 05:53:02 -05:00
plague006
fe9eda2e45 Small updates+fixes 2019-03-03 17:54:51 -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
7535506671 Make it fancy 2019-03-03 15:00:35 -05:00
plague006
535c675028 Add generate_event_name to event module 2019-03-03 13:03:24 -05:00
Matthew
f5bd27400e
Merge pull request #834 from plague006/pause_on_dump
Pause game when env_dump is set
2019-03-02 03:56:38 -05:00
Matthew
6a8d07cc8a
Merge pull request #836 from plague006/luacheckrc
Update luacheckrc to 0.17
2019-03-01 21:02:44 -05:00
plague006
23f955d1c3 Add exception for commands.add_command overwrite in command.lua 2019-03-01 20:46:32 -05:00
plague006
d58e2a7606 Add solid_rock 2019-03-01 14:18:41 -05:00
Matthew Heguy
5a52780b93 Pause game when env_dump is set 2019-02-28 15:05:34 -05:00
Matthew Heguy
ab6c50e717 Wrap in pcall 2019-02-28 11:48:48 -05:00
plague006
2428a93154 Add error_logging 2019-02-28 11:48:48 -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
grilledham
f2849b0fb8 visible_fixes 2019-02-24 23:07:15 +00: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 Heguy
184d5fa56d Add event toggles to debugger, increment version of debuggertron 2019-02-21 13:43:40 -05:00
Matthew Heguy
5c362be410 print_admins to use locale 2019-02-20 12:27:03 -05:00
Matthew
0f9ad4b93f
Merge pull request #773 from theorangeangle/oldsci
Toxic_science_jungle.lua
2019-02-20 02:43:31 -05:00
Matthew Heguy
ba5f05297f Change options to match style of others: opposite of defaults 2019-02-19 20:02:50 -05:00
Matthew Heguy
ca7d6edbd5 Add missing comment tag 2019-02-19 19:58:56 -05:00
Matthew
16fe4a7345
Merge pull request #742 from plague006/apply_lifecycle
Apply lifecycle
2019-02-19 14:13:28 -05:00
Matthew
5f283c90d8
Merge pull request #723 from plague006/entity_restriction
Add generic entity restriction module
2019-02-19 14:02:32 -05:00
grilledham
adb8936cd0 switched ipairs to normal for loop 2019-02-19 17:28:00 +00:00
grilledham
d07458bc84 local references in event and event core 2019-02-19 17:24:46 +00:00
plague006
0fe8c61886 Add recipe_locker
(cherry picked from commit 684fd03587c1a4c39d44afb406f86058514e901a)
2019-02-19 00:46:00 -05:00
plague006
8ccfe43cef Make lifecycle more readable. 2019-02-18 01:43:59 -05:00
plague006
7c29683b2e Split commands into their respective modules 2019-02-16 21:24:28 -05:00
Matthew
2b18c30949
Merge pull request #760 from grilledham/print_override
print override to own module
2019-02-16 18:16:25 -05:00
grilledham
03b81f4221 Switch to log to allow localized strings 2019-02-16 18:15:50 -05:00
grilledham
17d799224c print override to own module 2019-02-16 12:57:10 +00:00
Matthew Heguy
d6d4df26f0 Change command feedback and help text to use locale 2019-02-14 14:35:11 -05:00
Matthew Heguy
52a0622995 Use locale for new rank system 2019-02-12 20:23:20 -05:00
Matthew Heguy
c95c935003 Fix no color to player_print 2019-02-12 20:22:13 -05:00
Matthew Heguy
fe3a67e682 Add more functions for increasing/decreasing ranks, remove all prints 2019-02-12 20:22:13 -05:00
plague006
e4df3b34a4 Add timestamp to log 2019-02-12 20:22:12 -05:00
plague006
e0b59e5fe6 Many fixes and tweaks 2019-02-12 20:22:12 -05:00
Matthew Heguy
63bb4e6a83 improve table doc
add instructions for changing ranks in ranks
add missing config entry
refine regular and probation commands
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
Matthew
44765cd966
Update core.lua 2019-02-12 09:35:35 -05:00
Matthew Heguy
596f329337 Fix print_except 2019-02-11 12:08:23 -05:00
Matthew Heguy
4c0c7ed41c Fix lifecycle mistakes 2019-02-10 22:44:54 -05:00
grilledham
9a1cdfd512 gui_data 2019-02-09 17:57:55 +00:00
grilledham
8186395805 changed structure of gui.data 2019-02-06 21:20:27 +00:00
Matthew Heguy
98657c9308 Fix reward printout 2019-02-05 10:50:13 -05:00
plague006
e574a2dc36 Use lifecycle 2019-02-04 18:02:15 -05:00
plague006
7aec77239c Apply lifecycle to "if game " 2019-02-04 16:08:02 -05:00
Matthew
4a71fe9b82
Merge pull request #700 from plague006/data_cycle
Add _LIFECYCLE as an indicator of where we are in the data lifecycle
2019-02-04 15:39:25 -05:00
plague006
d6e8b145af Fix doc in info, expand doc task, fix MP check in player_create 2019-02-04 14:40:27 -05:00
plague006
8d35c61108 Add doc for task.lua 2019-02-04 13:07:40 -05:00
Matthew
b2b91caf4a
Merge pull request #726 from plague006/command_notifications
Add command notifications
2019-02-04 12:28:09 -05:00
grilledham
be84bd1349
Merge pull request #732 from linaori/pling-for-toast
Pling for toast
2019-02-04 16:48:23 +00:00
grilledham
7d7485e5b4 grilled's suggestions 2019-02-04 16:37:23 +00:00
plague006
dbbe8aa7ac Fix param names in event (nobody ever reads the doc) 2019-02-03 16:37:57 -05:00
Lynn
c2b3fcc4f7 Review feedback 2019-02-03 11:28:00 +01:00
Lynn
398927844e Player can use /setting-all to show all their values 2019-02-03 11:27:21 +01:00
Lynn
3ebd1f5f7b Allow players to change their notification volume 2019-02-03 11:27:20 +01:00
Lynn
0179a1d96d
Merge pull request #712 from plague006/table
Refine/add functions in Table
2019-02-03 11:17:24 +01:00
plague006
50e686e775 Cleanup, check for player 2019-02-03 01:01:32 -05:00
Matthew
61b4d04f00
Merge pull request #674 from plague006/fix/player_rewards
Deal with negative numbers in a sane way in player rewards
2019-02-02 17:45:16 -05:00
Matthew Heguy
65d538374f Fix doc 2019-02-02 14:19:29 -05:00
Matthew Heguy
88754b5521 Add/refine table searching functions 2019-02-02 14:19:29 -05:00
plague006
eb71109c5b Expand doc for deepcopy 2019-02-02 13:36:31 -05:00
plague006
0705a76ee0 Fix nested ifs 2019-02-02 12:11:31 -05:00
grilledham
ef9262abce Allow Debug.object_type to cope with LuaObjects that are invalid or do not have help function 2019-02-02 14:35:36 +00:00