Commit Graph

633 Commits

Author SHA1 Message Date
Redstonneur1256
47d28c0d20 Logic sensor (#10795)
* Add `selectedBlock` logic sensor

* Add `buildX`/`buildY`/`building` logic sensors

* Change `building` from boolean to the building

* `breaking`

* Make `breaking`/`building` more consistent

* Allow blocks/content to be null

* Change `selectedBlock` from air to null

* Change `selectedBlock` from air to null

* Make `selectedBlock` SyncLocal

* Add `selectedRotation`
2026-02-07 20:52:33 -05:00
Mars
a8e829e3ee Ensure onNewPlan() is also called on mobile when placing schematics (#11581) 2026-02-04 14:23:24 -05:00
EggleEgg
3e0aafea36 Bugfix: selection size area text on mobile (#11590)
* I m blaming foos devs for my all mistakes and problems and global warming and the price of housing

* STOP IMPORTING RANDOM CLASSES VSCODE

* huh
2026-02-04 13:55:16 -05:00
Anuken
b9da705564 Fixed #11601 2026-02-04 13:36:15 -05:00
Anuken
4f9ea8b70d JSON Unit type requirements cache fix / Better FlyingAI flag targeting 2026-01-16 17:31:18 -05:00
Anuken
c23a0a1e62 Special border for challenge sectors (WIP) 2026-01-07 23:30:58 -05:00
Anuken
ac95b2b9fa Merge remote-tracking branch 'origin/master' 2026-01-01 11:14:05 -05:00
Anuken
0bf2eea358 Disabled line rotation lock on mobile / Disabled command queue 'stealing' 2026-01-01 11:13:57 -05:00
SomeonesShade
4122a9d51d Reactivity and Assorted Changes (#11245)
* Implemented turretDepositCooldown (1)

* Implemented activationTime for Turrets (1)

* activationTime for Turrets Fixes (2)
readSync() line isn't needed,
Overdrive should not make the cooldown go faster, it stays as is unless there is a good argument against it.

* activationTime (3): Descriptions and SetBars()
Updated arc and lancer descriptions.
Added setBars() stuff for clearness.

* turretDepositCooldown (2):
now depositCooldown and is now on a per turret basis if needed... will potentially need further iteration

* turretDepositCooldown (3): made it opt in
added an internal gamerule (long name, need to reduce it later) to enable the balance (oriented for pvp)
depositCooldown = 0 by def
added depositCooldown entries in Blocks.java

* activationTime (4): Minor Adjustments to UI

* activitationTime (5): Implemented drawInactive() and inactiveColo, and arc/lancer sprite
Thinking if I should set the sprites to be white, then use Color.gray...

* turretDepositCooldown (4): Made the cooldown only affect turrets

* Reload Turret Coolant Fixes (1)
Made coolant and overdrive effects not get chopped off from Math.min when its too high

* activationTime (6): activationTime is now at the Base Turret Level
Also implemented the code for TractorBeamTurret thanks to the code changes
Parallax can have the feature if needed for future balancing.
Hopefully nothing was screwed up in the transition...

* Counterbalance (1): Swarmer 8 -> 7 firerate nerf, and Cyclone 7.5 -> 6 firerate nerf [First Attempt]

* Reload Turret Coolant Fixes (2): added a buffer if the excessReload exceeds more than 2 reloads.

* Reload Turret Coolant Fixes (3): hotfix, the buffer actually works this time

* turretDepositCooldown (5): Made the cooldown seperate from itemDepositCooldown

* Implemented armorMultiplier (1)

* fixing a merge

* (AT:7a) Reverted Saving Capability

* (AT:7b) Removed activation timer from lancer and arc as well as sprites

* (AT:7c) Removed visuals for activation timer
will be reimplemented via a greyscale effect if returned rather than via sprites

* (AT:7aa) oops

* Made the default value 0 when placed - Activation Timer (8)

* (depositCooldown : 6) Moved depositCooldown to Blocks.java, cleaned up canDepositItem(), removed enableTurretDepositCooldown

* armorMultiplier (2) - oops, made armorMultipler = 0 correspond to 100% armorPiercing

* Update core/src/mindustry/input/InputHandler.java

* Reload Turret Coolant Fixes (4): A bit too high

---------

Co-authored-by: Anuken <arnukren@gmail.com>
2025-12-31 14:39:22 -05:00
Anuken
dc4eada23f Rotation & repair sounds / Explosion sound rename 2025-12-10 11:55:00 -05:00
Anuken
e77a1e2f2a Sound file reorganization 2025-12-09 14:59:40 -05:00
Anuken
128851a127 Fixed selection hexes for legged units not being visible 2025-12-07 23:09:51 -05:00
Anuken
1a9b9669d7 Closes Anuken/Mindustry-Suggestions/issues/5967 2025-12-07 23:06:53 -05:00
Anuken
8900967afe Fixed #11425 2025-12-07 11:18:49 -05:00
WMF
f48900d6de Quality of Life changes (#11370)
* overlay light support, bulk Call.setItem implementations, Call.setLiquid implementations

* Update core/src/mindustry/graphics/BlockRenderer.java

---------

Co-authored-by: Anuken <arnukren@gmail.com>
2025-11-16 23:43:54 -05:00
Anuken
1df6c5d0ca Allow desktop players to configure blocks and view inventories when dead 2025-10-31 02:14:18 -04:00
Anuken
9f7817f70e Fixed #11304 2025-10-21 14:22:37 -04:00
WMF
c2c1271a4c use BoostAI for enterPayloadCommand & better onlyDepositCore handling (#11297) 2025-10-18 10:31:47 -04:00
Anuken
1985d67f7a Closes Anuken/Mindustry-Suggestions/issues/5877 2025-10-03 18:41:12 +09:00
Anuken
fd632a3b55 Fixed #11240 2025-09-26 12:33:04 -04:00
Anuken
7c57211807 Potential sector data carry-over fix 2025-09-19 23:09:37 -04:00
Anuken
6ab5776064 Fixed tests 2025-09-19 15:48:48 -04:00
Anuken
cc4119a837 No shooting in the editor 2025-09-19 14:08:17 -04:00
Anuken
625c354461 Fixed #11207 2025-09-05 12:00:30 -04:00
Anuken
fdf0640d65 Turret rotation during placement / Status effect display changes 2025-08-29 19:15:19 -04:00
Anuken
6d86707781 Utility schematic method changes / Geothermal map submission update 2025-08-20 12:09:25 -04:00
Anuken
c6e4900825 Fixed #11152 2025-08-19 15:27:07 -04:00
Anuken
a6e8683b45 Fixed #11114 2025-08-10 09:41:44 +02:00
Anuken
e95c543fb2 Allow commanding units properly even when player is dead 2025-07-28 18:04:15 -04:00
Anuken
0aa1bd7df9 Multi-building command selection 2025-07-27 00:50:10 -04:00
DarkJune
f138fb96b7 Updates building when related button state changes + Reordering (#11028) 2025-07-21 03:15:45 -04:00
Anuken
24cfb000de Better colored floor/wall support 2025-07-17 16:09:45 -04:00
Anuken
95a6850ce5 Reverted power node build time multiplier / No mono global selection 2025-07-15 10:58:20 -04:00
Anuken
877bb473df Debug hitbox toggle hotkey 2025-07-06 12:59:45 -04:00
Anuken
88fc46fed2 Multiple unit stance support 2025-07-01 23:23:45 -04:00
Anuken
b3cdec91b8 Fixed #10962 2025-06-23 12:19:13 -04:00
Anuken
96b0544261 Fixed #10927 2025-06-14 10:29:51 -04:00
Anuken
f4e8325238 Fixed player stuck shooting in certain situations 2025-06-13 19:02:40 -04:00
Anuken
7da5f0a6d9 Fixed #10915 2025-06-13 00:03:31 -04:00
Iniquit
9419f85642 Allow holding the cargo pickup & dropoff key (#10859)
Allow holding down the cargo pickup & cargo drop keys to repeatedly pick up or drop off payloads. This takes effect after a short delay so that tapping to pick up or drop off individual payloads is still reliable.
2025-05-31 10:18:14 -04:00
Anuken
2161dd519a Sector layout changes 2025-05-21 23:07:59 -04:00
ity
5bcaff0694 Update InputHandler.java (#10813) 2025-05-16 14:17:32 -04:00
Anuken
648b5c4e69 Fixed #10780 2025-05-07 15:56:48 -04:00
Anuken
16cb530b99 Allow setting attack mode wave unit spawn position 2025-05-05 20:50:43 -04:00
Anuken
fff8f20745 Fixed #10759 2025-05-04 23:05:42 -04:00
Anuken
bbe3b6f79d Merge remote-tracking branch 'origin/master' 2025-05-01 17:12:24 -04:00
Anuken
d820557bd3 Procedural sectors on Serpulo now require a Foundation core 2025-05-01 17:12:17 -04:00
KochiyaUenehaaa
3886bd972d fixed spell (#10751)
* Update Binding.java

* Update UnitCommand.java
2025-05-01 11:57:57 -04:00
Anuken
aecc3980fd Fixed #10748 2025-05-01 10:38:48 -04:00
Anuken
1a07efd80b Do not command select logic controlled units by default 2025-05-01 10:27:47 -04:00