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

24 Commits

Author SHA1 Message Date
grilledham
f6bf121057 added table.keys function 2019-05-13 11:07:11 +01:00
plague006
b389c15cc5 luacheckrc tweaks to raise warnings when registering events through script, or registering a command through commands 2019-03-04 06:57:08 -05:00
Matthew
5f283c90d8
Merge pull request #723 from plague006/entity_restriction
Add generic entity restriction module
2019-02-19 14:02:32 -05:00
plague006
e0b59e5fe6 Many fixes and tweaks 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
65d538374f Fix doc 2019-02-02 14:19:29 -05:00
Matthew Heguy
88754b5521 Add/refine table searching functions 2019-02-02 14:19:29 -05:00
plague006
eb71109c5b Expand doc for deepcopy 2019-02-02 13:36:31 -05:00
plague006
784983eb7d Fix doc 2019-01-25 13:16:25 -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 Heguy
c210016999 Update docs 2019-01-24 16:11:02 -05: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
e7538bf797 added fast_remove to utils.table 2019-01-16 15:19:37 +00: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
plague006
4c1a94c71e Change pointer for inspect 2019-01-05 12:38:37 -05:00
Matthew
31a7b0c7f6 Document utils from factorio's util.lua (#611)
* Document utils from factorio's util.lua

* Change doc to match suggestion
2019-01-01 16:03:41 +01:00
Matthew
9282cc974a Add inspect to utils, change require pointer (#578) 2018-12-22 13:49:21 +01:00
Matthew
bcf0c3e85d Fix issues with silly names (#559)
* Fix new LuaPlayer created on join.

* Change set_map_extra_info to add_map_extra_info

* Make silly_player and regulars compatible
2018-12-22 00:38:47 +01:00
Matthew
074ea00c54 Add regulars to potential train station names (#561)
* Add regulars to potential train station names

* Decrease odds of in-game player and regular, increase odds of backer

* Clarify that _player_ is not the player that placed the entity

* Specify random's use, cover case of nil random_player
2018-12-19 14:43:30 +01:00
Lynn
0fbfe49b2f AlienEvolutionProgress to utils and uses prototype data 2018-12-09 19:18:16 +01:00
Matthew
c3d7876113 Overhauled day_night_cycle, creep_spread, and nightfall. Add Venus map. (#524)
* Added dead trees to starting area

* Add shuffle_table to table utilities

* Refine venus, terraforming, nightfall, day_night_cycle

* Overhaul day_night

* Cleanup from day_night overhaul
2018-12-09 16:50:16 +01:00
Matthew Heguy
c0404c33ac Add inspect and size to table util 2018-12-01 00:53:54 -05: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