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

148 Commits

Author SHA1 Message Date
Lynn
a9d40f74a9 Added a command-search command 2018-12-09 00:34:25 +01:00
Lynn
5e00d9b721 Reduced to a single command 2018-12-06 18:17:51 +01:00
Lynn
39a5b13928 Minor fixes in the config 2018-12-01 22:06:24 +01:00
Lynn
b48731ad50
Merge pull request #492 from plague006/extend_table
Add inspect and size to table util
2018-12-01 18:04:24 +01:00
grilledham
b350276472 fixed timestamp bug 2018-12-01 16:30:05 +00:00
Matthew Heguy
c0404c33ac Add inspect and size to table util 2018-12-01 00:53:54 -05:00
Matthew
55ae4ab093
Merge pull request #443 from iltar/new-command-wrapper
Added a new command wrapper to reduce boilerplate
2018-11-30 17:23:37 -05:00
Lynn
fcbae24ff0 table.size -> table_size 2018-11-30 19:29:06 +01:00
Lynn
cb3c9ba1d0 Fixed refactored util import 2018-11-30 19:25:05 +01:00
Lynn
bfe804e2f0 ipairs -> pairs 2018-11-30 19:21:46 +01:00
Lynn
1f99757654 Added a bit more documentation 2018-11-30 19:15:11 +01:00
Lynn
f88b05448e Using global print if server 2018-11-30 18:50:57 +01:00
Lynn
8cdf747a2e Improved debug logging and error reporting during development 2018-11-30 18:45:27 +01:00
Lynn
8c0874a10d Added support to capture excess arguments as sentence 2018-11-30 18:45:27 +01:00
Lynn
9d35776849 Server/Debug/Player only flags and Debug extraction 2018-11-30 18:45:27 +01:00
Lynn
bd1425956f Added admin check and aggregate errors 2018-11-30 18:43:37 +01:00
Lynn
1dcc5cefdc Ensured player can be nil in case of being the server 2018-11-30 18:43:37 +01:00
Lynn
eb7de9bc2e Added a new command wrapper to reduce boilerplate 2018-11-30 18:43:37 +01:00
grilledham
26e375ec7e extra timestamp functions 2018-11-30 15:55:27 +00:00
grilledham
2a2de3b32e timestamp helper util 2018-11-30 00:19:02 +00:00
Matthew Heguy
ae29ad21e5 Remove extraneous 'else' 2018-11-27 17:08:27 -05:00
Matthew Heguy
ae024c4e10 utils->core, list_utils->table, overhaul both and updated extant uses 2018-11-27 17:08:26 -05:00
Matthew Heguy
c7201e119b Rename utils and fix requires 2018-11-27 17:08:26 -05: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
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
8fb9ae35d7 Add server print on admin_prints (#430)
* Add server print on admin_prints
2018-11-22 23:04:01 +01:00
plague006
0b2d6e98e9 Add some documentation to list_utils 2018-11-22 04:39:07 -05:00
Matthew
c49f5007fa Utils cleanup (#411)
* Clean up unused vars and using same var names

* Autoformat
2018-11-20 11:46:42 +01:00
plague006
fed616ab15 Typo in var name 2018-11-18 19:16:12 -05:00
Valansch
7fa48bc583
Changed all windows style line endings to unix style line endings (#393) 2018-11-18 17:12:00 +01:00
Matthew
5beaee7144 Comments to luadoc (#355)
Add logging to many commands, admin chat notices for a few commands
Overhaul print_admins
2018-11-18 12:59:52 +01:00
Matthew
b24801a8ec Extend tables library, split on_create and hodor messages from functions (#357)
* Add table.get_random and table.get_random_weighted

* Rewrite and randomize the messages from on_create

* Split hodor messages resource from function

* Return variable directly instead of adding an extra step

* Change to luadoc
2018-11-17 12:56:03 +01:00
der-dave
3299280c64 Added basic scoretable GUI and moved comma_value to utils 2018-11-16 17:13:45 +01:00
Lynn
aaac2f2b2a Fixed missing end (#277) 2018-11-10 00:54:18 +01:00
Valansch
7624263d8c
Merge branch 'develop' into global_removal 2018-11-09 23:49:23 +01:00
Lynn
675e8fb0f5 Added scrolling text popups and UX for market chests 2018-11-06 21:36:11 +01:00
Valansch
66df4a9a67 made degrees local 2018-11-06 13:09:21 +01:00
Valansch
8562c2663e removed some _G entries 2018-11-06 12:55:52 +01:00
Maik Wild
4a2e258ff3 moved math functions into math.lua 2018-10-04 17:56:49 +02:00
Valansch
3abd779775
Added math.inv_sqrt2 2018-10-02 23:53:05 +02:00
Maik Wild
a8e883b8ec added math.sqrt2 2018-10-02 10:08:57 +02:00
Valansch
646d050dd0
Round math.sin instead of approximating it 2018-09-28 18:42:36 +02:00
Valansch
b94f65ba51
Update math_fix.lua 2018-09-28 17:37:09 +02:00
Valansch
d85d969dce
Update math_fix.lua 2018-09-28 17:35:05 +02:00
Maik Wild
b01cef726b made sin use rads instead of deg 2018-09-28 17:28:01 +02:00
Maik Wild
7e0194996d replaced math.sin with lua implementation 2018-09-28 16:26:50 +02:00
grilledham
d38a87e9bb changed Game.players to Game.get_player_by_index(index) 2018-09-23 11:46:58 +01:00
grilledham
f1ef10beb6 Game is now local 2018-09-22 23:25:13 +01:00
grilledham
d232add93f more to utils + changed implementation 2018-09-22 23:24:47 +01:00
grilledham
594c1fa15b changed game.player -> Game.player 2018-09-22 21:07:05 +01:00
Maik Wild
0f0df92cd0 moved format_time to utils 2018-08-13 17:03:37 +02:00
Maik Wild
eb9b149617 implemented /report 2018-08-10 19:10:30 +02:00
grilledham
6ba2c75cbd misc fixes 2018-07-04 16:22:26 +01:00
grilledham
1c2f699676 fixed typo 2018-06-28 18:28:39 +01:00
grilledham
25011dd144 player_list_rewrite 2018-06-27 14:48:04 +01:00
grilledham
988c5f27a1 small performance tweak 2018-06-24 11:52:51 +01:00
grilledham
4ad4182d80 refactor + more events 2018-06-21 17:11:52 +01:00
grilledham
5cf2532063 added on text changed 2018-06-20 17:15:48 +01:00
grilledham
0dce95686b added math.clamp 2018-06-19 16:33:21 +01:00
grilledham
3b6116d72b tweaks to traingle of death map 2018-06-17 11:39:55 +01:00
grilledham
415bbb3006 Merge branch 'develop' of https://github.com/grilledham/RedMew into tag-group-refactor 2018-06-12 22:17:08 +01:00
grilledham
199bce4b00 random gens refactoring 2018-06-12 16:57:39 +01:00
grilledham
de8315bf72 added global.lua 2018-06-09 11:43:37 +01:00
Valansch
2d438a2629 Implemented undo rotation, paste, decon 2018-06-05 18:00:25 +02:00
Valansch
e6a2ef8697 implemented Utils.find_entities_by_last_user and undo warning. 2018-06-05 01:34:58 +02:00
grilledham
1520f95738 merged branches 2018-06-04 16:35:18 +01:00
Maik Wild
b4602f687b fixed typo in utils 2018-06-04 12:40:31 +02:00
Maik Wild
efa3fd2f33 Fixed merge conflict between master and develop (#176 vs. #177 & #178) 2018-06-04 12:36:21 +02:00
Valansch
2a582d69f2 Misc fixes 2018-06-03 14:24:33 +02:00
Valansch
ac15b60c02 Cleanup up utils 2018-06-02 18:16:04 +02:00
Valansch
43d1eb0ad6 Added missing require user_groups into nuke_control.lua
- Fixed bugs in user_groups
- Moved get_actor into utils/utils.lua
2018-06-02 17:17:54 +02:00
grilledham
b3bffbf967 changed task module to take a token rather than a global function name 2018-05-24 15:16:38 +01:00
grilledham
4c1892bc10 added debug support 2018-05-22 01:03:04 +01:00
grilledham
172268788a updates 2018-05-21 23:48:50 +01:00
grilledham
364898f6f7 updates 2018-05-21 18:22:07 +01:00
grilledham
594c6195f1 added gui help utils 2018-05-20 16:28:54 +01:00
grilledham
52e1448bf2 formatting 2018-05-20 16:28:33 +01:00
grilledham
5fb107e20f added global tokens 2018-05-16 11:37:22 +01:00
Valansch
5168e77c01 Implemented Cams, fixed invalid entity log spam 2018-04-16 14:25:59 +02:00
grilledham
7d6db2c737 fixed typo 2018-04-07 00:38:59 +01:00
grilledham
1cf6639352 fixed bug 2018-04-07 00:24:30 +01:00
grilledham
45cbda810d experimental removable events 2018-04-07 00:24:16 +01:00
grilledham
77d4fc9c4a added global token 2018-04-06 22:51:17 +01:00
grilledham
197a677559 name changes 2018-04-06 22:32:13 +01:00
grilledham
a656e3a459 changes to match new event module 2018-04-06 20:58:50 +01:00
grilledham
e0756f9dcb rewrite of events module 2018-04-06 20:57:58 +01:00
grilledham
ad20355fa7 renamed to event2 2018-04-06 17:45:20 +01:00
grilledham
0aa879ef55 rewrite of events 2018-04-06 16:35:41 +01:00
grilledham
5ec739e7aa added events2 2018-04-02 14:40:25 +01:00
Valansch
18b5e0e4e4 Made Task queue only change tasks per tick every 5 seconds 2018-02-02 00:37:08 +01:00
grilledham
61947204e9 changed callbacks + added global.task_queue_speed 2018-01-31 20:30:32 +00:00
grilledham
fbee5b117c added PriorityQueue 2018-01-31 20:29:15 +00:00
grilledham
5e65e4e970 added weights to tasks 2018-01-28 18:33:25 +00:00
grilledham
e3168f8bee renamed thread / action to task 2018-01-27 15:49:55 +00:00
grilledham
cab8233c74 changes action_queue to use Queue 2018-01-25 23:31:47 +00:00
grilledham
d14f0aae76 added Queue.lua 2018-01-25 23:31:09 +00:00
grilledham
4d951fb4b0 added binary_search to list_utils.lua 2018-01-21 15:32:07 +00:00
Maik Wild
66e5d2ae0e locale/utils/ ==> utils/ #152 2018-01-19 15:08:48 +01:00