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

3289 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
edc727da05 Changed cliff generation to allow map_gen cliffs 2019-10-13 13:55:18 +02:00
SimonFlapse
68744bc91a Disabled default cliff generation 2019-10-12 23:37:29 +02:00
SimonFlapse
1b317d2941 Fixed missing locals 2019-10-12 23:24:36 +02:00
SimonFlapse
ae3fc079a5 CLIFFS! 2019-10-12 23:23:54 +02:00
SimonFlapse
a128e0d234 Added player count to waiting gui 2019-10-12 16:57:31 +02:00
SimonFlapse
8a304ccb69 Fixed introduced bugs from last commit 2019-10-12 14:09:24 +02:00
SimonFlapse
6eb6574cc4 Refactoring + Changes from #996 2019-10-12 13:29:11 +02:00
SimonFlapse
ac7d60643b More tweaking 2019-10-11 21:07:16 +02:00
SimonFlapse
839019514b Result from first alpha run 2019-10-11 20:24:28 +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
SimonFlapse
51dfa636fc Merge remote-tracking branch 'upstream/develop' into space_race 2019-10-11 10:17:19 +02:00
Simon
ca29a047de
[Snake] Added on_snake_player_died event (#995)
* Added on_snake_player_died event and a snake_demo map

* Added score to the event

* Fixed entities being destructible

Changed comment

* Fixed cases where controller type wasn't god

* Changed players controller to spectator when their snake dies

* Changed start_game call away from remote.call

* Needed new call to show the snake button

* Changed start_game to use Snake.control

* removed snake event from demo map

* Update map_gen/maps/snake_demo.lua
2019-10-11 00:28:40 +02:00
SimonFlapse
f5b40ddd07 Market items now working 2019-10-09 21:36:11 +02:00
SimonFlapse
d6842d8e4a Fixed random desync (Static oil placement) 2019-10-09 13:25:43 +02:00
SimonFlapse
f0e147f39e Added markets and more 2019-10-09 02:02:48 +02:00
SimonFlapse
5182e21607 Initial commit of Space Race
Playable version 0.1
2019-10-07 22:44:17 +02:00
grilledham
c6fd8ec4ea
Merge pull request #980 from Jayefuu/branch
Added rail_grid map preset and preview
2019-10-05 11:45:11 +01:00
Simon
1fe86c999e
Crowdin-Sync (2019-10-04) (#989) 2019-10-05 11:10:26 +02:00
Simon
3997f6ffb3
Toxic Jungle Danger Ores Fixes (#986)
* Fixed danger ores and removed flamethrower ammo recipe

* disabled draw_resource_selection

Disabled map_gen ore, oil and cliffs.

Added map info
2019-10-04 21:01:11 +02:00
grilledham
661cd205a4 fixed comment 2019-09-28 14:33:27 +01:00
grilledham
ea7c027495 travis linting 2019-09-28 14:31:19 +01:00
grilledham
781cd11178 refactor rail_grid 2019-09-28 14:23:57 +01:00
grilledham
004bb0500f
Merge pull request #983 from curiosity-a/develop
Fix stress corruption caused by water #552
2019-09-17 18:36:20 +01:00
curiosity
03dba62d30 Refactoring 2019-09-15 12:00:23 +03:00
curiosity
9dd4f8a3bb Refactoring 2019-09-15 11:47:18 +03:00
curiosity
f3ebccce0b Fix stress corruption caused by water #552 2019-09-14 19:40:43 +03:00
grilledham
e96cbfa680 Added Builders.change_map_gen_tiles(shape, new_tile_map). 2019-09-11 20:51:04 +01:00
Jayefuu
1ad53c842d Added rail_grid lua and png files. Suitable for vanilla but also used on modded. 2019-09-11 19:31:38 +01:00
grilledham
ef89b1fb8c
Merge pull request #978 from grilledham/diggy-fix_require
Fix require for Popup.player
2019-09-08 13:34:31 +01:00
grilledham
def7d53da2 fix require for Popup.player 2019-09-08 13:18:50 +01:00
theorangeangle
fc1d1af9d8
Merge pull request #947 from SimonFlapse/diggy_cutscene
Cutscene Controller
2019-08-31 20:52:28 -05:00
grilledham
7d56edd582
Merge pull request #974 from grilledham/crashsite/updates
reduce number of trees correctly
2019-08-03 14:34:47 +01:00
grilledham
3e28c29a70 reduce number of trees correctly 2019-08-03 14:26:34 +01:00
grilledham
55fca6d183
Merge pull request #973 from grilledham/crashsite/updates
Crashsite/updates
2019-08-03 13:23:37 +01:00
grilledham
afa2019faa less trees 2019-08-03 12:16:19 +01:00
grilledham
c2a663dbb7 remove missing items 2019-08-03 12:11:25 +01:00
grilledham
26447fb6c9
Merge pull request #972 from grilledham/crashsite/oil_change
0.17.60 oil changes
2019-07-30 17:37:39 +01:00
grilledham
0eb844b17f 0.17.60 oil changes 2019-07-30 17:30:47 +01:00
grilledham
fbc5600d5a
Merge pull request #971 from grilledham/crashsite/desert
Crashsite/desert
2019-07-28 19:33:58 +01:00
grilledham
54ff569235 desert preset 2019-07-28 11:44:21 +01:00
grilledham
119ce340bb refactor to allow multiple crashsite presets 2019-07-28 11:44:13 +01:00
grilledham
9cb89ea891
Merge pull request #970 from grilledham/crashsite/updates
spawn market to neutral force
2019-07-27 18:31:26 +01:00
grilledham
3941937400 spawn market to neutral force 2019-07-27 12:00:18 +01:00
grilledham
e4c5569de0
Merge pull request #968 from grilledham/crashsite/updates
Crashsite updates [Waiting for 0.17.59]
2019-07-25 16:29:34 +01:00
grilledham
bac91762a3 reverted small oil refinery changes 2019-07-25 16:21:56 +01:00
grilledham
5b6b46047e increased advanced circuit output 2019-07-25 16:21:26 +01:00