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

151 Commits

Author SHA1 Message Date
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
Matthew
e88c72f972
Merge pull request #667 from grilledham/corpse_looting_message
Corpse looting message
2019-01-21 11:04:48 -05:00
grilledham
9a7a697bef return nil is player invalid 2019-01-21 15:54:34 +00:00
plague006
f86b46ef26 Fix typos 2019-01-21 01:53:15 -05:00
grilledham
7184d7c5e2 merge devople into terraforming_danger_ores 2019-01-16 20:50:51 +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
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
Matthew Heguy
3cbc7c4553 Change server color to yellow 2019-01-11 19:12:55 -05:00
Matthew Heguy
df125191c7 Fix bad copy paste? Improve doc 2019-01-11 15:52:25 -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
Matthew
f09ca708ee Change source option to full stack traceback option (#630) 2019-01-11 17:46:12 +01: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
73a3b7756b
Merge branch 'develop' into event-fixes 2019-01-10 14:38:55 +01:00
grilledham
d74a9fc225 fixed not registering events bug 2019-01-09 22:46:36 +00:00
Matthew Heguy
63100e0590 Fix merge mistake 2019-01-08 12:15:14 -05:00
grilledham
53590ed280 fix typo 2019-01-07 20:05:23 +00:00
grilledham
0b3d796b60 extra documentation + fixed error for removing not registered handlers 2019-01-06 20:58:43 +00:00
grilledham
e57d34cfe2 added comment 2019-01-06 20:56:36 +00:00
grilledham
84597ea1fe Merge branch 'develop' of https://github.com/Valansch/RedMew into event-fixes 2019-01-06 12:40:39 +00:00
plague006
4c1a94c71e Change pointer for inspect 2019-01-05 12:38:37 -05:00
Lynn
afec58b440 Admins have regular permissions, commands should reflect this 2019-01-05 18:04:02 +01:00
plague006
8669330b90 Rename q and schedule back to queue and task 2019-01-04 15:02:16 -05:00
Matthew
2bd96d267d Add source of message to Debug.print (#623)
ENHANCE debug!
2019-01-03 21:04:09 +01:00
grilledham
ab347734e8 allow removeable event to be added on_init 2019-01-03 17:23:41 +00: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
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
Matthew Heguy
7bda4622a1 Add explanation of what core contains 2019-01-01 11:09:01 -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
Lynn
a62fed2b78
Merge branch 'develop' into market-gui-tweaks 2018-12-31 09:22:26 +01:00
plague006
494648f35c Change custom colors to presets 2018-12-29 12:39:20 -05:00
Lynn
91b4b0f007 Added a distance check for the Retailer market GUI to close 2018-12-29 14:09:26 +01:00
grilledham
d1f2eb5686 Event (#565)
* First pass at removable events

* added documentation

* added is_closure function

* fixed return multiple values

* is_closure now ignores _ENV
2018-12-28 17:21:45 +01:00
Matthew
012bcffb87 Add random_RGB to utils (#592) 2018-12-25 18:54:14 +01:00
Matthew
9282cc974a Add inspect to utils, change require pointer (#578) 2018-12-22 13:49:21 +01:00
Matthew
8d3c32e932 Add dump_env (#558)
* Add dump_env

* Create new global for env dump
2018-12-22 09:42:19 +01:00
Lynn
5cdb67979a Added some features to the market GUI (#564)
* Added some features to the market GUI

* Grouped inputs differently

* Use referenced table instead of copy
2018-12-22 00:39:18 +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
Valansch
bbc90d3f28
Made tasks throw errors if _DEBUG (#567)
* Made tasks throw errors if _DEBUG
2018-12-22 00:37:00 +01:00
Valansch
e269656743
Fixed possible gui uid collision (#563)
* Fixed possible gui uid collision
2018-12-20 14:13:40 +01:00
Matthew
eb892a372e Add player_reward, add coins as reward for looking at info (#546)
* Add player_reward, add coins as reward for looking at info

* Remove table entries for completed rewards
2018-12-19 14:56:02 +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
grilledham
de8cf8760d no longer store top_elements in global 2018-12-16 10:58:28 +00:00
grilledham
6cc74b50e8 removed unused variables 2018-12-16 01:41:12 +00:00
grilledham
8bf193db70 fixed typo 2018-12-16 01:39:19 +00:00
grilledham
f45d6d5111 allow player to toggle top buttons visibility 2018-12-16 01:28:00 +00:00
Matthew
238f6b9d7b Rename task and queue (#535)
* Rename task and queue to q

* Threading to schedule

* processing_queue to q
2018-12-15 21:28:27 +01:00
Lynn
8e901a4674 Fixed missing format function 2018-12-09 19:24:08 +01:00