jshipsey
786ae39fb4
new entities
2022-02-09 20:10:59 -05:00
juliancoffee
d9726e5b90
Define 4 traveler kinds in RtSim
2022-02-08 01:35:54 +02:00
juliancoffee
ffac9f1b9c
Smol RtSim refactor
...
- Remove traveler branch from adhoc_loadout
- Rename RtSimEntityKind::Random to RtSimEntityKind::Wanderer, which
encompasses all wandering stuff like birds that travel from site to
site, humanoid travelers, ships, etc.
2022-02-08 01:35:54 +02:00
juliancoffee
79e5a20960
Add stub implementation in RtSim
2022-02-08 01:35:54 +02:00
James Melkonian
f21e0f31fb
Restrict RtSim ships to airships
2022-02-03 21:41:20 -08:00
Avi Weinstock
5f8957d8ef
Globally allow the clippy lints {new_without_default, many_single_char_names, identity_op, type_complexity, too_many_arguments}
.
2022-01-30 20:16:20 +01:00
Joshua Barretto
d8c4284a32
Merge branch 'zesterer/worldgen' into 'master'
...
Improvements to site2
See merge request veloren/veloren!3159
2022-01-28 17:14:07 +00:00
Joshua Barretto
5b3d826396
Better hazard checks
2022-01-28 15:17:56 +00:00
Joshua Barretto
69436db64c
Added wall lamps
2022-01-28 13:58:41 +00:00
juliancoffee
ed593cd0cb
Adress review №2
2022-01-28 00:02:34 +02:00
juliancoffee
6ae25d5956
Require rng from EntityInfo::with_asset_expect
2022-01-28 00:02:34 +02:00
juliancoffee
5a370cb6f7
Loadout Update: Use
...
Delete guard and villager lazy_loadout and use LoadoutKind::Extended
with potions instead
2022-01-28 00:02:34 +02:00
juliancoffee
4a4f2f8d8f
Loadout Update: Managed Rng
...
Rewrite EntityInfo api to take Rng from caller.
2022-01-28 00:02:34 +02:00
juliancoffee
d5b927602a
Loadout Udpate: NpcData part
...
Actually implement creating npc with new EntitytInfo by chaning
CreateNpc.loadout to CreateNpc.inventory and cleaning code in
NpcData::from_entity_info.
2022-01-28 00:02:34 +02:00
Joshua Barretto
60b7528199
Improved rtsim entity pathfinding
2022-01-17 12:34:31 +00:00
Joshua Barretto
043016a433
Don't try to mount unmountable entities, clippy fixes and fmt
2022-01-16 17:53:14 +00:00
Joshua Barretto
2923d3cd2b
Made NPCs prefer food when idle
2022-01-16 17:53:13 +00:00
Sam
9b6c76bd3b
Removed health scaling that bypasses the skill system.
2022-01-15 11:58:28 -05:00
jshipsey
0e9d50162b
last fixes
2022-01-14 00:19:32 -05:00
jshipsey
1fac6359de
more gnarling weapons
2022-01-13 23:20:56 -05:00
Jonathan Berglin
596307c9b7
Remove unused clippy suppressions
2021-12-05 17:59:02 +00:00
Joshua Barretto
de087ae992
Added site2 worldgen feature
2021-11-01 22:53:38 +00:00
Joshua Barretto
9ce057212b
Trading for travelers
2021-11-01 22:19:49 +00:00
Joshua Barretto
0cb88139c9
Made merchants work in new sites
2021-11-01 22:19:49 +00:00
Joshua Barretto
4b8bf94320
Used correct entity configs
2021-11-01 22:19:49 +00:00
Joshua Barretto
e3ab8fc8ce
Added rtsim merchants to site2
2021-11-01 22:19:49 +00:00
Joshua Barretto
8e2ca9cdec
Added rtsim villagers to site2 towns
2021-11-01 22:19:49 +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
Treeco
4ab6336d11
Fix large map loading
2021-10-06 02:26:58 +01: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
juliancoffee
2475b97918
Move loot tables to entity configs
2021-09-27 15:09:22 +03:00
Snowram
76d41aa340
Removes flame wyvern from RTsim pool until proper introduction
2021-09-22 20:59:04 +02:00
jshipsey
3c623c6801
address comments, boost village pop, lower raid chance
2021-09-06 00:01:26 -04:00
Sam
9675d2b45a
Cultists no longer attack the starting town.
2021-09-05 11:36:40 -04: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
ubruntu
20e33f5575
Split up iteration of rtsim entities each tick
2021-08-23 21:49:32 +00:00
Joshua Barretto
45f94b0bce
Better Agent API
2021-08-02 13:08:39 +01:00
Marcel
680492cea6
Merge branch 'juliancoffee/entity_refactor' into 'master'
...
Improve terms of EntityConfig and LoadoutBuilder
See merge request veloren/veloren!2688
2021-07-28 23:19:04 +00:00
Ben Wallis
01ca6911a9
* Pets are now saved on logout and spawned with the player on login
...
* Pets now teleport to their owner when they are too far away from them
* Limited the animals that can be tamed to `QuadrupedLow` and `QuadrupedSmall` to prevent players taming overly powerful creatures before the pet feature is further developed
* Added `Pet` component used to store pet information about an entity - currently only used to store the pet's database ID
* Added `pet` database table which stores a pet's `body_id` and `name`, alongside the `character_id` that it belongs to
* Replaced `HomeChunk` component with more flexible `Anchor` component which supports anchoring entities to other entities as well as chunks.
2021-07-28 22:36:41 +00:00
juliancoffee
14ac9a8b4e
Improve terms of EntityConfig and LoadoutBuilder
...
* rename LoadoutBuilder::new to LoadoutBuilder::empty
* remove LoadoutBuilder::default as Default makes no sense here
* move comments from template.ron to EntityConfig struct
* add FIXME comments to split EntityConfig into EntityBase and
EntityExtension
2021-07-28 19:19:10 +03:00
juliancoffee
a03992a236
Wake birds up
...
* give large rtsim birds their default main tool which allows them to
use AI tactics
* force entities to fly on critical failing velocities to avoid suicide
2021-07-22 18:00:22 +03:00
Imbris
9c72333741
Revert "Merge branch..."
...
This reverts merge request !2608
2021-07-17 22:04:59 +00:00