Commit Graph

917 Commits

Author SHA1 Message Date
Anuken
0a224c52b4 Fixed #10042 2024-07-21 07:53:34 -04:00
Anuken
2f1f334d65 Turret ammo sync 2024-07-16 14:17:10 -04:00
Anuken
295573142f Removing Nulls.unit 2024-07-10 16:40:32 -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
Anuken
caf0ab581d Item deposit cooldown rule (default: 0.5 sec) 2024-06-30 10:28:01 -04:00
Anuken
87584ebd0b Minor power graph optimization 2024-06-20 17:41:36 -04:00
Elixias
0019b78f71 Custom shield colouring (#9647)
Five extra minutes I had the luxury of spending fixing Git because it exploded again

Co-authored-by: Anuken <arnukren@gmail.com>
2024-06-20 11:27:22 -04:00
Anuken
5c9e9e3ff4 Block solid sensor 2024-06-16 01:24:52 -04:00
Anuken
f1f17965bc Fixed #9888 2024-05-26 09:31:40 -04:00
Uenhe
d9ea8beae2 Call onRemoved() in StatusEffect.java when an effect is removed (#9801)
* Call onRemoved() in StatusEffect.java when an effect is removed

* Call onRemoved() in StatusEffect.java when an effect is removed

* cleanup

* cleanup
2024-05-02 09:41:59 -04:00
Anuken
7fcde1e109 Fixed derelict blocks not repairing when resources are not present 2024-04-24 22:40:20 -04:00
Anuken
7d3c94de9b Moved drawMining to UnitType 2024-04-23 09:42:05 -04:00
Anuken
9dd17ca16b Moved drawBuilding to UnitType 2024-04-23 09:32:46 -04:00
Anuken
31f4957657 Removed UnitComp#uiIcon() 2024-04-22 17:31:13 -04:00
BalaM314
7b759d41df Disable leg damage on disarmed units (#9755)
* Disable leg damage on disarmed units

* import

* Disable crush damage from disarmed units
2024-04-19 09:40:47 -04:00
Anuken
32957b63b9 Merge branch 'new-pathfinding' of https://github.com/Anuken/Mindustry 2024-04-18 12:48:26 -04:00
Anuken
604e732edb Switched to unit UI icons for minimap/players 2024-04-18 10:05:21 -04:00
Anuken
5e22b093e6 more bugfixes 2024-04-17 23:13:10 -04:00
Anuken
27e0eabec7 Merge branch 'master' of https://github.com/Anuken/Mindustry into new-pathfinding 2024-04-15 13:08:48 -04:00
Anuken
569d0f8fac Fixed #9747 / Fixed #9746 2024-04-14 11:17:57 -04:00
Anuken
1144871b29 Merge remote-tracking branch 'origin/master' 2024-04-10 15:31:15 -04:00
Anuken
e280edac67 Fixed #9731 2024-04-10 15:31:09 -04:00
MEEPofFaith
fd303524e9 #9706 done smarter (#9723)
* Convert from explicit check to interface

* Apply the interface to other turret-like blocks
2024-04-09 11:16:49 -04:00
MEEPofFaith
58d6b3e2d6 Make ChildComp work with turrets (#9706) 2024-04-06 09:52: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
nuri (smol)
ee412c61fc pierceFragCap (#9684)
Co-authored-by: SMOLKEYS <SMOLKEYS@users.noreply.github.com>
2024-03-29 15:01:59 -04:00
ApsZoldat
999a63c5f4 Minor fixes (#9467)
* Minor fixes

* Change javadoc for statusSpeed()

* 🧠🔨
2024-01-31 16:12:49 -05:00
Anuken
eddcd8fc6d Minor building optimization 2024-01-28 15:50:05 -05:00
Anuken
6f3e75569c Added instantBuild rule for editor 2024-01-23 21:22:02 -05:00
Anuken
836e0a6f66 Fixed speed multiplier not affecting omni rotation speed 2024-01-07 10:35:31 -05:00
Anuken
fae167a91d Minor optimization 2024-01-06 12:53:48 -05:00
Anuken
eeefdd8054 Crash fix 2023-12-10 21:55:21 -05:00
Anuken
1eb70404d7 GC retention fixes 2023-12-10 20:01:40 -05:00
Anuken
e494806cc8 Better Flare/Avert targeting / Fixed targets resetting on save load 2023-12-10 08:32:49 -05:00
Anuken
c353163c34 Fixed #9342 2023-12-02 20:04:34 -05:00
Anuken
b189bfdf44 Closes Anuken/Mindustry-Suggestions/issues/4780 (dumping neoplasm from tanks) 2023-11-19 19:09:15 -05:00
Anuken
587ff8bb46 Proper path cost support 2023-11-15 20:03:55 -05:00
Anuken
381fd12aad Still terrible 2023-11-11 19:59:14 -05:00
Anuken
1d051b5c16 Add setProp of speed/armor 2023-10-31 12:20:18 -04:00
Anuken
e5047d752d Added dynamic status for custom speed/health/etc 2023-10-31 11:24:03 -04:00
Anuken
ef7ee5fdfe Fixed #9195 2023-10-23 11:34:54 -04:00
Anuken
3229c1e7b7 Derelict block click repair 2023-10-23 11:18:01 -04:00
Redstonneur1256
4ddd1f7ca0 Add sensor for player camera (#9103)
* Add sensor for player camera

* Fix sensor for player camera
2023-09-28 01:48:38 -04:00
Anuken
2aab745603 WIP grouped unit arrival 2023-09-24 07:44:42 -04:00
Anuken
f633fb0af5 Fixed setProp x/y not teleporting on strict servers 2023-09-22 10:06:43 -04:00
Anuken
2e0c5619b1 WIP command queueing 2023-09-19 17:25:49 -04:00
Anuken
66ad4e1798 Fixed commanded units attacking invalid targets 2023-09-18 23:18:55 -04:00
Anuken
8c93fb5f10 Fixed some crawling unit visual issues 2023-09-14 00:50:30 -04:00
Zerenta
8a9b123b81 Navanax buff (#8925)
* Update UnitTypes.java

its late at night imma just commit changes and pray i didnt fuck up anywhere

* Allow changing suppress effect color
* Fx.regenSuppressParticle and Fx.regenSuppressSeek now color-aware
- regenSuppressParticle's color handling changed, allows changing the from color intead of the to color
* Damage.applySuppression accepts color as an argument, old method signature still exists
* SuppressionFieldAbility has a new field allowing to specify the color for effect particles
* BulletType has a new field allowing to specify the color for suppress effect particles
* BuildingComp has a new field storing the color to be used for suppression effect

* name

---------

Co-authored-by: BalaM314 <71201189+BalaM314@users.noreply.github.com>
2023-09-12 16:31:38 -04:00
Anuken
34ba2cfd41 Fixed #9049 2023-09-11 20:00:20 -04:00