310 Commits

Author SHA1 Message Date
timokoesters
2b0f6a1d9c
Rename activate_inventory_slot to use_inventory_slot 2019-08-30 22:46:45 +02:00
timokoesters
5fe2b81ec8
Avoid right-ward shift 2019-08-30 22:32:47 +02:00
timokoesters
0e64c13996
Remove warnings 2019-08-29 19:54:53 +02:00
timokoesters
e4ca33de5b
Add debug mode item giving speed boost in look_dir on click 2019-08-29 19:44:28 +02:00
timokoesters
af780acc84
Use comp::Stats to store Equipment, make char weapon selection work 2019-08-29 19:44:28 +02:00
yashaslokesh
11678fb952 Changed exp type from f64 to u32 and altered exp calculations and function signatures to adhere to the new types
Signed-off-by: Yashas Lokesh <yashas.lokesh@gmail.com>
2019-08-27 22:33:14 +00:00
timokoesters
34c959bef0
Update to github vek repo 2019-08-26 13:12:45 +02:00
timokoesters
8ef1491fb5
Make falldamage local, don't use force update for local, cleanup 2019-08-26 13:12:43 +02:00
timokoesters
816633c3f3
fmt 2019-08-26 13:12:43 +02:00
timokoesters
e4dced418f
Add basis for projectiles
But we have no controller action to spawn them yet
2019-08-26 13:12:41 +02:00
Songtronix
0f32eee451
Split Events in ServerEvent and LocalEvent 2019-08-26 13:12:41 +02:00
timokoesters
9fc5ba7d77
Clean up entity spawning code 2019-08-26 13:12:39 +02:00
timokoesters
36c88e0b91
Allow non player entites to be removed again 2019-08-26 13:12:35 +02:00
timokoesters
019ce11d5d
Move from state components to single CharaterState struct
This makes split animations easy and improves overall code quality
2019-08-26 13:12:34 +02:00
Joshua Yanovski
608685ef36 Fixes to worldgen and adding a debug command.
Humidity and temperature are now indexed to uniform altitude *over land
chunks* (and water chunks adjacent to land) rather than over the whole
range of altitude.  This is necessary in order to satisfy the uniformity
conditions of the formula for weighted sum CDF.

Additionally, fixes the computation of whether a tree should be
generated or not.  Previously, it was using a source of randomness
scaled to use much less than the full 0-1 range; this has been resolved.
This makes for much nicer and more gradual transitions between densities
and reduces the amount of completely barren landscapes, while also
making forests larger.

Finally, this commit adds a server command, debug_column, which returns
some useful debug information about a column given an x and y
coordinate.  This is useful for debugging worldgen.
2019-08-26 11:52:25 +02:00
Acrimon
724d6dffb4 Disabled unsafe using lint level. 2019-08-19 14:39:23 +02:00
Monty Marz
01143930db hotbar changes
completely switched to. vox files

easier to see design

gradient and numbers on the health/mana bar
2019-08-18 18:07:21 +00:00
Piotr Korgól
84ad0a1a86 Add adminify command to temporarily give admin perms 2019-08-17 23:35:01 +02:00
Acrimon
4c575c14ff [Server] Switched mpsc for crossbeam::channel. 2019-08-16 00:10:46 +02:00
Piotr Korgól
892855a348 Add needs_admin bool to check if the commands needs admin perms 2019-08-15 16:33:40 +02:00
Piotr Korgól
28c47663d0 Give singleplayer its own server settings 2019-08-14 17:51:59 +02:00
Piotr Korgól
e07762d134 Fix spawn command, properly search for admins 2019-08-14 17:30:36 +02:00
Piotr Korgól
1f5817a80b Add Admins field to the settings file 2019-08-14 17:30:36 +02:00
Piotr Korgól
7fa5403aeb Add AdminPerms component, make some commands require it 2019-08-14 17:30:36 +02:00
Acrimon
20bd2e0fce Switched over the last std hashset. 2019-08-11 22:39:41 +02:00
Acrimon
7c8487ed76 Finished switch to hashbrown. 2019-08-11 22:38:28 +02:00
Acrimon
9515f047b9 Switch to hashbrown in server. 2019-08-11 21:48:02 +02:00
Acrimon
05cf8d190f Adjusted default spawn height for now 2019-08-11 13:37:04 +02:00
Joshua Barretto
e49de7f63b Merge branch 'zesterer/small-fixes' into 'master'
Added entity event system, fixed fall damage

See merge request veloren/veloren!418
2019-08-09 23:56:49 +00:00
Songtronix
fc3df0498d fix time overflow crash 2019-08-09 09:13:28 +00:00
Joshua Barretto
66db9a6f09 Merge branch 'telastrus/auth' into 'master'
Server-side authentication

See merge request veloren/veloren!419
2019-08-09 01:37:44 +00:00
telastrus
20cba432e7 swapped if for entry 2019-08-08 21:28:25 -04:00
telastrus
7a0f780de7 created basic AuthProvider which we can change to suit our needs 2019-08-08 18:24:14 -04:00
telastrus
7e4e132307 ran cargo fmt 2019-08-08 12:05:38 -04:00
telastrus
780076ea40 removed println statements 2019-08-08 12:03:12 -04:00
telastrus
2f7648b9a6 90% there 2019-08-08 11:23:58 -04:00
Piotr Korgól
6a908250ee Add a lantern strength limit to prevent shader overflows 2019-08-08 14:44:58 +02:00
telastrus
608deba238 still compiles 2019-08-07 23:56:02 -04:00
Joshua Barretto
0c08b777b3 Added default explosion radius 2019-08-07 18:18:32 +01:00
Joshua Barretto
345a5a9513 Added /explosion command 2019-08-07 18:17:04 +01:00
Joshua Barretto
f14c787c85 Switched to EventBus system 2019-08-07 16:39:16 +01:00
Piotr Korgól
9637bb89aa Change the version number to 0.3 2019-08-04 13:53:59 +02:00
Joshua Barretto
d29cf107d9 Limited entity spawning to 10 2019-08-04 11:30:05 +01:00
Joshua Barretto
0b26ca7e87 Made bosses slightly more powerful 2019-08-04 10:32:50 +01:00
timokoesters
02516a23e2 Adjust xp gains 2019-08-03 22:27:48 +02:00
timokoesters
e510c17c9e Get rid of unwraps 2019-08-03 22:08:19 +02:00
timokoesters
656d881c6c Give xp depending on max hp and lvl of entity killed 2019-08-03 21:30:01 +02:00
Piotr Korgól
0c75429837 Allow normal enemies to spawn as humanoids 2019-08-03 12:35:16 +02:00
Joshua Barretto
6066b40207 More interesting enemy spawning 2019-08-02 21:31:22 +01:00
Joshua Barretto
b568c367c5 Better health accessors methods 2019-08-02 20:49:48 +01:00