diff --git a/credits.toml b/credits.toml index f3da589..91585cc 100644 --- a/credits.toml +++ b/credits.toml @@ -131,6 +131,9 @@ name = "congusbongus" [[people.credits]] credit = "Bones rattle" link = "https://opengameart.org/content/bones-rattle" +[[people.credits]] +credit = "Footsteps on different surfaces" +link = "https://opengameart.org/content/footsteps-on-different-surfaces" [[people]] name = "Florian Karsten" diff --git a/godot/raw_assets/sfx b/godot/raw_assets/sfx index 90a6be6..aa1a804 160000 --- a/godot/raw_assets/sfx +++ b/godot/raw_assets/sfx @@ -1 +1 @@ -Subproject commit 90a6be6e060d2730fbeeed679b4827ad63259439 +Subproject commit aa1a8048ef0175aed34798cc705c28cf48bb70e0 diff --git a/rust/src/map/footstep_box.rs b/rust/src/map/footstep_box.rs index 366d73f..171e1f5 100644 --- a/rust/src/map/footstep_box.rs +++ b/rust/src/map/footstep_box.rs @@ -1,7 +1,4 @@ -use godot::{ - classes::{IStaticBody3D, StaticBody3D}, - prelude::*, -}; +use godot::{classes::StaticBody3D, prelude::*}; use crate::player::effects::FootstepKind; diff --git a/rust/src/player/effects.rs b/rust/src/player/effects.rs index ab9ada9..9512c38 100644 --- a/rust/src/player/effects.rs +++ b/rust/src/player/effects.rs @@ -11,6 +11,14 @@ pub enum FootstepKind { #[default] Normal, Sand, + Bone, + Grass, + Gravel, + Metal, + Grate, + Tile, + Water, + Wood, } #[derive(GodotClass)]