1457 Commits

Author SHA1 Message Date
Monty
b140745da2 Temporarily remove death messages 2021-04-14 20:31:34 +02:00
Samuel Keiffer
17d51db095 Merge branch 'holychowders/resolve_issue_#978_extract_skillset_into_own_component' into 'master'
Resolve Issue #978 - Extract SkillSet Into Its Own Component

Closes #1065 and #978

See merge request veloren/veloren!2116
2021-04-14 15:35:35 +00:00
holychowders
793e7982b0 Resolve Issue #978 - Extract SkillSet Into Its Own Component 2021-04-14 15:35:34 +00:00
Ben Wallis
22bd1d5bb5 Fixed initial creation of saves directory. Added path of old singleplayer saves directory to information logged when it is moved to the new userdata directory 2021-04-14 07:15:51 +01:00
Ben Wallis
1fbea66a66 * Replaced diesel with rusqlite and refinery
* Added "migration of migrations" to transfer the data from the __diesel_schema_migrations table to the refinery_schema_history table
* Removed all down migrations as refinery does not support down migrations
* Changed all diesel up migrations to refinery naming format
* Added --sql-log-mode parameter to veloren-server-cli to allow SQL tracing and profiling
* Added /disconnect_all_players admin command
* Added disconnectall CLI command
* Fixes for several potential persistence-related race conditions
2021-04-13 22:05:47 +00:00
Samuel Keiffer
11f33ba8cf Merge branch 'UMR1352/fix#1065' into 'master'
fix issue #1065: admin bag and other admin items inside a container doesn't disappear when dropped

Closes #1065

See merge request veloren/veloren!2114
2021-04-13 05:55:36 +00:00
Marcel
2b306052f6 Merge branch 'deny-trade-on-exit' into 'master'
Denies any active trades on exit to char select.

See merge request veloren/veloren!2111
2021-04-12 23:00:38 +00:00
Rickey Chamblee
3565eb8bca Denies any active trades on exit to char select. 2021-04-12 23:00:38 +00:00
Vincent Foulon
bdbbc23b9c Support quantity + use Enum for autocompletion + Address comments 2021-04-12 20:07:34 +02:00
Vincent Foulon
65ef568d70 New Command: "kit" + Removed Command: "debug"
Update CHANGELOG.md

Update CHANGELOG.md
2021-04-12 18:53:36 +02:00
Enrico Marconi
43996abc0c fix issue #1065: admin bag and other admin items inside a container doesn't disappear when dropped 2021-04-12 16:21:10 +02:00
Joshua Yanovski
85589081ed Inverted admin check. 2021-04-12 12:44:19 +02:00
Avi Weinstock
5bf4048419 Give NPCs the ability to use potions. 2021-04-11 23:47:29 +00:00
Joshua Yanovski
1c38230494 Fix players being able to pick up other players. 2021-04-11 15:52:55 +02:00
Marcel
e0af7d8d87 Merge branch 'UMR1352/fix#1059' into 'master'
fix issue #1059: Debug items should disappear when dropped

Closes #1059

See merge request veloren/veloren!2088
2021-04-10 17:41:43 +00:00
Joshua Yanovski
909f2c4680 Remove panics and unwraps, part 1.
Also fixes various other miscellaneous bugs.
2021-04-10 10:03:21 +02:00
Enrico Marconi
b9c01d990f fix issue #1059: Debug items should disappear when dropped 2021-04-09 13:46:43 +02:00
Marcel Märtens
1b38cfbd2d remove spamming of the logs 2021-04-08 23:55:13 +02:00
Imbris
fd30663156 Merge branch 'vfoulon80/behavior-component' into 'master'
New Component: Behavior

See merge request veloren/veloren!2033
2021-04-08 19:16:28 +00:00
Vincent Foulon
5809116afa Remove TRADE capability, use trade_site attribute instead 2021-04-08 19:06:57 +02:00
Vincent Foulon
7c4da6e501 Address comments 2021-04-08 18:33:00 +02:00
Louis Pearson
b80bc61eb8 Document Travel enum 2021-04-08 05:40:56 -06:00
Louis Pearson
a7c1a97dda Use distance_squared to speed up calculations 2021-04-08 05:10:22 -06:00
Louis Pearson
3bcdd06c87 Fix travellers stuck in town
There was an off by one error in the code that negates the progress
along paths that are reversed.
2021-04-08 05:10:04 -06:00
Louis Pearson
ee302607f0 Tries to implement npcs only travelling by paths
Unfortunately, there's a degenerate case where npcs can get stuck in a
town. Not sure why
2021-04-08 04:19:02 -06:00
Louis Pearson
1b3c52aecc Refine airship pathing 2021-04-08 04:19:02 -06:00
Louis Pearson
275296b15e Add CustomPath to Travel enum
Defines a custom path to follow, instead of using one from the World.
Airships use this to slightly adjust their course to reduce collisions.
2021-04-08 04:19:02 -06:00
Louis Pearson
3f488db523 Convert rtsim pathfinding logic to a FSM 2021-04-08 04:19:02 -06:00
Louis Pearson
3d000833a6 Resolve comments 2021-04-08 04:19:02 -06:00
Louis Pearson
dfad4f9a49 Expect instead of unwrap 2021-04-08 04:19:02 -06:00
Louis Pearson
91df480e4b Make rtsim entities ensure sanity of track 2021-04-08 04:19:02 -06:00
Louis Pearson
642dcf08b8 First pass at rtsim following paths 2021-04-08 04:19:02 -06:00
Vincent Foulon
8cb001e91b Finally Behavior isn't good enough as a component, Remove it from ECS and include it onto Agent directly 2021-04-07 22:02:57 +02:00
Vincent Foulon
e0da6aa572 Address comments
- make Behavior's capabilities and state private
 - Typo in a comment
 - add basic tests

Apply 1 suggestion(s) to 1 file(s)

Remove comments in agent.rs
2021-04-07 22:02:42 +02:00
Vincent Foulon
d3045ddff9 address mutability comment 2021-04-07 17:39:12 +02:00
Vincent Foulon
c33e73bbed use bitflags instead of HashSet 2021-04-07 17:37:21 +02:00
Vincent Foulon
72d0067e5c Use Behavior::CanTrade instead of Agent::trade_for_site + addressed comments 2021-04-07 17:26:42 +02:00
Vincent Foulon
6c65e213c4 cleanup old code 2021-04-07 17:26:27 +02:00
Vincent Foulon
1aebb5a0e7 Change check for trading NPC 2021-04-07 17:26:19 +02:00
Vincent Foulon
822db0895c Use Behavior into Agent 2021-04-07 17:26:12 +02:00
Vincent Foulon
ccf89c4275 Create Behavior component 2021-04-07 17:21:53 +02:00
Vincent Foulon
024e366126 Add missing translations + Add "enemy_killed" text for villagers 2021-04-07 13:26:15 +02:00
Louis Pearson
a2fda31449 Add default world build AABB 2021-04-05 07:39:09 -06:00
Marcel
d7ed57ca7e Merge branch 'login-trim-username' into 'master'
login trim username, improve validation, social ordering #1040

Closes #1040

See merge request veloren/veloren!2042
2021-04-04 22:09:16 +00:00
DaforLynx
5ee9108e0d Adds on-hit combat sfx 2021-04-04 03:04:02 +00:00
Sam
33503bd9c2 Removed all rng matches in code to determine loot tables, and moved to loot tables specific for each sprite, creature, or dungeon. 2021-04-02 23:24:55 -04:00
Sam
ed5cb2b5f0 Changelog. Fixed a few qualities. 2021-04-02 23:04:36 -04:00
Sam
e83a2eef3d Moved materials into their own loot tables. 2021-04-02 23:04:33 -04:00
Sam
8d1700b882 Moved food items into their own loot tables. 2021-04-02 23:04:32 -04:00
Sam
01296ac816 Switched loot tables from declaring each weapon individually to just referencing a different loot table. 2021-04-02 23:04:31 -04:00