Commit Graph

1740 Commits

Author SHA1 Message Date
Marcel Märtens
1912617e84 implement slowjob metrics to measuere time in queue and execution time 2021-07-22 19:31:21 +02:00
Imbris
29dd58cf64 Reduce duplicate storage fetching since it has overhead 2021-07-18 15:09:37 -04:00
Snowram
4a7bdfd4a5 Adds a liveness check for mounting 2021-07-18 15:04:02 -04:00
Jonathan Berglin
214e6c1d42 Resolve all approved error supressions 2021-07-18 17:11:46 +00:00
Samuel Keiffer
42d6e4b118 Merge branch 'juliancoffee/overworld_assetization' into 'master'
Wildlife assetization

See merge request veloren/veloren!2591
2021-07-18 13:43:32 +00:00
Imbris
c60b02223b Merge branch 'revert-eb08b6a1' into 'master'
Revert "Resolve all '#[allow(clippy::approx_constant)]' error supressions" and re-address the lint using just the PI constant

See merge request veloren/veloren!2639
2021-07-18 08:00:43 +00:00
Imbris
7c60b9577c Revert "Merge branch..."
This reverts merge request !2608
2021-07-17 22:04:59 +00:00
Dr. Dystopia
33e57a46b3 Resolve all '#[allow(clippy::needless_return)]' error supressions 2021-07-17 21:47:17 +02:00
Dr. Dystopia
5b591c4d95 Resolve all '#[allow(clippy::useless_conversion)]' error supressions 2021-07-17 16:55:11 +02:00
juliancoffee
78b780e8bd Fix bug with ignoring second_tool in EntityInfo 2021-07-17 15:37:30 +03:00
Imbris
d776cafa4a Merge branch 'aweinstock/fix-waypoint' into 'master'
Spawn players aboveground when using `/site` or when their waypoint is underground.

See merge request veloren/veloren!2612
2021-07-16 23:18:33 +00:00
Avi Weinstock
b9b666c2dc Address MR 2612 review comments. 2021-07-16 17:46:48 -04:00
Samuel Keiffer
651b775932 Merge branch 'knightresspaladin/healing-aura' into 'master'
Knightresspaladin/healing aura

See merge request veloren/veloren!2587
2021-07-16 21:32:03 +00:00
Avi Weinstock
a463b8b171 Defer repositioning until after chunks are generated normally, to reduce latency and avoid duplicate work. 2021-07-16 15:42:50 -04:00
Marcel
b67cf70c70 Merge branch 'savalige/ai_spacing' into 'master'
Issue #1153 - Improve combat AI spacing between Agents of the same Alignment

Closes #1153

See merge request veloren/veloren!2451
2021-07-16 16:40:27 +00:00
Avi Weinstock
47d185d094 Spawn players aboveground when using /site or when their waypoint is underground. 2021-07-15 17:54:29 -04:00
Avi Weinstock
c037a75310 cargo fmt 2021-07-15 15:52:10 -04:00
Knightress Paladin
60b11ca408 Cleaned up chunk-relative block setting math 2021-07-15 12:36:00 -07:00
Knightress Paladin
c80c5c6ab4 Implemented setting blocks with the wiring system 2021-07-15 12:36:00 -07:00
Savalige
2a1a84fef7 Added a spacing_radius method to body to make it possible to sett different spacing for different entities 2021-07-15 13:33:51 -04:00
Savalige
04651971c2 Made the spacing also take the radius of the entity into account per @zesterer suggestion and added a baias variable to change how much priority should be given to separation vs target(1.0 being only focus on separating and 0.0 being only focus on target) 2021-07-15 13:33:51 -04:00
Savalige
a4458bc335 fixing issue #1153 - Improve combat AI spacing between Agents of the same Alignment 2021-07-15 13:33:51 -04:00
Jonathan Berglin
51aa54ba8d Resolve all '#[allow(clippy::approx_constant)]' error supressions 2021-07-15 16:56:55 +00:00
Dr. Dystopia
7c1d35c02e Resolve all '#[allow(clippy::useless_format)]' error supressions 2021-07-15 13:46:53 +02:00
juliancoffee
5d00aa341c Make all Ships constanly flying, not only rtsim 2021-07-14 23:23:35 +03:00
juliancoffee
2b2d5d7541 Teach AI how to interact in this evil world 2021-07-14 19:26:12 +03:00
juliancoffee
7923876fe4 Teach AI how to forgive 2021-07-14 19:26:11 +03:00
juliancoffee
7394430548 Teach AI how to heal again 2021-07-14 19:26:11 +03:00
juliancoffee
df477f7d3b Cleaning 2021-07-14 19:26:11 +03:00
juliancoffee
263b068a83 Teach AI how to leap again
+ adjust hammer and axe AI timings
2021-07-14 19:25:55 +03:00
juliancoffee
eeafd01b03 Teach AI how to glide again 2021-07-14 15:24:15 +03:00
juliancoffee
7f30760ce9 Agent code refactoring
0) extracting code branches to closures
1) make RTSim remember target, even if they can't speak about it
2) make only RTSim Ships constantly flying (and not every flying RTSim)

You can tame RTSim Phoenix, yay
2021-07-14 14:55:50 +03:00
holychowders
a1db073af5 Make Guards Defend Villagers 2021-07-14 07:40:43 +00:00
Marcel Märtens
e2cd431908 fmt after applying clippy fixes after toolchain update 2021-07-12 12:09:27 +02:00
Marcel Märtens
7153e8879d fix clippy warnings 2021-07-12 12:09:09 +02:00
Sam
192078c6fb Added buff strength stat to weapons. 2021-07-11 12:50:38 -05:00
Knightress Paladin
a2c89cd66b Added healing aura duration skill to voxygen UI 2021-07-10 20:02:36 -07:00
Knightress Paladin
97e59fc633 Added combo scaling to healing aura and allowed cultists to use it 2021-07-10 20:02:36 -07:00
Knightress Paladin
c0752cd6dc Added check to prevent sceptre AI from canceling its own ward 2021-07-07 20:01:00 -07:00
Knightress Paladin
484fc3f161 Clean up sceptre ai code before merge 2021-07-07 20:00:35 -07:00
Knightress Paladin
64ff6c3754 Fixed formatting 2021-07-07 20:00:35 -07:00
Knightress Paladin
4bd34d1871 Add check to see if cultist already has ward buff 2021-07-07 20:00:35 -07:00
Knightress Paladin
7d35383be5 Added sceptre tactic and sceptre cultists 2021-07-07 20:00:01 -07:00
Joshua Barretto
7a6a8a741a Merge branch 'DixieDev/569-fix-inventory-and-lantern-usage-while-dead' into 'master'
Fix players having inventory and lantern control while dead

Closes #569

See merge request veloren/veloren!2569
2021-07-07 18:44:01 +00:00
DixiE
86fd512647 Fix players having inventory and lantern control while dead 2021-07-07 13:18:24 +01:00
Avi Weinstock
fdb5dedac1 Fix integral error calculations in PID controller, and change coefficients for airship and hot air balloon. 2021-07-06 16:52:12 -04:00
Knightress Paladin
f729ec3d3d Formatted code to omit continue keyword 2021-07-05 19:41:25 -07:00
Knightress Paladin
a771bea612 Added check for exploding lava and glowing blocks 2021-07-05 19:41:25 -07:00
Enrico Marconi
bd503de294 Actually check if entity is alive 2021-07-05 16:09:39 +02:00
Enrico Marconi
9ec2bf9eb7 Check if entity is alive before applying a buff 2021-07-05 16:09:39 +02:00