Commit Graph

482 Commits

Author SHA1 Message Date
JeanJPNM
66b4c79f38 fix spawnwave ui when natural is a variable (#10307)
Previously you couldn't set the x and y parameters of the
spawnwave instruction if the value for the "natural"
parameter was not exactly "false", now you can set them
with "false" and any other variable name, except "true".
2025-02-04 13:58:44 -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
d414a65cbb Fixed #10394 2025-01-12 10:16:04 -05:00
Anuken
7fbf4cacad Pruned server_v7.json to fix iOS server ping crash 2025-01-11 21:11:48 -05:00
Anuken
a91729aa27 Scaled logic explosions 2024-12-15 23:09:14 -05:00
Anuken
1dacb7989e Status apply statement cleanup 2024-12-11 14:14:08 -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
84beffd3b0 Mobile search fixes 2024-11-09 13:12:18 -05:00
Anuken
e4aa633982 Instruction type search bar + add hotkeys in logic dialog 2024-11-09 13:11:12 -05:00
Anuken
e1759adcfe Fixed #10173 2024-09-04 21:44:45 -04: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
fc883ca2f3 Logic canvas cleanup 2024-08-25 09:02:13 -04:00
Anuken
6e3cc13a26 Fixed logic scroll bar glitch 2024-08-24 16:01:06 -04:00
Anuken
22bd8c634f Fixed counter displaying as null / Revert #10090 2024-08-24 14:08:04 -04:00
Anuken
b451b51e61 Fixed logic variables being 0 by default 2024-08-24 14:01:00 -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
camelStyleUser
8cb6348c12 real (#10130) 2024-08-21 03:27:57 -04:00
Anuken
e4b1bde974 Fixed #10132 2024-08-21 03:21:31 -04:00
Anuken
44ec8c5e0e Merge branch 'master' of https://github.com/Anuken/Mindustry 2024-08-16 16:00:51 -04:00
Anuken
8e8b99d421 Removed most usage of Scene#hit 2024-08-16 16:00:47 -04:00
camelStyleUser
f347dc4c84 Update LAssembler.java (#10126)
anook please dont forget
2024-08-16 15:35:36 -04:00
JeanJPNM
2ad38fc3b0 Fix the sfx selection gui for playsound (#10095)
* fix the index used to get the sfx substring

* handle cases where the sxf variable is not a built-in

This prevents a crash that happened whenever the sfx
variable's name had less than 5 characters (4 before this
pr), since the substring method was called regardless of
the name's size.
2024-08-06 20:27:25 -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
WayZer
728cb2b3e3 Fix Lag in LCanvas.java (#10090) 2024-08-05 16:34:40 -04:00
Anuken
f0b931380a Fixed #10085 2024-08-04 22:20:20 -04:00
Anuken
27f20b7a36 Better implementation of #10047 2024-08-03 00:51:31 -04:00
Anuken
571e788170 Fixed sound instruction layout 2024-08-03 00:17:54 -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
36f07c2590 im not even sure if this is reliable 2024-07-06 12:17:22 +08:00
Mythril382
51dc58379b Merge branch 'master' into do-you-hear-the-voices-too 2024-07-06 12:12:51 +08:00
Mythril382
94ebec4b6d should 2024-06-21 01:50:48 +08:00
Anuken
7a42cffa6d Update LStatements.java 2024-06-17 07:40:30 -04: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
5c9e9e3ff4 Block solid sensor 2024-06-16 01:24:52 -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
ff35e6a7d8 mythril that's a seq, NOT an objectmap 2024-05-27 23:13:43 +08:00
Mythril382
dbb62bd87c nullcheck 2024-05-27 23:10:07 +08:00