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

609 Commits

Author SHA1 Message Date
Matthew
4c9b093d0a
Merge pull request #759 from grilledham/player_list/left_align_rank
left align rank cells
2019-02-16 14:50:20 -05:00
plague006
4f7236d390 Fix merge/compatibility with other changes. 2019-02-16 14:09:50 -05:00
plague006
f05c02da81 Hacky fix for how event handles unjailing via the button 2019-02-16 13:43:48 -05:00
plague006
f691c0d67f Fix unjail button calling wrong function 2019-02-16 13:09:39 -05:00
grilledham
17d799224c print override to own module 2019-02-16 12:57:10 +00:00
grilledham
e44658d15a left align rank cells 2019-02-16 12:24:54 +00:00
Matthew Heguy
da7e0a1b06 Fix merge 2019-02-16 00:01:45 -05:00
plague006
f20e4c6247 Add market location config options 2019-02-16 00:00:50 -05:00
Matthew Heguy
e4abc69bf2 Merge for rebase 2019-02-16 00:00:18 -05:00
Matthew Heguy
ffff4116c2 Assign type to local 2019-02-15 11:54:33 -05:00
Matthew Heguy
cb6595002a Have donator handle string and table. 2019-02-15 11:39:30 -05:00
Matthew Heguy
41c88ec682 Move to localised strings, command only runs twice now. no special string 2019-02-14 19:21:43 -05:00
Matthew Heguy
23121cd31d Fix desync
apoc: set data in token rather than relying on passed data to be valid
hydra: move data into Global to allow changes during runtime
2019-02-14 19:02:39 -05:00
Matthew Heguy
9b7520e712 Update doc in rank_system for LocalisedString 2019-02-14 14:45:24 -05:00
Matthew Heguy
f478b6578b Expand doc 2019-02-14 12:45:35 -05:00
plague006
39db9fe397 Toggle nth_tick hook 2019-02-14 12:45:34 -05:00
plague006
0f62037355 Switch to new rank system 2019-02-14 12:45:34 -05:00
plague006
927b89d768 Name to index 2019-02-14 12:45:34 -05:00
plague006
22e91d4d3f Push market buffs from global into Global
other misc. tweaks
2019-02-14 12:45:34 -05:00
plague006
e7cd23e3ff Add destroy command 2019-02-14 12:45:34 -05:00
plague006
a18585860c Autoformat 2019-02-14 12:44:59 -05:00
plague006
5183f720b5 Track markets and add market removeall command option 2019-02-14 12:44:59 -05:00
Matthew
16c119096f
Merge pull request #745 from plague006/apocalypse
Add apocalypse
2019-02-14 12:20:10 -05:00
Matthew Heguy
9b1ac03599 Add safety net to game-ending command 2019-02-14 12:16:05 -05:00
Matthew
d47c950b57
Merge pull request #754 from plague006/position
Have Retailer take Position as dictionary or array
2019-02-14 11:56:36 -05:00
Matthew Heguy
ed71415108 Fix dependency 2019-02-14 11:52:23 -05:00
Matthew Heguy
28ab0beff6 Remove admin_only flag 2019-02-14 11:45:11 -05:00
Matthew Heguy
72da0267b9 Add autosave to apocalypse 2019-02-14 11:44:06 -05:00
plague006
fad3df8c13 Use rank system 2019-02-14 11:44:06 -05:00
plague006
8b10cd44b5 Integrate apocalypse as an admin command 2019-02-14 11:44:06 -05:00
plague006
ae03b94fc8 Remove nuke removal, change implementation of spawning biters 2019-02-14 11:44:05 -05:00
Matthew Heguy
fbc57ef0e7 Add apocalypse 2019-02-14 11:44:05 -05:00
Matthew
d48946f357
Merge pull request #713 from plague006/rank_system
Overhaul rank system, command, donator, add probation rank
2019-02-14 11:43:04 -05:00
Matthew Heguy
397a84b150 Fix lint warnings 2019-02-14 03:03:51 -05:00
Matthew Heguy
eceb44afe6 Check for nil in syn_ranks_callback 2019-02-13 15:01:38 -05:00
Matthew Heguy
0ded088bc7 Have Retailer take Position as dictionary or array. 2019-02-13 14:27:45 -05:00
Matthew Heguy
98ea714560 Restore functionality of whois 2019-02-13 14:12:40 -05:00
grilledham
3d0fc5acf5 updates to player list to show rank and donator 2019-02-13 12:38:24 +00:00
grilledham
856183f4a0 change how rank colors are returned 2019-02-13 12:37:45 +00:00
Matthew Heguy
17cc882b04 Change digits to strings to prevent future errors 2019-02-13 01:10:26 -05:00
Matthew Heguy
52a0622995 Use locale for new rank system 2019-02-12 20:23:20 -05:00
Matthew Heguy
d6a44388e5 Expose get_rank, localize functions that are called frequently 2019-02-12 20:22:13 -05: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
Matthew Heguy
5cc9b77df7 Prevent making a player below guest rank a regular 2019-02-12 20:22:13 -05:00
Matthew Heguy
158c162930 That is *really* the wrong place to print that message 2019-02-12 20:22:13 -05:00
Matthew Heguy
09152104a2 Fix whois sending LuaPlayer instead of name 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
Matthew Heguy
b91977dd28 On server start, clear table before writing it when syncing 2019-02-12 20:22:13 -05:00
Matthew Heguy
d94c4316e7 Improve doc 2019-02-12 20:22:13 -05:00
muppet9010
6281a8c49d Add everyone is regular option 2019-02-12 20:22:13 -05:00
plague006
da678fb04a Clean up /whois command 2019-02-12 20:22:13 -05:00
plague006
4368e10ecd Fix player_create ref to usergroups and consolidate conditions. Autoformat. 2019-02-12 20:22:13 -05:00
plague006
a5fd1bce2e Fix outpost_builder, fix redmew_qol.
Add functions to donator and rank system to get full player tables.
2019-02-12 20:22:13 -05:00
plague006
4c2a2eafa0 Change admin_only to use rank 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
041f46843d Minor cleanup of player_color 2019-02-12 20:22:13 -05:00
plague006
c535c11aa8 Add space between time and UTC 2019-02-12 20:22:12 -05:00
plague006
2be5f6c80b Fix data type in doc 2019-02-12 20:22:12 -05:00
plague006
e9dd55f1af Add admin check to get_player_rank 2019-02-12 20:22:12 -05:00
plague006
eb67fa1831 Rename functions to be homogeneous 2019-02-12 20:22:12 -05:00
plague006
cfc0d585d9 Add get_donators function 2019-02-12 20:22:12 -05:00
plague006
98d47ce623 Add timezone to redmew_version 2019-02-12 20:22:12 -05:00
plague006
28d269fa86 Change to index -> luaplayer dictionary for guests 2019-02-12 20:22:12 -05:00
plague006
f8ccba8c32 Drop table entries for invalid or non-existent players. 2019-02-12 20:22:12 -05:00
plague006
c5c728ba8f Change checks from 1 hr to 15 mins 2019-02-12 20:22:12 -05:00
plague006
e0b59e5fe6 Many fixes and tweaks 2019-02-12 20:22:12 -05:00
plague006
e0e536a83a Implement grilled maths 2019-02-12 20:22:12 -05:00
Matthew Heguy
3d476259a1 Fix online -> connected 2019-02-12 20:22:12 -05:00
Matthew Heguy
119e97734f Make autopromotion more robust 2019-02-12 20:22:12 -05:00
Matthew Heguy
7710c3cdfa add table to lookup name-rank relations
add local function to get player rank
add increase and decrease player rank functions
ad debug-only data migration function
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 Heguy
4c0c7ed41c Fix lifecycle mistakes 2019-02-10 22:44:54 -05:00
plague006
20b985e63b Fix merge 2019-02-10 15:37:13 -05:00
plague006
bcaef1a570 Manually enable loaders in 1000x, improve doc redmew_qol 2019-02-10 15:34:40 -05:00
Matthew
552f8aab2e Merge branch 'develop' into 1000x 2019-02-10 15:34:38 -05:00
plague006
ca770a50fd Fix double-prefix with corpse_utils 2019-02-09 15:45:55 -05:00
grilledham
32c35baa6b mark inf chests as inactive 2019-02-09 18:02:43 +00:00
Matthew
1a459287b5
Merge pull request #715 from plague006/jail
Change how we treat players in jail
2019-02-08 17:12:43 -05:00
plague006
02c19de519 Add 1000x
Add infinite storage chest cost to config
2019-02-07 21:27:24 -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
plague006
d6e8b145af Fix doc in info, expand doc task, fix MP check in player_create 2019-02-04 14:40:27 -05:00
plague006
d3bb27aa94 Change green to light_green 2019-02-04 13:17:46 -05:00
plague006
cff96df77a Expand debug warning 2019-02-04 13:11:07 -05:00
plague006
d2a4a499dc Remove changing force/segregating chats 2019-02-04 12:37:10 -05:00
Matthew Heguy
0cfc16be84 Change how we treat players in jail 2019-02-04 12:33:02 -05:00
Matthew
5449642d4d
Merge pull request #738 from plague006/cleanup/global
Clean up global
2019-02-04 12:27:44 -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
160600dfd2 Add check for 0 price and 0 player limit 2019-02-04 03:00:05 -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
9892d1a569 Added a notification sound for toast messages 2019-02-03 11:26:22 +01:00
plague006
42f3553bc0 Contain within global.namespace 2019-02-03 02:05:06 -05:00
plague006
27e49408a4 Push global to Global 2019-02-03 02:04:42 -05:00
plague006
3a50d0d9cf format afk time 2019-02-02 18:19:59 -05:00
plague006
dfd0a4a10b return after failing -_- 2019-02-02 18:14:48 -05:00
plague006
d3fac3112d Nothing to see here 2019-02-02 18:13:13 -05:00
plague006
2275c1a233 Organize deps 2019-02-02 18:10:40 -05:00
plague006
988a59080c Fix for donator coming in as boolean 2019-02-02 18:10:08 -05:00
Matthew Heguy
4ef5b716f4 Fixes 2019-02-02 18:10:08 -05:00
Matthew Heguy
aefba962ce Use existing get_rank function 2019-02-02 18:09:47 -05:00
Matthew Heguy
5e9cbdd32d Add /whois command
Rename stat get functions to match others
2019-02-02 18:09:47 -05:00
Matthew
a8dda1eaac
Merge pull request #678 from plague006/revive_ghosts
Add revive ghosts
2019-02-02 17:46:46 -05:00
Matthew
53f13c0259
Merge pull request #671 from plague006/walkabout
Fix walkabout
2019-02-02 17:33:00 -05:00
Matthew
f549808650
Merge pull request #734 from grilledham/debugger/player
Allow debugger to dump game.player
2019-02-02 14:20:14 -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
Matthew
e3cf03663e
Merge pull request #731 from grilledham/fix-debugger
Fix debugger
2019-02-02 10:55:10 -05:00
grilledham
1b7420190f fix debugger crash 2019-02-02 14:34:36 +00:00
Lynn
ab72e629cb Fixes a crash when updating coin label after GUI is closed 2019-02-02 13:10:30 +01:00
plague006
0464ef1351 Fix print referring to wrong command 2019-02-01 23:41:07 -05:00
plague006
8f6f02b47c Move files to appropriate locations, tweak doc in control 2019-02-01 20:12:45 -05: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 Heguy
1ce121d4c7 Ignore non-ghosts 2019-01-30 19:38:43 -05:00
Matthew Heguy
1aed64f717 Fix lint 2019-01-30 19:21:46 -05:00
Matthew Heguy
1d8e315900 Add revive ghosts 2019-01-30 19:17:21 -05:00
Matthew Heguy
cd501c4ff7 Resolve circular dep 2019-01-30 18:54:33 -05:00
Matthew Heguy
acfe478207 Use removable events to decrease load 2019-01-30 18:54:33 -05:00
Matthew Heguy
52932308d7 Create public method to check if player is on walkabout
Respect config option inside walkabout
2019-01-30 18:54:33 -05:00
Matthew Heguy
f93a544914 Move into Global 2019-01-30 18:54:13 -05:00
plague006
ebca4daa55 Fix walkabout not returning player from walkabout if they rejoin before timer expired, update refs to global.walking 2019-01-30 18:54:13 -05:00
Matthew
765a91cc56
Merge pull request #696 from plague006/improve_versioning
Improve versioning
2019-01-30 18:43:13 -05:00
plague006
9a61c854e7 Refine the build script, change the specifics of how version.lua works 2019-01-30 18:42:56 -05:00
plague006
e260af2a3b Rename command from color-redmew to redmew-color 2019-01-30 18:42:30 -05: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
plague006
3d24f023c0 Remove deprecated tp commands
Refine messaging for deprecated commands
2019-01-27 16:44:45 -05:00
Matthew
129b6b031b
Merge pull request #677 from plague006/action_warnings
Action warnings
2019-01-27 15:24:36 -05:00
Matthew
b9be14ccf5
Merge pull request #690 from plague006/name_change_notice
Tell players how to change name in SP
2019-01-27 15:24:18 -05:00
Matthew
dbae27b37b
Merge pull request #694 from grilledham/alternative_toast
Alternative toast implmentation
2019-01-27 12:44:05 -05:00
grilledham
cce5defeff
Merge branch 'develop' into crashsite_0.5 2019-01-27 17:29:19 +00: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
Matthew
112341bcf2
Merge pull request #693 from plague006/nightly_releases
Have travis issue nightly releases
2019-01-27 10:33:39 -05:00
plague006
5ab96fddf8 Have travis issue nightly releases
Add version command
2019-01-27 02:10:46 -05: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
plague006
03d277453c Tell players how to change name in SP 2019-01-25 18:50:01 -05: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
2f679e737e
Merge pull request #655 from linaori/lazy-bastard
Added a Lazy Bastard feature with player limit for market items
2019-01-25 09:05:17 -05:00
Matthew
47c6e5b333
Merge pull request #684 from plague006/expand_performance
Expand performance scaling to affect mining and crafting speeds
2019-01-25 08:33:15 -05:00
Lynn
8b8d17fbbf
Update features/performance.lua
Co-Authored-By: plague006 <plague006@users.noreply.github.com>
2019-01-25 08:22:20 -05:00
Lynn
43d0742412
Update features/performance.lua
Co-Authored-By: plague006 <plague006@users.noreply.github.com>
2019-01-25 08:22:14 -05:00
Lynn
e64ad7eca0
Update features/performance.lua
Co-Authored-By: plague006 <plague006@users.noreply.github.com>
2019-01-25 08:22:06 -05:00
Matthew Heguy
b1647641c8 Use on_data_set_changed instead of nth tick 2019-01-25 08:15:58 -05:00
grilledham
2dd235fcb2 Merge branch 'develop' of https://github.com/grilledham/RedMew into crashsite_0.5 2019-01-25 11:24:12 +00:00
grilledham
d5c1b14b6e fix bug: toggle score gui button 2019-01-25 11:23:42 +00:00
grilledham
9252c41add allow LocalisedStrings 2019-01-25 00:13:25 +00:00
Matthew Heguy
5fa97079fa Expand performance to affect mining and crafting speeds 2019-01-24 18:41:32 -05:00
Matthew
9e05721170
Merge pull request #660 from plague006/seeds
Add seeds command
2019-01-24 18:14:47 -05:00
Matthew
e74daef19a
Merge pull request #668 from plague006/advertise_colors
Print message when someone saves a color
2019-01-24 18:14:37 -05: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
397f8e47a9
Merge branch 'develop' into maps/grid_bot_islands 2019-01-24 18:05:39 -05:00
Matthew Heguy
7a3418262e Add ability to modify changelog in-game 2019-01-24 17:45:57 -05:00
grilledham
91c17432fd Merge branch 'develop' of https://github.com/grilledham/RedMew into crashsite_0.5 2019-01-24 13:40:21 +00:00
grilledham
4e8fa9d54a
Merge pull request #672 from grilledham/score_update
Score update
2019-01-24 13:39:40 +00:00
grilledham
fc32446215 refresh score on all launches 2019-01-24 13:38:17 +00:00
Matthew Heguy
d5be21a990 Chaaaaaaange places 2019-01-23 23:37:11 -05:00
Matthew Heguy
b9c985e386 Use action_warning 2019-01-23 19:55:15 -05:00
Matthew Heguy
54eb1b08ba Use event.rocket, check force, don't print every launch 2019-01-23 18:33:43 -05:00
Matthew Heguy
2ce35ada6a Add action warnings 2019-01-23 15:54:46 -05:00
grilledham
e6a547a386 updates 2019-01-23 19:15:28 +00:00
Matthew Heguy
2f203a435c Add seeds command 2019-01-23 10:54:01 -05:00
grilledham
54d30216d1 fixed looting corpse message 2019-01-22 16:06:36 +00:00
grilledham
f20e812919 removed global, changed styles, added total coins spent 2019-01-21 20:37:07 +00:00
grilledham
43197de20a added total coins spent 2019-01-21 20:36:32 +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
ba27be7433 add messages on looting corpse 2019-01-21 15:54:14 +00:00
plague006
7e565beb21 Remove redundant function 2019-01-21 10:42:38 -05:00
plague006
746d8d8df9 Print message when someone saves a color 2019-01-21 10:39:15 -05:00
grilledham
06f7d59f09 added check for chance == 0 2019-01-20 22:58:46 +00:00
Jayefuu
f955688c46 Added grid_bot_islands map preset
Moved entity_drop_amount from market.lua to config.lua
Added chance to entity_drop_amount table to allow map makers to configure coin drop chances for biters, spitters, worms and nests.
2019-01-20 20:58:12 +00:00