Merge remote-tracking branch 'origin/master' into zesterer/lod

This commit is contained in:
Joshua Yanovski 2020-04-02 04:36:21 +02:00
commit 33140a2951
996 changed files with 19075 additions and 9572 deletions

8
.gitignore vendored
View File

@ -23,11 +23,6 @@
.project .project
# Vim
**/*.swp
**/*.vi
# Veloren # Veloren
*.rar *.rar
*.log *.log
@ -40,3 +35,6 @@ todo.txt
# direnv # direnv
/.envrc /.envrc
*.bat *.bat
# Mac
.DS_Store

View File

@ -8,7 +8,8 @@ variables:
stages: stages:
- optional-builds - optional-builds
- check-compile - check-compile
- post - build-post
- publish
before_script: before_script:
- source $HOME/.cargo/env - source $HOME/.cargo/env
@ -70,7 +71,7 @@ check:
tags: tags:
- veloren-docker - veloren-docker
script: script:
- RUSTFLAGS="-D warnings" cargo check - RUSTFLAGS="-D warnings" cargo check --locked
code-quality: code-quality:
stage: check-compile stage: check-compile
@ -90,30 +91,30 @@ security:
# -- # --
# -- post build # -- build-post
unittests: unittests:
stage: post stage: build-post
when: delayed when: delayed
start_in: 5 seconds start_in: 5 seconds
tags: tags:
- veloren-docker - veloren-docker
script: script:
- echo "Workaround, cargo tests fails due some rust files are already deleted, so we just stack cargo test. if its the os error, it wont appear on them all, if its a real error, it will retry and then fail" - echo "Workaround, cargo tests fails due some rust files are already deleted, so we just stack cargo test. if its the os error, it wont appear on them all, if its a real error, it will retry and then fail"
- cargo test || cargo test || cargo test || cargo test - cargo test || ( sleep 10 && cargo test ) || ( sleep 10 && cargo test ) || cargo test || cargo test || cargo test || cargo test || cargo test || cargo test || cargo test || cargo test || cargo test || cargo test
coverage: coverage:
stage: post stage: build-post
when: delayed when: delayed
start_in: 5 seconds start_in: 5 seconds
tags: tags:
- veloren-docker - veloren-docker
script: script:
- echo "Workaround, tarpaulin fails due some rust files are already deleted, so we just stack tarpaulin. if its the os error, it wont appear on them all, if its a real error, it will retry and then fail" - echo "Workaround, tarpaulin fails due some rust files are already deleted, so we just stack tarpaulin. if its the os error, it wont appear on them all, if its a real error, it will retry and then fail"
- cargo tarpaulin -v || cargo tarpaulin -v || cargo tarpaulin -v || cargo tarpaulin -v || cargo tarpaulin -v || cargo tarpaulin -v || cargo tarpaulin -v || cargo tarpaulin -v || cargo tarpaulin -v || cargo tarpaulin -v - cargo tarpaulin -v || ( sleep 10 && cargo tarpaulin -v ) || ( sleep 10 && cargo tarpaulin -v ) || cargo tarpaulin -v || cargo tarpaulin -v || cargo tarpaulin -v || cargo tarpaulin -v || cargo tarpaulin -v || cargo tarpaulin -v || cargo tarpaulin -v || cargo tarpaulin -v
benchmarks: benchmarks:
stage: post stage: build-post
when: delayed when: delayed
start_in: 5 seconds start_in: 5 seconds
tags: tags:
@ -125,7 +126,7 @@ benchmarks:
localization-status: localization-status:
variables: variables:
GIT_DEPTH: 0 GIT_DEPTH: 0
stage: post stage: build-post
when: delayed when: delayed
start_in: 5 seconds start_in: 5 seconds
allow_failure: true allow_failure: true
@ -135,13 +136,13 @@ localization-status:
- cargo test -q test_all_localizations -- --nocapture --ignored - cargo test -q test_all_localizations -- --nocapture --ignored
linux: linux:
stage: post stage: build-post
when: delayed when: delayed
start_in: 5 seconds start_in: 5 seconds
only: only:
refs: refs:
- /^r[0-9]+\.[0-9]+\.[0-9]+/ - /^r[0-9]+\.[0-9]+\.[0-9]+/
- /^v[0-9]+\.[0-9]+\.[0-9]+/ - /^v[0-9]+\.[0-9]+/
- /^master$/ - /^master$/
tags: tags:
- veloren-docker - veloren-docker
@ -160,13 +161,13 @@ linux:
expire_in: 1 week expire_in: 1 week
windows: windows:
stage: post stage: build-post
when: delayed when: delayed
start_in: 5 seconds start_in: 5 seconds
only: only:
refs: refs:
- /^r[0-9]+\.[0-9]+\.[0-9]+/ - /^r[0-9]+\.[0-9]+\.[0-9]+/
- /^v[0-9]+\.[0-9]+\.[0-9]+/ - /^v[0-9]+\.[0-9]+/
- /^master$/ - /^master$/
tags: tags:
- veloren-docker - veloren-docker
@ -181,4 +182,54 @@ windows:
- assets/ - assets/
- LICENSE - LICENSE
expire_in: 1 week expire_in: 1 week
macos:
stage: build-post
when: delayed
start_in: 5 seconds
only:
refs:
- /^r[0-9]+\.[0-9]+\.[0-9]+/
- /^v[0-9]+\.[0-9]+/
- /^master$/
tags:
- veloren-docker
script:
- PATH="/dockercache/osxcross/target/bin:$PATH" COREAUDIO_SDK_PATH=/dockercache/osxcross/target/SDK/MacOSX10.13.sdk CC=o64-clang CXX=o64-clang++ cargo build --target x86_64-apple-darwin --release
- cp -r target/x86_64-apple-darwin/release/veloren-server-cli $CI_PROJECT_DIR
- cp -r target/x86_64-apple-darwin/release/veloren-voxygen $CI_PROJECT_DIR
artifacts:
paths:
- veloren-server-cli
- veloren-voxygen
- assets/
- LICENSE
expire_in: 1 week
allow_failure: true
# --
# -- publish
docker:
stage: publish
when: delayed
start_in: 5 seconds
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
dependencies:
- linux
before_script:
- ls "$CI_PROJECT_DIR/server-cli/"
only:
refs:
- /^r[0-9]+\.[0-9]+\.[0-9]+/
- /^v[0-9]+\.[0-9]+/
- /^master$/
tags:
- veloren-docker
script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/server-cli/Dockerfile --destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_NAME}-server"
# -- # --

28
.gitlab/CODEOWNERS Normal file
View File

@ -0,0 +1,28 @@
# Defines people who should approve to certain parts of the codebase
/assets/ @assetsandvisualdesign @frontend
/chat-cli/ @frontend
/client/ @backend @networking
/common/ @backend @networking
/server/ @backend @networking
/server-cli/ @frontend
#/voxygen/ @someone
/voxygen/anim/ @animation
/voxygen/audio/ @audio
#/voxygen/hud/ @someone
#/voxygen/menu / @someone
#/voxygen/mesh/ @someone
/voxygen/render/ @rendering
#/voxygen/scene/ @someone
#/voxygen/ui/ @someone
/world/ @worldgen
# All files related to documentation or game unrelated content needs to be approved by the meta group
*.md @meta
*.nix @meta
.gitignore @meta
.gitattributes @meta
.gitlab-ci.yml @meta
rust-toolchain @meta
LICENSE @meta
.cargo/ @meta

View File

@ -19,12 +19,42 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added gamma setting - Added gamma setting
- Added new orc hairstyles - Added new orc hairstyles
- Added sfx for wielding/unwielding weapons - Added sfx for wielding/unwielding weapons
- Fixed NPCs attacking the player forever after killing them
- Added sfx for collecting, dropping and using inventory items
- New attack animation
- weapon control system
- Game pauses when in singleplayer and pause menu
- Added authentication system (to play on the official server register on https://account.veloren.net)
- Added gamepad/controller support
- Added player feedback when attempting to pickup an item with a full inventory
- Added free look
- Added Italian translation
- Added Portuguese translation
- Added Turkish translation
- Complete rewrite of the combat system into a state machine
- Abilities like Dash and Triplestrike
- Armor can now be eqipped as items
- Fireball explosions
- Inventory supports stacking
- Many new armors and weapons to find in chests
- Fleshed out "attack" animation into alpha, beta and spin type attacks
- Fleshed out range attack into charging and shooting anims for staff/bow
- Customized attack animation for hammers and axes
### Changed ### Changed
- Brighter / higher contrast main-map - Brighter / higher contrast main-map
- Removed highlighting of non-collectible sprites - Removed highlighting of non-collectible sprites
- Fixed /give_exp ignoring player argument - Fixed /give_exp ignoring player argument
- Extend run sfx to small animals to prevent sneak attacks by geese.
- Decreased clientside latency of ServerEvent mediated effects (e.g. projectiles, inventory operations, etc)
- Started changing the visual theme of the UI
- Merge of the Bag and Character-Screen
- Merge of the Map and Questlog
- Overhauled icon art
- Asset cleanup to lower client-size
- Rewrote the humanoid skeleton to be more ideal for attack animations
### Removed ### Removed

4623
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -18,6 +18,9 @@ Currently the communication of contributors happens mainly on our [official Disc
## Useful Links ## Useful Links
[Sign Up](https://account.veloren.net) - Here you can create an online account for Veloren.
This will be needed to play on auth-enabled servers, including the official server.
[The Book](https://book.veloren.net) - A collection of all important information relating to Veloren. It includes information on how to compile Veloren and how to contribute. [The Book](https://book.veloren.net) - A collection of all important information relating to Veloren. It includes information on how to compile Veloren and how to contribute.
[Future Plans](https://gitlab.com/veloren/veloren/milestones) - Go here for information about Veloren's development roadmap and what we're currently working on. [Future Plans](https://gitlab.com/veloren/veloren/milestones) - Go here for information about Veloren's development roadmap and what we're currently working on.

View File

@ -1,6 +1,8 @@
Item( Item(
name: "Apple", name: "Apple",
description: "Red and juicy.", description: "Red and juicy.
Restores 20 Health.",
kind: Consumable( kind: Consumable(
kind: Apple, kind: Apple,
effect: Health(( effect: Health((

View File

@ -0,0 +1,8 @@
Item(
name: "Assassin Belt",
description: "Only the best for a member of the creed.",
kind: Armor(
kind: Belt(Assassin),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Blue Linen Belt",
description: "Soft and warm",
kind: Armor(
kind: Belt(ClothBlue0),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Green Linen Belt",
description: "Soft and warm",
kind: Armor(
kind: Belt(ClothGreen0),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Purple Linen Belt",
description: "Soft and warm",
kind: Armor(
kind: Belt(ClothPurple0),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Swift Belt",
description: "Swift like the wind.",
kind: Armor(
kind: Belt(Leather0),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Iron Belt",
description: "WIP",
kind: Armor(
kind: Belt(Plate0),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Assassin Chest",
description: "Only the best for a member of the creed.",
kind: Armor(
kind: Chest(Assassin),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Blue Linen Chest",
description: "Soft and warm",
kind: Armor(
kind: Chest(ClothBlue0),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Green Linen Chest",
description: "Soft and warm",
kind: Armor(
kind: Chest(ClothGreen0),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Purple Linen Chest",
description: "Soft and warm",
kind: Armor(
kind: Chest(ClothPurple0),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Swift Chest",
description: "Swift like the wind.",
kind: Armor(
kind: Chest(Leather0),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Iron Chestplate",
description: "Arrows to the stomach are soooo last update.",
kind: Armor(
kind: Chest(PlateGreen0),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Assassin Boots",
description: "Only the best for a member of the creed.",
kind: Armor(
kind: Foot(Assassin),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Blue Linen Boots",
description: "Soft and warm",
kind: Armor(
kind: Foot(ClothBlue0),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Green Linen Boots",
description: "Soft and warm",
kind: Armor(
kind: Foot(ClothGreen0),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Purple Linen Boots",
description: "Soft and warm",
kind: Armor(
kind: Foot(ClothPurple0),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Swift Boots",
description: "Swift like the wind.",
kind: Armor(
kind: Foot(Leather0),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Iron Feet",
description: "WIP",
kind: Armor(
kind: Foot(Plate0),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Assassin Gloves",
description: "Only the best for a member of the creed.",
kind: Armor(
kind: Hand(Assassin),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Blue Linen Wrists",
description: "WIP",
kind: Armor(
kind: Hand(ClothBlue0),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Green Linen Wrists",
description: "WIP",
kind: Armor(
kind: Hand(ClothGreen0),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Purple Silk Wrists",
description: "WIP",
kind: Armor(
kind: Hand(ClothPurple0),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Swift Gloves",
description: "Swift like the wind.",
kind: Armor(
kind: Hand(Leather0),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Iron Handguards",
description: "WIP",
kind: Armor(
kind: Hand(Plate0),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Assassin Pants",
description: "Only the best for a member of the creed.",
kind: Armor(
kind: Pants(Assassin),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Blue Linen Skirt",
description: "WIP",
kind: Armor(
kind: Pants(ClothBlue0),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Green Linen Skirt",
description: "WIP",
kind: Armor(
kind: Pants(ClothGreen0),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Purple Linen Skirt",
description: "WIP",
kind: Armor(
kind: Pants(ClothPurple0),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Hunting Pants",
description: "",
kind: Armor(
kind: Pants(Green),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Swift Pants",
description: "",
kind: Armor(
kind: Pants(Leather0),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Iron Legguards",
description: "WIP",
kind: Armor(
kind: Pants(PlateGreen0),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Assassin Shoulder Guard",
description: "Only the best for a member of the creed.",
kind: Armor(
kind: Shoulder(Assassin),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Blue Linen Coat",
description: "WIP",
kind: Armor(
kind: Shoulder(ClothBlue0),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Green Linen Coat",
description: "WIP",
kind: Armor(
kind: Shoulder(ClothGreen0),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Purple Linen Coat",
description: "WIP",
kind: Armor(
kind: Shoulder(ClothPurple0),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Leather Pauldrons",
description: "",
kind: Armor(
kind: Shoulder(Leather0),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Swift Shoulderpads",
description: "Swift like the wind.",
kind: Armor(
kind: Shoulder(Leather1),
stats: (20),
),
)

View File

@ -0,0 +1,8 @@
Item(
name: "Iron Shoulderguards",
description: "A strong shoulder to lean on.",
kind: Armor(
kind: Shoulder(Plate0),
stats: (20),
),
)

View File

@ -1,10 +1,12 @@
Item( Item(
name: "Dwarven Cheese", name: "Dwarven Cheese",
description: "Aromatic and nutritious.", description: "Aromatic and nutritious.
Restores 15 Health.",
kind: Consumable( kind: Consumable(
kind: Cheese, kind: Cheese,
effect: Health(( effect: Health((
amount: 40, amount: 15,
cause: Item, cause: Item,
)), )),
), ),

View File

@ -2,8 +2,10 @@ Item(
name: "Weightless Rod", name: "Weightless Rod",
description: "The sky is the limit.", description: "The sky is the limit.",
kind: Tool( kind: Tool(
(
kind: Debug(Boost), kind: Debug(Boost),
power: 0, equip_time_millis: 0,
)
), ),
) )
// And the ground is pretty hard at maximum velocity... // And the ground is pretty hard at maximum velocity...

View File

@ -2,8 +2,10 @@ Item(
name: "Rod of Possession", name: "Rod of Possession",
description: "It's fixed on my branch.", description: "It's fixed on my branch.",
kind: Tool( kind: Tool(
(
kind: Debug(Possess), kind: Debug(Possess),
power: 0, equip_time_millis: 0,
)
), ),
) )
// ... as zesterer always uses to tell us. // ... as zesterer always uses to tell us.

View File

@ -1,5 +1,7 @@
Item( Item(
name: "Blue Flower", name: "Blue Flower",
description: "Matches the color of the sky.", description: "Matches the color of the sky.",
kind: Ingredient, kind: Ingredient(
kind: Flower,
)
) )

View File

@ -1,5 +1,7 @@
Item( Item(
name: "Pink Flower", name: "Pink Flower",
description: "Looks like a lollipop.", description: "Looks like a lollipop.",
kind: Ingredient, kind: Ingredient(
kind: Flower,
)
) )

View File

@ -1,5 +1,7 @@
Item( Item(
name: "Red Flower", name: "Red Flower",
description: "Roses are red...", description: "Roses are red...",
kind: Ingredient, kind: Ingredient(
kind: Flower,
)
) )

View File

@ -1,5 +1,7 @@
Item( Item(
name: "Sunflower", name: "Sunflower",
description: "Smells like summer.", description: "Smells like summer.",
kind: Ingredient, kind: Ingredient(
kind: Flower,
)
) )

View File

@ -1,5 +1,7 @@
Item( Item(
name: "White flower", name: "White flower",
description: "Pure and precious.", description: "Pure and precious.",
kind: Ingredient, kind: Ingredient(
kind: Flower,
)
) )

View File

@ -1,5 +1,7 @@
Item( Item(
name: "Yellow Flower", name: "Yellow Flower",
description: "Glows like the sun.", description: "Glows like the sun.",
kind: Ingredient, kind: Ingredient(
kind: Flower,
)
) )

View File

@ -1,5 +1,7 @@
Item( Item(
name: "Long Grass", name: "Long Grass",
description: "Greener than an orc's snout.", description: "Greener than an orc's snout.",
kind: Ingredient, kind: Ingredient(
kind: Grass,
)
) )

View File

@ -1,5 +1,7 @@
Item( Item(
name: "Medium Grass", name: "Medium Grass",
description: "Greener than an orc's snout.", description: "Greener than an orc's snout.",
kind: Ingredient, kind: Ingredient(
kind: Grass,
)
) )

View File

@ -1,5 +1,7 @@
Item( Item(
name: "Short Grass", name: "Short Grass",
description: "Greener than an orc's snout.", description: "Greener than an orc's snout.",
kind: Ingredient, kind: Ingredient(
kind: Grass,
)
) )

View File

@ -1,6 +1,8 @@
Item( Item(
name: "Mushroom", name: "Mushroom",
description: "Hopefully this one is not poisonous.", description: "Hopefully this one is not poisonous.
Restores 10 Health.",
kind: Consumable( kind: Consumable(
kind: Mushroom, kind: Mushroom,
effect: Health(( effect: Health((

View File

@ -1,6 +1,8 @@
Item( Item(
name: "Minor Potion", name: "Minor Potion",
description: "Restores a small amount of Health.", description: "Restores a small amount of Health.
Restores 50 Health.",
kind: Consumable( kind: Consumable(
kind: PotionMinor, kind: PotionMinor,
effect: Health(( effect: Health((

View File

@ -1,8 +1,10 @@
Item( Item(
name: "Velorite", name: "Velorite",
description: "Just a slight touch makes you feel the knowledge of ancient times.", description: "Just a slight touch makes you feel the knowledge of ancient times.
Increases Exp by 20.",
kind: Consumable( kind: Consumable(
kind: Velorite, kind: Velorite,
effect: Xp(50), effect: Xp(20),
), ),
) )

View File

@ -1,8 +1,10 @@
Item( Item(
name: "Velorite Fragment", name: "Velorite Fragment",
description: "Small runes sparkle on its surface.", description: "Small runes sparkle on its surface.
Increases Exp by 10.",
kind: Consumable( kind: Consumable(
kind: VeloriteFrag, kind: VeloriteFrag,
effect: Xp(20), effect: Xp(10),
), ),
) )

View File

@ -1,8 +1,12 @@
Item( Item(
name: "Crude Mallet", name: "Crude Mallet",
description: "Breaks bones like sticks and stones.", description: "Breaks bones like sticks and stones.
\n
Power: 20",
kind: Tool( kind: Tool(
kind: Hammer, (
power: 20, kind: Hammer(BasicHammer),
), equip_time_millis: 500,
)
)
) )

View File

@ -0,0 +1,10 @@
Item(
name: "A Shield",
description: "Legends tell this item is useless.",
kind: Tool (
(
kind: Shield(BasicShield),
equip_time_millis: 400,
)
),
)

View File

@ -0,0 +1,11 @@
Item(
name: "Vicious Gladius",
description: "
Power: 15",
kind: Tool(
(
kind: Sword(Short0),
equip_time_millis: 400,
)
),
)

View File

@ -1,8 +1,12 @@
Item( Item(
name: "Humble Stick", name: "Humble Stick",
description: "Walking stick with a sharpened end.", description: "Walking stick with a sharpened end.
Power: 6",
kind: Tool( kind: Tool(
kind: Hammer, (
power: 6, kind: Staff(BasicStaff),
equip_time_millis: 200,
)
), ),
) )

View File

@ -0,0 +1,11 @@
Item(
name: "Sceptre of Regeneration",
description: " Infused by the power of Nature.
Power: 25",
kind: Tool(
(
kind: Staff(Sceptre),
equip_time_millis: 400,
)
),
)

View File

@ -1,8 +1,12 @@
Item( Item(
name: "Notched Axe", name: "Notched Axe",
description: "Every dent tells the story of a chopped tree.", description: "Every dent tells the story of a chopped tree.
Power: 15",
kind: Tool( kind: Tool(
kind: Axe, (
power: 15, kind: Axe(BasicAxe),
equip_time_millis: 400,
)
), ),
) )

View File

@ -1,8 +1,12 @@
Item( Item(
name: "Uneven Bow", name: "Uneven Bow",
description: "Someone carved his initials into it...", description: "Someone carved his initials into it...
Power: 15",
kind: Tool( kind: Tool(
kind: Bow, (
power: 15, kind: Bow(BasicBow),
equip_time_millis: 400,
)
), ),
) )

View File

@ -1,8 +1,12 @@
Item( Item(
name: "Sharp Kitchen Knife", name: "Sharp Kitchen Knife",
description: "Great for cutting meat.", description: "Great for cutting meat.
Power: 15",
kind: Tool( kind: Tool(
kind: Dagger, (
power: 15, kind: Dagger(BasicDagger),
equip_time_millis: 300,
)
), ),
) )

View File

@ -1,8 +1,12 @@
Item( Item(
name: "Sturdy Old Hammer", name: "Sturdy Old Hammer",
description: "'Property of...' The rest is missing. ", description: "'Property of...' The rest is missing.
Power: 15",
kind: Tool( kind: Tool(
kind: Hammer, (
power: 15, kind: Hammer(BasicHammer),
equip_time_millis: 500,
)
), ),
) )

View File

@ -1,8 +1,12 @@
Item( Item(
name: "Gnarled Rod", name: "Gnarled Rod",
description: "Smells like resin and magic.", description: "Smells like resin and magic.
Power: 20",
kind: Tool( kind: Tool(
kind: Staff, (
power: 20, kind: Staff(BasicStaff),
equip_time_millis: 300,
)
), ),
) )

View File

@ -1,8 +1,12 @@
Item( Item(
name: "Battered Sword", name: "Battered Sword",
description: "Held together by Rust and hope.", description: "Held together by Rust and hope.
Power: 15",
kind: Tool( kind: Tool(
kind: Sword, (
power: 15, kind: Sword(BasicSword),
equip_time_millis: 300,
)
), ),
) )

View File

@ -0,0 +1,11 @@
Item(
name: "Wooden Training Sword",
description: "
Power: 15",
kind: Tool(
(
kind: Sword(WoodTraining),
equip_time_millis: 400,
)
),
)

View File

@ -0,0 +1,11 @@
Item(
name: "Sturdy Bihander",
description: "
Power: 15",
kind: Tool(
(
kind: Sword(Zweihander0),
equip_time_millis: 500,
)
),
)

View File

@ -459,6 +459,10 @@
"peacock": { "peacock": {
"keyword": "peacock", "keyword": "peacock",
"generic": "Peacock" "generic": "Peacock"
},
"eagle": {
"keyword": "eagle",
"generic": "Eagle"
} }
} }
}, },

View File

@ -23,17 +23,77 @@
], ],
threshold: 0.5, threshold: 0.5,
), ),
Wield(Sword): ( Wield(Sword(BasicSword)): (
files: [ files: [
"voxygen.audio.sfx.weapon.sword_out", "voxygen.audio.sfx.weapon.sword_out",
], ],
threshold: 0.5, threshold: 1.0,
), ),
Unwield(Sword): ( Unwield(Sword(BasicSword)): (
files: [ files: [
"voxygen.audio.sfx.weapon.sword_in", "voxygen.audio.sfx.weapon.sword_in",
], ],
threshold: 1.0,
),
Inventory(Collected): (
files: [
"voxygen.audio.sfx.inventory.add_item",
],
threshold: 0.5, threshold: 0.5,
), ),
Inventory(Swapped): (
files: [
"voxygen.audio.sfx.inventory.add_item",
],
threshold: 0.5,
),
Inventory(Given): (
files: [
"voxygen.audio.sfx.inventory.add_item",
],
threshold: 0.5,
),
Inventory(Dropped): (
files: [
"voxygen.audio.sfx.footsteps.stepgrass_4",
],
threshold: 0.5,
),
Inventory(Consumed(Potion)): (
files: [
"voxygen.audio.sfx.inventory.consumable.liquid",
],
threshold: 0.3,
),
Inventory(Consumed(PotionMinor)): (
files: [
"voxygen.audio.sfx.inventory.consumable.liquid",
],
threshold: 0.3,
),
Inventory(Consumed(Apple)): (
files: [
"voxygen.audio.sfx.inventory.consumable.apple",
],
threshold: 0.3,
),
Inventory(Consumed(Mushroom)): (
files: [
"voxygen.audio.sfx.inventory.consumable.food",
],
threshold: 0.3,
),
Inventory(Consumed(Cheese)): (
files: [
"voxygen.audio.sfx.inventory.consumable.food",
],
threshold: 0.3,
),
Inventory(CollectFailed): (
files: [
"voxygen.audio.sfx.inventory.add_failed",
],
threshold: 0.3,
)
} }
) )

BIN
assets/voxygen/audio/sfx/inventory/add_failed.wav (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/voxygen/audio/sfx/inventory/add_item.wav (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/voxygen/audio/sfx/inventory/consumable/apple.wav (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/voxygen/audio/sfx/inventory/consumable/food.wav (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/voxygen/audio/sfx/inventory/consumable/liquid.wav (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
assets/voxygen/background/bg_9.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/voxygen/element/buttons/armor_slot.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/voxygen/element/buttons/button_mmap_closed.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/voxygen/element/buttons/button_mmap_closed_hover.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/voxygen/element/buttons/button_mmap_closed_press.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/voxygen/element/buttons/button_mmap_open.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/voxygen/element/buttons/button_mmap_open_hover.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/voxygen/element/buttons/button_mmap_open_press.png (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
assets/voxygen/element/buttons/close_btn.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/voxygen/element/buttons/close_btn_hover.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/voxygen/element/buttons/close_btn_press.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/voxygen/element/buttons/indicator_mmap.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/voxygen/element/buttons/indicator_mmap_small.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/voxygen/element/buttons/inv_slot.png (Stored with Git LFS) Normal file

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More