Skip to content

Commit

Permalink
Merge branch 'hotfix/0.7.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
rm-code committed Mar 20, 2017
2 parents 094396d + 93afa4d commit 088903a
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 7 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# Version 0.7.1.883 - 2017-03-20

## Fixes
- Fixed health screen not opening for adjacent chars
- Fixed missing text for dog legs




# Version 0.7.0.880 - 2017-03-19

## Additions
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# On The Roadside

[![Version](https://img.shields.io/badge/Version-0.7.0.880-blue.svg)](https://github.com/rm-code/on-the-roadside/releases/latest)
[![Version](https://img.shields.io/badge/Version-0.7.1.883-blue.svg)](https://github.com/rm-code/on-the-roadside/releases/latest)
[![LOVE](https://img.shields.io/badge/L%C3%96VE-0.10.2-EA316E.svg)](http://love2d.org/)
[![Build Status](https://travis-ci.com/rm-code/On-The-Roadside.svg?token=q3rLXeyGTBN9VB2zsWMr&branch=develop)](https://travis-ci.com/rm-code/On-The-Roadside)

Expand Down
2 changes: 2 additions & 0 deletions res/text/de_DE/body_parts.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ locale.strings = {
['leg_right'] = "Bein (R)",
['foot_right'] = "Fuß (R)",

['legs'] = "Legs",

['torso'] = "Oberkörper",
['heart'] = "Herz",
['kidneys'] = "Nieren",
Expand Down
2 changes: 2 additions & 0 deletions res/text/en_EN/body_parts.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ locale.strings = {
['leg_right'] = "Leg (R)",
['foot_right'] = "Foot (R)",

['legs'] = "Legs",

['torso'] = "Torso",
['heart'] = "Heart",
['kidneys'] = "Kidneys",
Expand Down
10 changes: 6 additions & 4 deletions src/turnbased/helpers/InteractionInput.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,14 @@ function InteractionInput.new()
-- @return (boolean) True if an action was created, false otherwise.
--
function self:request( target, character )
-- Check health of enemy characters.
if target:isOccupied() and target:getCharacter():getFaction():getType() ~= character:getFaction():getType() then
ScreenManager.push( 'health', target:getCharacter() );
return true;
end

-- Characters can only interact with adjacent tiles.
if not target:isAdjacent( character:getTile() ) then
if target:isOccupied() and target:getCharacter():getFaction():getType() ~= character:getFaction():getType() then
ScreenManager.push( 'health', target:getCharacter() );
return true;
end
return false;
end

Expand Down
4 changes: 2 additions & 2 deletions version.lua
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
local version = {
major = 0,
minor = 7,
patch = 0,
build = 880,
patch = 1,
build = 883,
}

return string.format( "%d.%d.%d.%d", version.major, version.minor, version.patch, version.build );

0 comments on commit 088903a

Please sign in to comment.