Commit Graph

11378 Commits

Author SHA1 Message Date
Olexorus
cf66eccb75 Use Rust 2021 postfix .into_iter() 2022-03-15 16:34:56 +01:00
Samuel Keiffer
998b1deb15 Merge branch 'manuel2258/npc_chasing_utility' into 'master'
Impl #1357: Agent chasing utility

See merge request veloren/veloren!3243
2022-03-14 17:59:05 +00:00
Manuel Schmidbauer
0037518472 Impl #1357: Agent chase abort
- Adds util funcs to calculate benefit of continue pursue vs letting
target escape
- Hooks util funcs into agent's hostile tree
2022-03-14 18:06:57 +01:00
Imbris
9a3b5d3ec8 Merge branch 'imbris/fix-optional-command-parsing' into 'master'
Don't consume command args that fail parsing, so that optional args are properly skipped.

See merge request veloren/veloren!3274
2022-03-13 21:59:01 +00:00
Imbris
06b605a8d0 Add note on reasoning in optional argument parsing behavior 2022-03-13 16:03:29 -04:00
Imbris
008e9051f7 Don't consume command args that fail parsing, so that optional args are properly skipped. 2022-03-13 15:41:37 -04:00
Imbris
bcd4a81174 Merge branch 'galaipa/add-basque' into 'master'
Add initial Basque language translation

See merge request veloren/veloren!3220
2022-03-13 18:37:50 +00:00
Imbris
6d101419c7 Merge branch 'imbris/small-fixed' into 'master'
Small logging filter directives refactor including removing: "ignoring ``: invalid...

See merge request veloren/veloren!3271
2022-03-13 16:37:45 +00:00
Treeco
be9a41547d Merge branch 'DaforLynx/town-music-returned' into 'master'
Reinstate town music.

See merge request veloren/veloren!3272
2022-03-13 11:18:32 +00:00
DaforLynx
ff624dd6e9 Reinstate town music. 2022-03-13 11:18:32 +00:00
Justin Shipsey
8072c9db3b Merge branch 'DaforLynx/louder-rivers' into 'master'
Loud rivers

See merge request veloren/veloren!3254
2022-03-13 07:47:23 +00:00
DaforLynx
7b6f424bb0 Loud rivers 2022-03-13 07:47:23 +00:00
Imbris
e00cd7685b Small logging filter directives refactor including removing: "ignoring ``: invalid filter directive"message that always appeared when using RUST_LOG env var 2022-03-13 01:37:52 -05:00
Samuel Keiffer
1ecd4a80a0 Merge branch 'DaforLynx/fix-movement-sfx' into 'master'
Fix swim sfx, fix glider sfx, add glide sfx

See merge request veloren/veloren!3269
2022-03-13 05:44:07 +00:00
DaforLynx
123fee2707 Fix swim sfx, fix glider sfx, add glide sfx 2022-03-13 05:44:07 +00:00
Samuel Keiffer
c5365c850a Merge branch 'isse/primitive-fixes' into 'master'
Primitive fixes

See merge request veloren/veloren!3260
2022-03-13 03:34:49 +00:00
Isidor Nielsen
7621a21560 Primitive fixes 2022-03-13 03:34:49 +00:00
holychowders
c6bc6b63ee Prevent enemy agents from reacting to sounds from too far away and remove an inconsequential distance check. 2022-03-12 18:13:02 -06:00
holychowders
cc808251e6 Make Enemy agents flee from dangerous sounds instead of follow. 2022-03-12 16:58:06 -06:00
holychowders
3ffb1a7706 Also restrict when Enemy agents respond to sounds and fix potential conditional bug. 2022-03-12 16:58:06 -06:00
holychowders
8d98ade15e Agent perception: Make handling of sounds and awareness more intuitive.
When a sound was received in `idle_tree()`, awareness would be
incremented, causing a call to `handle_elevated_awareness()`, which
handled sounds heard. Instead, just `handle_sounds()` when they are heard and
increment awareness as part of hearing them.

The code more straightforwardly shows the agent first hearing a sound and then
becoming more aware based on that.
2022-03-12 16:58:06 -06:00
holychowders
df91f665d7 Agent Perception: Restrict when idling agents respond to sounds.
- Prevent utterances and other sounds from causing undesired jitters and
  fleeing, such as those caused by greeting villagers.
- Agents will no longer flee from quieter weapon sounds such as melee.
2022-03-12 16:58:06 -06:00
Joshua Barretto
5ee6278860 Merge branch 'tormod-spread-towns-out' into 'master'
Fix bug where chunks outside the map counted as occupied.

See merge request veloren/veloren!3268
2022-03-12 13:10:32 +00:00
Tormod G. Hellen
5f12163e54 Prevent towns being placed in the ocean just off the coast. 2022-03-12 02:45:49 +01:00
Tormod G. Hellen
5e3ef83195 Force incompatible sites further apart. 2022-03-12 02:45:49 +01:00
Tormod G. Hellen
afdb7fe9ea Increase quality of town placements. 2022-03-12 02:45:49 +01:00
Tormod G. Hellen
68072231dc Force towns further apart. 2022-03-12 02:45:49 +01:00
Tormod G. Hellen
031db61c1e Fix bug where chunks outside the map counted as occupied.
This prevented sites from being placed near the edge of the map.
2022-03-12 02:45:43 +01:00
Joshua Barretto
87b139d32b Merge branch 'isse/painter-spawn' into 'master'
Add entity spawn on painter

See merge request veloren/veloren!3265
2022-03-09 21:40:23 +00:00
Isidor Nielsen
e21f04d456 Add entity spawn on painter 2022-03-09 21:40:23 +00:00
Marcel
dfd1d3a2d9 Merge branch 'xMAC94x/client_lag' into 'master'
extra scope for plot

See merge request veloren/veloren!3266
2022-03-09 11:34:55 +00:00
Marcel Märtens
167e3321e1 put tracy in a seperate scope 2022-03-08 20:57:55 +01:00
Samuel Keiffer
a411db17bf Merge branch 'tygyh/Refactor-path_toward_target' into 'master'
Tygyh/refactor path toward target

See merge request veloren/veloren!3241
2022-03-08 16:43:37 +00:00
Marcel
d05cb99007 Merge branch 'unvariant/trading_fix' into 'master'
prevent glider and sneak from triggering during trade

See merge request veloren/veloren!3264
2022-03-08 10:25:16 +00:00
ninefox
115b2875b3 prevent glider and sneak from triggering during trade 2022-03-07 20:28:38 -08:00
Imbris
f6b805db77 Merge branch 'isse/map-marker-fixes' into 'master'
Map marker fixes

See merge request veloren/veloren!3262
2022-03-07 12:16:04 +00:00
Isidor Nielsen
a5ab36e6b5 Map marker fixes 2022-03-07 12:16:04 +00:00
Marcel
9fe45ddb89 Merge branch 'christof/icetea_quickfix' into 'master'
hotfix for sunflow ice tea costing 16x the amount of its ingredients

See merge request veloren/veloren!3258
2022-03-05 14:22:29 +00:00
Christof Petig
c3d6b8c250 crafting factor was wrongly used as well … 2022-03-05 13:18:09 +01:00
Christof Petig
d02018f893 hotfix for sunflow ice tea costing 16x the amount of its ingredients
also makes price debugging output more readable
2022-03-05 13:07:55 +01:00
Marcel
5b13719cd8 Merge branch 'christof/shredded_economy2' into 'master'
Economy redesign: Cleaner file structure (no code change)

See merge request veloren/veloren!3256
2022-03-05 09:19:27 +00:00
Christof Petig
546afa86ae Economy redesign: Cleaner file structure (no code change) 2022-03-05 09:19:26 +00:00
Dr. Dystopia
1810998641 Remove redundant 'pos' variable 2022-03-05 09:54:01 +01:00
Dr. Dystopia
1cb7a083e7 Remove redundant if-statement 2022-03-05 09:53:28 +01:00
Samuel Keiffer
4e116e46b9 Merge branch 'DaforLynx/music-fix' into 'master'
fix to soundtrack.ron

See merge request veloren/veloren!3253
2022-03-04 19:02:04 +00:00
DaforLynx
32434ec840 Sorry Rarnage 2022-03-04 10:36:03 -08:00
Samuel Keiffer
3a359800d9 Merge branch 'sam/vertical-melee' into 'master'
More sensible vertical limit to what melee attacks can hit

See merge request veloren/veloren!3252
2022-03-04 03:59:38 +00:00
Sam
bc7c088a12 More sensible vertical limit to what melee attacks can hit 2022-03-03 20:03:32 -05:00
Marcel
d4c98e8775 Merge branch 'xMAC94x/linux-aarch64' into 'master'
add linux-aarch64 on master builds to be consistent

See merge request veloren/veloren!3250
2022-03-03 16:37:53 +00:00
Marcel Märtens
32de827e61 add linux-aarch64 on master builds to be consistent 2022-03-03 10:33:19 +01:00