Commit Graph

295 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
Anuken
efbec69b3c Added Fallen Vessel sector submission 2026-01-10 21:48:53 -05:00
Anuken
6cdc054446 Fixed #11493 2025-12-25 19:02:44 -05:00
Anuken
134167cb2e Merge branch 'new-sounds' of https://github.com/Anuken/Mindustry 2025-11-23 19:58:39 -05:00
Anuken
848fcfad1f Insect/leg unit step sound 2025-11-20 21:06:59 -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
e8fc33ca9e Fixed #11366 2025-11-16 23:34:52 -05:00
EggleEgg
5ae6ffae8e consider efficiency in reactor heat (#11322)
* whatever

* final touches maybe

* well forget that, I m stupid

* no
2025-10-30 00:43:15 -04:00
Anuken
93b3f47d84 Fixed map re-import not working 2025-10-24 02:11:36 -04:00
Anuken
9cc3105518 Content patch import dialog & server support 2025-10-22 06:42:01 -04:00
Anuken
ffa5b98e11 Integrated many hidden sector submissions 2025-09-17 13:21:11 -04:00
Anuken
729f18726f Save version chunks changed to 4-byte lengths 2025-09-12 14:42:22 -04:00
Anuken
0320ccbccd Schematic content ID mapping 2025-08-01 04:32:17 -04:00
Anuken
a5138ab9dc Colored floor map preview fix 2025-07-22 19:08:16 -04:00
Anuken
17a5b2f387 Closes Anuken/Mindustry-Suggestions/issues/5742 2025-07-22 11:41:15 -04:00
Anuken
c0a551a006 Merge branch 'crux-floor' of https://github.com/Anuken/MindustryPrivate 2025-07-21 02:43:02 -04:00
Anuken
895c4da2f6 Better logging for unknown save versions 2025-07-18 11:22:11 -04:00
Anuken
24cfb000de Better colored floor/wall support 2025-07-17 16:09:45 -04:00
Anuken
4c8f956fef Fixed colored wall data reset 2025-07-15 14:59:58 -04:00
Anuken
7cc000ed46 Made tiles not clear overlay on setFloor + cleanup/refactor 2025-07-13 17:00:12 -04:00
Anuken
e53201347f Colored floor tile 2025-07-12 18:16:26 -04:00
Anuken
0939076b4d Better tile custom data support 2025-07-12 17:28:39 -04:00
Anuken
adcbcec706 Removed redundant 'shoot' unit stance 2025-07-02 00:56:59 -04:00
Anuken
88fc46fed2 Multiple unit stance support 2025-07-01 23:23:45 -04:00
Anuken
536f4db5fe Sublimate collision fix 2025-06-17 11:20:21 -04:00
Anuken
e5c745ee16 Generate autotiles at gradle pack time 2025-06-10 20:21:20 -04:00
Anuken
268a87a6c0 Sector save remapping 2025-05-22 18:46:29 -04:00
Anuken
e1e5bd5b3f Fixed #10806 / Fixed crash 2025-05-14 12:06:35 -04:00
Anuken
45f8144a2e RTS AI fixes and improvements 2025-04-22 19:42:05 -04:00
Anuken
bea50d3821 Sync spawned units immediately 2025-04-22 13:23:53 -04:00
Anuken
b7dbe54d76 Merging changes from private branch 2025-04-04 11:47:35 -04:00
Buj
88388fffeb Bring back language in trace, except it actually works now (#10420)
* Re-added 'language' in trace info (it actually works now)

* Updated c locale

---------

Co-authored-by: buj <buj351@outlook.com>
2025-02-04 13:44:58 -05:00
Anuken
aadb994bdc Changed BlockPlan#block to Block 2025-01-12 09:01:14 -05:00
Anuken
e262bb8254 Allow research dialog to be viewed on clients 2024-10-14 00:11:05 -04:00
酪桦姬
e4283a3064 Update SaveVersion.java (#10192)
some mods can use tile.data for some extra use for terrain
2024-10-04 15:15:12 -04:00
Anuken
5b9d3029a5 Loop unit transfer command 2024-09-17 18:03:31 -04:00
Anuken
295573142f Removing Nulls.unit 2024-07-10 16:40:32 -04:00
Redstonneur1256
9f92a5ac06 Logic Refactor (#9940)
* Replace logic variable indexes

* Fix `draw print`'s align

* Update core/src/mindustry/logic/LExecutor.java

Co-authored-by: Anuken <arnukren@gmail.com>

* Remove duplicated variables

* Update core/src/mindustry/world/blocks/logic/LogicBlock.java

---------

Co-authored-by: Anuken <arnukren@gmail.com>
2024-06-16 00:37:04 -04:00
Anuken
6243ef6d4a Fixed #9892 2024-05-27 09:40:52 -04:00
Anuken
1d894bdacd Objective marker cleanup & optimization 2024-01-14 12:41:20 -05:00
Anuken
a0f235b430 Make isSaveValid check backups 2023-12-10 15:48:35 -05:00
Anuken
e494806cc8 Better Flare/Avert targeting / Fixed targets resetting on save load 2023-12-10 08:32:49 -05:00
ApsZoldat
862d3153d9 Map-specific locale bundles system (#9199)
* Fix text setting in marker control

* Fix marker and bridge calculation game crashes, minor marker instruction code fixes

* Add privileged desynced client constant global variables

* Remove broken attempt to not initialize client vars on server

* Make @clientLocale variable non-constant, make @server and @client privileged

* WIP Implementation of map-specific locale bundles

* Progress on map locale bundles: add locale data to saves, make objectives use map locales if possible

* Add print formatting and map locale printing to world processors

* 🗿

* Minor map locales dialog ui changes

* Make map locale bundles load when joining multiplayer server

* Remove static declaration of current locale in MapLocales to fix tests failing

* Unify name of localeprint instruction, minor instruction description change, fix map locales incorrectly loading from clipboard

* Fix locale bundles not saving in game state, add  global var, make objective markers use map locale bundles and .mobile properties on mobile devices

* Even more map locales dialog improvements

* Fix english locale picking (when property isn't presented in current locale but english version has it) not working

* Add icon pasting to map locales dialog, minor ui changes

* Fix inconsistent game crash with null text in objectives, define player.locale on game loading (for clientLocale var)

* Change format instruction placeholders to backslash, fix map locales system incorrectly handling default locale

* understood
2023-12-01 21:14:10 -05:00
Anuken
9c10a09438 Simplification 2023-11-01 12:23:48 -04:00
Anuken
5fe4b9a36c alignment, comments 2023-10-31 12:38:55 -04:00
Anuken
e5047d752d Added dynamic status for custom speed/health/etc 2023-10-31 11:24:03 -04:00
Anuken
8bbf5b1f52 Marker instruction rework 2023-09-28 01:04:03 -04:00
ApsZoldat
8c777e79fa Add marker instruction to world processors (#9087)
* Basic implementation of world processor marker control

* Add line marker, some marker control fixes

* Add remote for setting markers, add marker writer/reader to TypeIO

* Add sides cap to ShapeTextMarker's draw() method

* Marker instruction code refactor, revert accident auto-formatting, fix marker control bugs

* Cleanup LMarkerControl.java

* Remove deleted marker controls from MapObjectives

* Marker control method refactor, fix minimap marker rendering

* Refactor, proper double comparsion in MapObjectives

* Fix line marker's color not changing through world processors
2023-09-27 17:17:59 -04:00
Anuken
276245bf3c Commands are now content 2023-09-23 17:10:19 -04:00
Anuken
06a5201ae8 Payload stances changed to commands 2023-09-22 18:32:35 -04:00