3086 Commits

Author SHA1 Message Date
Joshua Barretto
5f310163ef Merge branch 'min-persistent-world' into 'master'
min-persistent-world

See merge request veloren/veloren!2662
2021-08-13 12:30:28 +00:00
Dr. Dystopia
74c34598c7 Move assignment out of if-statement 2021-08-12 12:34:04 +02:00
Joshua Barretto
da58c3d143 Added experimental terrain persistence 2021-08-12 10:26:20 +01:00
juliancoffee
a93c6931d4 Implement /kit all and a bit of refactoring
+ notifying about sucessful kit application
+ notifying about case with insufficient space
+ handle case where you don't have enough free slots
+ handle quantity of non-stackable items
+ add test for items in kit manifest
2021-08-10 13:28:38 +03:00
Samuel Keiffer
756249fd04 Merge branch 'pacmanmati/veloren-pacmanmati/1224-consolidate-redundant-stage-sections' into 'master'
Consolidate redundant stage sections

See merge request veloren/veloren!2748
2021-08-10 01:23:26 +00:00
juliancoffee
593393fbee Use asset::load_dir to get list of all items 2021-08-10 02:03:46 +03:00
Sam
571fe8aa0d Consolidated Use into Action as well. 2021-08-09 10:31:17 -04:00
pacmanmati
495e604dfc #1224 - Replace redundant StageSection: Swing, Shoot, Cast with Action 2021-08-09 10:27:53 -04:00
juliancoffee
8f138080a9 Make Frenzied buff again 2021-08-09 13:05:00 +03:00
Treeco
ad7b18f8f0 Buff swim thrust for humans reduce gains from skillpoints
This is intended to give a swim speed of 4.7 m/s when unskilled, and 7.2 when skilled
However, this turns out to be horrifically fps-dependant, both after this branch and in master. Needs further research into fixes
This commit tunes it for 60 fps
2021-08-09 10:06:16 +01:00
Treeco
a8559c61f2 Make each race's hitbox and weight scale linearly with their height
This causes all humanoids to handle identically when falling, gliding, or swimming
2021-08-09 10:06:16 +01:00
Ludvig Böklin
ae866ac7c6 Improve gliding
- make glider dimensions a factor of body height
- increase glider dimensions across the board
- remove delay from transition into glide
- enable glider control while wielding glider
- improve glide wield animation
2021-08-09 10:06:16 +01:00
Ludvig Böklin
c1df48168a Fix mistake of pre-multiplying aerodynamic coefficients
Increase glider zero-lift drag
2021-08-09 10:06:15 +01:00
Samuel Keiffer
e0e7d643a6 Merge branch 'ubruntu/relative-xp-curve' into 'master'
XP reward curve modified for faster gain at lower levels

See merge request veloren/veloren!2706
2021-08-08 03:34:57 +00:00
ubruntu
d324afe73a XP reward curve modified for faster gain at lower levels 2021-08-08 03:34:56 +00:00
juliancoffee
0ccfb8e004 Expose beam_offsets to AI 2021-08-08 00:33:43 +03:00
Samuel Keiffer
3b3bf10e4a Merge branch 'juliancoffee/pillar_fix' into 'master'
Nerf pillars + Fix Beam ori

See merge request veloren/veloren!2732
2021-08-07 16:35:24 +00:00
Illia Denysenko
d304aaebe9 Gliding Debug Info 2021-08-07 13:19:58 +00:00
Imbris
e7fabceaf1 Merge branch 'juliancoffee/asset_tweak_v2' into 'master'
asset_tweak v2

See merge request veloren/veloren!2723
2021-08-06 17:41:54 +00:00
juliancoffee
ce04dd5c69 Adress review, add test for structs 2021-08-06 13:04:01 +03:00
juliancoffee
5e3f89960b Normalize masses in range 75-100.
+ Remove match on body_type
2021-08-06 11:57:42 +03:00
juliancoffee
43297b4684 Change beam offsets
* Make it so that beam starts from inside hitbox of owner.
Without it it's possible to cheese beem attack just making close enough
to its owner.
2021-08-05 21:07:46 +03:00
juliancoffee
198b375ea3 Give TrainingDummy hitbox 2021-08-05 21:07:46 +03:00
juliancoffee
163d37e3fc Fix Beam orientation, remove orientation_behavior
* make old OrientationBehavior::FromOri default behaviour
* use rotation formed from look_dir instead of constructing
ori on the fly (which is altered after normalization).
2021-08-05 21:07:46 +03:00
Ludvig Böklin
a55ac235b9 Make character upright itself even while idle 2021-08-05 08:34:21 +02:00
Samuel Keiffer
4b62e39d29 Merge branch 'ygor/fix-axe-energy-reward' into 'master'
Allow axe combo to reward energy without skillpoint

See merge request veloren/veloren!2722
2021-08-05 00:38:41 +00:00
Joshua Barretto
f5ea8d32f7 Fixed block snapping 2021-08-04 14:12:10 +01:00
Joshua Barretto
492a37d23a Added action timer system for agent code 2021-08-04 14:04:56 +01:00
juliancoffee
f3e8328717 Avoid negative bounds in harm checks
* disallow_harm -> allow_harm to avoid negative reasoning since it mostly
requires double negation in code
* allow_harm -> may_harm to specify side-effect free
2021-08-03 18:57:53 +03:00
juliancoffee
ff02f3ab06 Return self-harm 2021-08-03 16:43:56 +03:00
juliancoffee
a407276851 Refactor projectile system 2021-08-03 16:43:55 +03:00
juliancoffee
7c738fb843 Post review refactoring
* inline `target_dodging` into struct declaration as they are named
anyway
* move `avoid_harm` check out of `Attack::apply_attack` so we don't need
to pass whole Player component.
* another cosmetic things
2021-08-03 16:43:55 +03:00
juliancoffee
6004e76959 Prettify aura system 2021-08-03 16:43:55 +03:00
juliancoffee
77cb772159 Make Veloren compile again 2021-08-03 16:43:55 +03:00
juliancoffee
6e52bbf7a8 Add CHANGELOG note about battle_mode setting 2021-08-03 16:43:54 +03:00
juliancoffee
23c8e95f7f Refactor Aura system, add avoid_harm flag
+ fix bug where you cast OutOfGroup on yourself and your group
2021-08-03 16:42:58 +03:00
juliancoffee
94b48f5448 Cleaning 2021-08-03 16:42:58 +03:00
juliancoffee
eb770a7dd7 Add battle_mode server setting and player flag 2021-08-03 16:42:58 +03:00
juliancoffee
d4d6072c03 Add asset_tweak macros 2021-08-03 16:31:13 +03:00
juliancoffee
f9733b58cb Remove redundant serial_test crate 2021-08-03 16:31:13 +03:00
juliancoffee
b6cfd06724 Add ability to specify directory in asset_tweak 2021-08-03 16:31:13 +03:00
juliancoffee
4630237739 Remove clone() for creating new tweak file 2021-08-03 16:31:13 +03:00
juliancoffee
bf8acca375 Introduce helper functions and deduplicate docs 2021-08-03 16:31:13 +03:00
Ygor Souza
734b98c82d Allow axe combo to reward energy without skillpoint
When the character does not have the Double Strike Combo skill, the
ability's stage_data only contains one element, and thus the
stage_data.len() - 1 expression would set the max_energy_regen to 0.
This change forces the multiplier to 1 in this specific case, so the axe
can still reward energy without the combo skill point, to match the
other weapons.
2021-08-03 07:10:03 +02:00
Joshua Barretto
697cf418c3 Better Agent API 2021-08-02 13:08:39 +01:00
Ludvig Böklin
0d7c0dfd50 Fix gliderwield downhill run jitter 2021-08-01 11:20:46 +00:00
Joshua Barretto
d74c2b47c8 Merge branch 'zesterer/menacing' into 'master'
Added menacing, made agent code less hacky

See merge request veloren/veloren!2707
2021-08-01 00:27:02 +00:00
Imbris
59490b2a89 Merge branch 'imbris/stamina-energy' into 'master'
Replace stamina with energy

Closes #1214

See merge request veloren/veloren!2704
2021-08-01 00:26:59 +00:00
Joshua Barretto
f311556c0b Merge branch 'imbris/small-fix' into 'master'
Fix typo in log message and remove prefixed '_' from a few used variables

See merge request veloren/veloren!2703
2021-07-31 21:54:25 +00:00
Joshua Barretto
243790a0df Added menacing, made agent code less hacky 2021-07-31 20:33:28 +01:00