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

903 Commits

Author SHA1 Message Date
James Gillham
0b95a25f1d Change train_saviour to use 'player-port' instead of 'small-plane'. 2020-11-24 16:39:22 +00:00
James Gillham
6155a7d2f3 Fix report showing outdated time.
When an admin rejoins, if they have the reports open, reopen it again to update the time on the reports.
2020-11-15 20:10:20 +00:00
James Gillham
ecb0ee7867 Fix unjail invulnerable characters
- If a player didn't have a character when they were jailed we would record their previous destructible state as `nil` which was treated as `false`. Now we treat `nil` as no previous character info and set the previous destructible state on repsawn/join.
- If a player was unjailed when offline or dead, we wouldn't restore the player character's destructible state, now we wait for them to rejoin/respawn to do that.
2020-11-15 16:38:57 +00:00
grilledham
7350e8721d
Merge pull request #1105 from grilledham/feature/corpse_location
Ping corpse location on player death
2020-11-15 11:24:48 +00:00
James Gillham
9698d2b109 When not killed by player add 'a' in death message. 2020-11-14 21:44:07 +00:00
James Gillham
671667adaf fix luacheck issues 2020-11-13 21:05:25 +00:00
James Gillham
eb7b43cf1c Add player settings for corpse pings + tests. 2020-11-13 20:06:43 +00:00
Jayefuu
5098ab875a Whitespace (╯°□°)╯︵ ┻━┻ 2020-11-13 19:59:46 +00:00
Jayefuu
10bff3c5bc Linebreaks mkay! 2020-11-13 19:56:22 +00:00
Jayefuu
465f9441ec fixed whitespace 2020-11-13 19:36:46 +00:00
Jayefuu
9a2fcd03d5 Fixed jail bug when player in spidertron
As per issue #1102.
- Checks if player is in spidertron
- Sets autopilot destination to position when jail used.
- Tried using similar to the train check but it didn't work for spidertron.
2020-11-13 19:36:20 +00:00
James Gillham
86cbfac9a7 Ping corpse location on player death 2020-11-10 21:11:24 +00:00
James Gillham
4a0b003567 formatting 2020-11-10 21:11:24 +00:00
James Gillham
50db0ba5c3 Fix luacheck errors 2020-10-04 21:23:14 +01:00
James Gillham
2d238750d3 Ensure Poll is never nil. 2020-10-04 21:19:05 +01:00
James Gillham
0293d92791 Consistent style for close buttons 2020-10-04 21:13:09 +01:00
James Gillham
aaa87601f9 change close buttons 2020-10-04 21:12:32 +01:00
James Gillham
980ca7672b More Landfill tests plus fix entity filter blacklist 2020-10-03 21:10:25 +01:00
James Gillham
031517fb85 More landfill remover tests 2020-10-03 14:37:56 +01:00
James Gillham
475b7dc8c6 More landfill_remover tests 2020-09-30 19:47:03 +01:00
James Gillham
00fbe5853e landfill_remover_tests refactor 2020-09-29 20:50:07 +01:00
James Gillham
7f659cbe58 test discovery 2020-09-28 21:03:31 +01:00
James Gillham
b4fa00ccdf context improvements 2020-09-28 20:40:47 +01:00
James Gillham
0aff9aabdd helper 2020-09-26 20:02:53 +01:00
James Gillham
df47b5aa02 module startup/teardown hooks 2020-09-25 20:33:46 +01:00
James Gillham
a1908b93d5 landfill_remover_tests 2020-09-21 19:29:02 +01:00
James Gillham
5cc6ab82b6 Change paint tool to use coloured concrete. 2020-09-13 12:40:09 +01:00
James Gillham
cb43dcc893 Add landfill remove feature.
Allows removing landfill using the deconstruction planner, must have landfill tile filter to work.
2020-09-09 20:24:49 +01:00
James Gillham
a2d6b35478 check valid_for_read 2020-09-02 15:04:03 +01:00
James Gillham
fb7a2f4136 Default market neutral force 2020-09-02 12:25:53 +01:00
Claude
5dd2156cfa
Update info.lua
Changed domain name because old giving SSL errors.
2020-07-17 11:39:23 +03:00
James Gillham
b2cd925d3a Update gui styles for 0.18.27 2020-05-26 17:35:14 +01:00
theorangeangle
8f9092cd64
Merge pull request #1001 from SimonFlapse/auto-server-description
Server description generator, rich text
2020-05-18 15:04:40 -05:00
grilledham
287c35452c
Merge pull request #1043 from BlueRock2/poll_fix
Fix poll
2020-03-24 17:00:54 +00:00
Bluerock
f6b3a83c08 Fix poll 2020-03-24 10:14:46 -04:00
grilledham
f20483540e
Merge pull request #1042 from BlueRock2/fix_tasklist
Fix redmew shared gui tasklist
2020-03-20 16:47:00 +00:00
Bluerock
79948a0e70 Fix tasklist 2020-03-20 09:30:00 -04:00
theorangeangle
092f30cded
Merge Space Race into Code Base :D
Space Race is still very much a [WIP] and should be treated as such. Many features need to be added, but it is being merged in its current state to allow for easier internal integration. The map is in a playable state, and includes a configuration file. 

A list of future ideas and features to implement can be found at #996 and it should be notes that this is still a "high priority" project.
2020-03-01 23:34:23 -06:00
Claude
4899b4bf7d
update4
update4
2020-02-05 01:57:12 +02:00
grilledham
68f6809685 Updates to on_capsule_used.
- ignore modded fish
- don't ban/kick if enemy entites
- list entities in reason when  kick/ban
2020-02-02 13:43:17 +00:00
grilledham
35d1495b35 updates 2020-01-01 15:04:33 +00:00
grilledham
e0dadb7de5 research_printer 2020-01-01 11:58:08 +00:00
Zahir Khan
35990dd22c Fix for crashsite cutscene edge cases 2019-12-19 21:00:50 -05:00
Zahir Khan
51b89e8989
Enhancements to enable multi-surface cutscenes
The setting of the skip_btn_flag to true will...
1. Enable one press to skip cutscene while in multiple.
2. Code paths updated to ensure the Player doesn't get locked out of the game while in a multi-surface cutscene.
3. Do different things depending on which cutscene was canceled in a multi-surface cutscene.
2019-12-03 21:36:58 -05:00
theorangeangle
c1359be75c
Merge pull request #988 from SimonFlapse/diggy_cutscene
[Diggy] Cutscene Fixes
2019-12-03 13:20:30 -06:00
SimonFlapse
52f0fe2e5c Merge remote-tracking branch 'upstream/develop' into space_race 2019-10-26 16:26:19 +02:00
Simon
9a2e5e554f
Hilbert Water Trap + Fixes for Hilbert Sand Trap (#998)
* Initial commit of hilbert water trap

* Refactoring in features/market.lua

* Fixed ribbon for both Hilberts

* Added remove decoratives function to the builder

* Refactoring the new builder functions

* Simplifying create_standard_market

* remove_map_gen_decoratives_by_filter renamed

* Fixed documentation links having _edit in them

* Formating documents
2019-10-20 16:23:34 +02:00
SimonFlapse
d812c71fe5 Merge remote-tracking branch 'upstream/develop' into diggy_cutscene 2019-10-18 23:41:21 +02:00
SimonFlapse
7ca4e61da9 New Description Generator GUI
Changes to the info gui to better communicate the max text width to support the server description in the server browser
2019-10-18 23:20:55 +02:00
SimonFlapse
268959331e Updated rich text generation gui 2019-10-18 14:49:33 +02:00
SimonFlapse
839019514b Result from first alpha run 2019-10-11 20:24:28 +02:00
SimonFlapse
51dfa636fc Merge remote-tracking branch 'upstream/develop' into space_race 2019-10-11 10:17:19 +02:00
Simon
ca29a047de
[Snake] Added on_snake_player_died event (#995)
* Added on_snake_player_died event and a snake_demo map

* Added score to the event

* Fixed entities being destructible

Changed comment

* Fixed cases where controller type wasn't god

* Changed players controller to spectator when their snake dies

* Changed start_game call away from remote.call

* Needed new call to show the snake button

* Changed start_game to use Snake.control

* removed snake event from demo map

* Update map_gen/maps/snake_demo.lua
2019-10-11 00:28:40 +02:00
SimonFlapse
f0e147f39e Added markets and more 2019-10-09 02:02:48 +02:00
SimonFlapse
5182e21607 Initial commit of Space Race
Playable version 0.1
2019-10-07 22:44:17 +02:00
SimonFlapse
fa4442d644 "Fixed" LuaPlayer being invalid messages 2019-10-04 20:59:32 +02:00
SimonFlapse
c3f09a9d3c Fit_to_edge now accounts for display_scale 2019-07-07 20:51:25 +02:00
SimonFlapse
2b9ca4013a Merge remote-tracking branch 'upstream/develop' into diggy_cutscene 2019-07-07 20:20:05 +02:00
grilledham
dd28df7502 update docs 2019-07-03 19:36:44 +01:00
grilledham
f8ceeed9bb use n_th_tick instead of set_timeout 2019-07-03 19:33:04 +01:00
grilledham
dabadd8ac2 teleport player to board surface 2019-07-03 19:27:39 +01:00
grilledham
e33b77e1bb fix travis errors 2019-07-03 16:52:26 +01:00
grilledham
c2917c24cf error on missing surface 2019-07-03 15:54:19 +01:00
grilledham
ba05138427 fix typos 2019-07-03 15:54:06 +01:00
grilledham
9b46cebbb8 localisation 2019-07-03 15:50:19 +01:00
grilledham
8abffb30d3 updates 2019-07-03 15:45:34 +01:00
grilledham
3cfbecca17 snake 2019-07-03 12:35:38 +01:00
grilledham
6f944fc3ec apocalypse fix 2019-06-26 13:19:08 +01:00
SimonFlapse
d07ea062fe Merge remote-tracking branch 'origin/diggy_cutscene' into diggy_cutscene 2019-06-22 16:53:26 +02:00
SimonFlapse
40131895f0 Added ability to fit to edges based on the top left corner 2019-06-22 16:53:18 +02:00
Simon
890cdf12e7
Merge branch 'develop' into diggy_cutscene 2019-06-22 15:11:56 +02:00
grilledham
ae27399be2 'player' -> 'character' 2019-06-21 21:45:23 +01:00
grilledham
2ae7933a74
Merge pull request #955 from grilledham/highlight_top_buttons
Highlight top buttons
2019-06-21 20:29:11 +01:00
grilledham
0540e69c7b localisation 2019-06-21 17:01:34 +01:00
grilledham
3e03560f7b custom join / leave messages + created by + edited by 2019-06-21 16:11:14 +01:00
grilledham
9f08bf6f88 refactor -> close_main_frame 2019-06-21 10:56:37 +01:00
grilledham
36b4f81606 fix desync 2019-06-20 17:43:51 +01:00
grilledham
fa2a62337a highlight top buttons 2019-06-20 12:39:18 +01:00
grilledham
10711149b8 more blueprint helper localisation 2019-06-20 11:29:00 +01:00
grilledham
5ef00fe40f blueprint helper updates 2019-06-20 11:25:24 +01:00
grilledham
ae3f84667b reduce turret activation delay with tech 2019-06-19 20:48:05 +01:00
grilledham
d2e9b6f7bd moved locales into common 2019-06-19 18:41:32 +01:00
grilledham
059ee77963 fix travis issues 2019-06-19 18:37:35 +01:00
grilledham
67961322c1 don't shadow variable 2019-06-19 18:20:04 +01:00
grilledham
e579783899 kill inactive turrets with 0 health 2019-06-19 18:01:22 +01:00
grilledham
b723ccf36a refund not inserted items 2019-06-19 17:58:47 +01:00
grilledham
b768b87546 autofill 2019-06-19 17:36:18 +01:00
grilledham
c7f63dcc4f turret active delay 2019-06-19 14:28:40 +01:00
grilledham
a0a9ed4705 filter events 2019-06-18 21:35:25 +01:00
grilledham
bf5c4ffdd4 use next to check if table is empty + fast_remove -> remove 2019-06-18 12:17:24 +01:00
SimonFlapse
f811da5b30 Fixed inverted height and width
Polygons are not being placed correctly
2019-06-14 23:19:21 +02:00
grilledham
29e6954658
Merge pull request #943 from Starholme/Feature#608CorpseCleanup
First shot at #608 Corpse Cleanup
2019-06-14 18:56:25 +01:00
SimonFlapse
71044d6ade Refactoring + Rendering module from grilledham 2019-06-14 19:24:11 +02:00
grilledham
d1ba1660df rename biter_corpse_util -> biter_corpse_remover 2019-06-13 22:28:14 +01:00
grilledham
4607706149 grill's refactoring 2019-06-13 22:25:42 +01:00
Russel Delainey
d69e7e9219 Use event tick instead of game.tick 2019-06-12 11:24:00 -06:00
Russel Delainey
f5ca64d671 Make travis happy? Please travis? 2019-06-10 12:47:43 -06:00
SimonFlapse
150df010d7 Forgot to invert colors 2019-06-10 19:10:34 +02:00
SimonFlapse
36f51bc2e5 Fixed rendering background
Minor tweaks to cutscene in diggy
2019-06-10 19:10:02 +02:00
SimonFlapse
71d850d04f Reverting upvalues not working in MP 2019-06-10 16:53:52 +02:00
SimonFlapse
6978cc0330 Fixed replay not working in MP 2019-06-10 16:32:13 +02:00
SimonFlapse
92c61779ed Removed unused applied styles to skip button 2019-06-10 16:14:18 +02:00
SimonFlapse
f9fb950639 Added skip button
Clean up in radio gui
2019-06-10 16:11:12 +02:00
SimonFlapse
860ead05c0 Added localisation, Debug.Print and Cleanup
Also changed some parameters to the draw_text with background so that 'g' and similar letters are not outside the background
2019-06-10 15:15:14 +02:00
Russel Delainey
0aa715fcce Update config name to better match purpose 2019-06-09 22:36:53 -06:00
Russel Delainey
1573217813 Rewrite to avoid surface lookups 2019-06-09 22:34:13 -06:00
SimonFlapse
8d20eeff9d Preventing players from replaying when a cutscene from the cutscene module is already playing 2019-06-10 01:31:26 +02:00
SimonFlapse
1569867f8f Made soundpaths selectable 2019-06-10 01:14:23 +02:00
SimonFlapse
202e4c37b5 Fixed background parameters
Also added a new waypoint to Diggy with floating text
2019-06-10 01:04:14 +02:00
SimonFlapse
85fc38fd3a Minor changes to player_create
Allowing cutscenes to run before welcoming players via info gui and console messages.

Also includes a search limit for walls and rock to prevent the cutscene from running too far away from {0, 0}
2019-06-09 23:59:16 +02:00
SimonFlapse
003cd6c801 Added a radio to browse sounds 2019-06-09 16:39:21 +02:00
Lynn
aa4f98c22b Added retailer translations 2019-06-09 15:04:40 +02:00
SimonFlapse
f04b13f63a Added parameter passthrough to rendering module 2019-06-09 13:31:44 +02:00
SimonFlapse
de77c9601a Fixed players loosing control 2019-06-09 12:26:51 +02:00
SimonFlapse
3ca8e3f127 Cutscene Controller
Implemented for Diggy
2019-06-09 00:55:25 +02:00
grilledham
f7918088ab tooltip fix 2019-06-07 10:27:10 +01:00
grilledham
68c9f0ccf2 restored get_all_death_causes_by_player 2019-06-07 10:25:24 +01:00
Russel Delainey
4538af4152 Invert condition 2019-06-04 15:30:14 -06:00
Russel Delainey
c501c9ca85 Don't run cleanup on every death. 2019-06-04 15:28:08 -06:00
Russel Delainey
c07b5a39e0 Extracted filter to local 2019-06-04 14:50:09 -06:00
Russel Delainey
70fc151a3a Extract corpse list length into local var 2019-06-04 14:41:19 -06:00
Russel Delainey
0e725ad9e1 Check the force is an enemy, and the type that died is unit 2019-06-04 14:40:33 -06:00
Russel Delainey
77d3a581f3 Implement as guards to reduce nesting 2019-06-04 14:25:34 -06:00
Russel Delainey
8b79bc8024 Clean up testing code. 2019-06-04 13:24:46 -06:00
Russel Delainey
3a56ee1e5c First shot at #608 2019-06-04 13:07:43 -06:00
Lynn
98f11ee163
Satisfy travis 2019-06-04 11:05:00 +02:00
Lynn
6db5901e99
Hotfix for broken GUI, translation parameter count 2019-06-04 10:56:18 +02:00
Lynn
99890acdc2
Merge pull request #935 from linaori/cleanup-player-stats
Cleanup player stats
2019-06-02 17:16:55 +02:00
Lynn
f73e017e88 Optimize some reach distances 2019-06-01 17:11:17 +02:00
Lynn
fdee00dc06 Translate whois data 2019-06-01 13:41:12 +02:00
Lynn
97d96dedf3 Translate the name of death causes 2019-06-01 00:12:41 +02:00
Lynn
8a84ef7504 Cleanup of player stats functions 2019-05-31 23:18:19 +02:00
Lynn
dc78d297b6 Use K, M, B, T notations for scores 2019-05-31 23:14:22 +02:00
Lynn
94934a7695
Merge pull request #934 from linaori/rewrite-score-storage
Rewrite score storage
2019-05-31 22:33:27 +02:00
Lynn
b5f70f2db1 review feedback 2019-05-31 21:42:15 +02:00
Lynn
b3dbd2bc62
Merge pull request #925 from linaori/feature/player-chat-colors-in-gui
Replaced command for player and chat colors
2019-05-31 21:13:02 +02:00
Lynn
b5b9a49fd1 Improved hotpath performance 2019-05-31 19:28:20 +02:00
grilledham
211d0ca18a
Merge pull request #929 from grilledham/remove_debug_data_from_gui_data
don't show the debugger's gui data in gui data
2019-05-31 12:28:09 +01:00
Lynn
f8812f6189 Use ScoreTracker for global score display 2019-05-30 21:57:43 +02:00
Lynn
34e3190882 Use a uniform storage for score storage 2019-05-30 20:22:21 +02:00
Lynn
6b8a042821 Lower color accuracy to a precision of 3 for small numbers 2019-05-30 18:55:42 +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
4e86ecf0ff Fixed locale table with string concat in market 2019-05-30 16:49:54 +02:00
Lynn
8f7695fefd Some diggy tweaks based on feedback
- Added an initial mining speed bonus
 - Added an option to toggle landfill research
 - Slightly increased oil spawn rates
2019-05-30 12:36:15 +02:00
grilledham
9e3993d8f5 don't show the debugger's gui data in gui data 2019-05-29 23:12:31 +01:00
Simon
f24b9aa51f
Crowdin sync 2019-05-29 (#928)
* Crowdin sync 2019-05-29

* fix cs technology tag

* Fixed rich text, new crowdin sync

Crowdin sync at 20:15 UTC 2019-05-29

* First diggy localisedStrings

* Added missing localisedString

* Updated readme + CI fix
2019-05-29 23:13:28 +02:00
Lynn
a0e4021d4a Added a sync message to the settings GUI 2019-05-28 16:49:59 +02:00
grilledham
d4667992d1 Merge branch 'develop' of https://github.com/Valansch/RedMew into gui_settings 2019-05-27 20:46:38 +01:00