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

849 Commits

Author SHA1 Message Date
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
Matthew Heguy
50098ace03 Fix walking_state in walkabout 2019-02-26 20:37:14 -05:00
Matthew Heguy
76ae6a1847 Fix mining speed buff in market 2019-02-26 16:31:00 -05:00
Matthew Heguy
09ef833dd2 Remove steel-axe, iron-axe 2019-02-26 14:08:49 -05: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
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
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
plague006
fa145e4bb4 Raise events where appropriate. 2019-02-24 16:04:53 -05:00
plague006
68c19734a2 Add scenario_data_manipulation 2019-02-24 10:45:48 -05:00
plague006
8b814316e4 Take offline and invalid players for probation add/remove as well as regular-remove 2019-02-24 08:25:14 -05:00
SimonFlapse
5c6d7b32f5 Improved performance_scale
It now keeps track of applied modifiers and doesn't override modifiers given from third parties.

It now works with diggy
2019-02-24 12:51:09 +01:00
grilledham
a0f4b64411 fix missing config variable 2019-02-23 13:40:20 -05:00
grilledham
3f9a6e3742 move cheat mode code into seperate function 2019-02-23 13:40:20 -05:00
plague006
c7591a1e97 Change Color.information to Color.info, fix missing comma from bad conflict fix 2019-02-23 12:31:28 -05:00
Matthew
566735e905
Merge branch 'develop' into regular_command 2019-02-23 12:19:15 -05:00
plague006
f2768cdc89 Avoid potential desyncs by not using ref to config in functions 2019-02-23 12:09:10 -05:00
grilledham
4a410ecf87 add regular commands notice for admins 2019-02-23 16:54:53 +00:00
Matthew
d0e2cb969a
Merge pull request #727 from plague006/donator_commands
Donator commands
2019-02-23 11:46:43 -05:00
plague006
9b4b907ea4 Remove Color 2019-02-23 11:32:42 -05:00
plague006
acc928312b More doc 2019-02-23 11:21:32 -05:00
plague006
ec50016f3a Remove redundant checks and message delay, refine doc. 2019-02-23 11:19:52 -05:00
grilledham
0db02230ca grilled's changes 2019-02-23 16:06:23 +00:00
plague006
46afaec38d Check for 0 entry tables 2019-02-23 10:56:25 -05:00
plague006
25a61256f0 Move generic death message into print after timeout 2019-02-23 10:54:36 -05: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
Simon
055d6602dc
Merge pull request #798 from plague006/fix/apocalypse
Set evolution scale when activating the apocalypse
2019-02-23 16:27:44 +01:00
plague006
0b5a22b6c8 Set evolution scale when activating the apocalypse 2019-02-23 10:20:38 -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
plague006
ec7d638228 on-join -> welcome 2019-02-22 17:37:51 -05:00
Matthew Heguy
d4a6d2b237 Add on_death 2019-02-22 17:37:51 -05:00
Matthew Heguy
19fb003f7e Expand donator messages 2019-02-22 17:37:50 -05:00
plague006
b090a736a8 Add donator commands 2019-02-22 17:37:50 -05:00
grilledham
a1aa2add44 Replace Global with global 2019-02-22 22:23:38 +00:00
plague006
f143f9583a Break regular+probation commands apart, switch to localised strings, refine color use 2019-02-22 15:07:55 -05:00
SimonFlapse
c5ad9f3f5a Added gui update on join 2019-02-22 13:51:20 +01: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
b25f4e3b66
Merge pull request #780 from plague006/fix_regular
Fix increase and decrease player rank functions
2019-02-21 16:32:18 -05: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 Heguy
47bda3a69f Fix typo in Global ref 2019-02-20 21:41:08 -05:00
Matthew Heguy
84e2ee8887 Fix wrong condition 2019-02-20 19:05:48 -05:00
Matthew Heguy
6523efd040 Remove redundant check 2019-02-20 15:13:19 -05:00
Matthew Heguy
808c64a8e0 Fix increase and decrease player rank functions 2019-02-20 13:52:30 -05:00
Matthew Heguy
ffed15c30e Do not punish if there are multiple passengers 2019-02-20 13:07:47 -05:00
Matthew Heguy
3fe50a437f Switch to Global 2019-02-19 19:38:11 -05:00
Matthew Heguy
3d22658876 Rename allowed_to_nuke to is_trusted 2019-02-19 19:26:04 -05:00
Matthew Heguy
d7b3bac494 Check if train 2019-02-19 18:47:22 -05:00
Matthew Heguy
f49dccd1f4 Remove unneccessary nil and validity check 2019-02-19 18:42:46 -05:00
Matthew Heguy
ead93440ba Don't restrict train antigrief to force 'player', fix ref to player.name when player.valid is not true 2019-02-19 18:19:09 -05:00
plague006
ce4174b0bd Use commas as sep 2019-02-19 18:19:09 -05:00
SimonFlapse
307ba3684c Prevent train grief 2019-02-19 18:19:09 -05:00
Matthew
16fe4a7345
Merge pull request #742 from plague006/apply_lifecycle
Apply lifecycle
2019-02-19 14:13:28 -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
Matthew
fb9d5e5503
Merge pull request #770 from plague006/loader_check
After init, check if loaders should be enabled.
2019-02-18 20:25:50 -05:00
Matthew
cf661952b0
Merge pull request #764 from plague006/split_commands
Split commands into their respective modules
2019-02-18 20:18:34 -05:00
plague006
8ccfe43cef Make lifecycle more readable. 2019-02-18 01:43:59 -05:00
plague006
7f53ad171d After init, check if loaders should be enabled. 2019-02-18 01:16:33 -05:00
Matthew
06915dd5bb
Merge pull request #744 from plague006/1000x
Add 1000x
2019-02-18 00:50:08 -05:00
plague006
b99bf99c4f Toast-all to toast 2019-02-17 11:55:01 -05:00
Matthew
e9a27f5151
Merge pull request #767 from grilledham/player_list/sort_donators
sort donators
2019-02-17 11:54:12 -05:00
grilledham
d622712f1f sort donators 2019-02-17 15:56:18 +00:00
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
grilledham
9a1cdfd512 gui_data 2019-02-09 17:57:55 +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
grilledham
0d43501857 added _G.dump and dump commands 2019-02-06 21:20:08 +00: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
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
eaab7b9b3c removed stats tracking for damage. 2019-01-20 16:59:07 +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
Lynn
3206728501 secure power source 2019-01-19 14:17:23 +01:00
Lynn
703a3fea53 Added a 7 minute powersource to ensure the bootstrapping works well 2019-01-19 14:17:23 +01:00
Lynn
1e67b974e4 Fixed market desync and more control over limits 2019-01-19 14:17:22 +01:00
Lynn
8e9f48eab4 Some general fixes related to todays bugs 2019-01-19 14:17:22 +01:00
Lynn
b2042f2e1f Added missing require 2019-01-19 14:17:21 +01:00
Lynn
ccda13c12c Added a Lazy Bastard feature with player limit for market items 2019-01-19 14:17:21 +01:00
grilledham
167cda342a Send own join and leave messages 2019-01-17 14:00:15 +00:00
Matthew
3f8be3151a
Add redmew_surface (#631)
* Add redmew_surface

* Change map_layout to have all maps use redmew_surface

* Maps: switch hardcoded nauvis refs to redmew_surface

* Features: switch hardcoded nauvis refs to redmew_surface

* Per discussion, removal of RSO

* Changes to files based on linting warnings/errors

* ent_functions: remove functions from global scope, ignore remaining linting warnings (~100 remaining)

* borg_planet: ignore linting warnings (88 remaining)

* mazes refactored

* Changed global.lua so events are run in the order they are registered
2019-01-16 13:44:55 -05:00
Matthew
91e18a7a96
Merge pull request #652 from grilledham/loaders
Loaders
2019-01-15 11:13:47 -05:00
grilledham
cdde0d6967 moved loaders to redmew_qol 2019-01-15 15:10:31 +00:00
Matthew
934adaa9f6
Merge pull request #653 from plague006/fix/qol
Check that entities are valid in redmew_qol
2019-01-15 09:52:13 -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
Matthew Heguy
229e3e7f25 Check that entities are valid 2019-01-14 17:25:14 -05:00
grilledham
d7d7737b4b added loaders 2019-01-14 11:39:11 +00:00
Matthew
746d31dc14 Add quality of life features (#625)
* Add quality of life features: random train colors, restrict chests, backer_names, ghost_ttl

* Expand ghost_ttl

* Make val smile
2019-01-12 14:43:41 +01:00
Matthew
055ca8487f
Merge pull request #644 from grilledham/crashsite_0.4
Crashsite 0.4
2019-01-11 16:40:41 -05:00
Valansch
7fa83bae6c Add Tetris (#605)
Somehow nailed everything on the first try. What a pro.
2019-01-11 13:31:23 -05:00
Valansch
a8a777bcc5
Update market.lua 2019-01-10 16:28:34 +01:00
grilledham
e46a4983db Merge branch 'develop' of https://github.com/Valansch/RedMew into crashsite_0.4 2019-01-10 14:35:25 +00:00
Maik Wild
1eebea55e8 renamed fish_market.lua to market.lua and market_item to currency 2019-01-10 15:18:55 +01:00
Valansch
3ab26ea014
Fixed sticklers complaints 2019-01-10 14:53:03 +01:00
Valansch
73a3b7756b
Merge branch 'develop' into event-fixes 2019-01-10 14:38:55 +01:00
grilledham
f093fee5ab fixed bugs 2019-01-09 22:30:05 +00:00
Lynn
c84dec2aaa Fixed some market related hacks 2019-01-09 18:29:20 +01:00
Lynn
cb97ea54f3 Removed undefined variable 2019-01-09 18:29:19 +01:00
Lynn
57c4ae2519 Fish market with new GUI and stack limit 2019-01-09 18:29:18 +01:00
Matthew Heguy
018cab89b6 Fix linting, add comments 2019-01-08 15:58:12 -05:00
grilledham
5ee7a62464 fixed \n escaping + small optimizations (#635)
* fixed \n escaping + small optimizations
2019-01-07 13:30:59 +01:00
grilledham
84597ea1fe Merge branch 'develop' of https://github.com/Valansch/RedMew into event-fixes 2019-01-06 12:40:39 +00: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
8ce3010da5
Merge pull request #628 from Jayefuu/patch-7
Added market remove instructions
2019-01-04 21:44:23 -05:00
plague006
4d929248b7 Use player from function rather than game.player 2019-01-04 16:31:34 -05:00
plague006
503a3843fb Clear space characters 2019-01-04 15:09:16 -05:00
plague006
bcd95662b6 Redirect all dependencies 2019-01-04 15:02:55 -05:00
Jayefuu
2df0e27fe6
Added market remove instructions
Users downloading the scenario were asking for instructions on how to remove the market (in #mapgen). Adding this reply will also help admins and others using the scenario to generate maps.
2019-01-04 19:59:37 +00: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
grilledham
8e56eba51a removed init function 2019-01-03 17:24:18 +00:00
Valansch
da8d60df5b
Update redmew_commands.lua 2019-01-03 18:16:50 +01:00
Valansch
2fd78cbc5c
Update redmew_commands.lua 2019-01-03 18:09:26 +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
c2234505f3 Implement server-side color saving (#566)
* Implement server-side color saving

* Add set_and_return to core utils
2019-01-02 14:42:18 +01:00
grilledham
14a81aedb4 Bug fixes (#620)
* fixed error on empty regular list

* fixed train kill count
2019-01-01 22:26:57 +01:00
Matthew Heguy
e37511e68d Change to comment block 2019-01-01 09:59:24 -05:00
Lynn
23af703bc8 Added some basic docs about the Retailer 2018-12-31 18:08:14 +01:00
Lynn
a62fed2b78
Merge branch 'develop' into market-gui-tweaks 2018-12-31 09:22:26 +01:00
Matthew
17c54eb136
Merge pull request #579 from iltar/retailer-in-crash-site
Uses the retailer in crash site for markets
2018-12-30 17:21:46 -05: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
Lynn
444b107190 Refresh player market GUI when something changes 2018-12-29 14:30:20 +01:00
Lynn
91b4b0f007 Added a distance check for the Retailer market GUI to close 2018-12-29 14:09:26 +01:00
Lynn
377ad8a25a
Merge pull request #603 from iltar/disabled-market-items
Ability to disable market items without removal
2018-12-29 14:07:38 +01:00