Christof Petig
f347b9de11
Diversify price calculation for items by using multiple categories per item.
2022-03-03 02:32:34 +00:00
Sam
c77270b799
Addressed feedback
2022-02-12 20:52:01 -05:00
Sam
b28f6276dd
Gnarling dungeons now only generate near forests.
2022-02-10 14:58:09 -05:00
floppy
996488ca7e
remove unnecessary, vec!s from namgen bricks
2022-02-10 09:58:14 +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
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
InfRandomness
54b69e37a5
Implement giant trees in site2
2022-02-02 02:33:37 +00: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
69436db64c
Added wall lamps
2022-01-28 13:58:41 +00: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
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
floppy
87ea7a906a
more biome namegen bricks
2022-01-26 14:58:48 +01:00
Joshua Barretto
59ac3b1d4f
Fixed site2 economies
2022-01-25 16:31:12 +00:00
floppy
4a8c428a3f
update/add namegen-bricks for forest and grassland
2022-01-18 08:36:40 +01:00
floppy
88a39476bc
tweak fn generate_biome in namegen
2022-01-17 19:03:15 +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
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
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
bf48bd5346
update toolchain to nightly-2021-12-19
2021-12-23 13:04:24 +01: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
be1a9050a4
make Christmas decoration unconditional for now
2021-12-20 18:06:57 +00:00
Joshua Barretto
6e97e3179d
Slippery ice
2021-12-20 18:03:52 +00: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
Jonathan Berglin
d9dd49552b
Tygyh/resolve all '# allow(clippy needless update)]' error supressions
2021-11-29 09:32:55 +00:00
Joshua Barretto
0cb88139c9
Made merchants work in new sites
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
Sam
ad257410e9
Merchants now have less potion stock.
2021-10-29 19:58:38 -04: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
MohammadHasanKargar
c82b3859e0
Deleting extra grasses on the air
2021-10-15 19:09:36 +03:30
Marcel Märtens
e36eef99c8
apply some clippy fixes that comes with the new toolchain version
2021-09-24 23:18:18 +02:00
juliancoffee
f810af4eec
Rename EntityInfo level field to health_scaling
2021-09-17 20:12:42 +03: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
9ac5e555e6
Improved giant trees
2021-08-30 00:03:16 +01:00
Joshua Barretto
98f4e95111
Improved giant trees
2021-08-29 14:37:11 +01: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
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
Imbris
9c72333741
Revert "Merge branch..."
...
This reverts merge request !2608
2021-07-17 22:04:59 +00:00
Dr. Dystopia
52b4192dbd
Resolve all '#[allow(clippy::logic_bug)]' error supressions
2021-07-17 17:27:44 +02: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
23a020f602
Add Automatic NameKind to EntityConfig
...
+ add animal entities for wildlife spawns
2021-07-17 15:37:31 +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
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
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
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
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
df4f536523
Progress on converting dungeons to site2. Adds Sampling and Translate primitives.
2021-06-23 23:22:14 -04: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
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
juliancoffee
7bf8c67808
Don't spawn enemies in boss room
2021-06-19 10:47:45 +03: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
Vincent Junge
a77b156cd2
Added dungeon shape to MagicaVoxel export example
2021-06-14 14:43:00 +02: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
jshipsey
4deeb42155
cave adjustments
2021-06-07 11:02:34 +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
754b60d810
crafting stations
2021-06-07 10:59:35 +02: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
juliancoffee
a1037501e2
Edit minibosses in lower tiers
...
- Deadwood to T0 (instead of bonerattlers)
- Rats to T1 (instead of bonerattlers)
- Bonerattlers to T3 (instead of hakulaqs, it's still placeholder)
2021-05-23 01:04:05 +03:00
Monty Marz
30bcc6aaa3
Ferocious armour for t5-dungeon minibosses
2021-05-22 10:55:36 +00:00