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

571 Commits

Author SHA1 Message Date
plague006
169db650d1 Fix bug preventing jailing of a player in a train 2019-02-17 04:12:12 -05:00
plague006
7c29683b2e Split commands into their respective modules 2019-02-16 21:24:28 -05:00
plague006
e4eff300f2 Add toast command 2019-02-16 20:14:04 -05:00
plague006
b4b1bd21c0 Disable command search, and autoformat 2019-02-16 20:06:15 -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
Matthew
e508c9133c
Merge pull request #743 from plague006/create_market_on_launch
Create market on launch
2019-02-16 17:01:51 -05:00
Matthew
9587c37926
Merge branch 'develop' into fix/command_locale 2019-02-16 17:01:09 -05:00
Matthew
3526ccf1e4
Merge pull request #756 from plague006/fix/apocalypse_hail_hydra_desync
Fix/apocalypse hail hydra desync
2019-02-16 16:48:41 -05:00
plague006
600d6b8865 Clean up conditions, change countdown time
Prevent additional saves after apocalypse is active. Give feedback when running command after it is active.
2019-02-16 16:46:18 -05:00
Matthew
b394d74b3c
Merge pull request #761 from plague006/fix/unjail_from_report
Fix unjail from report not working
2019-02-16 15:24:27 -05:00
plague006
24d2ad8c6b Improve fix 2019-02-16 15:11:33 -05:00
plague006
af179c7189 Fix unjailing player not in jail 2019-02-16 15:09:04 -05:00
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