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

29 Commits

Author SHA1 Message Date
SimonFlapse
f131b4d483 Merge remote-tracking branch 'upstream/develop' into space_race 2019-10-14 15:43:52 +02:00
Simon
bf8cd265d2
[Builder] Simple entity removal (#994)
* Simple entity removal in Builders

Performance could be improved

* Removed rocks parameter
The increased radius caused simple-entity to work

* Added another way to remove units that should be more efficient

* Changed find_entities to use area instead of radius

* removed remove_units function

* changed function name from names to name

* added table.shallow_copy

* reworked 'remove_*' builders

* used remove_* builders for existing maps

* update .luacheckrc

* Added links to documentation for each public function

* Added links for new functions
2019-10-14 00:09:47 +02:00
SimonFlapse
2afc4ac5f0 Made it easier to add a new surface to the generate function
You add a new surface by calling the get_surfaces() method in generate.lua
And then inserting a new value in the key, value format: [surface_name] = shape

Example

`local Generate = require 'map_gen.shared.generate'
game.create_surface('snake')
Generate.get_surfaces()['snake'] = b.rectangle(45, 4)
2019-10-11 10:54:27 +02:00
SimonFlapse
71044d6ade Refactoring + Rendering module from grilledham 2019-06-14 19:24:11 +02:00
grilledham
2e595264aa updated luacheck player_inventory-> character_inventory 2019-05-02 17:07:41 +01:00
plague006
6b5da12f81 Add create_profiler 2019-04-16 18:06:05 -04:00
TWLTriston
81f38a89b8 Adding game field defiition 2019-03-27 18:39:29 -04:00
grilledham
7246b27af3 added render_mode to luacheckrc 2019-03-09 14:11:52 +00: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
plague006
2e31964195 Restore global tables 2019-03-01 19:30:43 -05:00
Matthew Heguy
d4887834b3 Update to 0.17 2019-02-28 18:39:18 -05:00
plague006
8ccfe43cef Make lifecycle more readable. 2019-02-18 01:43:59 -05:00
Matthew Heguy
7e6a632ebd Add _LIFECYCLE as an indicator of where we are in the data lifecycle 2019-01-30 19:39:11 -05: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
237ebaa079 Update luacheckrc 2019-01-05 01:36:49 -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
91b4b0f007 Added a distance check for the Retailer market GUI to close 2018-12-29 14:09:26 +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
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
Lynn
bbfcdd4629 Added a basic RedMew configuration setup (#502)
* Added a basic RedMew configuration setup
2018-12-06 12:18:52 +01:00
Matthew Heguy
1e1b385537 Remove on_server_started from luacheckrc 2018-11-27 14:25:59 -05:00
Matthew Heguy
212e34170d Add on_server_started as field in defines.events and ServerCommands as global 2018-11-27 07:35:23 -05:00
Matthew Heguy
f0ab4be6c9 Add on_server_started as field in defines.events 2018-11-27 07:26:24 -05:00
Matthew
2bc69414e0
Merge branch 'develop' into server-module 2018-11-26 21:12:36 -05:00
Matthew Heguy
532c1c5bd7 Add print as global to luacheckrc 2018-11-26 21:08:38 -05:00
Matthew
b142939c5f Overhaul config and global.scenario usage (#466) 2018-11-27 01:09:52 +01:00
Matthew
170d659436
Add _CHEATS to globals in luacheckrc 2018-11-24 11:52:29 -05:00
plague006
31ab06a33b Remove line length limit 2018-11-22 17:29:53 -05:00
plague006
30df59c83c Add stickler_ci 2018-11-22 14:59:32 -05:00