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

149 Commits

Author SHA1 Message Date
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
e96cbfa680 Added Builders.change_map_gen_tiles(shape, new_tile_map). 2019-09-11 20:51:04 +01:00
Lynn
f8812f6189 Use ScoreTracker for global score display 2019-05-30 21:57:43 +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
grilledham
4b6c24ce6a keep the player's character 2019-05-20 15:10:36 +01:00
grilledham
6ad2be252c Fix RS requires 2019-05-20 14:54:44 +01:00
theorangeangle
59f682a75a fixed redmew surface issue 2019-05-20 00:00:57 -05:00
grilledham
a0e178fc75 removed unsed Game variable 2019-05-16 12:11:01 +01:00
grilledham
880c0366d1 Game.get_player_by_index -> game.get_player 2019-05-16 11:10:56 +01:00
SimonFlapse
56b6dfbd01 More player -> character 2019-05-02 17:02:53 +02:00
Matthew
820a95111d
Merge pull request #889 from grilledham/map/terraforming_daner_ores
Revisions to the danger ores scenario
2019-04-16 14:38:28 -04:00
Matthew Heguy
2f44acdd15 Change to number difficulty scaling 2019-04-16 14:00:30 -04:00
plague006
73e7acab57 Add biter_attacks 2019-04-16 13:43:27 -04:00
TWLTriston
fbb8f17253 - Bug fix: Allow cars and tanks to be placed onto ore piles. 2019-03-30 06:20:49 -04:00
Matthew Heguy
13c93425a7 Fix logic in entity_placement_restriction. Closes #875 2019-03-16 14:35:09 -04: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
e43513fcc1
Merge pull request #849 from plague006/locale
The big localization push
2019-03-04 06:35:13 -05:00
plague006
891a863e68 Remove venus and its modules, silly_player names, walkabout, rusky_pvp and tempban 2019-03-03 17:22:01 -05:00
Simon
bad47f37ff
Added improved hydra scaling (#795)
* Added improved hydra scaling

Added min, max and trigger to config
Added online_player_scale to config

Made hail hydra chances a variable of: - number of online players (toggleable)
- evolution based on a custom formula that has a slow scaling until evolution 0.8

* Removed debug game.prints

* Backwards compatibility

Added conversion from old config to new

* Updated config to show -1 for unused

* Added locking chance

* Added improved hydra scaling

Added min, max and trigger to config
Added online_player_scale to config

Made hail hydra chances a variable of: - number of online players (toggleable)
- evolution based on a custom formula that has a slow scaling until evolution 0.8

* Removed debug game.prints

* Backwards compatibility

Added conversion from old config to new

* Updated config to show -1 for unused

* Added locking chance

* Added behemoth-worm-turret

* Removed old behemoth-biter

* Added new default configuration
2019-03-03 22:13:49 +01:00
plague006
535c675028 Add generate_event_name to event module 2019-03-03 13:03:24 -05:00
plague006
58e231af5c Isolate rusky_pvp strings 2019-03-01 23:48:40 -05:00
Matthew
e024c436ba
Merge pull request #812 from plague006/17/regenerate_decorative
[17][Enhancement] Drop unnecessary tables.
2019-02-28 17:08:13 -05:00
Matthew Heguy
09ef833dd2 Remove steel-axe, iron-axe 2019-02-26 14:08:49 -05:00
plague006
6fab882c2f Fix for possible nil item in on_player_built_tile 2019-02-24 21:40:08 -05:00
plague006
dbe746ce8d Drop unnecessary tables. 2019-02-24 16:58:06 -05:00
Matthew Heguy
184d5fa56d Add event toggles to debugger, increment version of debuggertron 2019-02-21 13:43:40 -05:00
Matthew Heguy
16771be37b Fix typo 2019-02-20 16:58:59 -05:00
Matthew Heguy
3af411faa5 Switch to functions in table, adjust map_loader accordingly 2019-02-20 16:38:34 -05:00
Matthew
16fe4a7345
Merge pull request #742 from plague006/apply_lifecycle
Apply lifecycle
2019-02-19 14:13:28 -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
grilledham
4696157555 return true for zero area bounding_box entities (bots) 2019-02-19 17:43:53 +00:00
plague006
70d11a46ae Small optimizations, doc refining, scope narrowing 2019-02-17 00:32:43 -05:00
plague006
0ae4cbcf0c Get rid of deep copy 2019-02-16 18:12:49 -05:00
Matthew Heguy
23121cd31d Fix desync
apoc: set data in token rather than relying on passed data to be valid
hydra: move data into Global to allow changes during runtime
2019-02-14 19:02:39 -05:00
Matthew Heguy
fbc57ef0e7 Add apocalypse 2019-02-14 11:44:05 -05:00
Matthew Heguy
28daf88f21 Overhaul rank system, command, donator, add probation rank 2019-02-12 20:22:12 -05:00
Matthew Heguy
4c0c7ed41c Fix lifecycle mistakes 2019-02-10 22:44:54 -05:00
plague006
a6f6cb4a3f No don't log this, give me the logarithm! 2019-02-10 15:53:09 -05:00
plague006
e574a2dc36 Use lifecycle 2019-02-04 18:02:15 -05:00
grilledham
d3cc27be0c
Merge pull request #737 from plague006/fix/chunklist
Chunklist: Create new table instead of writing to and passing the old event table
2019-02-04 20:46:11 +00:00
plague006
9742261a52 Drop deepcopy 2019-02-04 13:22:58 -05:00
Matthew
47551adb85
Merge pull request #725 from plague006/day_night
Refactor day_night
2019-02-03 14:15:50 -05:00
plague006
0a04f1d628 Logs to errors 2019-02-03 00:54:01 -05:00
plague006
8894a5e79d Refactor day_night 2019-02-03 00:54:01 -05:00
plague006
d8e865b060 Revert formatting change 2019-02-03 00:18:55 -05:00
Matthew Heguy
6fafdd89bc So long, inserts! 2019-02-03 00:18:55 -05:00
Matthew Heguy
79a5c954fe Localize functions! 2019-02-03 00:18:55 -05:00
plague006
194efa3d40 Debug removed 2019-02-02 23:08:14 -05:00