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

50 Commits

Author SHA1 Message Date
RedRafe
26e1c28dc0
Factorio 2.0 update (#1436)
* Init Factorio 2.0 update

* add credits

* fix test module

* I know luackeck, I know

* Fixes

* Fix bad event.player_index handling

* Hotfixes

* Remove all filter inserters

* Migrate removed items

* Deprecating spidertron control and landfill features
2024-10-22 20:22:35 +01:00
RedRafe
4b040d1048
Add admin panel (#1432)
* Add admin panel
2024-09-02 21:32:20 +01:00
RedRafe
a1f1b81ca4
Update Frontier to V2 (#1420)
* Frontier V2

* Shortcuts default disabled
2024-08-10 14:36:11 +01:00
RedRafe
545a93f9a1
New map: Frontier (#1414)
* Add frontier scenario

* Updates to luackeckrc

* Move price_raffle from danger ore modules to features
2024-07-31 17:10:27 +01:00
RedRafe
acc257b8b6
April fools maps (#1404)
* Upload pinguin scenario

* Fix relative path

* Pinguin scenario modularization

* Update enemy_turrets.lua

Added energy interface controls to limit power available to enemy laser turrets, with laser_shots_per_level constant for balancing.

* Update floor_is_lava.lua

Now spawns fire under players when level is half of max.

* Explosion Scare Module

Added explosion_scare module. Chooses players to randomly explode (non-damaging) a number of times before switching to new targets. Explosion intensity increases as module increases.

* Update pinguin.lua

Removed comment block over modules.

* Added New Module: permanent_factory

Has a very small chance to make an entity unminable and undestructible when placed.

* MeteOres

Added new module: MeteOres.
Spawns a random meteor that damages entities, creates ore, and spawns biters.

* Update meteOres.lua

Added explosion to meteor

* Added Auto Build

Added auto_build module. Selects random players, and automatically builds the item in their cursor nearby for a while, before changing targets.

* New module: Unorganized Recipes

Added a new module to hide recipe groups and subgroups for random players. This leads to "unorganized" crafting menus.

* Update auto_build.lua

Fixed typo. I must have changed base targets to 0 instead of the global level when preparing this file for commit.

* Add Biter Ores Module

Add new module. Spawns ores on death of biters, worms, and spawners, based on difficulty of biter and level.

looks for ores on the tile the biter dies on to add to, otherwise looks nearby for an ore type and uses that, otherwise decides on a new ore type to spawn.

This should allow players to set up "farms" for their ores, creating reasonable ore patches.

Contains a RANDOM_ORES constant that will make the search radius small and ensure random ores are placed instead.

* Update biter_ores.lua

Found typo. radius should be .1 not 1 for tile directly beneath biter.

* Updated Existing Modules

Got luacheck setup in my IDE so we don't have to wait for RedMew to run it. Fixed white-space and other linting errors.

* Split AF scenarios

* Add alien biomes module

* Draft april-fools scenarios

* Fix draft issues

---------

Co-authored-by: R. Nukem <Reoisasa@gmail.com>
2024-03-28 23:27:27 +00:00
RedRafe
579dad4453
Add permissions module for DO (#1391)
* Enable 'no-blueprints' for all DO maps.
2024-01-14 14:18:25 +00:00
RedRafe
17f259fad2
Enhance tasklist GUI button with number of tasks (#1392) 2024-01-13 13:45:50 +00:00
RedRafe
112739c3a2
Add new DangerOre presets (#1383)
- Omnimatter
- Omnimatter cages
- Very BZ
- Exotic Industries
- Exotic Industries spiral
- Pyanodon Short
- Industrial Revolution 3
- Industrial Revolution 3 chessboard
2023-11-09 17:00:08 +00:00
RedRafe
ea164262dd Add 'events.on_script_trigger_effect' to luacheckrc 2023-10-07 15:15:01 +02:00
RedRafe
cfce440d9e Add 'script.active_mods' to luacheckrc 2023-10-04 08:44:50 +02:00
Cinecraft
5a63ac8337
Add Danger Ore Expensive Grid Factory (#1366) 2023-07-01 19:45:05 +01:00
Jayefuu
50c1bbdf47
Game statistics and player awards for danger ores. (#1305) 2022-04-01 12:22:33 +01:00
James Gillham
6f1edb7a63 Add _NO_CUTSCENE flag 2021-03-31 12:01:17 +01:00
grilledham
e093b92dc9
Merge pull request #1141 from grilledham/player_leave_reason
Add player leave reasons
2021-01-02 12:18:42 +00:00
James Gillham
234c3f5b24 Update .luacheckrc with defines.disconnect_reason 2021-01-01 18:06:36 +00:00
James Gillham
b3ee1c2b52 Add script.rasie_* events to .luacheckrc 2021-01-01 15:53:32 +00:00
James Gillham
a127196e9c Updates:
- update .luacheckrc.
- Add stack limits to airstrike and rocket tank market items.
- Refactor rocket_tanks.lua
2020-12-27 14:03:18 +00:00
James Gillham
816aa5ed7b fix .luacheckrc 2020-12-14 20:34:57 +00:00
James Gillham
83befd776e Gui.destory when loader_crafter closes + update .luacheckrc 2020-12-14 20:25:22 +00:00
James Gillham
47b2c9b4ee more clean_cursor -> clear_cursor 2020-11-25 17:37:54 +00:00
Claude
01e9b5a62d Update .luacheckrc
Ignore map luas helping lot 4min build time.
2020-08-11 18:41:08 +03:00
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