Commit Graph

1883 Commits

Author SHA1 Message Date
Christof Petig
59d876a654 pass humidity to meta, move smoke cycle to separate file 2022-06-01 22:13:34 +02:00
Christof Petig
3fc59d7e4d lower trading output to trace (and raise one to warn) 2022-05-29 19:09:52 +02:00
Marcel
47a7943cc2 Merge branch 'upgrade_assets_manager' into 'master'
Upgrade `assets_manager` to `0.8.0` and `image` to `0.24`

See merge request veloren/veloren!3410
2022-05-28 22:41:23 +00:00
Makselord
69041137a0 reduced bamboo spawn rates 2022-05-28 18:04:06 -04:00
Makselord
c92cd26ff1 bamboo collectibles spawn near rivers 2022-05-28 17:56:35 -04:00
Benoît du Garreau
f36e74e383 Fix deprecated function use 2022-05-28 23:53:30 +02:00
Benoît du Garreau
8488c7b25e Upgrade assets_manager to 0.8.0 and image to 0.24
This removes a significant number of duplicated dependencies
2022-05-28 23:18:31 +02:00
Sam
95c3fdffa1 Addressed playtest feedback (no assets). 2022-05-16 15:11:39 -04:00
Sam
816c265662 Rebase stuffs 2022-05-16 15:11:26 -04:00
Joshua Barretto
eec2d67bb7 Merge branch 'zesterer/worldgen' into 'master'
Worldgen Improvements

See merge request veloren/veloren!3378
2022-05-15 19:44:12 +00:00
Joshua Barretto
30b041282f More rocks near rivers 2022-05-15 18:31:24 +01:00
Joshua Barretto
692309029d Improved badlands 2022-05-15 16:14:03 +01:00
Joshua Barretto
cc295b483a Better snow cover 2022-05-15 15:34:36 +01:00
Isse
2050bce77d Water caves 2022-05-15 10:16:53 +00:00
Joshua Barretto
ecf97a53cd Regular warping 2022-05-15 10:19:57 +01:00
Joshua Barretto
e5c49af547 Faster, prettier, and less troublesome terrain warping 2022-05-14 17:00:03 +01:00
Joshua Barretto
907ba3dcbc Added giant trees to LoD 2022-05-10 20:30:48 +01:00
Joshua Barretto
d4fd9d2d0e Added LoD houses 2022-05-10 19:19:46 +01:00
Joshua Barretto
f35c98d1a1 Added LoD distance setting 2022-05-10 12:40:06 +01:00
Joshua Barretto
3881d2ea38 Fixed i16 underflow 2022-05-10 12:38:36 +01:00
Joshua Barretto
1db7cc7fde LoD trees in snow are white 2022-05-10 12:38:36 +01:00
Joshua Barretto
cf346d05c1 Different kinds of tree 2022-05-10 12:38:36 +01:00
Joshua Barretto
b3126ca687 Initial implementation of LoD trees 2022-05-10 12:38:36 +01:00
IsseW
9a9302a0b6 Use a seperate rng for peak and biome name gen 2022-05-10 10:24:25 +02:00
Imbris
bed8ae68fe Optimize biome naming floodfill by replacing hashmaps 2022-05-10 03:30:09 -04:00
IsseW
9abbb0e928 naming behind feature and fix addition overflow 2022-05-10 08:03:40 +02:00
Joshua Barretto
30e73735de Added SpawnMode to allow for ice and water column spawning of wildlife 2022-05-08 12:37:29 +01:00
Treeco
66fe458623 Improve water.rs usability
Will have an accompanying book update
2022-05-06 13:12:11 +01:00
Marcel Märtens
697673bcca update toolchain to nightly-2022-04-25 2022-05-03 15:22:28 +02:00
Marcel
593d8fa4b5 Merge branch 'xMAC94x/update_vek' into 'master'
switch to upstream vek again

See merge request veloren/veloren!3342
2022-05-02 08:34:21 +00:00
Marcel
e30845c68f Merge branch 'christof/shredded_economy3' into 'master'
Economic debugging and documentation

See merge request veloren/veloren!3309
2022-05-01 18:26:29 +00:00
Marcel Märtens
fa49248c31 switch to upstream vek again 2022-04-28 09:10:55 +02:00
Isse
3027597352 Site2 giant tree entity spawning 2022-04-27 10:53:08 +00:00
Christof Petig
2ddd1cc0a7 execute with local tracing environment
sadly the level passed is ignored, and it warns about an invalid filter directive
but RUST_LOG environment variables work as expected
2022-04-24 17:26:16 +02:00
Christof Petig
ab985b54ab initialize ERROR not INFO 2022-04-24 17:26:16 +02:00
Christof Petig
5f5ebeecfe ignore expensive tests without much added value 2022-04-24 17:26:16 +02:00
Christof Petig
2f7c50281f fix neighbor logic in test, fix clippy, fix rustfmt 2022-04-24 17:26:16 +02:00
Christof Petig
8dfd6dc523 document more elements of economy 2022-04-24 17:26:16 +02:00
Christof Petig
53ace17327 output trade to csv file 2022-04-24 17:26:16 +02:00
Christof Petig
dc4b9dc19e more readable and meaningful csv output 2022-04-24 17:26:16 +02:00
Christof Petig
d897df4b78 output number of trade partners 2022-04-24 17:26:16 +02:00
Christof Petig
eedfce45bc also output normal economic simulation 2022-04-24 17:26:16 +02:00
Christof Petig
8e48d59539 also print situation in other econ test 2022-04-24 17:26:16 +02:00
Christof Petig
b144ed42e3 display trade volume 2022-04-24 17:26:16 +02:00
Christof Petig
57dafea9b4 group the first three settlements together (should enable them to survive by trade) 2022-04-24 17:26:16 +02:00
Christof Petig
6f431a6fff rearrange and connect towns (shows planning weakness) 2022-04-24 17:26:16 +02:00
Christof Petig
faf12118f0 remember which good a profession is missing for productivity 2022-04-24 17:26:16 +02:00
Christof Petig
94bef521ce new test to check different resource situations 2022-04-24 17:26:15 +02:00
Christof Petig
40cf44d7b1 Enforce a minimum price for goods 2022-04-23 22:11:29 +02:00
Youssef Fahmy
aec866e5ec Balance tweaks 2022-04-23 14:54:01 +00:00
aflying pumpkin
c7f7e63495 Added Lionesses 2022-04-16 16:57:59 +00:00
flo
262a730cc6 clifftown sprite fix 2022-04-15 20:01:59 +00:00
Marcel Märtens
64b9602760 update further dependencies, including strum and get rid of old strum_macro 2022-04-04 16:06:47 +02:00
Marcel Märtens
affdf3131f update a bunch of dependencies, including clap3 2022-04-04 11:43:29 +02:00
flo
3d24b1d635 CliffTowns 2022-03-29 12:52:08 +00:00
James Melkonian
5b801dc44d Adjust harvester boss arena offset 2022-03-27 20:41:03 -07:00
Samuel Keiffer
4aaefdf6be Merge branch 'ubruntu/site2-guards-raiders' into 'master'
Bring raiders and guards to site2 towns

See merge request veloren/veloren!3300
2022-03-26 00:29:53 +00:00
ubruntu
6d30f7f748 Bring raiders and guards to site2 towns 2022-03-26 00:29:52 +00:00
Marcel
a8a8ee181d Merge branch 'christof/parallel_economy' into 'master'
Parallel economic simulation, based on shredded_economy2

See merge request veloren/veloren!3288
2022-03-25 19:59:57 +00:00
Samuel Keiffer
3964ac466a Merge branch 'ubruntu/house-decorations' into 'master'
Site2 house decorations

See merge request veloren/veloren!3273
2022-03-24 15:13:56 +00:00
ubruntu
c71354e192 Site2 house decorations 2022-03-24 15:13:56 +00:00
InfRandomness
8359d5754a Add new primitive to draw giant trees 2022-03-24 15:13:53 +00:00
Christof Petig
aeac483bac parallel simulation of economies 2022-03-21 23:35:08 +01:00
Christof Petig
96c5d17460 Address xmac's comments and prepare for parallelization 2022-03-21 23:35:08 +01:00
Christof Petig
ef6cee891f move the economy tick into Economy
This prepares for a parallel processing as it centralizes access to the surrounding index
2022-03-19 09:39:56 +01:00
Olexorus
cf66eccb75 Use Rust 2021 postfix .into_iter() 2022-03-15 16:34:56 +01:00
DaforLynx
ff624dd6e9 Reinstate town music. 2022-03-13 11:18:32 +00:00
DaforLynx
7b6f424bb0 Loud rivers 2022-03-13 07:47:23 +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
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
Isidor Nielsen
e21f04d456 Add entity spawn on painter 2022-03-09 21:40:23 +00:00
Christof Petig
546afa86ae Economy redesign: Cleaner file structure (no code change) 2022-03-05 09:19:26 +00:00
Christof Petig
f347b9de11 Diversify price calculation for items by using multiple categories per item. 2022-03-03 02:32:34 +00:00
Isidor Nielsen
bd8a7a0506 Better rocks 2022-03-02 16:28:04 +00:00
Isidor Nielsen
f8916f878a Primitive group transformation and RotateAround primitive 2022-03-01 23:38:05 +00:00
infrandomness
1d44247efe
Enable return_self_not_must_use lint 2022-03-01 10:53:57 +01:00
floppy
b0ba5b9979 fix SeaCrocodiles spawning in lakes 2022-02-25 18:13:47 +01:00
Tormod G. Hellen
5df1ee6382 Prevent castles being assailable from above. 2022-02-22 22:11:01 +01:00
Tormod G. Hellen
609b26ce20 Prevent trees being placed in barren regions. 2022-02-22 21:00:52 +01:00
Tormod G. Hellen
a2d24521ee Prevent things being close that shouldn't. 2022-02-22 21:00:52 +01:00
Tormod G. Hellen
b6b67d367a Prevent close settlements. 2022-02-22 21:00:52 +01:00
Tormod G. Hellen
acce8aefa4 Determine town suitability using log function. 2022-02-22 21:00:52 +01:00
Tormod G. Hellen
22a75332f8 Ensure towns are placed only in viable locations. 2022-02-22 21:00:52 +01:00
Tormod G. Hellen
1ae93ee00e Add more water checks.
Not sure if necessary or just paranoia.
2022-02-22 21:00:52 +01:00
Tormod G. Hellen
339d6f2a3b Refactor for clarity.
This code was a bit hard to read. The name ought to make it easier.
2022-02-22 21:00:52 +01:00
IsseW
e9e4be6e7e break when there are no stations 2022-02-20 22:11:09 +01:00
IsseW
258b3c7535 Workshop fixes 2022-02-20 22:08:13 +01:00
Joshua Barretto
4ef1c92858 Merge branch 'enable_custom_names_for_lakes' into 'master'
enable custom naming bricks for lake biomes

See merge request veloren/veloren!3210
2022-02-20 19:47:23 +00:00
floppy
0d3a0cd1b8 enable custom naming bricks for lake biomes 2022-02-16 20:30:52 +01:00
Joshua Barretto
00b003a23c Enabled site2 towns by default 2022-02-15 19:01:43 +00:00
Samuel Keiffer
6c7c0eefae Merge branch 'gnarlings' into 'master'
Gnarlings

See merge request veloren/veloren!3194
2022-02-15 00:22:37 +00:00
Avi Weinstock
70b7e1ef92 Automatically fill top-level unions as separate fills. 2022-02-14 14:28:00 -05:00
Sam
2bcf9b9a26 Removed unions in gnarling site to make chunkgen more performant 2022-02-14 12:40:06 -05:00
Joshua Barretto
6e46b4ddef Fixed CI 2022-02-14 11:46:42 -05:00
Avi Weinstock
aab552afc5 Iterate over partially-disjoint unions of primitive bounds, improving CSG rasterization performance in the presence of sparse/disjoint unions. 2022-02-13 23:48:12 -05:00
Sam
6dafacaa24 Addressed review comments 2022-02-13 21:49:46 -05:00
Avi Weinstock
4f962df7c8 Automatically use right-recursion instead of left-recursion for union/intersection of CSG primitives via measuring the depth of the trees when unioning/intersecting them. 2022-02-13 15:44:51 -05:00
Sam
2e6610314c Balance tweaks 2022-02-13 00:39:46 -05:00
Sam
c77270b799 Addressed feedback 2022-02-12 20:52:01 -05:00
Sam
49e8803ee0 Fixed tests 2022-02-12 17:22:08 -05:00
James Melkonian
8da1ae578f Simplify tunnel entity spawning 2022-02-12 14:21:22 -08:00
James Melkonian
8a02a943f4 Document tunnel generation 2022-02-12 13:57:44 -08:00
InfRandomness
090ac9030c Change Path colors 2022-02-11 17:05:10 +00:00
jshipsey
2eee43865f chieftain anims 2022-02-11 02:18:48 -05:00
Sam
4991f7ecea Gnarlign site tweaks and chieftain buff 2022-02-11 01:23:09 -05:00
James Melkonian
95ea7a47e0 Gnarling cavern entrance stump 2022-02-10 19:35:30 -08:00
Sam
cab87658a3 Placement tweaks 2022-02-10 14:58:39 -05:00
James Melkonian
07d19bf03c Gnarling cavern tweaks 2022-02-10 14:58:38 -05:00
Sam
86a00e75bb Tweaked fire particles 2022-02-10 14:58:37 -05:00
Sam
bf7e84c6ae Initial particle work 2022-02-10 14:58:37 -05:00
jshipsey
5eea73f793 root walls, minor tweaks 2022-02-10 14:58:36 -05:00
Sam
0031aa6f5f Chieftain AI and attacks 2022-02-10 14:58:35 -05:00
jshipsey
3a35dcc77f brick texture colors 2022-02-10 14:58:34 -05:00
jshipsey
0c788997a4 anims 2022-02-10 14:58:34 -05:00
James Melkonian
14080da693 Fix rebase 2022-02-10 14:58:33 -05:00
Sam
f1801560fa Deadwood ai 2022-02-10 14:58:31 -05:00
jshipsey
cb48dd0a75 adjust chieftain hut, start alter 2022-02-10 14:58:30 -05:00
Sam
c15fb2b68f Better mugger AI 2022-02-10 14:58:28 -05:00
jshipsey
e93e7fd21c random hut variation and banner tatter 2022-02-10 14:58:26 -05:00
James Melkonian
d0477c259e Color caverns and provide some foliage 2022-02-10 14:58:25 -05:00
jshipsey
3a02d11bab banners, reworked huts/watchtowers/fencetowers 2022-02-10 14:58:25 -05:00
James Melkonian
3a8a0d9c53 Cavern systems under gnarling fortifications 2022-02-10 14:58:24 -05:00
jshipsey
c1df0ddbf3 some aesthetic work 2022-02-10 14:58:23 -05:00
Sam
6c6caa7535 Enemy spawns in gnarling fortification. 2022-02-10 14:58:22 -05:00
Sam
2dfeadcbc4 Basic enemy spawning. 2022-02-10 14:58:22 -05:00
Sam
59551efb06 Fixed bug that would cause gate to be next to chieftain hut. 2022-02-10 14:58:21 -05:00
Sam
9dcfb43fe6 Watchtowers near gate entrance. 2022-02-10 14:58:20 -05:00
Sam
09ce889bfc Chieftain hut 2022-02-10 14:58:20 -05:00
Sam
18cb0c7e41 Wall segments and towers for chieftain area. 2022-02-10 14:58:19 -05:00
Sam
466a02e1cf Re-organzied code relating to tower and wall generation. 2022-02-10 14:58:18 -05:00
Sam
643713d8b1 Huts now have doors. Added totems. 2022-02-10 14:58:18 -05:00
Sam
dd289ea5da Initial huts 2022-02-10 14:58:17 -05:00
Sam
920fa11ddf Section of wall opened. 2022-02-10 14:58:16 -05:00
Sam
cf73da2955 Gnarling watch towers. 2022-02-10 14:58:15 -05:00
Sam
90cedfc95d Gnarlings can now make walls. 2022-02-10 14:58:15 -05:00
Sam
b28f6276dd Gnarling dungeons now only generate near forests. 2022-02-10 14:58:09 -05:00
Joshua Barretto
31192c80bc Merge branch 'biome_name_update_and_site&theme_based_naming' into 'master'
biome_name_update_and_site&theme_based_naming

See merge request veloren/veloren!3187
2022-02-10 09:35:47 +00:00
floppy
996488ca7e remove unnecessary, vec!s from namgen bricks 2022-02-10 09:58:14 +01:00
jshipsey
786ae39fb4 new entities 2022-02-09 20:10:59 -05:00
Joshua Barretto
507b5d371c Merge branch 'fix_plazas_in_site2_towns' into 'master'
fix plazas in site2 towns spawning on top of each other

See merge request veloren/veloren!3191
2022-02-09 23:19:01 +00:00
floppy
80490580a4 fix plazas in site2 towns spawning on top of each other 2022-02-09 23:44:27 +01:00
floppy
680a6e477e enable flattening for site2 towns in civ/mod.rs,
to avoid mountain towns spawning underground
2022-02-09 23:28:56 +01:00
floppy
03cb885af4 - add more custom bricks for biomes
- update biome and site names
2022-02-09 08:14:13 +01:00
floppy
422be1b451 - add generate_gnarling and generate_town in namegen.rs
- enable generate_town for site2 towns in site2/mod.rs
2022-02-05 13:32:45 +01:00
floppy
bd862b3dd1 tweak generate_danari in namegen.rs 2022-02-05 11:21:19 +01:00
floppy
33dae9b3b1 -adjust size-threshold for Jungle to fix Jungles not being named.
-set size-threshold for anticipated Swamp sizes
2022-02-04 17:14:38 +01:00
floppy
b85a384d38 -adjust size-threshold for Jungle to fix Jungles not being named. 2022-02-04 16:54:42 +01:00
floppy
b5dfe74d41 -add more biome specific namegen functions
-introduce random choice between engl and custom naming
-add namegen section for site/theme based naming
2022-02-04 15:45:11 +01:00
Joshua Barretto
ac13d07443 Merge branch 'crafting_stations_in_site2_towns' into 'master'
add crafting stations to workshop in site2 towns

See merge request veloren/veloren!3174
2022-02-03 17:16:30 +00:00
floppy
74bf89077f use const CARDINALS to generate spawn positions for crafting_stations. 2022-02-03 17:40:26 +01:00
floppy
595e6ee076 - randomize distribution of crafting_stations to static positions 2022-02-02 22:15:04 +01:00
InfRandomness
54b69e37a5 Implement giant trees in site2 2022-02-02 02:33:37 +00:00
floppy
ddc35d8b7d - add crafting stations to workshop in site2 towns
- TODO: connect Painter rng when implemented
2022-02-01 23:53:18 +01:00
Joshua Barretto
0ceef00b40 Merge branch 'james/site2-util' into 'master'
More CSG primitives

See merge request veloren/veloren!3154
2022-02-01 09:16:38 +00:00
James Melkonian
2aab277d0b Add doc comments to PrimitiveRef methods 2022-01-31 18:39:03 -08:00
Joshua Barretto
fb7433a5cf Merge branch 'determanistic-naming' into 'master'
Fix biome naming

See merge request veloren/veloren!3173
2022-02-01 00:51:26 +00:00
IsseW
0f7f0ace93 Use DHashMap 2022-02-01 01:20:00 +01:00
James Melkonian
b445bd494e Bezier curve prisms 2022-01-31 16:13:45 -08:00
James Melkonian
04bdcf2924 Add cubic bezier curve function 2022-01-31 16:13:45 -08:00
James Melkonian
b41f86ab99 More CSG primitives 2022-01-31 16:13:45 -08:00
IsseW
0ba4a3a409 Use DHashSet 2022-02-01 01:07:36 +01:00
Justin Shipsey
612f084831 Merge branch 'slipped/bipeds' into 'master'
Slipped/bipeds

See merge request veloren/veloren!3163
2022-01-31 17:08:01 +00:00
Joshua Barretto
1b9488186e Merge branch 'treeco/realign-workshop' into 'master'
Realign workshops

See merge request veloren/veloren!3168
2022-01-30 23:27:50 +00:00
Treeco
ba7251c7e3 Realign workshops 2022-01-30 22:45:56 +00:00
Marcel Märtens
201a5ac2c7 stricten some rules and fix some clippy warnings 2022-01-30 20:16:21 +01:00
Avi Weinstock
f3f08936d8 Decrease too-many-arguments-threshold and type-complexity-threshold. 2022-01-30 20:16:21 +01: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
jshipsey
7cac4b4001 myrmidon fix 2022-01-30 02:02:23 -05:00
jshipsey
7827797106 weapon tweaks 2022-01-30 01:10:13 -05:00
Samuel Keiffer
fe532cf536 Merge branch 'isse/repeat-primitive' into 'master'
Repeat CSG primitive and float line segment

See merge request veloren/veloren!3158
2022-01-28 20:04:45 +00:00
Isidor Nielsen
6f99e70cca Repeat CSG primitive and float line segment 2022-01-28 20:04:45 +00: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
15c5f2f969 Better paths in snow 2022-01-28 16:45:58 +00:00
Joshua Barretto
5b3d826396 Better hazard checks 2022-01-28 15:17:56 +00:00
Joshua Barretto
cb45cea6a0 Merge branch 'fix-dungeon-collision' into 'master'
Fix dungeon collision

See merge request veloren/veloren!3131
2022-01-28 14:07:01 +00:00
Joshua Barretto
69436db64c Added wall lamps 2022-01-28 13:58:41 +00:00
threadexception
9822abf9ba Fix dungeon collision 2022-01-28 13:59:49 +01:00
Joshua Barretto
e991ff7d6d More precise path placement 2022-01-28 11:56:07 +00:00
jshipsey
4fbd3027a1 new mobs 2022-01-28 02:50:15 -05:00
juliancoffee
6ae25d5956 Require rng from EntityInfo::with_asset_expect 2022-01-28 00:02:34 +02:00
juliancoffee
79a04c3533 fmt 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
Joshua Barretto
e329100455 Prevent workshops destroying their neighbours 2022-01-27 19:37:24 +00:00
Joshua Barretto
548591b561 Merge branch 'more_biome_namegen_bricks' into 'master'
more biome namegen bricks

See merge request veloren/veloren!3148
2022-01-27 12:02:31 +00:00
Joshua Barretto
692855198e Improved terrain in sites 2022-01-27 11:48:41 +00:00
floppy
d2e84fb936 - use common fn generate_from_parts to generate biome-names
- arrays for bricks instead of vecs
2022-01-27 12:29:34 +01:00
floppy
52c4c170fc - use common fn generate_from_parts to generate biome-names
- arrays for bricks instead of vecs
2022-01-27 12:25:17 +01:00
infrandomness
1a1acfae2c
Fix RUSTSEC-2022-0006 2022-01-26 22:08:38 +01:00
juliancoffee
4fe5fdad4a Move world to 2021 edition 2022-01-26 16:03:27 +02:00
floppy
87ea7a906a more biome namegen bricks 2022-01-26 14:58:48 +01:00
InfRandomness
52c92ba0d4 Give names to site2 sites 2022-01-26 11:42:35 +00:00
Dominik Broński
ca7b048184 Merge branch 'SeaCrocodile' into 'master'
Sea crocodile

See merge request veloren/veloren!3146
2022-01-26 01:26:38 +00:00
Joshua Barretto
59ac3b1d4f Fixed site2 economies 2022-01-25 16:31:12 +00:00
floppy
ea6f09ec88 change SeaCrocodile spawn 2022-01-25 10:27:25 +01:00
floppy
fb316e8f66 SeaCrocodile spawning in tropical Oceans 2022-01-24 19:36:13 +01:00
Joshua Barretto
9601462f6c Merge branch 'name_areas_based_on_biome' into 'master'
fix Swamp-naming

See merge request veloren/veloren!3124
2022-01-20 21:17:13 +00:00
floppy
d47e06baac - fix Swamp-naming 2022-01-20 21:46:51 +01:00
Joshua Barretto
4f181c936d Merge branch 'name_areas_based_on_biome' into 'master'
name_areas_based_on_biome

See merge request veloren/veloren!3115
2022-01-20 19:50:57 +00:00
floppy
8f0ad56d25 change algorithm for biome-naming to weigh chunks evenly 2022-01-20 20:08:59 +01:00
floppy
9f0664c73b civ/mod.rs - replace duplicate code 2022-01-20 16:17:40 +01:00
Snowram
a6e396e29a Stunned and jump anims, stats, spawns, more IA work 2022-01-20 00:53:29 +01:00
Snowram
f6d7ba33ef Arthropods spawns and loots 2022-01-19 19:01:16 +01:00
floppy
ceb3507e50 -remove line breaks from biome names
-disable Wilderness world message in unspecified mini-biomes
-remove duplicate name in Grasslands name pattern
2022-01-18 11:27:55 +01:00
IsseW
40580578a0 Don't add unnecessary biome pois 2022-01-18 10:07:40 +01:00
floppy
4a8c428a3f update/add namegen-bricks for forest and grassland 2022-01-18 08:36:40 +01:00
floppy
1a5c1ae319 length comparison to zero in /civ/mod.rs
warning: length comparison to zero
   --> world/src/civ/mod.rs:482:15
    |
482 |         while to_explore.len() > 0 {
    |               ^^^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!to_explore.is_empty()`
    |
    = note: `#[warn(clippy::len_zero)]` on by default
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero

warning: length comparison to zero
   --> world/src/civ/mod.rs:489:19
    |
489 |             while to_floodfill.len() > 0 {
    |                   ^^^^^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!to_floodfill.is_empty()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero
2022-01-18 00:41:59 +01:00
floppy
0c97a6e91a add synonyms for biomes 2022-01-17 20:14:16 +01:00
floppy
88a39476bc tweak fn generate_biome in namegen 2022-01-17 19:03:15 +01:00
floppy
609d23ae4f - make individual size thresholds for biome name generation to include small lakes
- add original Lake naming pattern, partly (no water_alt check)
2022-01-17 16:02:52 +01:00
floppy
ced1a82824 - add size threshold for biomes to name, to exclude mini-biomes from clogging the map.
- fmt, clippy
2022-01-17 11:19:34 +01:00
floppy
18c434c613 tweak generate_biome 2022-01-17 09:04:12 +01:00
floppy
c00f5bafee add fn generate_forest in namegen to name forest biomes 2022-01-17 08:36:35 +01:00
floppy
5ad8501cc8 update bricks in fn generate_biome in namegen, tweaks
WIP
2022-01-16 21:22:12 +01:00
IsseW
5b9f405671 Better placement of poi and actual names 2022-01-16 20:28:53 +01:00
IsseW
f8d94ef25f biome name to chunk name 2022-01-16 18:11:22 +01:00
IsseW
5bd7507f31 Added poi for all biomes 2022-01-16 16:54:49 +01:00
floppy
d5f0ee2fc5 create fn generate_biome in namegen 2022-01-16 16:40:22 +01:00
Sam
9b6c76bd3b Removed health scaling that bypasses the skill system. 2022-01-15 11:58:28 -05:00
Isidor Nielsen
5642680687 Site2 util 2022-01-15 13:06:18 +00: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
jshipsey
7f928d0bc0 woodengolem, chieftain, icedrake, blowgun 2022-01-13 23:20:52 -05:00
Monty Marz
d72d926341 change merchant backpack visuals and add mining skill icons 2022-01-08 01:57:52 +01:00
Imbris
58b41bb2bb Merge branch 'debug' into 'master'
Use debug_map to implement Debug

See merge request veloren/veloren!3048
2022-01-02 21:02:26 +00:00
Imbris
972c8ba41d Add wildlife density modifier to features.ron 2021-12-25 19:24:09 -05:00
Imbris
bf48bd5346 update toolchain to nightly-2021-12-19 2021-12-23 13:04:24 +01:00
Christof Petig
453c4c149e fix more examples and satisfy code quality checks 2021-12-20 18:09:34 +00:00
Christof Petig
2dd63a333e fix economy test [ci skip] 2021-12-20 18:06:58 +00:00
Christof Petig
cbd2a422f3 Add Chrismas wreath (25% chance) and make the towns go wild with illumination 2021-12-20 18:06:58 +00:00
Christof Petig
3edc7b5846 make house decorations correctly depend on Calendar 2021-12-20 18:06:58 +00:00
Christof Petig
8a85d6e6e0 cargo fmt, pass calendar down into building creation 2021-12-20 18:06:58 +00:00
Christof Petig
42ba9212ea move Calendar object into WorldSim
(needed for Christmas decoration in towns)
2021-12-20 18:06:58 +00:00
Christof Petig
be1a9050a4 make Christmas decoration unconditional for now 2021-12-20 18:06:57 +00:00
Joshua Barretto
3b4fa6b328 Snow for ice 2021-12-20 18:06:53 +00:00
Joshua Barretto
6e97e3179d Slippery ice 2021-12-20 18:03:52 +00:00
UncomfySilence
d6d55764c4 + Created common.loot_tables.calendar.<seasonal_event> directory for special item drop changes or for potential bosses.
+ Created common.entity.calendar.<seasonal_event> directory for special entities that spawn exclusively during season event.
+ Added lines to world/src/layer/wildlife.rs for the current events underneath nonevent basis.
+ Attempted organization go brrrrrr
2021-12-20 18:03:52 +00:00
Joshua Barretto
a2ca95af3d Ice cliffs 2021-12-20 18:03:52 +00:00
Joshua Barretto
a2a3a20aad Added ice to cold water 2021-12-20 18:03:52 +00:00
Joshua Barretto
78f76dde83 Added baubles to trees 2021-12-20 18:03:52 +00:00
Joshua Barretto
3ddacb96ab Added christmas snow 2021-12-20 18:03:52 +00:00
Joshua Barretto
e3203080ed Added Calendar for temporal events based on the real-world calendar 2021-12-20 18:03:52 +00:00
Benoît du Garreau
aca088388b Update assets_manager to 0.7 2021-12-12 22:11:47 +01:00
notoria
81f28bc3cc Use debug_map to implement Debug 2021-12-12 21:46:06 +01:00
Jonathan Berglin
596307c9b7 Remove unused clippy suppressions 2021-12-05 17:59:02 +00:00
Dr. Dystopia
c002e5e749 Resolve all '#[allow(clippy::eval_order_dependence)]' error supressions 2021-12-03 19:44:41 +01:00
Dr. Dystopia
5d1d510d54 Resolve all '#[allow(clippy::redundant_static_lifetimes)]' error supressions 2021-12-03 10:43:09 +01:00
Jonathan Berglin
d9dd49552b Tygyh/resolve all '# allow(clippy needless update)]' error supressions 2021-11-29 09:32:55 +00:00
Imbris
7760210824 Remove redundant closures 2021-11-28 12:24:57 -05:00
Treeco
3a998ca5b9 Merge branch 'isse/primitive-fixes' into 'master'
Primitive fixes

See merge request veloren/veloren!3016
2021-11-27 19:02:12 +00:00
Marcel
724e3bcdfd Merge branch 'capucho/tracing-bump' into 'master'
Bump tracing-subscriber to 0.3.2

See merge request veloren/veloren!3032
2021-11-27 11:11:47 +00:00
João Capucho
8b89903d57
Bump tracing-subscriber to 0.3.2
We were pulling two versions of it. Causing some compilation errors
2021-11-26 17:41:51 +00:00
Marcel Märtens
ef40ebe0c8 update toolchain to nightly-2021-11-24 2021-11-24 10:09:22 +01:00
Marcel Märtens
aa93b4b53c update other binaries 2021-11-20 20:19:48 +01:00
Marcel Märtens
e29ede7c97 updating dependencies,
cannot update the following dependencies:
 - vek: Sharps SIMD isnt upstream
 - tracing-subscriber: MakeWriter was adjusted and i was to lazy to fiddle with lifetimes,
 - refinery, rustsql: we have a custom refinery version which is incompatible with newer rustsql
 - equi + egui_winit + egui_wgpu_backend: i tried it in this commit but it turned out that they dependo n wgpu which we cant update
 - wgpu: cant update due new version doesnt support DX11

Got quinn updated which now require some dependencies to be explicit.
2021-11-20 20:17:49 +01:00
IsseW
7eaddcafad Ok just call it without 2021-11-20 13:13:21 +01:00
Treeco
3018942291 Merge branch 'juliancoffee/resizeable_map' into 'master'
Add size parameter to map_file opts

See merge request veloren/veloren!2975
2021-11-19 22:50:24 +00:00
IsseW
88840fe58d Change "and_not" and "diff" to "subtract" 2021-11-19 23:38:33 +01:00
IsseW
4b6f3ddeea Intersect instad of union in pyramid 2021-11-17 14:32:07 +01:00
IsseW
07da6a9271 Rename 'and' to 'intersect' and 'or' to 'union' 2021-11-17 14:11:20 +01:00
Joshua Barretto
db741fe4c0 Added waypoints to towns 2021-11-13 17:13:09 +00:00
DemonicOnPc
b7ac542ebb fixes to branch after my whoops 2021-11-08 17:09:19 -05:00
DemonicOnPc
a9cedee277 Update scatter.rs 2021-11-08 17:09:17 -05:00
DemonicOnPc
7fc57c027b Fixes to jungle sprites and lillypads 2021-11-08 17:09:15 -05:00
DemonicOnPc
9514cd71c6 Jungle and River update
-Added Lillypads to rivers
-Added new types of reeds
-Added reeds to water
-Added more Ferns/Flowers/Plants to jungles
2021-11-08 17:09:11 -05:00
Joshua Barretto
6b4abddc4e Added floating scatter 2021-11-08 17:04:45 -05:00
Joshua Barretto
de087ae992 Added site2 worldgen feature 2021-11-01 22:53:38 +00:00
Joshua Barretto
16889b2b3e Fixed house supports 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
4acffb9cfb New CSG API for site2 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
bacb2aa504 Better town layout 2021-11-01 22:19:49 +00:00
Joshua Barretto
4a9581b54d Fixed house entrances 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
Samuel Keiffer
e692f49463 Merge branch 'sam/potion-tweaks' into 'master'
Potion tweaks

See merge request veloren/veloren!2976
2021-10-31 21:12:08 +00:00
jshipsey
f69e3c9fbc more hats 2021-10-30 23:42:17 -04:00
Treeco
e380425001 Add continent_scale_hack setting 2021-10-30 16:40:37 +01:00
Sam
ad257410e9 Merchants now have less potion stock. 2021-10-29 19:58:38 -04:00
juliancoffee
84e04fa906 Add size parameter to map_file opts 2021-10-30 01:06:40 +03:00
Monty Marz
727295aec1 text and alignment WIP 2021-10-27 17:02:35 -04:00
Monty Marz
7aae35f286 bench 2021-10-27 17:02:31 -04:00
DemonicOnPc
a74af55c46 Gemu's Revamped vox models added. 2021-10-26 05:28:05 -04:00
DemonicOnPc
8f26c451ae Added shrub density within specific regions 2021-10-25 16:20:49 -04:00
DemonicOnPc
b1476071b1 Added new Spots, Shrubs and Ships.
Spots
- Gnarling Tree
- Troll Cave
- Underwater Shipwreck second variation.

Shrubs added to biomes
- Savannah Shrubs
- Taiga Shrubs
- Temperate Shrubs

Galleon ship added
2021-10-24 08:10:44 -04: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
Joshua Barretto
f9b661fc61 Corrected historical typo 2021-10-15 22:47:43 +01:00
MohammadHasanKargar
c82b3859e0 Deleting extra grasses on the air 2021-10-15 19:09:36 +03:30
Joshua Barretto
e660aafed3 Nicer lake borders 2021-10-10 13:41:57 +01:00
Joshua Barretto
1473029204 Added ability to toggle world features 2021-10-10 13:41:57 +01:00
Joshua Barretto
bee922156e Added radial pattern to shrooms 2021-10-10 13:41:57 +01:00
Joshua Barretto
d09f1e1c4a Added noise to blocks 2021-10-10 13:41:57 +01:00
Joshua Barretto
086097cd56 Better vines and lighting 2021-10-10 13:41:57 +01:00
Joshua Barretto
a5309e1036 Prevented shrooms spawning in water 2021-10-10 13:41:57 +01:00
Joshua Barretto
2ce88ac398 Better grass and lily distribution 2021-10-10 13:41:57 +01:00
Joshua Barretto
353ccc5bce Added new cavern sprites to caverns 2021-10-10 13:41:57 +01:00
Joshua Barretto
7768a22f7f Better moss 2021-10-10 13:41:57 +01:00
Joshua Barretto
b22029f87c More mushroom sprites 2021-10-10 13:41:56 +01:00
Joshua Barretto
d785ecc102 Added vines 2021-10-10 13:41:56 +01:00
Joshua Barretto
46118acef3 Added mushroom inner bevel 2021-10-10 13:41:56 +01:00
Joshua Barretto
bfc55d7b17 More cavern details 2021-10-10 13:41:56 +01:00
Joshua Barretto
ed40e92801 Better cave water 2021-10-10 13:41:56 +01:00
Joshua Barretto
5c0026f4a7 Performance improvements for terrain watcher 2021-10-10 13:41:56 +01:00
Joshua Barretto
1cfad833c7 Added caverns, fixed chunk load performance issue 2021-10-10 13:41:56 +01:00
Treeco
e48c13e140 Decrease beehive frequency on apple trees 2021-10-08 17:42:01 +01:00
Treeco
719fce1c89 Procgen apple trees 2021-10-06 02:26:43 +01:00
Treeco
dafa1327d0 Added mottled bark to birch 2021-10-06 02:26:43 +01:00
Treeco
c502bc177a Procgen birches 2021-10-06 02:26:43 +01:00
Joshua Barretto
f13a8a643b Fixed water light extinction 2021-10-05 00:02:34 +01:00
Joshua Barretto
96e23ae2d4 Handle oceans and steep rivers gracefully, update changelog 2021-10-05 00:02:32 +01:00
Joshua Barretto
c6d3137612 Fixed sail boat thrust, removed dead water code, added comments 2021-10-05 00:02:03 +01:00
Joshua Barretto
e8021fab2c Cleaned up shrub implementation 2021-10-05 00:02:03 +01:00
Joshua Barretto
c399fe9a39 No snow on riverbeds 2021-10-05 00:02:03 +01:00
Joshua Barretto
6c6b3e1244 Better lake borders and river depth 2021-10-05 00:02:03 +01:00
Joshua Barretto
22f48b1977 Added waterfalls and fixed warping issues 2021-10-05 00:02:03 +01:00
Joshua Barretto
3b66af468a Improved river and lake banks 2021-10-05 00:02:03 +01:00
Joshua Barretto
826aff2ea4 Better lake entrances and distance 2021-10-05 00:02:03 +01:00
Joshua Barretto
f118d15745 Fixed oceans 2021-10-05 00:02:03 +01:00
Joshua Barretto
87c7d6e982 Improved river/lake rendering 2021-10-05 00:02:03 +01:00
Joshua Barretto
4aa8a6bb42 Better shrubs 2021-10-05 00:02:02 +01:00
Joshua Barretto
6284fa0ecd Tree trunk color differences 2021-10-05 00:02:02 +01:00
Joshua Barretto
4267a7b7dd Improved tree hanging and cedar distribution 2021-10-05 00:02:02 +01:00
Joshua Barretto
3f7e0a5e52 Added shrub layer with example shrub 2021-10-05 00:02:02 +01:00
Joshua Barretto
263f02dc11 Improved grass scatter 2021-10-05 00:02:02 +01:00
Sam
70c2e9bebe Cave now uses entity configs. 2021-09-27 15:09:22 +03:00
juliancoffee
80ccda6583 Refactor cave supplement to more symmetric code 2021-09-27 15:09:22 +03:00
juliancoffee
2475b97918 Move loot tables to entity configs 2021-09-27 15:09:22 +03: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
Marcel Märtens
88685cc016 update crates 2021-09-20 14:39:01 +02:00
James Melkonian
485b057d60 Prettier town houses 2021-09-17 15:49:14 -07:00
James Melkonian
42fdf0818d Gable primitive and dungeon lava rooms 2021-09-17 15:45:26 -07:00
juliancoffee
f810af4eec Rename EntityInfo level field to health_scaling 2021-09-17 20:12:42 +03:00
Monty Marz
1d94adc2e1 0.11 Background images and more 2021-09-10 08:34:01 +00:00
jshipsey
3c623c6801 address comments, boost village pop, lower raid chance 2021-09-06 00:01:26 -04:00
jshipsey
da9585205c buff guards 2021-09-05 23:17:14 -04:00
Joshua Barretto
7538f29b9e Merge branch 'slipped/tweaks' into 'master'
more spots

See merge request veloren/veloren!2806
2021-09-04 18:16:10 +00:00
Snowram
ee37c8d62d Adds new dungeon entrances 2021-09-04 14:55:55 +02:00
jshipsey
523a15e5cc more spots 2021-09-04 00:18:58 -04:00
juliancoffee
38493b615b Rebalance chest density in dungeons
- Make it depend on relative floor and not absolute floor to keep it the
  same through different dungeons.
- Make it start around the middle of dungeon to avoid chest only runs.
2021-09-03 01:08:15 +03:00
Joshua Barretto
002cd03430 Tree trunk color differences 2021-09-01 12:49:35 +01:00
Joshua Barretto
71826bccae Improved tree hanging and cedar distribution 2021-09-01 12:09:15 +01:00
Joshua Barretto
1b0cb40d94 Made ore streams mineable 2021-09-01 12:05:00 +01:00
Joshua Barretto
b646aae2a4 Removed unused tree assets 2021-08-31 10:15:52 +01:00
Joshua Barretto
9ac5e555e6 Improved giant trees 2021-08-30 00:03:16 +01:00
Joshua Barretto
92c463b315 Smaller acacia 2021-08-29 20:38:40 +01:00
Joshua Barretto
01c068a892 Snow on spots 2021-08-29 20:09:48 +01:00
Joshua Barretto
c8b1155b75 Added tree roots 2021-08-29 19:17:58 +01:00
Joshua Barretto
0011e75526 More tree variety 2021-08-29 18:38:34 +01:00
Joshua Barretto
98f4e95111 Improved giant trees 2021-08-29 14:37:11 +01:00
Joshua Barretto
643807e5ff Multiple color gradient options 2021-08-29 13:57:36 +01:00
Joshua Barretto
3592b5e7bb Better spot density 2021-08-29 13:08:13 +01:00
Joshua Barretto
87f4efd65b Added spot loot 2021-08-29 12:50:35 +01:00
Joshua Barretto
e05ca1f308 More spots 2021-08-28 16:48:34 +01:00
Monty Marz
ae6d1b7924 fixes 2021-08-28 14:53:30 +01:00
Monty Marz
b085b02ff9 fixes 2021-08-28 14:53:30 +01:00
Joshua Barretto
287e4d91bc Better entity placement for spots 2021-08-28 14:53:30 +01:00
Joshua Barretto
b32dcd5203 Fixed missing sprites 2021-08-28 14:53:30 +01:00
Monty Marz
771a380e6c witch stuff 2021-08-28 14:53:30 +01:00
Joshua Barretto
328fc190d1 Reduced leaf noise for spots 2021-08-28 14:53:30 +01:00
Monty Marz
df0ab43bb8 taiga and savannah definitions 2021-08-28 14:53:30 +01:00
Joshua Barretto
cb0f10b754 Removed quirky tree-like structures 2021-08-28 14:53:30 +01:00
Monty Marz
a22c0ab48f lion rock
fixes
2021-08-28 14:53:30 +01:00
Joshua Barretto
4b244ac1ba Prevented trees spawning near spots 2021-08-28 14:53:30 +01:00
Monty Marz
936600a08a Update spot.rs 2021-08-28 14:53:30 +01:00
Monty Marz
c22eb19f55 More spots 2021-08-28 14:53:30 +01:00
Joshua Barretto
5091d45c01 Added random units for spots 2021-08-28 14:53:30 +01:00
Monty Marz
14ff95409f more spawning rules
Update spot.rs
2021-08-28 14:53:30 +01:00
Joshua Barretto
95dce5a1ac Prevented spots spawning on sites 2021-08-28 14:53:30 +01:00
Joshua Barretto
06d85b8b10 Added index customisation for world structure models 2021-08-28 14:53:30 +01:00
Gemu Peachems
b0a067fc8d Gnarling Totem 2021-08-28 14:53:30 +01:00
Joshua Barretto
62f95c4a0f No spots in sites 2021-08-28 14:53:30 +01:00
Monty Marz
1278020c88 dwarf grave 2021-08-28 14:53:30 +01:00
Joshua Barretto
00c44be2da Added SpotConfig for easier spot creation 2021-08-28 14:53:30 +01:00
Joshua Barretto
76ba3496a1 sync 2021-08-28 14:53:30 +01:00
Joshua Barretto
4064872b9a Better spot altitude 2021-08-28 14:53:30 +01:00
Joshua Barretto
8b8adcc1b8 More block particles, changes ore vein colour 2021-08-28 14:53:30 +01:00
Joshua Barretto
bbcd842208 Test spot entity spawning 2021-08-28 14:53:30 +01:00
Joshua Barretto
3025f043d3 Initial spot implementation 2021-08-28 14:53:30 +01:00
juliancoffee
771df2f0f1 Don't chose room kinds with dynamic_rng 2021-08-09 18:19:35 +03:00
juliancoffee
fadf53a6ba Nerf pillars
* make platforms one block high
2021-08-05 21:07:45 +03:00
Avi Weinstock
60a5373b04 Avoid duplicate work across chunks when blitting site2 primitives. 2021-07-27 19:12:51 -04:00
Imbris
1a081cdc5b Merge branch 'james/map-ui' into 'master'
Reduce number of map layers and remove unneeded alpha channel

See merge request veloren/veloren!2676
2021-07-25 17:24:50 +00:00
Avi Weinstock
edad38098f Revert "Resolve all '#[allow(clippy::excessive_precision)]' error supressions"
This reverts commit 0247ae2bf6.
2021-07-25 12:29:21 -04:00
Avi Weinstock
516ad1c772 Revert "Resolve all '#[allow(clippy::identity_op)]' error supressions"
This reverts commit 63eff216f0.
2021-07-25 12:28:25 -04:00
Jonathan Berglin
cd2992afd3 Tygyh/resolve clippy error supressions 2021-07-25 15:35:14 +00:00
James Melkonian
54eb97b9de Reduce number of map layers and remove unneeded alpha channel 2021-07-24 19:54:40 -07:00
Dr. Dystopia
72058ef32e Resolve unused '#[allow(clippy::eval_order_dependence)]' error supressions 2021-07-24 20:24:57 +02:00
Jonathan Berglin
b15f426ee5 Resolve all approved error supressions 2021-07-18 17:11:46 +00:00
Samuel Keiffer
37147e2a83 Merge branch 'juliancoffee/overworld_assetization' into 'master'
Wildlife assetization

See merge request veloren/veloren!2591
2021-07-18 13:43:32 +00:00
Imbris
251c201604 Merge branch 'revert-eb08b6a1' into 'master'
Revert "Resolve all '#[allow(clippy::approx_constant)]' error supressions" and re-address the lint using just the PI constant

See merge request veloren/veloren!2639
2021-07-18 08:00:43 +00:00
Marcel
ecdd95ee49 Merge branch 'tygyh/Resolve-all-'#-allow(clippy--logic_bug)]'-error-supressions' into 'master'
Resolve all '#[allow(clippy::logic_bug)]' error supressions

See merge request veloren/veloren!2624
2021-07-17 23:46:28 +00:00
Imbris
9c72333741 Revert "Merge branch..."
This reverts merge request !2608
2021-07-17 22:04:59 +00:00
Marcel
aac3a3a5f7 Merge branch 'tygyh/Resolve-all-'#-allow(clippy--print_literal)]'-error-supressions' into 'master'
Resolve all '#[allow(clippy::print_literal)]' error supressions

See merge request veloren/veloren!2627
2021-07-17 20:29:35 +00:00
Imbris
d44702ef20 Merge branch 'tygyh/Resolve-all-'#-allow(clippy--clone_on_copy)]'-error-supressions' into 'master'
Resolve all '#[allow(clippy::clone_on_copy)]' error supressions

See merge request veloren/veloren!2623
2021-07-17 20:00:29 +00:00
Dr. Dystopia
353c4411c7 Resolve all '#[allow(clippy::print_literal)]' error supressions 2021-07-17 17:32:00 +02:00
Dr. Dystopia
52b4192dbd Resolve all '#[allow(clippy::logic_bug)]' error supressions 2021-07-17 17:27:44 +02:00
Dr. Dystopia
beed7b81f9 Resolve all '#[allow(clippy::clone_on_copy)]' error supressions 2021-07-17 17:26:23 +02:00
Dr. Dystopia
a98edaace9 Resolve all '#[allow(clippy::useless_conversion)]' error supressions 2021-07-17 16:55:11 +02:00
juliancoffee
ccaacdd166 Better naming & comments 2021-07-17 15:37:31 +03:00
juliancoffee
c999720dbf adress review 2021-07-17 15:37:31 +03:00
juliancoffee
fa34739ed6 clippy 2021-07-17 15:37:31 +03:00
juliancoffee
80f61e34a5 Move spawn_manifest to Index 2021-07-17 15:37:31 +03:00
juliancoffee
23a020f602 Add Automatic NameKind to EntityConfig
+ add animal entities for wildlife spawns
2021-07-17 15:37:31 +03:00
juliancoffee
6403ee0634 Merge None-loot in EntityConfig to LootKind 2021-07-17 15:37:31 +03:00
juliancoffee
7401d74aa6 Add wildlife assetization support
+ add asset tests
+ migrate tundra animals
+ migrate taiga animals
+ declare temperate zone (animals yet to be created)
+ declare jungle zone (animals yet to be created)
+ declare tropical zone (animals yet to be created)
+ declare desert zone (animals yet to be created)
+ declare water (river inhabitants) zones (animals yet to be created)
2021-07-17 15:37:30 +03:00
juliancoffee
d920f911a2 Add Exact body field for EntityConfig
Add Alignment field to EntityConfig

+ Migrate to specifying alignment and body in entity assets
+ Make Body required field (with Uninit if you want to specify it later)
2021-07-17 15:37:30 +03:00
Imbris
eb999b2821 Merge branch 'aweinstock/fix-waypoint' into 'master'
Spawn players aboveground when using `/site` or when their waypoint is underground.

See merge request veloren/veloren!2612
2021-07-16 23:18:33 +00:00
Avi Weinstock
c417e8c5b9 Defer repositioning until after chunks are generated normally, to reduce latency and avoid duplicate work. 2021-07-16 15:42:50 -04:00
Marcel
423b87316e Merge branch 'xMAC94x/experiment_ci' into 'master'
fix/cleanup ci

See merge request veloren/veloren!2595
2021-07-16 00:33:35 +00:00
Avi Weinstock
7555be0e25 Spawn players aboveground when using /site or when their waypoint is underground. 2021-07-15 17:54:29 -04:00
Jonathan Berglin
b88c23e74f Resolve all '#[allow(clippy::if_same_then_else)]' error supressions 2021-07-15 21:07:55 +00:00
Jonathan Berglin
c1c331d59e Resolve all '#[allow(clippy::approx_constant)]' error supressions 2021-07-15 16:56:55 +00:00
Marcel
ad2cf88e33 Merge branch 'tygyh/Resolve-all-'#-allow(clippy--int_plus_one)]'-error-supressions' into 'master'
Resolve all '#[allow(clippy::int_plus_one)]' error supressions

See merge request veloren/veloren!2606
2021-07-15 13:35:28 +00:00
Dr. Dystopia
5cc2fc8182 Resolve all '#[allow(clippy::or_fun_call))]' error supressions 2021-07-15 13:49:59 +02:00
Dr. Dystopia
d10cb2f161 Resolve all '#[allow(clippy::int_plus_one)]' error supressions 2021-07-15 12:47:57 +02:00
Marcel Märtens
07c044f2e5 extract relevant code in a script in order to remove duplicate coding with docker-ci repo
export VELOREN_ASSETS without pwd to keep caching working
2021-07-14 20:57:08 +02:00
Marcel Märtens
9a2c2b300a alternative to packaged_simd, as coverage does not compile withit, and it was left out in the simd feature 2021-07-14 14:53:27 +02:00
Marcel Märtens
468cfe84e7 clippy fixes in tests 2021-07-12 13:35:26 +02:00
Marcel Märtens
9b3b21f368 fix clippy warnings 2021-07-12 12:09:09 +02:00
Marcel Märtens
98800c5424 update depednencies 2021-07-08 12:21:02 +02:00
Snowram
5dfef5a563 Spawn dungeon entrances depending on the Site origin biome 2021-07-07 00:35:50 +02:00
juliancoffee
2c714dadad (fix) spawn HaniwaSentry in T3 2021-07-05 18:49:25 +03:00
juliancoffee
1ed9d8d455 (fix) Use backpack item for merchant's ingredients 2021-07-05 18:49:25 +03:00
juliancoffee
dd2d0a98fb Improve Merchant inventory from UX perspective
Changes:
- Make it use red bags with 18 slots (2 rows * 9)
- Sort items by quality
- Stack ingredients, food, potions
- Move coins to ingedients bag and put it first
- Filter unconsumed good (case when you saw 16 rugged shirts)

Refactoring:
- Split bag creation to separate functions
2021-07-03 22:16:06 +03:00
Marcel
c751ec1381 Merge branch 'aweinstock/blockstats' into 'master'
Add block statistics generator to world/examples.

See merge request veloren/veloren!2526
2021-07-02 17:10:26 +00:00
Avi Weinstock
f9c263faf6 Add benchmark for color quantization using the rtree crate. 2021-07-01 13:41:37 -04:00
juliancoffee
f2f50c88dc Split room enemy generation to separate functions 2021-06-30 03:52:51 +03:00
juliancoffee
7ff62275bf Add RoomKind enum, address comments
- enum RoomKind {Peaceful, Fight, Boss, Miniboss} to specify type of
generated room.
2021-06-30 03:52:51 +03:00
juliancoffee
63a9ceda29 More deterministic dungeon fights
- Spawn fixed number of enemies (2-4) in a room with any size. 1-3 enemies for T5 dungeon.
2021-06-30 03:52:50 +03:00
Avi Weinstock
47b3b5e5d9 Generate palette info from block statistics, and benchmark how well it compresses. 2021-06-28 22:11:19 -04:00
Avi Weinstock
3f3f8a40c5 Use SQL transactions in world_block_statistics to try to speed it up. 2021-06-28 15:50:58 -04:00
Avi Weinstock
024b6c52ef Add block statistics generator to world/examples. 2021-06-28 15:02:57 -04:00
Avi Weinstock
957ba5d218 Use new dungeons in dungeon_voxel_export, remove old dungeon sampling function, and add more of world/examples to CI. 2021-06-27 15:35:43 -04:00
Benoît du Garreau
1cba7db9b6 Update assets_manager to 0.5 2021-06-26 12:05:40 +02:00
Joshua Barretto
768e1c0d31 Merge branch 'aweinstock/site2dungeon' into 'master'
Convert dungeons to site2.

See merge request veloren/veloren!2499
2021-06-25 23:06:24 +00:00
Avi Weinstock
0ac6305dfc Rename difficulty to dungeon_difficulty. 2021-06-25 18:18:27 -04:00
Avi Weinstock
524dd02f45 Tweaks to dungeon pillars. 2021-06-25 15:54:42 -04:00
Avi Weinstock
7328b71243 Add comments to dungeon code. Fix the radius calculation (which lead to dungeons getting truncated), and fix sprites spawning above staircases. 2021-06-25 14:08:23 -04:00
Avi Weinstock
6af988b806 Fix tests and examples to point to site2 dungeons. 2021-06-24 23:21:49 -04:00
Avi Weinstock
19979413d5 Convert dungeon lights to CSG, tweak pillars, convert the magic circle from lava to glowing rock, make enemies spawn in dungeons, and fix clippy warnings. 2021-06-24 23:03:24 -04:00
Snowram
ef6d6563ea Ajust new npcs from feedback 2021-06-25 03:26:32 +02:00
Snowram
8760b69345 Husk brute animations 2021-06-24 19:31:19 +02:00
Snowram
fef0f407d3 Removes warlord and warlock armours 2021-06-24 19:30:11 +02:00
Avi Weinstock
033dbbf02a Add pillars and wall sconces to site2 dungeons. 2021-06-23 23:22:14 -04:00
Avi Weinstock
c68d79315e Add wall contours and sprites to site2 dungeon. Also add septagon decal in boss rooms. 2021-06-23 23:22:14 -04:00
Avi Weinstock
c8383aba38 Traverse the dungeon tile structure to create the rooms, and align the stairs. 2021-06-23 23:22:14 -04:00
Avi Weinstock
c6bb61f2e6 Add Primitive::Prefab and Fill::Prefab for coloring dungeon entrances. 2021-06-23 23:22:14 -04:00
Avi Weinstock
95214649db Get structures loading via sampling primitive. 2021-06-23 23:22:14 -04:00
Avi Weinstock
df4f536523 Progress on converting dungeons to site2. Adds Sampling and Translate primitives. 2021-06-23 23:22:14 -04:00
Dominik Broński
8356e2ffca Merge branch 'aweinstock/lava' into 'master'
Lava

See merge request veloren/veloren!2482
2021-06-21 20:49:44 +00:00
Marcel
b0574b4ddc Merge branch 'imbris/tracy' into 'master'
Refactor Client message handling, improve use of tracy, increase coverage of profiling spans in voxygen

See merge request veloren/veloren!2479
2021-06-20 23:17:08 +00:00
Dominik Broński
b046541b69 Merge branch 'christof/trade_optimization' into 'master'
Accelerate econsim using arrays instead of hashmaps

See merge request veloren/veloren!2216
2021-06-20 16:00:37 +00:00
Christof Petig
79d7e79776 Accelerate econsim using arrays instead of hashmaps 2021-06-20 16:00:37 +00:00
juliancoffee
0ec6a4e5ff Create distribution map for dungeons
* tl;dr T0 - 27%, T1/T2 - 22%, T3/T4 - 11%, T5 - 5%.
Before every dungeon had 16% chance to be created.
2021-06-20 00:14:54 +03:00
Avi Weinstock
f1a1160b80 Make lava solid w.r.t. rendering while still being liquid w.r.t. physics. 2021-06-19 16:52:21 -04:00
Avi Weinstock
2226a4c6a9 Add lava to caves, which sets you on fire if you swim in it. Currently requires uncommenting #define LAVA in the shaders, and only looks good with cheap fluid mode. 2021-06-19 16:31:21 -04:00
juliancoffee
e5c63b2ca7 Add config file for dungeon distribution
- Now you can specify probability of "spawn" of dungeon with specific
difficulty
2021-06-19 23:26:13 +03:00
Imbris
659b42e813 Remove tracy features that are no longer needed now that macros have been fixed 2021-06-19 04:27:50 -04:00
juliancoffee
7bf8c67808 Don't spawn enemies in boss room 2021-06-19 10:47:45 +03:00
jshipsey
a42e6e20b8 basilisk tweaks 2021-06-16 23:28:25 -04:00
jshipsey
0941f03608 buffs to stretch progression 2021-06-16 20:50:46 -04:00
Avi Weinstock
cb0566299a Make tornado (and empty models in general) work on WGPU. 2021-06-15 09:49:13 +02:00
Snowram
97ce50e5d4 Add troll variants and roc npcs 2021-06-15 09:49:13 +02:00
Marcel
bc68168801 Merge branch 'dungeon_voxel_export' into 'master'
Add dungeon shape to MagicaVoxel export example

See merge request veloren/veloren!2412
2021-06-14 15:07:25 +00:00
Marcel
b0702d792a Merge branch 'juliancoffee/asset_entity' into 'master'
EntityInfo assetization.

See merge request veloren/veloren!2382
2021-06-14 12:56:28 +00:00
Vincent Junge
a77b156cd2 Added dungeon shape to MagicaVoxel export example 2021-06-14 14:43:00 +02:00
Marcel Märtens
4167621f5d Change the version number to 0.10 2021-06-12 10:14:07 +02:00
Joshua Barretto
358f9f268d Prevent creatures spawning in the ground 2021-06-11 07:09:58 +01:00
juliancoffee
057aa7fecf Move loot tables to entityconfigs
* Moved all entities in dungeons to assets
2021-06-09 15:37:04 +03:00
juliancoffee
a4cc1e24ee Move body to EntityConfig assets
* currently works only for random and random_with, uses FromStr for
NpcKind
2021-06-09 15:37:04 +03:00
juliancoffee
0c9f05b8d1 Load skillsets from assets
Done:
    support loading from assets in skillset_builder.rs
    entity_config field with skillset asset field
    move every SkillSet config to assets
    tests for skillset assets
    tests for assets in entity configs
2021-06-09 15:37:04 +03:00
juliancoffee
c3a120c551 Post refactoring 2021-06-09 15:37:04 +03:00
juliancoffee
f5bf991eb0 Start to load EntityInfo from assets in dungeons
* All enemies in dungeons are now specify loadout_config, name and
main_tool in assets
* Add more variance to the enemies names
2021-06-09 15:37:04 +03:00
juliancoffee
5f3eaddb70 Split LodoutBuilder::build_loadout
LoadoutBuilder::build_loadout is a function which has four parameters
and 3 of them are Option<>, and although fourth (body) isn't Option<>,
it's optional too because it is used only in some combinations of
another arguments.

Because these combinations produces quirky code flow, it will be better
to split it to different methods.

So we did following changes to remove it and rewrite code that was using it
to use better methods.

* Introduce LoadoutPreset as new LoadoutConfig, currently it's only used
in Summon ability, because SummonInfo uses Copy and we can't specify
String for specifying asset path for loadout.
Everything else is rewritten to use asset path to create loadouts.

* More builder methods for LoadoutBuilder.
Namely:
    - from_default which is used in server/src/cmd.rs in "/spawn" command.
    - with_default_equipment, with_default_maintool to use default
    loadout for specific body
    - with_preset to use LoadoutPreset

* Add new make_loadout field with `fn (loadout_builder, trading_info) -> loadout_builder`
to EntityInfo which allows to lazily construct loadout without
modifying LoadoutBuilder code

* Fix Merchants not having trade site
We had heuristic that if something has Merchant LoadoutConfig - it's
merchant, which can be false, especially if we create Merchant loadout
lazily
As side note, we do same check for Guards and it fails too.

Too fix it, we introduce new agent::Mark, which explicitly specifies
kind of agent for entity

* `LoadoutBuilder::build_loadout` was written in a such way that depending
on main_tool you will have different loadout. Turns out it was this
way only for Adlets though and this behaviour is reproduced by specifying
different loadouts directly in world code.
2021-06-09 15:37:04 +03:00
Marcel
7e8bebdfa1 Merge branch 'xMAC94x/hashbrown' into 'master'
switch to hashbrown 0.11 and specs 0.16.2

See merge request veloren/veloren!2390
2021-06-07 14:31:58 +00:00
jshipsey
acf9111141 mig fix 2021-06-07 08:32:59 -04:00
Marcel Märtens
7185dcee68 switch to hashbrown 0.11 and specs 0.16.2 2021-06-07 13:01:01 +02:00
jshipsey
4deeb42155 cave adjustments 2021-06-07 11:02:34 +02:00
jshipsey
1d23b7aebf finalize stats
t
2021-06-07 11:02:03 +02:00
jshipsey
9034d0f25d comment addressing, cave tweaks 2021-06-07 11:01:46 +02:00
jshipsey
7a573efab7 proper recipes, tanning racks, various fixes 2021-06-07 11:00:14 +02:00
jshipsey
8acd3832e3 more loot tables, overworld ores, more items 2021-06-07 11:00:00 +02:00
jshipsey
05de96c94b ore deposits, flower drops 2021-06-07 10:59:50 +02:00
jshipsey
1c17d8fe5e cave changes 2021-06-07 10:59:44 +02:00
jshipsey
754b60d810 crafting stations 2021-06-07 10:59:35 +02:00
Imbris
23eca4c3f6 Re-disable incremental just for common-systems, small fix in plugin
crate, more new clippy fixes
2021-05-31 20:44:57 -04:00
Imbris
48ebb10d50 Update toolchain 2021-05-31 20:44:57 -04:00
Avi Weinstock
5380fc4eac Clear the economy database when creating it. 2021-05-28 16:14:31 -04:00
Avi Weinstock
3684cf0454 Fix economy data not properly being used to price trades, resulting in default prices being applied at most towns.
Also add an exporter from econsim results to sqlite to aid in debugging the economy (which revealed this bug).
2021-05-28 15:09:29 -04:00
juliancoffee
6f0f3d1b62 Refactor enemy creation in dungeons 2021-05-26 01:39:48 +03:00
juliancoffee
940655dcb6 Adding different chests for each dungeon 2021-05-24 23:00:44 +03:00
juliancoffee
22b1880ae5 LoadoutBuilder efactoring 2021-05-23 20:29:19 +03:00
juliancoffee
12d4afd3a5 fmt 2021-05-23 01:04:11 +03:00
juliancoffee
66709c4d17 Adjust mob numbers and add /kit tier-0 2021-05-23 01:04:11 +03:00
juliancoffee
4156f373c1 Adjust loot tables
- Add regular drop to T5 miniboss
- Fixup cultist loot table
- Give own loot table to Deadwood in T0
2021-05-23 01:04:11 +03:00