socksonme
8099b516a9
Renamed emit_alarm to emit_scream
2021-10-16 19:11:57 +03:00
Joshua Barretto
3357008601
Merge branch 'zesterer/small-fixes' into 'master'
...
Caverns
See merge request veloren/veloren!2763
2021-10-16 09:33:57 +00:00
socksonme
2b36a957ac
small code quality change
2021-10-15 23:23:45 +03:00
socksonme
c631341da9
Refactored SoundKind and UtteranceKind
2021-10-15 22:49:25 +03:00
Joshua Barretto
4bae3a4b62
Merge branch 'make-merchants-send-trade-on-iteraction' into 'master'
...
Make merchants send the player a trade request when interacted with
Closes #1368
See merge request veloren/veloren!2914
2021-10-11 16:45:18 +00:00
juliancoffee
b5d9e4e4a9
Fix Traveller names
...
- Previously RtSim were created with automatic name for body generated
from EntityConfig, not from RtSim body. Now RtSim body is set for
EntityConfig.
2021-10-11 15:06:43 +03:00
Joshua Barretto
1473029204
Added ability to toggle world features
2021-10-10 13:41:57 +01:00
antoniomuso
761ae8f69d
Make merchants send the player a trade request when interacted with
2021-10-09 21:14:01 +02:00
Joshua Barretto
4be50b8c56
Merge branch 'ubruntu/group-loot-notifications' into 'master'
...
Groups can see what each member picks up
See merge request veloren/veloren!2906
2021-10-09 10:50:02 +00:00
ubruntu
5fbc0d3a06
Groups can see what each member picks up
2021-10-09 10:50:01 +00:00
Imbris
8987389e8a
Submit chunk requests to the generator within the terrain system right before receiving new chunks, so that duplicate work is not done for chunks that just finished but were not yet added to the terrain.
2021-10-08 16:17:31 -04:00
Imbris
9030fee99f
Ensure cancelled chunks are not loaded into the terrain
2021-10-08 13:20:50 -04:00
Joshua Barretto
6d33e0d183
Prevented double-spawning of chunks
2021-10-08 12:20:46 +01:00
Joshua Barretto
8dc8aeace5
Added minimum server-side chunk loading
2021-10-07 14:23:55 +01:00
Treeco
4ab6336d11
Fix large map loading
2021-10-06 02:26:58 +01:00
Imbris
c9d2501336
Revert "Merge branch 'ubruntu/par-entity-sync' into 'master'"
...
This reverts merge request !2891
2021-10-05 14:42:39 +00:00
Bryant Deters
8b557f0e2e
using par_join.for_each as if I know what I'm doing
2021-10-01 18:05:52 -05:00
Imbris
396604f6d8
Merge branch 'ubruntu/trade-fix-part3' into 'master'
...
Trade fix (with hashmap awareness)
See merge request veloren/veloren!2877
2021-10-01 21:17:19 +00:00
ubruntu
ddd98de72f
Trade fix (with hashmap awareness)
2021-10-01 21:17:19 +00:00
juliancoffee
68aba856ec
Cleaning
2021-09-27 23:21:57 +03:00
juliancoffee
7291d32209
Make ItemDrop component with Item again
2021-09-27 20:36:18 +03:00
juliancoffee
7576f632a8
Adress review
...
- Added comments on why Waypoint branch of NpcData is unreachable.
- Added comments on signature of get_adhoc_loadout.
2021-09-27 15:09:22 +03:00
juliancoffee
8af4cf1a37
Make Rtsim entity config work
2021-09-27 15:09:22 +03:00
Sam
27823ce8fa
Rtsim now uses entity configs.
2021-09-27 15:09:22 +03:00
Sam
56b17e7141
Format fixes.
2021-09-27 15:09:22 +03:00
juliancoffee
2475b97918
Move loot tables to entity configs
2021-09-27 15:09:22 +03:00
Sam
09dd9b4813
Changed ItemDrop to use LootSpec
2021-09-27 15:09:22 +03:00
Marcel
cea927efb6
Merge branch 'xMAC94x/update-toolchain' into 'master'
...
update toolchain to `nightly-2021-09-24`
See merge request veloren/veloren!2862
2021-09-26 19:25:02 +00:00
Samuel Keiffer
ea2fa5f110
Merge branch 'sam/cr-weights' into 'master'
...
Changed weights of cr calculation and exp from cr formula.
See merge request veloren/veloren!2875
2021-09-26 18:21:56 +00:00
Sam
aa7c183862
Condense assignment of variables
2021-09-26 13:51:27 -04:00
Imbris
67e3b87717
Add note on a clippy suppression pointing to relevant clippy issue
2021-09-26 11:24:30 -04:00
Seth
d42d9166a1
Reduce duplication in glider asset identifiers
2021-09-26 13:49:49 +00:00
Sam
c62162c2d3
Changed weights of cr calculation and exp from cr formula.
2021-09-25 21:52:20 -04:00
Sam
942376f88c
Made poise a float at interface of module.
2021-09-25 14:07:47 -04:00
Marcel Märtens
e36eef99c8
apply some clippy fixes that comes with the new toolchain version
2021-09-24 23:18:18 +02:00
Marcel Märtens
2a82405df2
update toolchain to nightly-2021-09-24
2021-09-24 23:18:07 +02:00
Sam
0e5e2b46f2
Changed energy to internally use an integer with a high resolution, and externally to use a float.
2021-09-23 14:11:09 -04:00
Snowram
76d41aa340
Removes flame wyvern from RTsim pool until proper introduction
2021-09-22 20:59:04 +02:00
Joshua Barretto
4e61e5a04f
Revert "Merge branch 'ubruntu/trade-fix-part3' into 'master'"
...
This reverts merge request !2866
2021-09-22 11:45:54 +00:00
Samuel Keiffer
0b477ec9af
Merge branch 'snowram/projectile-offsets' into 'master'
...
Set projectile offsets in states instead of globally
See merge request veloren/veloren!2855
2021-09-22 01:55:39 +00:00
Snowram
5838a84568
Consolidates projectile offsets into utils
2021-09-22 03:05:57 +02:00
ubruntu
33526afe5a
Trade Fix III: Revolutions
2021-09-21 23:16:00 +00:00
Snowram
9c2ce83430
Set projectile offsets in states instead of globally
2021-09-22 01:07:09 +02:00
Samuel Keiffer
576f2a6e9f
Merge branch 'wolfshaman/fixing_1328_set_waypoint_when_on_ground_and_not_going_down' into 'master'
...
fixing_1328_set_waypoint_when_on_ground_and_not_going_down
See merge request veloren/veloren!2832
2021-09-21 22:16:08 +00:00
Justin Shipsey
2c3640b527
Merge branch 'snowram/wyvern' into 'master'
...
Snowram/wyvern
See merge request veloren/veloren!2847
2021-09-21 14:20:33 +00:00
Marcel
daa93a6d16
Merge branch 'juliancoffee/aim_bombs' into 'master'
...
Aimed bombs
See merge request veloren/veloren!2865
2021-09-21 14:18:31 +00:00
Snowram
7a73e4240b
Bird large beam offset hack
2021-09-21 15:31:43 +02:00
juliancoffee
6e2f9be13f
Allow aiming bombs
2021-09-20 22:29:25 +03:00
Marcel Märtens
88685cc016
update crates
2021-09-20 14:39:01 +02:00
Ben Wallis
d665ce329d
* Added new Admin Commands window to egui, including Give Items and Kits sections
...
* Added widgets.rs to egui for reusable widgets
* Added filterable_list egui widget
* Reworked DebugShapeAction to be a more generic EguiAction which now allows for ChatCommands (used by admin tools) as well as DebugShape drawing requests.
* Fixed egui event handling so that typing/clicking within egui windows now correctly doesn't pass these events onto the game itself
* Removed /give_item limit for stackable items
2021-09-18 16:17:42 +01:00
juliancoffee
f810af4eec
Rename EntityInfo level field to health_scaling
2021-09-17 20:12:42 +03:00
juliancoffee
4e3fb87526
Adress review
...
- Rename Collider::get_radius to bounding_radius
- Check origin difference in CapsulePrism with EPSILON * 10.0 instead of
magic 0.00001
- Add comments for closest_points, hardnened expression against NaNs
- Add comments to try_e2e_collision function, renamed to
resolve_e2e_collision, make it return whether collision was triggered.
- Remove Collider::Box (it is Cylinder, which is subset of CapsulePrism
with p0=p1=Vec2::zero())
2021-09-17 13:28:34 +03:00
juliancoffee
c069a3523d
Fix beam offsets
...
- Introduce notion of min and max radius for Body instead of old
`radius()` function (which is renamed to `max_radius()`).
2021-09-17 13:28:34 +03:00
juliancoffee
eeb3bec8ad
Refactor implementation of e2e collision
...
+ Add some hopefully helpful comments
+ Extract colliding tries to separate function
+ Move to Capsule + Cylinder collider combination instead of Capsule +
Capsule.
2021-09-17 13:28:34 +03:00
juliancoffee
d86c9f2678
Remove body::Shape enum, make npc use CapsulePrism
2021-09-17 13:28:34 +03:00
juliancoffee
3b308a3f6f
Add CapsulePrism collider variant
...
+ Add placeholder physics collision implementation as copy of cylinder
Box collider.
+ Display it with debug hitboxes.
2021-09-17 13:28:34 +03:00
ubruntu
56f26dc3a8
Another trade fix
2021-09-16 22:06:30 +00:00
Sam
99981338bb
Fixed exp fix mistake and fixed lava, campfire, and bomb damage.
2021-09-15 08:32:44 -04:00
Sam
c4c4318ac0
Fixed fall damage and sceptre regen.
2021-09-14 06:53:01 -04:00
ubruntu
8eb61192fd
Fix trade/merchant bugs
2021-09-14 07:31:06 +00:00
wolfshaman
d321d1aad4
fixing_1328_set_waypoint_when_on_ground_and_not_going_down
2021-09-13 16:51:02 -04:00
Samuel Keiffer
73d3d3e4bb
Merge branch 'sam/health-float' into 'master'
...
Turned Health into a Float
See merge request veloren/veloren!2824
2021-09-13 15:23:18 +00:00
Sam
85f4e66337
Addressed MR 2824 comments
2021-09-10 15:20:14 -04:00
Marcel Märtens
7913e6a9ba
Change the version number to 0.11
2021-09-10 20:19:17 +02:00
Monty Marz
1d94adc2e1
0.11 Background images and more
2021-09-10 08:34:01 +00:00
Sam
42012fddcb
Overhauled health component, making it a float to outer interfaces.
2021-09-09 00:10:17 -04:00
Joshua Barretto
78fce06b47
Allowed players to assist NPCs in fights without problems by tweaking aggro rules
2021-09-08 13:17:53 +01:00
Aleksandr Nariadchikov
3f31f07cc2
[ #1251 ] Code style refactoring
2021-09-06 20:33:08 +03:00
Aleksandr Nariadchikov
c22104ea56
[ #1251 ] Mutable variables are removed. For killing checking non players without alignments as well as with it.
2021-09-06 19:31:12 +03:00
Aleksandr Nariadchikov
75bbe619fd
[ #1251 ] /kill_npcs admin command does not kill player's pets now without additional argument "--also-pets"
2021-09-06 18:21:32 +03:00
Xeriab Nabil
c9e2293a6c
Server: Fix character deletion mentioned in #1327
2021-09-06 16:02:41 +03:00
jshipsey
3c623c6801
address comments, boost village pop, lower raid chance
2021-09-06 00:01:26 -04:00
Khalid Ali
cbc6cdfad1
Use unreachable instead of panic
2021-09-05 18:13:20 -05:00
Khalid Ali
a0b78ffd16
Add RepeaterRanged and fix scaling ChargedRange
2021-09-05 18:03:54 -05:00
Khalid Ali
871a1ccbfc
Set direction using character state
2021-09-05 17:07:09 -05:00
Sam
9675d2b45a
Cultists no longer attack the starting town.
2021-09-05 11:36:40 -04:00
Joshua Barretto
896d9299e5
Merge branch 'ubruntu/fix-dungeon-loot-fallback' into 'master'
...
fix BipedSmall NPCs using fallback loot table
See merge request veloren/veloren!2809
2021-09-04 18:53:55 +00:00
Joshua Barretto
003b9f57ce
Merge branch 'juliancoffee/pvp_command' into 'master'
...
Implement /battlemode command and more
See merge request veloren/veloren!2787
2021-09-04 18:37:01 +00:00
juliancoffee
670e29a286
Better formatting
2021-09-04 20:56:55 +03:00
juliancoffee
3cf9d0cdb0
Adress review:
...
- explanation of what pvp/pve means in /battlemode help
- check for radius from town instead of town in chunks (because it count
plant fields, which is kinda meh)
- better error displaying
2021-09-04 20:38:53 +03:00
Bryant Deters
f8c54cbd05
added a bipedsmall variant to loot fallback
2021-09-04 12:11:09 -05:00
Sam
261fd562dc
Raiders raid less often, raid for less time, and sit at their home for longer.
2021-09-04 12:42:42 -04:00
Sam
f65b3a094d
Cultists now properly raid villages.
2021-09-04 12:25:04 -04:00
Sam
f198349f61
Attempt at getting raiders to wander around village once they get there.
2021-09-04 01:10:57 -04:00
Sam
e75156e052
Hacky raid mechanics for cultist raiders.
2021-09-04 00:34:30 -04:00
Sam
57ba9a0300
Cultist enemies are now spawned by rtsim.
2021-09-04 00:05:48 -04:00
Sam
311fb251c1
Allowed specifying that rtsim entities spawn at a particular site.
2021-09-03 23:34:24 -04:00
juliancoffee
43d40c4efc
Workaround of bug with global Player component
...
* Set default value of battle_mode and last_battlemode_change explicitly
if isn't found in battlemode_buffer
2021-09-04 02:29:02 +03:00
juliancoffee
844e93e67b
Improve UX of /battlemode
2021-09-04 01:41:48 +03:00
juliancoffee
1baa9e9879
Add in-memory persistence for battlemode changes
2021-09-04 01:41:48 +03:00
juliancoffee
fbe745fe1e
Cooldowns
...
- Add last_battlemode_change to Player component
- check on last_battlemode_change in handle_battlemode
- set last_battlemode_change after setting battlemode
- still are not persisted in any way
2021-09-04 01:41:48 +03:00
juliancoffee
85e8c50d35
Fix town detection
2021-09-03 17:28:34 +03:00
juliancoffee
1838d151f5
Make it compile without feature(worldgen)
...
+ move settings check to toggling mode segment
2021-09-03 17:28:34 +03:00
juliancoffee
68a4b269d2
Allow changing mode only with enabled settings
...
- send warning in force mode
2021-09-03 17:28:34 +03:00
juliancoffee
3fd573f1ec
Allow changing battle_mode only in towns
2021-09-03 17:28:34 +03:00
juliancoffee
338e81de10
Deduplicate pvp-checks
2021-09-03 17:28:34 +03:00
juliancoffee
2e79c61123
Implement /battlemode_force command
...
+ add placeholder for /battlemode command (currently can only show your
battle mode)
2021-09-03 17:28:34 +03:00
juliancoffee
f01309dfc2
Add PerPlayer server flag for BattleMode
2021-09-03 17:28:34 +03:00
juliancoffee
6b0d016418
Don't forget about pets in PvP checks
2021-09-03 17:28:34 +03:00
Marcel
970d57f905
Merge branch 'juliancoffee/skill_boost_rework' into 'master'
...
ECS & Diary info synchronization
See merge request veloren/veloren!2771
2021-09-02 16:04:23 +00:00