1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-01-05 22:53:39 +02:00
Commit Graph

95 Commits

Author SHA1 Message Date
Matthew
dce2b29624
Merge branch 'develop' into chat_triggers 2018-11-26 11:01:04 -05:00
Matthew Heguy
17af2498f8 Have get_player return nil if no index/player 2018-11-26 10:50:06 -05:00
Matthew
6697f4cb99 Delete features/silly_player_names.lua -- fixes 508f75c4b9 (#462) 2018-11-26 13:11:38 +01:00
Matthew
b5477034b7 Move infinite storage (#463) 2018-11-26 13:11:26 +01:00
Matthew
1332ad5a8d Move spawn control (#456) 2018-11-26 13:10:37 +01:00
Matthew Heguy
de87998299 Break chat_trigger functions apart 2018-11-26 01:52:43 -05:00
SimonFlapse
b240b278f6 Minor changes based on feedback 2018-11-25 12:53:05 +01:00
SimonFlapse
7b031a7c9d Tweaking Diggy controls
Fixed rockets not giving experience and converted it to 1% of total experience.

Decreased player died deduct to 0.2%

Increased xp from rocks by 1 every fifth level

Increased xp from bots by about 1 every tenth level.

Increased early science XP reward (doubled for red and green, 50% for black and blue)

Level 100 is not 19,990,000 XP (Down from 30 million)

Starting XP is 400.
2018-11-25 02:27:41 +01:00
Matthew
caca778ec5
Merge pull request #446 from Refactorio/bot_removal
Delete bot.lua
2018-11-24 10:49:02 -05:00
Valansch
cc17b0205e
Delete bot.lua 2018-11-24 14:25:49 +01:00
Lynn
1d876ed1ff Fixed merge and cleanups 2018-11-24 13:53:06 +01:00
Simon
22c21011ab Diggy - New leveling system (#402)
* Basic setup for Force Control

* Buffs transitioned to new level system

Implemented level up buffs (Also made a double value avaliable at certain levels)

Added experience for research, rocket launched, mined rocks

Removing experience on player death. 0.5% of total experience

Added total_experience to ForceControl.lua

Refactored util/game.lua

* Transfered market item unlocks

Made Market Items unlock through the force control system.

Removed stone from mined stone

* Initial conversion of market items to coins

* Started biter killing giving XP

* XP for killing enemies. GUI update

* Made ForceControl.remove_experience return the actual removed experience

* Got my head and mind back, also fixed progress bar saying long numbers

* Changed get_market()

* Brand new formula, CI review changes

* Update CHANGELOG.md
2018-11-24 10:45:43 +01:00
Jayefuu
1940b56ddf Added /find command to act the same as find_player (#417)
* Added /find command to act the same as find_player

* Remove find-player, fix case of /regular demote
2018-11-24 10:42:53 +01:00
Matthew
55aaf19b48 Add player renaming (#428)
* Add player renaming from auto-generated names

* Give admins IDs on name changes
2018-11-23 18:08:44 +01:00
Matthew
b9e360ce3a Shift command logging to free_item_logging, fix cases of server as actor (#427)
Shift command logging to free_item_logging, fix cases of server as actor
2018-11-23 18:07:44 +01:00
Matthew
8db491634d Fix nil ref in train_station_names Closes #440 (#441) 2018-11-23 01:03:15 +01:00
plague006
af9fe138fb Fix null ref (event.player_index nil if server) 2018-11-22 07:17:07 -05:00
plague006
857baf6c5e Don't define global as a local 2018-11-21 17:56:52 -05:00
plague006
7f8eb83e55 Add check in case walkabout.lua isn't loaded. 2018-11-21 17:56:23 -05:00
Matthew Heguy
e6dda20e41 All tabs to spaces 2018-11-21 08:42:39 -05:00
Matthew Heguy
9b064af399 Change wording to be more clear 2018-11-21 07:53:00 -05:00
Matthew
57d24e68e1 Resources cleanup (#412)
* Export single quotes instead of double

* Autoformat (with quote-changing disabled)
2018-11-20 11:47:46 +01:00
Matthew
96ab772393 Autoformat (#415) 2018-11-20 11:46:32 +01:00
Matthew
c9369c3d14 Features cleanup (#414)
* Fix scoping, var names, unused functions, etc.

* Autoformat
2018-11-20 11:46:19 +01:00
Matthew Heguy
026b3b96c9 Remove add_command for walkabout in custom_commands 2018-11-19 15:39:03 -05:00
Lynn
e10371784f
Merge pull request #404 from plague006/market
Fish market: split messages out, cover cases of no character and disconnected player
2018-11-19 20:12:08 +01:00
Matthew
aff0452fd8
Merge pull request #398 from plague006/walkabout
Split walkabout from custom_commands
2018-11-19 13:35:58 -05:00
Matthew Heguy
8a9da5eaad Use variable after checking it rather than before 2018-11-19 13:35:21 -05:00
plague006
d460dceed8 Fish market: split messages out, cover cases of no character and disconnected player 2018-11-19 12:08:26 -05:00
Matthew
5a60a55a64
Merge pull request #400 from plague006/fix/jail_shooting
Fix order of operations in jailing
2018-11-19 10:24:41 -05:00
grilledham
196db1914f Utils.player_print -> Game.player_print 2018-11-18 23:49:58 +00:00
Simon
e25412d0d9
Merge pull request #387 from SimonFlapse/Chat-Mention-Fix2
Added @ to mention triggers also allowed the prefix as a postfix. Case insensitive mentions.
2018-11-18 22:42:32 +01:00
SimonFlapse
ae46cc447b Made mentions case insensitive 2018-11-18 22:41:24 +01:00
plague006
ee717872a3 Fix formatting 2018-11-18 16:26:43 -05:00
plague006
12f1b607dc Change jail order of operations 2018-11-18 16:26:13 -05:00
SimonFlapse
4ef7de7898 "Go to bed simon" 2018-11-18 21:49:43 +01:00
SimonFlapse
8e770f6052 Setting shooting state seems not to work.
Locks the player into shooting.
Moved the logic above the permission setting
2018-11-18 21:45:02 +01:00
SimonFlapse
662398069d changed output 2018-11-18 21:29:05 +01:00
SimonFlapse
0e6ba3e2cb Prevents walking when jailed 2018-11-18 21:24:35 +01:00
SimonFlapse
3876402e87 Second attempt to fix server crash 2018-11-18 21:23:19 +01:00
SimonFlapse
11038fcda2 Attempt to fix server crash on server jail/unjail 2018-11-18 21:13:45 +01:00
SimonFlapse
08b54e44af Added jail to playerlist report for admins and toggle jail in showreports 2018-11-18 20:34:18 +01:00
plague006
f2fbd45374 Make local copy of walking_storage 2018-11-18 14:07:03 -05:00
plague006
3a83d4182a Split walkabout from custom_commands
Fix walkabout edge cases
Closes #22
2018-11-18 14:03:33 -05:00
Valansch
7fa48bc583
Changed all windows style line endings to unix style line endings (#393) 2018-11-18 17:12:00 +01:00
Lynn
1c91520160 Added force_control.lua to track force levels (#338)
* Added force_control.lua to track force levels

* Allow force only registration for level ups
2018-11-18 17:05:45 +01:00
Simon
00c5f8c8ab Fish Market update. Better description for boosts and train savior item (#389)
* Changed small-plane

* Updated boost description

* Clarified train savior item from market

* Fixed SHIFT click on train savior item
2018-11-18 16:23:51 +01:00
SimonFlapse
5c5c59c396 Added @ to mention triggers also allowed the prefix as a postfix
Avaliable triggers now:
admin moderator @SimonFlapse #SimonFlapse SimonFlapse@ SimonFlapse#

(@SimonFlapse might trigger discord)
2018-11-18 13:26:15 +01:00
Lynn
247b1df7f4
Merge pull request #377 from Valansch/dev_diggy_antigrief
fixed report desyncs
2018-11-18 13:22:18 +01:00
Valansch
11c297c31d
Update custom_commands.lua 2018-11-18 13:21:08 +01:00