Commit Graph

2502 Commits

Author SHA1 Message Date
Anuken
7c52444e3c typo 2023-05-19 12:30:45 -04:00
Anuken
b611e0f9f4 Tecta buff / Closes Anuken/Mindustry-Suggestions/issues/4427 2023-05-18 00:27:01 -04:00
Anuken
8b35b44489 Made default CacheLayer add method insert before 'normal' 2023-05-15 22:54:10 -04:00
Anuken
dbbb27ec0f Merge remote-tracking branch 'origin/master' 2023-05-13 10:51:10 -04:00
Anuken
89e942ee35 Fixed #8602 2023-05-13 10:51:05 -04:00
BalaM314
5ec0e9dc9f Use shouldExplode, explosionMinWarmup in generators (#8600) 2023-05-13 09:53:47 -04:00
Anuken
587c8c280c Better VariableReactorBuild explosion check 2023-05-12 12:16:32 -04:00
Phinner
0919063ca3 Add BlockRotateEvent (#8577)
* feat: Add BuildRotateEvent

* fix: Fix invalid argument

* fix: Goofy aaah static imports

* chore: Update ConfigEvent doc + Add forgotten annotation

* chore: Remove final keyword

* fix: Remove rotation validation in Build#beginPlace

* Already covered by client snapshots

* fix: Remove useless imports
2023-05-10 21:03:08 -04:00
Anuken
e60fff43bd Minor DrawPistons fix 2023-05-10 13:13:43 -04:00
MEEPofFaith
a5eda4fb2e Horizontal shifting of pistons (also adds proper icons for pistons) (#8345)
* Horizontal offset for pistons

* might as well fix icons in the meantime

* Make a positive offset shift to the right
2023-05-10 13:10:48 -04:00
Anuken
cac29c4ecc Placeable overlays 2023-05-10 12:48:41 -04:00
Anuken
0acb112f29 Allow placing floors (for mods) 2023-05-10 12:37:25 -04:00
MEEPofFaith
9aa45b2a7c Attempt healing targetting even if the bullet doesn't collide with ground targets (#8516) 2023-05-08 17:05:27 -04:00
Anuken
ccd2727ab5 Merge remote-tracking branch 'origin/master' 2023-05-08 12:15:06 -04:00
Anuken
820fd0d7fc Canvas block schematic preview 2023-05-08 12:15:00 -04:00
JniTrRny
23f1d24c45 Search bar for wave UI (#8501)
* wave search + other editor things

* everything but wave search
2023-05-07 10:42:45 -04:00
MEEPofFaith
cc17962d93 Clear invalid payload ammo (#8544) 2023-05-06 21:34:11 -04:00
BalaM314
c1d3cdc5cb Fix override of Building.block in PayloadSource (#8551)
* Would break(without crash) mods that read the block config of PayloadSource
2023-05-06 21:31:02 -04:00
MEEPofFaith
61a83d0f6e warmup and totalProgress for Pumps (#8536) 2023-04-28 10:42:31 -04:00
Anuken
7de6bd23ea Fixed #8529 2023-04-28 10:29:47 -04:00
Anuken
13297023fe Fixed #8525 2023-04-21 21:24:18 -04:00
Anuken
b83f5c66ca Fixed #8507 2023-04-15 22:17:46 -04:00
Anuken
e8fbfe536e Merge remote-tracking branch 'origin/master' 2023-04-09 18:16:30 -04:00
Anuken
b86ca1d12f Fixed #8496 2023-04-09 18:16:25 -04:00
MEEPofFaith
1629afe491 Ammo obliteration (#8498)
* alwaysShooting for turrets

similar to alwaysShooting for weapons

* Weapon alwaysShooting takes shootCone into account

Speaking of untested PRs...
2023-04-09 16:12:24 -04:00
Anuken
df87b03e57 Fixed #8495 2023-04-09 16:07:34 -04:00
Anuken
34b22f292c PR cleanup 2023-04-08 10:52:53 -04:00
JniTrRny
6dc3b7e729 More Dark UI in stats display (#8473)
* The Dark UI Menace

* Attack of the Dark UI
2023-04-06 19:07:24 -04:00
Anuken
2b11e1fb1e Fixed #8480 2023-04-06 12:15:12 -04:00
Anuken
72b456fca2 Optimized imports 2023-04-06 10:46:52 -04:00
Anuken
e62a5888ef Fixed some possible crashes 2023-04-03 16:40:12 -04:00
MEEPofFaith
6d71bcd2eb Multi shotgun fix (#8460)
* Multi-barrel shotgun fix

* multi-recoil support

* @Nullable for everything
2023-04-03 16:38:10 -04:00
MEEPofFaith
f55363a932 Fix janky sublimate ammo display (#8469) 2023-04-03 10:03:24 -04:00
MEEPofFaith
b322b1165f Parse singular consumes (#8466)
* Parse singular `Consume`s

* Proper coolant parsing

* Temporary manual update of ClassMap

Does not include all consume types.

I don't know what gradle command to run to update `ClassMap`. I've tried `tools:updateScripts` but that just cleared everything.
2023-04-02 19:53:19 -04:00
Anuken
251e10b000 Fixed #8465 2023-04-02 13:28:49 -04:00
Anuken
c267743874 Fixed #8463 2023-04-02 10:38:19 -04:00
MEEPofFaith
e51ab514a8 Proper speedup amount (#8461) 2023-04-02 00:19:33 -04:00
Anuken
fff8f567d0 Hide weapon sprites for certain units 2023-04-01 17:30:05 -04:00
Anuken
cc3694ce4a battery fix 2023-04-01 09:55:54 -04:00
Anuken
d2f2189441 Merge remote-tracking branch 'origin/master' 2023-03-31 22:03:02 -04:00
Anuken
e81cd5b68e Better impl of #8451 2023-03-31 22:02:57 -04:00
MEEPofFaith
ac19c3f160 bridgeReplacement for ducts (#8447) 2023-03-30 21:23:53 -04:00
MEEPofFaith
0de2c95f6e (Optionally) Scale efficiency of attribute crafters (#8433)
* Scale efficiency of attribute crafters

* Make it optional :D

* Call super
2023-03-26 14:53:14 -04:00
MEEPofFaith
fcb44e4952 Fix frags in frags creating a large empty space (#8430)
* Fix frags in frags creating a large empty space

* Change suppression message

Consistency with status duration

* Too little space between boxes
2023-03-26 11:53:46 -04:00
MEEPofFaith
6b936aa7f6 Better Ammo Stats Display (#8429)
* Cleaner ammo stats based on unit factory recipe stats

* Display suppression in bullet stats

Also reword from "regen" to "repair" to more accurately convey that build towers are affected as well.

* PointLaserBulletTypes don't display damage in dps

* Display preview region instead of region

* autoFixed
2023-03-25 22:45:07 -04:00
MEEPofFaith
9c3ddc398c Battery Graphical Updates (#8323)
* Battery Graphical Updates

* Add the vanilla fields back

* Add back topRegion and depricate it
2023-03-25 14:00:08 -04:00
BalaM314
08f63122ba Set controller after setting spawnedByCore (fix UnitChangeEvent) (#8428)
* CoreBlock.playerSpawn: Set spawnedByCore first
* The call to unit.controller() calls player.unit(unit)
* That function fires UnitChangeEvent
* The unit in UnitChangeEvent has spawnedByCore incorrectly set to false
* This caused me to waste an hour of my life while making a plugin

* Might as well improve code readability
2023-03-25 13:55:26 -04:00
MEEPofFaith
90f7bbae65 Make an interface for blocks that spawn tethered units (#8395) 2023-03-25 13:51:43 -04:00
Anuken
663fa2bd3f Fixed #8399 2023-03-25 13:16:12 -04:00
Anuken
ca2b51d4fe Merge remote-tracking branch 'origin/master' 2023-03-09 05:25:41 -05:00