Equipped lanterns now provide an illumination effect.

This commit is contained in:
CapsizeGlimmer
2020-05-04 15:15:31 +00:00
committed by Monty Marz
parent 40ab94673e
commit 4e7f8c686a
52 changed files with 689 additions and 351 deletions

View File

@ -74,6 +74,9 @@ impl<'a> System<'a> for Sys {
}
},
ControlEvent::Unmount => server_emitter.emit(ServerEvent::Unmount(entity)),
ControlEvent::ToggleLantern => {
server_emitter.emit(ServerEvent::ToggleLantern(entity))
},
ControlEvent::InventoryManip(manip) => {
*character_state = CharacterState::Idle;
server_emitter.emit(ServerEvent::InventoryManip(entity, manip))