Commit Graph

13672 Commits

Author SHA1 Message Date
Isse
3d3a6eab2b Fix items not dropping when no exp is given. 2023-04-25 11:33:44 +02:00
Imbris
4becb2c616 Refactor iteration over cardinals for bridges to explicitly check for the cardinal direction instead of using specific indices, performance seems roughly the same. 2023-04-25 01:10:34 -04:00
Imbris
29f0f0d83f Rename cheapest_score for clarity and add documentation to fields of NodeEntry 2023-04-24 22:43:40 -04:00
Isse
4d79c89a0c Merge branch 'floppy_multiloot' into 'master'
Add multiloot

See merge request veloren/veloren!3839
2023-04-23 19:17:40 +00:00
Isse
ab4076518f Add multiloot 2023-04-23 19:17:39 +00:00
Imbris
1a287e4e89 Merge branch 'imbris/docs-index' into 'master'
Generate index page for documentation using unstable flag

See merge request veloren/veloren!3895
2023-04-23 17:35:28 +00:00
Imbris
fa7b6a1746 Merge branch 'imbris/3883-todo' into 'master'
Apply TODO from !3883 and a few other refactors

See merge request veloren/veloren!3893
2023-04-23 00:28:17 +00:00
Joshua Yanovski
2c4cbf1404 Merge branch 'pegasus4903/fix_french_errors' into 'master'
Fix french errors

See merge request veloren/veloren!3894
2023-04-22 19:17:05 +00:00
pegasus4903
534454cf05 Fix french errors 2023-04-22 19:17:05 +00:00
Imbris
8da8b56308 Generate index page for documentation using unstable flag 2023-04-22 14:16:34 -04:00
Imbris
362bd129c2 Merge branch 'ubruntu/mount_overhead_tweak' into 'master'
Hide display name of mount while mounted (at full hp)

See merge request veloren/veloren!3892
2023-04-22 18:13:14 +00:00
ubruntu
b53bfd4246 Hide display name of mount while mounted (at full hp) 2023-04-22 18:13:13 +00:00
Imbris
cd02b3a172 Apply TODO from !3883 and refactor to avoid collect in Inventory::damage_items, also reduce to iterating over the hashmap once when culling the recently unequipped items list 2023-04-22 11:37:52 -04:00
Imbris
87f042eb45 Lower max attempts for site placement to 15 from 100, to save time in the case of sites that can't easily be placed 2023-04-22 00:13:51 -04:00
Imbris
d18100c87a Add a max cost parameter to the astar algorithm so that it will terminate as exausted if this limit is reached. This is used to optimize site pathfinding by exiting early from finding a novel path if we know it won't be used. 2023-04-21 23:16:24 -04:00
Imbris
ed94c1c1b6 Fix existing bug with all site route costs be computed as 0 2023-04-20 22:22:21 -04:00
Imbris
c0db1310be Fix bug 2023-04-20 21:53:59 -04:00
Imbris
c82e6cfc77 Cleanup, fmt, appease clippy 2023-04-20 21:53:59 -04:00
Imbris
c6f5e8dac2 Add more profiling spans to Server startup related things in order to
visualize where time is being spent. Make `Lod::from_world` use the same
rayon pool as other things during the server startup. Move parallel
iteration up out of structure_gen.par_iter in order to slightly optimize
Lod::from_world (saves a few hundred milliseconds on my machine)
2023-04-20 21:53:59 -04:00
Imbris
92a42ced18 Apply experimental astar2 changes to the original impl 2023-04-20 21:53:59 -04:00
Imbris
d1ca47da41 Remove astar node clustering related code 2023-04-20 21:53:59 -04:00
Imbris
81885fe8e5 Additional optimizations (such as avoiding calling find_path when we know we won't use the result or that it will fail), cleanup of excess notes and commented code, probably other misc optimizations 2023-04-20 21:53:59 -04:00
Imbris
1f5ebbd100 mess (server startup time related experimentation, in particular with
pathfinding between sites)
2023-04-20 21:53:59 -04:00
Imbris
ed4643e80b Add profiling spans for Server::new and World::generate 2023-04-20 21:53:59 -04:00
Samuel Keiffer
4b6c5f57e3 Merge branch 'sam/track-unequipped-items' into 'master'
Recently unequipped items are now tracked and durability loss on death is applied to them

See merge request veloren/veloren!3883
2023-04-19 23:23:04 +00:00
Sam
4f991190d3 Removed 3rd to_owned call 2023-04-19 18:43:43 -04:00
Sam
e819cd2309 Updated hashbrown, removed some to_owned calls in handling recently unequipped items 2023-04-19 18:43:40 -04:00
Sam
63bf8f3ac7 Responded to review comments and fixed tests 2023-04-19 18:34:17 -04:00
Sam
7fdfc0e71b Addressed review 2023-04-19 18:34:17 -04:00
Sam
d0a902d918 Being attacked now cancels all active trades. 2023-04-19 18:34:16 -04:00
Sam
c1a64e1d69 Recently unequipped items are now tracked and durability loss on death is applied to them 2023-04-19 18:34:16 -04:00
Isse
77785faeec Merge branch 'isse/shader-fixes' into 'master'
Two small shader fixes

See merge request veloren/veloren!3889
2023-04-19 21:37:03 +00:00
Isse
1494d93fc8 fix cloud tearing 2023-04-19 22:46:35 +02:00
Isse
1442dd29f1 fix NaN issue in apply_point_glow_light 2023-04-19 21:14:19 +02:00
Isse
4b831f884e reduce the offset of clouds on the horizon 2023-04-19 21:01:30 +02:00
Imbris
9ad83a695c Merge branch 'imbris/update-tracy-0.15.2' into 'master'
Update `tracy-client` to `0.15.2`

See merge request veloren/veloren!3871
2023-04-19 02:39:40 +00:00
Imbris
f525be9b3b Update tracy-client to 0.15.2, also use tracy_client through the
re-export of `profiling` to make keeping the versions in-sync much less
tedious (and have `cargo update` not break this).
2023-04-18 21:28:15 -04:00
CxRedix
9a47ef63a6 Ability.ftl translation finished 2023-04-18 15:41:57 +08:00
CxRedix
1768be43d6 added the missing Guillotine ability translation 2023-04-18 14:58:02 +08:00
Christof Petig
025713e2c0 Merge branch 'christof/fix_orichalcum_drop' into 'master'
introduce optional model indices for drop items as well (fixing orichalcum armor drops)

See merge request veloren/veloren!3884
2023-04-17 07:07:40 +00:00
Christof Petig
870a0098d6 add changelog 2023-04-16 23:00:36 +02:00
Christof Petig
4c1c84030f introduce optional model indices for drop items as well (fixing orichalcum armor drops) 2023-04-16 22:56:04 +02:00
Isse
510d72048e Merge branch 'rtsim-like-enemy-killer' into 'master'
rtsim: positive sentiment gain for killing enemies

See merge request veloren/veloren!3882
2023-04-16 17:16:51 +00:00
Isse
e9cbd4487b Merge branch 'rtsim-cmds' into 'master'
Add more info to the /rtsim_{npc,info} commands

See merge request veloren/veloren!3881
2023-04-16 17:16:48 +00:00
Julian Tölle
865b50fff2 rtsim: positive sentiment gain for killing enemies
As per the age old saying: "the enemy of my enemy is my friend".

NPCs will start liking the killer of their enemy more.
2023-04-16 18:08:09 +02:00
Julian Tölle
573a2942c9 Add more info to the /rtsim_{npc,info} commands
- Add the name of the NPC to /rtsim_npc to help identify this NPC in the world
- Add faction & personality to /rtsim_info command to learn more about the NPC
2023-04-16 12:37:37 +02:00
CxRedix
b24efdbcd7 reviewed and finalized some more translations 2023-04-16 16:49:09 +08:00
CxRedix
fe67ef86b0 made some skills & abilities consistent with the previous translator 2023-04-16 16:04:08 +08:00
CxRedix
7d5f15a5c9 finalized & added some translations in abilities.ftl to make them more easier to read 2023-04-16 15:51:55 +08:00
Isse
b931b350fd Merge branch 'isse/guaranteed-workshops' into 'master'
Try to get at least one workshop in towns

See merge request veloren/veloren!3876
2023-04-16 06:53:23 +00:00