Commit Graph

134 Commits

Author SHA1 Message Date
WMF
a1b47b1188 per-team toggles for core no-build radius / placement range check (#11448)
* per-team toggles for core no-build radius / placement range check

* oops

* fair enough
2025-12-20 11:16:28 -05:00
Anuken
f0fac538ac Rule dialog entries for logic unit build/deconstruct rules 2025-12-19 12:04:47 -05:00
Anuken
460d3a0b44 Fixed #11384 2025-11-30 10:54:21 -05:00
Anuken
f410e24da0 Fixed #11127 2025-08-14 14:20:37 -04:00
Anuken
f0257790b8 Core fill items rule 2025-05-07 15:47:57 -04:00
Anuken
16cb530b99 Allow setting attack mode wave unit spawn position 2025-05-05 20:50:43 -04:00
Anuken
017fbeb4e9 Misc UI fixes 2025-04-13 22:23:32 -04:00
Anuken
c54b1dcb6a Clamp refund multiplier rule in UI 2025-04-12 09:32:19 -04:00
Anuken
2538115e6d Fixed #10594 2025-04-05 11:00:14 -04:00
ApsZoldat
212be01571 Minor editor/world processor fixes and tweaks (#10505)
* Rules search and info button tweaks

* Tweak spawnunit and some searching (again)

* Just revert a condition removal
2025-04-04 13:49:35 -04:00
Anuken
7a6222aa18 Revert "Allow markers to be used as light sources (#9733)" (#10490)
This reverts commit 8626082068.
2025-02-10 14:24:46 -05:00
Redstonneur1256
8626082068 Allow markers to be used as light sources (#9733)
* Allow markers to be used as light sources

* Better light source markers

* Move PointMarker drawLight to LightMarker

* Add a rule for unit lights

* Optimize marker rendering

* Update core/assets/bundles/bundle.properties

---------

Co-authored-by: Anuken <arnukren@gmail.com>
2025-02-09 12:10:45 -05:00
Anuken
588faad6f9 Rule for extra core no-build radius per-team 2025-02-06 14:27:35 -05:00
ApsZoldat
dcddabf8c1 Rules dialog changes (#9792)
* Info buttons on mobile

* Better banned content dialogs

---------

Co-authored-by: Anuken <arnukren@gmail.com>
2025-02-06 13:32:02 -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
7e01b8796e Moved BE/v8 servers to new repo / Removed experimental Vars 2024-10-05 11:28:39 -04:00
Anuken
0ffa6f1d00 Added random wave AI to custom rules dialog 2024-09-13 18:59:28 -04:00
Anuken
d8eabece7c WIP campaign difficulty dialog 2024-09-13 17:58:11 -04:00
Anuken
acbd8bb190 Added rule for editing world processors in-game 2024-08-30 12:40:47 -04:00
Anuken
4cab03a1ba Rules.hiddenBuildItems removed 2024-08-22 05:12:39 -04:00
Anuken
8df50a67ec Removed blacklist/whitelist-based planet item system 2024-08-22 04:51:37 -04:00
Anuken
400db1b1e8 In-game rule edit dialog 2024-06-24 14:11:56 -04:00
Jason
f26b03dc6c Map rule for air spawns (#9922)
* air use spawns

Signed-off-by: Jason <131086642+JasonP01@users.noreply.github.com>

* add the rule

Signed-off-by: Jason <131086642+JasonP01@users.noreply.github.com>

* add rule in ui

Signed-off-by: Jason <131086642+JasonP01@users.noreply.github.com>

* bundle

Signed-off-by: Jason <131086642+JasonP01@users.noreply.github.com>

* tie it to rules.waves

Signed-off-by: Jason <131086642+JasonP01@users.noreply.github.com>

* :)

Contributing.md says yes

Signed-off-by: Jason <131086642+JasonP01@users.noreply.github.com>

* indent

Signed-off-by: Jason <131086642+JasonP01@users.noreply.github.com>

---------

Signed-off-by: Jason <131086642+JasonP01@users.noreply.github.com>
2024-06-16 00:34:47 -04:00
Anuken
e80a523073 Rule dialog fixes 2024-04-13 19:56:56 -04: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
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
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
968fa2f9b1 Derelict repair rule 2023-10-30 21:01:04 -04:00
Anuken
844894f584 Localization cleanup 2023-09-16 11:40:53 -04:00
Anuken
73e9ed4919 Implements Anuken/Mindustry-Suggestions/issues/4665 2023-09-14 01:53:09 -04:00
Anuken
6bf5e8ae1e WIP logic particle effect instruction 2023-08-02 22:15:44 -04:00
Anuken
135874b922 Fixed #8787 2023-07-23 15:19:21 -04:00
Даркнесс#3729
4e5475f0ed Team improvements (#8704)
* Update Team.java

* Update ServerControl.java

* better

* kill me please

* kill me please

* kill me please

* Update bundle_ca.properties

* kill me please

* Update bundle_da.properties

* kill me please

* kill me please

* Update bundle_et.properties

* Update bundle_eu.properties

* Update bundle_fi.properties

* Update bundle_fil.properties

* Update bundle_fr.properties

* Update bundle_hu.properties

* Update bundle_id_ID.properties

* Update bundle_ja.properties

* Update bundle_ko.properties

* Update bundle_lt.properties

* Update bundle_nl.properties

* Update bundle_nl_BE.properties

* Update bundle_pl.properties

* Update bundle_pt_BR.properties

* Update bundle_pt_PT.properties

* Update bundle_ro.properties

* Update bundle_ru.properties

* Update bundle_sr.properties

* Update bundle_sv.properties

* Update bundle_th.properties

* Update bundle_tr.properties

* Update bundle_tk.properties

* Update bundle_uk_UA.properties

* Update bundle_vi.properties

* Update bundle_zh_CN.properties

* Update bundle_zh_TW.properties

* Update World.java

* Update CustomRulesDialog.java

* skill issue

* skill issue x2

* skill issue x3
2023-06-13 18:54:10 -04:00
Slotterleet
38b9027000 Dynamic selection of planet tech in rules dialog (#8487)
* Dynamic selection of planets in rules dialog

* Code cleanup

* Do not let Anuken/Mindustry#8494 happen again

* Fixed inconsistency with campaign sectors
2023-06-02 11:41:12 -04:00
Anuken
29855243cb Base building AI is back 2023-05-16 17:24:41 -04:00
JniTrRny
bb06c3f1e9 Wave limit game rule in custom maps (#8550)
* custom maps wave limit

* whoopsies
2023-05-06 23:04:31 -04:00
Anuken
43922edac8 unitHealthMultiplier re-implemented 2023-05-03 18:38:50 -04:00
Anuken
a8b18bea2f Fixed #8494 2023-04-09 16:01:35 -04:00
Anuken
60fc2fb5cd Doubled server object buffer size 2023-04-07 10:43:59 -04:00
MEEPofFaith
87949679f1 Make crash damage a multiplier instead of a toggle (#8151)
* Switch unitCrashDamage to a multiplier

* Add to rules dialog
2023-01-11 08:56:29 -05:00
Anuken
09b65fddb8 Fixed #7841 2022-11-07 15:07:32 -05:00
Anuken
b69cf34494 Rule cleanup/clarification 2022-10-06 14:17:55 -04:00
MEEPofFaith
a7c7238cc8 Whitelist Option + Hiding Banned Blocks Rules (#7553)
* Whitelist Option

* Hide banned blocks rule
2022-10-06 14:14:48 -04:00
Anuken
2149580aaa actually I'll just remove it and see who complains 2022-10-04 16:43:12 -04:00
Anuken
39e59103a5 Disable ammo rule on Erekir 2022-10-04 16:42:22 -04:00
Anuken
88d6c4c8f9 Full implementation of #7014 2022-10-04 13:07:23 -04:00
Anuken
49b789fc39 Allow mixtech in sandbox / Beta release tag 2022-10-03 22:23:46 -04:00
Anuken
713119fb29 Map limit visuals fix 2022-09-28 19:11:02 -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