Commit Graph

1459 Commits

Author SHA1 Message Date
Mythril382
64986a58e1 tooltip 2024-04-12 21:55:47 +08:00
ApsZoldat
a8135aa042 Custom rules dialog enhancement, small fixes (#9665)
* Rule categories and search in custom rules dialog

* Fix wrong info about format placeholders in all unfinished locales

* Rule search fix, rule info system, some stuff for easier rules dialog modding

* Why not to fix what i can?
2024-04-11 17:56:34 -04:00
Anuken
11c1211d65 Fixed #9722 2024-04-07 20:54:01 -04:00
Anuken
7bec60de12 Fixed snow name 2024-04-05 21:00:37 -04:00
Anuken
a8588c38b4 Fixed #9687 2024-03-30 14:22:22 -04:00
MEEPofFaith
2fb5bc56c6 Better Ability Stats (#9654)
* Fix armor plate multiplier + change Math.round to Strings.autoFixed

* Missing ability name bundles

* Center ability name

* SuppressionFieldAbility stats

* Is two per row is acceptable?

I can revert this commit if not.

* LiquidExplodeAbility stat display

* MoveLightningAbility stat display

* Better SpawnDeathAbility display

* Fix multiplier coloring inconsistencies

Some had [lightgray] before %/x, some had it after

* Consistent content name display

Match with bullet status effects

* Consistent stat formatting

Convert from some being "stat: #" and some being "# stat" to all being "# stat"

* Re-order stats

* Optimize Imports

* Add ability descriptions

* Apparently I forgot LiquidRegenAbility

* Mention healing allies if displayHeal = true
2024-03-30 00:11:39 -04:00
MEEPofFaith
d8c1ea17e1 Make payload blocks run onDestroyed() of the block payload it carries when destroyed. (#8253)
* Payloads go boom.

* When a payload unit dies too

* Keep the functionality, but limit it to a rule
2024-03-29 15:17:19 -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
9bedc0bcd4 Added world switch to bundle 2024-03-02 22:49:54 -05:00
Anuken
d8a66b7b25 Bundle change for #9591 2024-02-24 12:31:06 -05:00
SITUVNgcd
d79a306970 Gammar & context fix (#9559)
- `lglobal.@clientMobile = True is ...` => `lglobal.@clientMobile = True if ...`
- `lenum.colori = Indexed position, ...` => `lenum.colori = Indexed color, ...`
2024-02-16 09:52:41 -05:00
Anuken
2fd92b8c80 Processor global variable dialog 2024-02-09 18:09:41 -05:00
ApsZoldat
999a63c5f4 Minor fixes (#9467)
* Minor fixes

* Change javadoc for statusSpeed()

* 🧠🔨
2024-01-31 16:12:49 -05:00
Redstonneur1256
6a429184aa update markers (#9506)
* update markers

* update markers & minimap rendering
2024-01-30 19:35:39 -05:00
Anuken
1d894bdacd Objective marker cleanup & optimization 2024-01-14 12:41:20 -05:00
Anuken
84add050a9 Merge branch 'markers-update' of https://github.com/ApsZoldat/Mindustry into ApsZoldat-markers-update 2024-01-14 11:41:36 -05:00
Anuken
a4c137b6b8 Fixed #9452 2024-01-13 12:20:14 -05:00
Anuken
2191c89fe3 Fixed #9438 2024-01-07 08:52:35 -05:00
Anuken
61945e5ce7 Clearer sector capture notification 2024-01-05 08:22:12 -05:00
Anuken
33178c1635 Added launch hint for Erekir 2023-12-29 09:48:05 -05:00
ApsZoldat
5830259e41 Markers draw code refactor, minor text marker control changes 2023-12-12 22:40:33 +03: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
2b0a6a6f97 Merge branch 'master' of https://github.com/Anuken/Mindustry into markers-update 2023-12-07 18:26:55 +03:00
Anuken
351c2c84f2 Fixed banned Steam users loading indefinitely 2023-12-05 15:17:55 -05: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
ApsZoldat
02a53daa58 Marker autoscale now works outside of minimap mode, another yet lmarkercontrol instructions cleanup, fix renderer's draw color breaking after drawing markers 2023-11-28 22:00:08 +03: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
6ea2188bee Add minimap mode to other objective markers 2023-11-27 22:56:26 +03:00
ApsZoldat
c434e18f8f Add drawing layers to markers 2023-11-13 23:25:44 +03:00
Phinner
d2595543f9 Update French translations (#9140)
* chore: Synchronize lines

* chore: Remove empty space in bundle.properties

* chore: Translate to baguette

* Fixes for baguette language translations (#3)

* fix fpr translate to bagette language

---------

Co-authored-by: Phinner <62483793+phinner@users.noreply.github.com>

* chore: Smolchange

* chore: Apply @VizardAlpha suggestions

---------

Co-authored-by: ZetaMap <56844734+ZetaMap@users.noreply.github.com>
2023-11-12 21:19:45 -05:00
ApsZoldat
6dff68e7d9 Texture marker implementation 2023-11-07 22:42:42 +03:00
Ilya246
6014f2353a foreshadow overhaul (#9223)
* overhaul foreshadow

* whar ?
2023-11-02 08:58:26 -04:00
Anuken
968fa2f9b1 Derelict repair rule 2023-10-30 21:01:04 -04:00
Anuken
3229c1e7b7 Derelict block click repair 2023-10-23 11:18:01 -04:00
Anuken
e391434dc9 Unit enter payload command 2023-10-20 01:48:11 -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
d63133c720 Bindings per command/stance 2023-09-23 12:02:06 -04:00
Anuken
06a5201ae8 Payload stances changed to commands 2023-09-22 18:32:35 -04:00
Anuken
b6c28bc27d Added stances for payloads 2023-09-22 18:22:19 -04:00
Anuken
f633fb0af5 Fixed setProp x/y not teleporting on strict servers 2023-09-22 10:06:43 -04:00
Anuken
78b4d366cc Closes Anuken/Mindustry-Suggestions/issues/4677 2023-09-21 12:33:09 -04:00
Anuken
8598eedd6f Keybind tweaks 2023-09-21 10:40:44 -04:00
Anuken
a6ec8f4bcc Ram stance + Mobile command queue support 2023-09-21 09:57:57 -04:00
Anuken
9d9d5d2e18 Patrol + pursue target stances 2023-09-20 22:45:45 -04:00