Commit Graph

366 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
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
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
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
0aa1bd7df9 Multi-building command selection 2025-07-27 00:50:10 -04:00
Anuken
24cfb000de Better colored floor/wall support 2025-07-17 16:09:45 -04:00
Anuken
88fc46fed2 Multiple unit stance support 2025-07-01 23:23:45 -04:00
Anuken
7da5f0a6d9 Fixed #10915 2025-06-13 00:03:31 -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
16cb530b99 Allow setting attack mode wave unit spawn position 2025-05-05 20:50:43 -04:00
Anuken
d820557bd3 Procedural sectors on Serpulo now require a Foundation core 2025-05-01 17:12:17 -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
Anuken
e414b02030 Keybind search bar + modding support 2025-04-28 22:13:32 -04:00
Anuken
ca550545bc Allow commands/stances even when units do not have them in common 2025-04-28 16:25:44 -04:00
EggleEgg
2d8e99339b Serpulo transport stuff + qol (#10706)
* death penalty, instant

* idk if to leave to exactly 11/s or 12/s

* yass display changes

* broke

* hhh

* a

* welp, good enough

* ok fixed

* totally not stealing from foos. Yup

* revert dump

* a
2025-04-26 10:58:13 -04:00
Anuken
ec6740c8da Unit payload enter command snapping 2025-04-26 00:04:25 -04:00
Anuken
847a201597 Unit stances for specific item mining 2025-04-25 15:44:49 -04:00
Anuken
847ec1813e Allow controlling/selecting units with LogicAI 2025-04-21 14:23:01 -04:00
Anuken
061caaa092 Crash fixes 2025-04-13 22:36:12 -04:00
Anuken
753262d436 Fixed #10615 2025-04-10 20:47:02 -04:00
Anuken
80815bf8a1 Fixed #10554 2025-04-04 12:14:59 -04:00
Anuken
ae75123d3e Fixed #10553 2025-04-04 12:12:16 -04:00
Anuken
2fea619357 Fixed #10550 2025-04-04 12:12:16 -04:00
Anuken
b7dbe54d76 Merging changes from private branch 2025-04-04 11:47:35 -04:00
Anuken
a7f38ac2a6 Make patrol stance pursue targets 2025-01-28 22:34:07 -05:00
Anuken
aadb994bdc Changed BlockPlan#block to Block 2025-01-12 09:01:14 -05:00
Anuken
0f492e0c7a Misc fixes and unit selection tweaks 2024-11-27 21:51:13 -05:00
Anuken
ec0ba9f424 Better unit selection visuals / Bigger unit physics collision circles 2024-11-27 12:03:42 -05:00
Anuken
8e6010ad8c Fixed #10305 2024-10-31 22:32:32 -04:00
Anuken
1d68f99c75 Fixed plans being canceled by blocked units 2024-10-30 19:17:36 -04:00
Anuken
1558783b7d Persistent player spectating on desktop 2024-10-29 10:08:04 -04:00