1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-01-30 04:30:58 +02:00

272 Commits

Author SHA1 Message Date
Jayefuu
ca483ed3c9
Update commands.lua
- Fixed LUA check failures
- Added suggestions by grilledham
- Tested /restart still works from server console
2020-10-01 21:52:47 +01:00
Jayefuu
467092cd6e
Update commands.lua
- Changed behaviour for non-admins. Now checks for spawners, biters and turrets but doesn't require walls and power structures to be destroyed for restart
- Added checks to limit non-admins from changing the scenario by using an argument after /restart. Now defaults to current scenario for non-admins.
2020-10-01 21:08:09 +01:00
Jayefuu
1684d8924a
Update commands.lua 2020-09-25 11:30:48 +01:00
Jayefuu
4b2510cc47
Updated crash site /restart command so that guests and regulars can call it when map is cleared
Updated crash site /restart command so that guests and regulars can call it when map is cleared
- Only admin can abort, once the map is cleared.
- Guests and Regular can both call /restart when all enemy units and structures are dead
- Tested on S10 by running this command:
/c local surface=game.player.surface
for key, entity in pairs(surface.find_entities_filtered({force="enemy"})) do
	entity.destroy()
end
- Need to merge into develop to test on live server in case conditions at the end of the game are different
- Thought about adding rocket launched condition but decided against it.
2020-09-23 11:14:36 +01:00
James Gillham
00aa2c51c9 Revert "commands.lua update 2020"
This reverts commit d0dcf301d2aece4696a10368949ca5ea45009455.
2020-09-21 19:34:51 +01:00
Claude
d0dcf301d2
commands.lua update 2020
check if bitters == 0 in crachsite map
2020-09-21 21:03:25 +03:00
zahir
05cea798f3 spidertron bot spawn 2020-08-17 21:34:24 -04:00
grilledham
4d8aee20c5
Merge pull request #1070 from grilledham/crashsite_do_bot_spawn_bug
fix do_bot_spawn when event.cause is nil
2020-07-21 19:50:46 +01:00
James Gillham
0cb6780922 fix do_bot_spawn when event.cause is nil 2020-07-20 20:26:15 +01:00
Claude
42bdf2be6d
update link 2020-07-18 12:57:57 +03:00
Zahir Khan
645eb375a9
Minor fix
event parameter added to do_spawn_entity
2020-04-28 23:06:41 -04:00
Zahir Khan
e7d5044b59
different spawn rate for arty vs arty 2020-04-25 19:46:04 -04:00
Zahir Khan
8238351252
Artillery will cause bots to spawn 2020-04-25 18:17:12 -04:00
grilledham
c0406c5acb
Merge pull request #985 from Zahir-Khan/In_progress
Feature - Combat bots spawn when player kills a turret.
2020-04-18 17:46:18 +01:00
Zahir Khan
f900cb8d39
small balance change 2020-04-18 01:38:31 -04:00
James Gillham
578f3465e4 refactor on_entity_died event 2020-04-16 12:40:43 +01:00
grilledham
7f8efca5a5 Fix restart state not reset when fails to start sceanrio.
When a scenario fails to start the restarting state was not reset, which prevented another restart from being started. We now clear the restarting flag.
2020-04-15 23:03:51 +01:00
Zahir Khan
ede8802e92
Modifiers for Combat bots 2020-04-06 18:15:01 -04:00
Zahir Khan
530ab4f307
Update entity_died_events.lua
Factorio devs fixed the bug.
2020-04-06 16:30:47 -04:00
grilledham
8ef36c6099 crashsite world map 2020-02-08 13:47:51 +00:00
Zahir Khan
f4739e9edd
Update scenario.lua 2019-12-07 19:55:30 -05:00
Zahir
dfad5aa8e7 added mapgen to cutscene 2019-12-07 19:47:59 -05:00
Zahir Khan
734693a19f
Update cutscene.lua 2019-12-04 16:48:26 -05:00
Zahir Khan
6a43accf85
Update cutscene.lua 2019-12-04 16:07:51 -05:00
Zahir Khan
db66b17314
Update cutscene.lua 2019-12-03 21:38:51 -05:00
Zahir Khan
b0354cdb39
Update cutscene.lua 2019-12-03 21:01:01 -05:00
Zahir Khan
e17c3d28f7 Prevent character collision 2019-12-03 20:47:30 -05:00
Zahir Khan
9ea33b6303 one skip btn press needed
Added supporting changes to cutscene_controller.lua
2019-12-03 20:47:30 -05:00
grilledham
a98aea7b49 missing entity + desync fixes 2019-12-03 20:47:30 -05:00
Zahir Khan
4244afd8c5 Condensed code 2019-12-03 20:47:30 -05:00
Zahir Khan
3afde6617b Added player valid check 2019-12-03 20:47:29 -05:00
Zahir Khan
99a7657681 Timing tweaks for the new strings. 2019-12-03 20:47:29 -05:00
Zahir Khan
46ccb4c277 Added cutscene init 2019-12-03 20:47:29 -05:00
Zahir Khan
5f456347b2 Update cutscene.lua
minor addition
2019-12-03 20:47:29 -05:00
Zahir Khan
8a0873f68f Update scenario.lua 2019-12-03 20:47:29 -05:00
Zahir Khan
20bc8cb5cb Update cutscene.lua 2019-12-03 20:47:29 -05:00
Zahir Khan
f1e8911968 Create cutscene.lua 2019-12-03 20:47:29 -05:00
Zahir Khan
d66b62c19a Added cutscene outpost 2019-12-03 20:47:29 -05:00
grilledham
a7ec8e9856 Change biters to spawn worms on death 2019-11-01 16:04:43 +00:00
grilledham
0f88751faf fix crashsite no wall bug 2019-10-14 19:04:46 +01: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
grilledham
3e28c29a70 reduce number of trees correctly 2019-08-03 14:26:34 +01:00
grilledham
afa2019faa less trees 2019-08-03 12:16:19 +01:00
grilledham
0eb844b17f 0.17.60 oil changes 2019-07-30 17:30:47 +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
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
grilledham
c7c6120f55 outpost balance 2019-07-21 18:37:03 +01:00
grilledham
2ba2086618 respawn power poles 2019-06-21 21:29:35 +01:00