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

34 Commits

Author SHA1 Message Date
Simon
0a8dc3012e
Update map_gen/shared/generate.lua
Co-Authored-By: grilledham <jrdgillham@gmail.com>
2019-10-20 14:40:22 +02:00
SimonFlapse
505bc0cc53 Unused variable removal 2019-10-11 11:20:10 +02:00
SimonFlapse
8f51a726e1 Removed global from generate, causes desyncs 2019-10-11 11:19:10 +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
grilledham
fe8e3dffe8 Builder decoratives + 1000x map tweaks (#931)
* added support for decoratives

* use decratives for 1000x map

* Tweaked decoratives and disabled draw_resource_selection

* renamed variable to avoid shadowing
2019-05-30 14:06:52 +02:00
plague006
dbe746ce8d Drop unnecessary tables. 2019-02-24 16:58:06 -05:00
plague006
e574a2dc36 Use lifecycle 2019-02-04 18:02:15 -05:00
grilledham
2d7f9d084a refactor 2019-01-16 21:32:57 +00:00
grilledham
6a2e7ed6d5 Changes to generate to allow controlling the chunk event 2019-01-16 15:39:42 +00:00
plague006
bcd95662b6 Redirect all dependencies 2019-01-04 15:02:55 -05: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
Matthew Heguy
bdc5d2ae77 Revert change to utils.task refs 2018-11-27 17:08:27 -05:00
Matthew Heguy
c7201e119b Rename utils and fix requires 2018-11-27 17:08:26 -05:00
grilledham
7fa2173e70 added support for hidden tiles 2018-11-11 15:08:35 +00:00
grilledham
40669a0c2a bermuda triangle 2018-06-16 12:57:11 +01:00
grilledham
8e7e0351dc updates 2018-06-07 16:42:02 +01:00
grilledham
7725385ecd allow multiple surfaces in map gen 2018-06-07 13:09:28 +01:00
grilledham
bbca8c3102 updates 2018-05-24 19:05:32 +01: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
6fefc41e1e allow changing map gen speed 2018-05-24 14:29:24 +01:00
grilledham
cf2272e72d fixed decoratives 2018-05-23 23:04:28 +01:00
grilledham
67461c7ba1 updated to new module system 2018-05-16 11:38:51 +01:00
grilledham
4868a090cd updates 2018-05-10 20:42:38 +01:00
grilledham
7c8983b251 moved generate out of presets 2018-05-08 23:46:49 +01:00
grilledham
abc221427f changes to builder signatures 2018-05-08 17:47:34 +01:00
grilledham
094bfe8928 builder changes to allow multiple entities per tile 2018-05-07 12:18:18 +01:00
grilledham
87614528a7 fixes and new functions 2018-03-27 16:16:37 +01:00
grilledham
95f4758670 fixed bug 2018-02-23 12:11:39 +00:00
grilledham
cc6af4fb67 clean up + change surface to local variable 2018-02-23 11:40:26 +00:00
grilledham
2a5996758f updated to use task weights 2018-01-28 18:33:47 +00:00
grilledham
e3168f8bee renamed thread / action to task 2018-01-27 15:49:55 +00:00
grilledham
9d7b7f64bb removed code for adding water around water 2018-01-24 19:48:10 +00:00
Valansch
ce576a04ed Fixed typos #152 2018-01-19 23:40:40 +01:00
Valansch
d3b31a5894 moved map_gen.lua to map_gen/shared/generate.lua. Also fixed typo 2018-01-19 22:33:54 +01:00