Commit Graph

258 Commits

Author SHA1 Message Date
Anuken
9f877c9f20 Fixed setblock not being synced 2024-08-31 08:44:23 -04:00
Anuken
493b9807ff Removed @solid remnants 2024-08-25 17:01:06 -04:00
Anuken
f5a75de872 Fetch player block fix 2024-08-23 04:09:06 -04:00
Anuken
55dfffa4bc Hide internal units from logic 2024-08-23 04:00:18 -04:00
Anuken
074684e935 Closes Anuken/Mindustry-Suggestions/issues/5184 2024-08-22 03:21:24 -04:00
Anuken
e4b1bde974 Fixed #10132 2024-08-21 03:21:31 -04:00
Mythril382
bace523de4 Allow PlaySound To Work Normally With High IPT World Processor (#10083)
* allow global sound to play more than once per frame

might need an arc pr for the positional

* carhash

* thing

* extra field

* change "check frame" to "limit"

* description

* Update core/assets/bundles/bundle.properties

---------

Co-authored-by: Anuken <arnukren@gmail.com>
2024-08-06 11:14:29 -04:00
Anuken
27f20b7a36 Better implementation of #10047 2024-08-03 00:51:31 -04:00
Anuken
345d710b4b Merge branch 'do-you-hear-the-voices-too' of https://github.com/Mythril382/Mindustry into logic-sound-2 2024-08-03 00:02:50 -04:00
Anuken
295573142f Removing Nulls.unit 2024-07-10 16:40:32 -04:00
Anuken
0021f98335 Merge branch 'master' into do-you-hear-the-voices-too 2024-07-07 11:31:09 -04:00
TripleToxic
82bcf5966e Sensors, SetProp, and SetRule (#9943)
* some fun things for world proc only

* fix the format artifact

* SetProp and reformating

* Wildcard imports

* Wildcard imports

* velocity conversion

* compacting description

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

* Update core/src/mindustry/world/blocks/defense/turrets/Turret.java

---------

Co-authored-by: Anuken <arnukren@gmail.com>
2024-07-07 11:28:19 -04:00
Mythril382
94ebec4b6d should 2024-06-21 01:50:48 +08:00
Mythril382
07d20a8da5 refactor 1 2024-06-17 02:21:55 +08:00
Mythril382
f4882d6615 Merge branch 'master' into do-you-hear-the-voices-too 2024-06-17 02:06:46 +08:00
Redstonneur1256
58dbc5104f Logic data instruction (#9935)
* Logic `data` instruction

* Rename to `clientdata` & reliable option

* frog

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

---------

Co-authored-by: Anuken <arnukren@gmail.com>
2024-06-16 09:29:35 -04:00
Anuken
56b0deb910 Removed @solid variable 2024-06-16 01:35:48 -04:00
Anuken
7f9eb87313 Logic icon support for all blocks 2024-06-16 01:11:54 -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
Mythril382
41e2183793 Merge branch 'master' into do-you-hear-the-voices-too 2024-05-28 00:40:31 +08:00
Mythril382
0067af0e2c changes 2024-05-28 00:31:00 +08:00
Mythril382
dbb62bd87c nullcheck 2024-05-27 23:10:07 +08:00
Mythril382
7f80a1879e sound id 2024-05-27 03:35:37 +08:00
Anuken
be64defc37 Logic filter cleanup 2024-04-25 10:34:44 -04:00
BlackDeluxeCat
bac6f7cfa9 Add logic filter (#7251)
* logic filter

* bundles

* available in map editor

* @this = null

* generating only

* ensure not using net

---------

Co-authored-by: Anuken <arnukren@gmail.com>
2024-04-25 10:23:13 -04:00
Mythril382
74cf56d43c h 2024-04-12 14:03:32 +08:00
Mythril382
67fc5ba15b h 2024-04-12 13:47:58 +08:00
Mythril382
63783a1795 why don't you do this by default 2024-04-12 12:15:32 +08:00
Mythril382
05d499fb18 bingor 2024-04-12 12:09:52 +08:00
Cubical box
d3a78a9d42 Fetching unit by type, build without type, and fixing a nullpointer crash (#9703)
* Pluh

* Pluh

* Update LExecutor.java

* fixed the null

* Update LExecutor.java

* I will point your null exception

* is it null or nah

* it is nah

* Update LExecutor.java

* Update LExecutor.java

* null zero
2024-04-02 10:03:14 -04:00
MEEPofFaith
60c6e03d32 Weather with World Logic (#9621)
* Weather sense

Honestly, doesn't seem game changing enough to warrant privileged restriction.

* Weather set

* Rename "snow" to "snowing"

Fix conflict with the snow floor block, though I don't know if this'll have negative repercussions on saves.

* Don't last forever

* Cleanup and bundle

* add space
2024-03-14 14:25:03 -04:00
Anuken
e3b24ac980 WIP logic display transform matrix support 2024-02-26 10:29:14 -05:00
Anuken
54967429fe Fixed #9566 2024-02-17 09:03:09 -05:00
Redstonneur1256
b9bf4ee794 Allow markers to be deleted (#9485) 2024-01-23 22:05:14 -05:00
Redstonneur1256
9d4f5ff87c Fix wait instruction inconsistency (#9479) 2024-01-20 09:37:18 -05:00
Anuken
944797f8e1 Cleared unit timeouts on reset 2024-01-15 12:59:21 -05:00
BlackDeluxeCat
931c03945d Further Fixed #7310 (#9456) 2024-01-15 12:58:36 -05:00
Anuken
1d894bdacd Objective marker cleanup & optimization 2024-01-14 12:41:20 -05:00
ApsZoldat
8ab37c5ce4 Merge branch 'master' of https://github.com/Anuken/Mindustry into markers-update 2023-12-15 19:39:30 +03:00
ApsZoldat
317a533b5c millimicronanopico setmarker texture fix (object print consistency) 2023-12-13 18:24:08 +03:00
ApsZoldat
5830259e41 Markers draw code refactor, minor text marker control changes 2023-12-12 22:40:33 +03:00
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
ApsZoldat
4802076bf8 WIP marker changes, fix server name not appearing for saved hosts in join dialog 2023-12-10 22:44:30 +03:00
ApsZoldat
c20684025e Small git shenanigans to actually (i really hope) revert all the bad stuff 2023-12-07 18:24:51 +03:00
ApsZoldat
cf131696bd Merge remote-tracking branch 'upstream/master' 2023-12-04 22:43:59 +03:00
ApsZoldat
cf02b0f36d Make setmarker ignor null values, remove redundant marker control operations 2023-12-04 22:39:32 +03: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
ApsZoldat
557f2d4447 Merge branch 'master' of https://github.com/Anuken/Mindustry into markers-update 2023-11-28 22:08:33 +03:00
Anuken
120860665d Fixed #9322 2023-11-28 05:31:14 -05:00