Commit Graph

264 Commits

Author SHA1 Message Date
router
9801dbdfd2 Add canGameOver to logic rules, fix trailing spaces (#10403) 2025-02-05 18:49:07 -05:00
1ue999
c4e25e312f Printchar (#10451)
* Added PrintChar operation

* Added 1ue999 to contributors

* Added PrintChar description, and improved the design of it.

* Ok intellij, removing the int cast

* Added capability to print content icons (@flare or @router)
https://github.com/Anuken/Mindustry/pull/10451#discussion_r1941282280

* Formatting changes (hopefully all of them)

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

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

---------

Co-authored-by: Anuken <arnukren@gmail.com>
2025-02-04 19:39:33 -05:00
SomeonesShade
a2f196a50e Unit Mine Speed Game Rule Implementation and World Processor Set Rule for Unit Mine Speed (#10318)
* unitMineSpeedMultiplier Creation
added unitMineSpeedMultiplier
added unitMineSpeed(Team team)

* World Proccesor: SetRuleI unitMineSpeed Implemented

* World Processor: SetRuleI unitCrashDamage Implemented

* Revert "World Processor: SetRuleI unitCrashDamage Implemented"

This reverts commit 1b7187b046.

* Forgor to add, unitMineSpeedMultiplier is now editable per team
2025-02-04 13:52:25 -05:00
Anuken
a91729aa27 Scaled logic explosions 2024-12-15 23:09:14 -05:00
Cardillan
18955d6604 Properly rounding numbers for display - fix for negative numbers (#10355) 2024-11-30 10:09:15 -05:00
Cardillan
a3110fde21 Properly rounding numbers for display (#10354) 2024-11-29 11:59:17 -05:00
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