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

1384 Commits

Author SHA1 Message Date
Jayefuu
9b39e35d0d Player data types updated
- Saves more kill data to Scoreboard
- Displays total kills in score board
- Saves player data to crash site scenario data set
- Added scenario name to data set so that if we later want to add data for danger ores we can filter it out
2021-01-02 11:37:16 +00:00
grilledham
b18dad52cb
Merge pull request #1137 from grilledham/server_start_data
Add server start_data.
2021-01-01 18:22:45 +00:00
James Gillham
9564d51dcc Add server start_data. 2020-12-30 20:19:22 +00:00
Jayefuu
58eaa07add Updated price after balance testing 2020-12-30 15:16:28 +00:00
grilledham
b7ad574517
Merge pull request #1131 from grilledham/danger_ore_restart
Danger ore: Add simple rocket launch condition and restart command.
2020-12-29 12:58:32 +00:00
James Gillham
8f7d040c12 Change locale danger_ore->danger_ores 2020-12-29 12:38:25 +00:00
Jayefuu
7b4ac037f7 Updated crash site data save location
Changed  data_set name that crash site data is stored in from test set to real.
2020-12-29 06:29:42 +00:00
James Gillham
e55d8987e8 Add simple rocket launch condition and restart command. 2020-12-28 22:28:21 +00:00
Jayefuu
a93eb2d4ea
Merge pull request #1128 from Refactorio/rocket-tanks
Crash site rocket tanks
2020-12-28 08:32:17 +00:00
Jayefuu
903a78de54 Updated rocket tank balance
- Reduced intervals for each level from 3, 2, 1, 0.5 seconds to 2, 1.5, 1, 0.5 seconds.
- Reduced cost from 7500 per level to 4000 per level.

These changes should make the tank useful in the period of the game for which it's designed. I will watch the next few games to check balance and adjust if it's too OP.
2020-12-28 08:25:24 +00:00
James Gillham
2f53b43165 Send report to discord. 2020-12-27 15:57:22 +00:00
James Gillham
b6221a57c2 Fix broken item.name check 2020-12-27 14:17:42 +00:00
James Gillham
7501c7b28c Fix lua check 2020-12-27 14:07:06 +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
Jayefuu
deefaa6892 Final updates
- Made changes suggested by grilledham
- Disabled market item when research levels complete so that the tooltip can still be seen
- Changed cost to 7500 extra per level
2020-12-27 07:30:15 +00:00
Jayefuu
674fe5dd43 Updated as per grilledham's comments. 2020-12-27 07:07:53 +00:00
Jayefuu
81bf3dec1d Rocket tanks first draft 2020-12-26 17:08:59 +00:00
Jayefuu
f28f76157e Update commands.lua 2020-12-26 08:48:07 +00:00
Jayefuu
a27b428583 Fixed lua warnings 2020-12-24 11:40:17 +00:00
Jayefuu
d32fcefe0d Added additional statistics to JSON scenario data
Previously we couldn't tell if a restart was due to game win or fail. Statistics are now saved that include the start and end epoch, the game time in ticks (so we can gauge activity), how many biters, worms and nests were killed, how many enemy_entities remain (so we can tell if the map was cleared) and how many players participated in total.
2020-12-24 06:52:14 +00:00
James Gillham
663f40e6d9 Ping map-promotion channel on crashsite restart. 2020-12-23 16:08:20 +00:00
Jayefuu
2e1b2651cb Update events.lua 2020-12-14 19:27:08 +00:00
Jayefuu
c758b6d4a8
Merge pull request #1116 from Refactorio/artillery-pickup-bug-fix
Fixed artillery pickup exploit
2020-12-13 16:06:18 +00:00
Jayefuu
c078cc1b4d Update events.lua
Final comment update.
2020-12-13 16:05:23 +00:00
Jayefuu
7b248dc2d9 Update events.lua
- Updated comments to be accurate
- Changed balance after discussion with grilledham
2020-12-13 15:53:58 +00:00
Jayefuu
b3a0665566 Updated strike cost
The strike count and cost described by the market was correct but the actual number of capsules sent and the number of capsules removed from the chest was wrong. Bug due to starting index, have now updated the maths to be correct.

Tested and the market description, number of shots fired and the number of capsules removed from the chest are now correct.
2020-12-13 15:40:32 +00:00
Jayefuu
80675bf928 Updated logic order following discussion
Rearranged the order of the code so that it's more performant and added comments to further explain the logic and reasons for the complications, ie. the cheesing with artillery.
2020-12-13 14:49:49 +00:00
Jayefuu
09f25b2b05 Updated strike max range 2020-12-09 18:33:33 +00:00
Jayefuu
c79cbca22d Fixed /strike command range issue
Previously the airstrike was not reaching the corners of the map. There was a default max_range value of 1000 that limited how far the poison capsules could travel. Have set it to 1400 so that it can reach the corners of the map.

THIS NEEDS PLAY TESTING. Please don't merge until I've confirmed I've play tested it.
2020-12-08 09:12:12 +00:00
Jayefuu
052c6f17cc Update events.lua 2020-12-08 08:18:31 +00:00
Jayefuu
f42367bb7c whitespace 2020-11-29 21:54:15 +00:00
Jayefuu
fcca5de12a Logic change and lua check fixes 2020-11-29 21:52:41 +00:00
Jayefuu
ecff8f86eb Fixed part of artillery pickup exploit
- Current behaviour is that when destroyers/defenders are created their target position is set to the entity that killed them.
- If a player picks up the artillery after the capsules spawn then they lose their cause.target and stop, not reaching the cause of the turret death.
- I've changed this behaviour so that if the target.cause is artillery then it spawns a defender/destroyer projectile NOT an entity. The projectile target can therefore be a position not an entity. So the capsules won't stop if the artillery is picked up.
- If the cause is not artillery turret or wagon then a destroyer/defender capsule entity is spawned instead of a projectile because a projectile cannot track the player.
- If the player picks up the artillery turret before the projectile that kills a turret arrives then the event cause.name will be missing and no bots spawn at all. I have changed the behaviour so that "if not cause" then we assume they're doing something fucky. We won't have the entity cause name or position, so let's just spawn double the normal amount of destroyers and just send them at 0, 0 since we know nothing else to do with them.
2020-11-29 21:26:01 +00:00
grilledham
e86cc2a8f5
Merge pull request #1114 from Refactorio/crash-site-air-strrike
Airstrike command
2020-11-29 19:47:27 +00:00
Jayefuu
2a6092d2e4 Added chest check 2020-11-29 18:39:32 +00:00
Jayefuu
fd047c7868 Update commands.lua 2020-11-25 21:35:16 +00:00
Jayefuu
4cee264d63 Changed find_entitieS_filtered to count_entities_filtered 2020-11-25 21:33:04 +00:00
Jayefuu
2dffbba928 woops 2020-11-25 21:19:35 +00:00
Jayefuu
fa70f1e832 Updated as per comments 2020-11-25 21:18:07 +00:00
Jayefuu
40d3b4e452 Uncommented admin print 2020-11-25 15:32:52 +00:00
Jayefuu
13a2c40acb Updated localisation and inconsistencies 2020-11-25 14:57:05 +00:00
James Gillham
89b3af7f15 Fix diggy gui button styles 2020-11-24 20:20:45 +00:00
James Gillham
4c227a14e8 luacheck - remove trailing whitespace 2020-11-24 20:20:26 +00:00
James Gillham
2bd3348287 ammo-category fixes 2020-11-24 17:45:07 +00:00
James Gillham
762d31d465 Gui fixes 2020-11-24 17:44:31 +00:00
James Gillham
171737e587 Remove removed items/entities. 2020-11-24 16:39:22 +00:00
James Gillham
0b95a25f1d Change train_saviour to use 'player-port' instead of 'small-plane'. 2020-11-24 16:39:22 +00:00
James Gillham
dd0ddd131e technology renames. 2020-11-24 16:39:22 +00:00
James Gillham
df4225eca1 clean_cursor -> clear_cursor 2020-11-24 16:39:21 +00:00
Jayefuu
45759bd39c Updated grief check
- Changed grief check to use xpos, ypos and radius
- Tested it works
2020-11-20 21:43:19 +00:00