Commit Graph
211 Commits
Author SHA1 Message Date
BalaM314 68b06fdea6 Allow fetching unitCount by type, and buildCount without type (#9374)
* Allow fetching unitCount by type, and buildCount without type

* show in processor ui
2023-12-12 08:47:40 -05:00
Anuken de50b207e5 Revert back to {0}-style format 2023-12-01 21:16:37 -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 120860665d Fixed #9322 2023-11-28 05:31:14 -05:00
Anuken bc308847f4 Clarify that only ASCII is supported 2023-11-27 20:47:24 -05:00
Anuken 5f06ce0bff Added draw print instruction 2023-11-27 20:37:25 -05:00
ApsZoldat c4dc095adb Minor ban/unban instruction and join dialog changes (#9249)
* Make PlacementFragment update after world processor's ban/unban instructions, add buttons in community server list to add server as remote

* Small world processor ban/unban optimization
2023-11-11 09:55:01 -05:00
WayZer 84dc5550ab Optimize wait/message (#9086)
* add `IExecutor.yield` to optimize `wait`

* add MessageType.label. and add outSuccess

* remove `MessageType.label` in support `marks`

* amend

* amend
2023-10-06 13:20:53 -04:00
ApsZoldat 91d87e1dba Add privileged desynced client global variables (#9138)
* 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
2023-10-05 10:56:53 -04:00
Anuken e9a801bcef Closes Anuken/Mindustry-Suggestions/issues/4703 2023-10-01 18:47:37 -04:00
Anuken 177125a616 Fixed #9116 2023-09-29 21:25:12 -04:00
Anuken d41b6f219b Markers no longer synced 2023-09-28 18:25:20 -04:00
ApsZoldat 6119f3a507 Fix text setting in marker control (#9108) 2023-09-28 16:07:02 -04:00
Anuken 4ed6ed9bcb copy paste 2023-09-28 08:52:08 -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 78b4d366cc Closes Anuken/Mindustry-Suggestions/issues/4677 2023-09-21 12:33:09 -04:00
Anuken cc4efdd428 Fixed #9077 2023-09-20 10:59:55 -04:00
Mythril382 be525df065 Ban/Unban Blocks & Units with World Processors (#9052)
* uh

* mmmmmm

* hhhhhh

* i

* indicate
2023-09-12 13:56:16 -04:00
Anuken 4b6152ffe9 Removed pointless statement 2023-09-10 17:19:33 -04:00
Anuken c45f3d2253 #8897 2023-08-18 09:33:47 -04:00
Anuken 2f991a85af Added logic autoPathfind command 2023-08-13 11:05:43 -04:00
Anuken fb4787ba52 Closes Anuken/Mindustry-Suggestions/issues/4608 2023-08-11 12:16:40 -04:00
Anuken b7d707e8ba Do not allow various negative rule values 2023-08-05 13:29:15 -04:00
Anuken bc42b5a91e Fixed #8893 2023-08-04 10:59:33 -04:00
Anuken bd6c6524e6 WIP logic sync instruction 2023-08-02 22:16:39 -04:00
Anuken 6bf5e8ae1e WIP logic particle effect instruction 2023-08-02 22:15:44 -04:00
Anuken 6f725d320b Fixed #8838 2023-07-25 11:08:08 -04:00
BalaM314 d14cdfd59c Allow ulocate to output enemy buildings (#6704)
* Allow ulocate to output enemy buildings
Previously you would have to use ucontrol getblock to get the actual Building
that's weird and just confuses newbs
like me

* whoops, turns out ulocate doesn't have a range

* c o d e s t y l e

* Always return building object if on same team
2023-06-16 14:27:05 -04:00
Anuken ea27fa53bf unitHealth in logic 2023-05-06 21:56:56 -04:00
Anuken 583a1c69b6 Logic pathfind instruction 2023-04-24 23:59:46 -04:00
Anuken 72b456fca2 Optimized imports 2023-04-06 10:46:52 -04:00
Anuken bae3884d96 Basic setProp implementation 2023-03-09 05:25:35 -05:00
Anuken a38351d41f isLogicControllable 2023-02-23 16:12:52 -05:00
Anuken 5a2c987ea6 Fixed #8153 2023-01-11 09:23:22 -05:00
FlippingPotatoes 0ca33477d8 Expand getBlock functionality (#7702)
* Update LExecutor.java

* Update LUnitControl.java

* Update LExecutor.java

* Update LExecutor.java

* Update LExecutor.java

* Update LExecutor.java

* Update bundle.properties

* Update bundle.properties

* Update bundle.properties

* Update LExecutor.java
2022-10-13 10:13:17 -04:00
Anuken 84ff0649a2 Fixed #7680 2022-10-09 10:18:14 -04:00
Anuken 88d6c4c8f9 Full implementation of #7014 2022-10-04 13:07:23 -04:00
MEEPofFaith 31149c08ea More control over wave sending (#7442)
* Wave send rule

* Send natural wave command

* Use a boolean

* boolean selection

* Revert "boolean selection"

This reverts commit 01e7a8f0e0.

* Natural wave last

* I don't see why it wouldn't
2022-09-07 18:54:26 -04:00
Anuken 08d5ca1912 Removed shield breaker block 2022-09-04 16:32:13 -04:00
Anuken bc1ff011af parens 2022-09-01 10:49:41 -04:00
Anuken 5ecd73bdb0 Fixed #7495 2022-09-01 08:46:31 -04:00
Anuken 8dca512b37 Minor sound tweaks 2022-08-25 15:09:21 -04:00
Anuken 276a59b874 Fixed #7441 2022-08-25 00:49:11 -04:00
Anuken 43fae3b9e3 Fixed #7382 2022-08-17 10:34:34 -04:00
Anuken fae3360dfc Fixed #7327 2022-08-08 14:05:01 -04:00
Anuken 45e5ab8ecc Fixed #7310 2022-08-06 13:30:47 -04:00
BalaM314 d18579b59a Allow printflushing to null (#7243)
* Allow `printflush`ing to null

* Dumb
2022-07-28 09:41:31 -04:00
code-explorer786 29085b95b7 Fix setblock block not accepting @air (#7160) 2022-07-09 21:21:29 -04:00
Anuken 0c09c10741 Misc minor bugfixes 2022-07-08 16:38:25 -04:00