Skip to content

Commit 088903a

Browse files
committed
Merge branch 'hotfix/0.7.1'
2 parents 094396d + 93afa4d commit 088903a

File tree

6 files changed

+22
-7
lines changed

6 files changed

+22
-7
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# Version 0.7.1.883 - 2017-03-20
2+
3+
## Fixes
4+
- Fixed health screen not opening for adjacent chars
5+
- Fixed missing text for dog legs
6+
7+
8+
9+
110
# Version 0.7.0.880 - 2017-03-19
211

312
## Additions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# On The Roadside
22

3-
[![Version](https://img.shields.io/badge/Version-0.7.0.880-blue.svg)](https://github.com/rm-code/on-the-roadside/releases/latest)
3+
[![Version](https://img.shields.io/badge/Version-0.7.1.883-blue.svg)](https://github.com/rm-code/on-the-roadside/releases/latest)
44
[![LOVE](https://img.shields.io/badge/L%C3%96VE-0.10.2-EA316E.svg)](http://love2d.org/)
55
[![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)
66

res/text/de_DE/body_parts.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ locale.strings = {
2020
['leg_right'] = "Bein (R)",
2121
['foot_right'] = "Fuß (R)",
2222

23+
['legs'] = "Legs",
24+
2325
['torso'] = "Oberkörper",
2426
['heart'] = "Herz",
2527
['kidneys'] = "Nieren",

res/text/en_EN/body_parts.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ locale.strings = {
2020
['leg_right'] = "Leg (R)",
2121
['foot_right'] = "Foot (R)",
2222

23+
['legs'] = "Legs",
24+
2325
['torso'] = "Torso",
2426
['heart'] = "Heart",
2527
['kidneys'] = "Kidneys",

src/turnbased/helpers/InteractionInput.lua

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,14 @@ function InteractionInput.new()
4646
-- @return (boolean) True if an action was created, false otherwise.
4747
--
4848
function self:request( target, character )
49+
-- Check health of enemy characters.
50+
if target:isOccupied() and target:getCharacter():getFaction():getType() ~= character:getFaction():getType() then
51+
ScreenManager.push( 'health', target:getCharacter() );
52+
return true;
53+
end
54+
4955
-- Characters can only interact with adjacent tiles.
5056
if not target:isAdjacent( character:getTile() ) then
51-
if target:isOccupied() and target:getCharacter():getFaction():getType() ~= character:getFaction():getType() then
52-
ScreenManager.push( 'health', target:getCharacter() );
53-
return true;
54-
end
5557
return false;
5658
end
5759

version.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
local version = {
22
major = 0,
33
minor = 7,
4-
patch = 0,
5-
build = 880,
4+
patch = 1,
5+
build = 883,
66
}
77

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

0 commit comments

Comments
 (0)