Skip to content

Commit 8adbb40

Browse files
committed
Merge branch 'release/0.14.0.1489'
2 parents 3c5872b + ab71f91 commit 8adbb40

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+1725
-1475
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@ indent_style = space
77
indent_size = 4
88
insert_final_newline = true
99
trim_trailing_whitespace = true
10+
11+
[*.sh]
12+
indent_size = 2

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
# Version 0.14.0.1489 - 2018-01-26
2+
3+
## Additions
4+
- Added a new user interface overlay which contains detailed information about the currently selected creature and the tile the mouse cursor is hovering over.
5+
- Added message log which displays information about what is going on in the game. It only shows events which can be seen by the player's faction. The direction of the message log can be inverted in the options screen.
6+
- Added creature classes (Stalker, Bandit, ...) as a basis for more detailed creatures in the future.
7+
- Added creature groups to determine which creatures to spawn for each team. For example dogs can now spawn on the enemy team.
8+
- Added new health system which re-introduces health points and has a simplified body model. There is a chance for status effects like blindness to occur on critical hits.
9+
- Added new image font.
10+
- Added sprites that are based on a creature's class rather than its body type. This allows us to bring back the "bad knight" sprite for bandits.
11+
12+
## Removals
13+
- Removed health screen. It has been replaced by the new player info screen.
14+
15+
## Fixes
16+
- Fixed tiles being hit twice by a projectile on some occasions.
17+
- Fixed savegames not being sorted correctly. Savegames are now sorted by the time of their creation.
18+
19+
## Other Changes
20+
- Changed item stats in inventory to include damage values for weapons.
21+
22+
23+
24+
125
# Version 0.13.1.1413 - 2017-12-28
226

327
## Fixes

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
All rights reserved (c) 2016 - 2017 Robert Machmer
1+
All rights reserved (c) 2016 - 2018 Robert Machmer
22

33
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
44
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,

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.13.1.1413-blue.svg)](https://github.com/rm-code/on-the-roadside/releases/latest)
3+
[![Version](https://img.shields.io/badge/Version-0.14.0.1489-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

main.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ function love.load( args )
4343
info[#info + 1] = string.format( "Title: '%s'", getTitle() )
4444
info[#info + 1] = string.format( "Version: %s", getVersion() )
4545
info[#info + 1] = string.format( "LOVE Version: %d.%d.%d (%s)", love.getVersion() )
46+
info[#info + 1] = string.format( "OS: %s", love.system.getOS() )
4647
info[#info + 1] = string.format( "Resolution: %dx%d\n", love.graphics.getDimensions() )
4748

4849
info[#info + 1] = "---- RENDERER ---- "
@@ -65,7 +66,6 @@ function love.load( args )
6566
combat = require( 'src.ui.screens.CombatScreen' ),
6667
inventory = require( 'src.ui.screens.InventoryScreen' ),
6768
help = require( 'src.ui.screens.HelpScreen' ),
68-
health = require( 'src.ui.screens.HealthScreen' ),
6969
gamescreen = require( 'src.ui.screens.GameScreen' ),
7070
gameover = require( 'src.ui.screens.GameOverScreen' ),
7171
loadgame = require( 'src.ui.screens.SavegameScreen' ),
@@ -80,6 +80,7 @@ function love.load( args )
8080
editorloading = require( 'src.ui.mapeditor.EditorLoadingScreen' ),
8181
keybindingeditor = require( 'src.ui.screens.KeybindingScreen' ),
8282
keybindingmodal = require( 'src.ui.screens.KeybindingModal' ),
83+
playerInfo = require( 'src.ui.screens.PlayerInfo' ),
8384
}
8485

8586
ScreenManager.init( screens, 'bootloading' )

publish-release.sh

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ mkdir ../releases/OTR_$formatted
2727
mv -i -v OTR_$formatted.love ../releases/OTR_$formatted
2828
cd ../releases/OTR_$formatted || exit
2929

30-
exit
31-
3230
## CREATE WINDOWS EXECUTABLE
3331
# Unzip the LÖVE binaries.
3432
unzip -q ../LOVE_bin.zip -d LOVE_WIN
@@ -52,6 +50,7 @@ zip -r -q OTR_$formatted-WIN.zip LOVE_WIN/ -x *.git* -x *.DS_Store*
5250
# Remove the folder.
5351
rm -r LOVE_WIN
5452

53+
5554
## CREATE MAC OS APPLICATION
5655
echo "Creating Mac OS Application"
5756
unzip -q ../LOVE_bin_OSX.zip -d LOVE_OSX
@@ -75,9 +74,13 @@ echo "</plist>" >> OTR_$formatted.app/Contents/Info.plist
7574
# Move to the parent folder
7675
mv -i -v OTR_$formatted.app ../OTR_$formatted-OSX.app
7776

78-
# Remove the temporary folder.
77+
# Zip the .app file.
7978
cd ..
80-
rm -r LOVE_OSX
79+
zip -r OTR_$formatted-OSX.zip OTR_$formatted-OSX.app
80+
81+
# Remove the temporary folder and the .app file.
82+
rm -r LOVE_OSX OTR_$formatted-OSX.app
83+
8184

8285
## ZIP THE LOVE FILE
8386
# Fix for https://github.com/itchio/butler/issues/58#issuecomment-299619964
@@ -89,5 +92,5 @@ rm OTR_$formatted.love
8992
# Publish to itch.io
9093
echo "Publishing to itch.io"
9194
butler push OTR_$formatted-WIN.zip rmcode/on-the-roadside:win --userversion $major.$minor.$patch.$build
92-
butler push OTR_$formatted-OSX.app rmcode/on-the-roadside:osx --userversion $major.$minor.$patch.$build
95+
butler push OTR_$formatted-OSX.zip rmcode/on-the-roadside:osx --userversion $major.$minor.$patch.$build
9396
butler push OTR_$formatted-LOVE.zip rmcode/on-the-roadside:win-osx-linux --userversion $major.$minor.$patch.$build
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
return {
2+
id = 'body_dog',
3+
defaultCarryWeight = 20,
4+
defaultCarryVolume = 5,
5+
size = {
6+
stand = 50,
7+
crouch = 30,
8+
prone = 20
9+
},
10+
tags = {
11+
whitelist = {
12+
'creature'
13+
},
14+
blacklist = {
15+
'humanoid'
16+
}
17+
},
18+
bodyparts = {
19+
{
20+
name = 'bodypart_head',
21+
damageModifier = 2.0,
22+
equipment = 'equip_torso',
23+
effects = {
24+
'blind'
25+
}
26+
},
27+
{
28+
name = 'bodypart_torso',
29+
damageModifier = 1.0,
30+
equipment = 'equip_torso'
31+
},
32+
{
33+
name = 'bodypart_legs',
34+
damageModifier = 1.0,
35+
equipment = 'equip_legs'
36+
}
37+
},
38+
equipment = {
39+
{
40+
id = 'equip_mouth',
41+
type = 'equipment',
42+
itemType = 'Weapon',
43+
subType = 'Melee',
44+
sort = 1
45+
},
46+
{
47+
id = 'equip_torso',
48+
type = 'equipment',
49+
itemType = 'Armor',
50+
subType = 'Fur',
51+
sort = 2
52+
},
53+
{
54+
id = 'equip_legs',
55+
type = 'equipment',
56+
itemType = 'Armor',
57+
subType = 'Fur',
58+
sort = 3
59+
}
60+
}
61+
}
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
return {
2+
id = 'body_human',
3+
defaultCarryWeight = 100,
4+
defaultCarryVolume = 10,
5+
size = {
6+
stand = 80,
7+
crouch = 50,
8+
prone = 30
9+
},
10+
tags = {
11+
whitelist = {
12+
'humanoid'
13+
},
14+
blacklist = {
15+
'creature'
16+
}
17+
},
18+
bodyparts = {
19+
{
20+
name = 'bodypart_head',
21+
damageModifier = 2.0,
22+
equipment = 'equip_head',
23+
effects = {
24+
'blind'
25+
}
26+
},
27+
{
28+
name = 'bodypart_torso',
29+
damageModifier = 1.0,
30+
equipment = 'equip_torso'
31+
},
32+
{
33+
name = 'bodypart_hands',
34+
damageModifier = 1.0,
35+
equipment = 'equip_hands'
36+
},
37+
{
38+
name = 'bodypart_legs',
39+
damageModifier = 1.0,
40+
equipment = 'equip_legs'
41+
},
42+
{
43+
name = 'bodypart_feet',
44+
damageModifier = 1.0,
45+
equipment = 'equip_feet'
46+
}
47+
},
48+
equipment = {
49+
{
50+
id = 'equip_head',
51+
type = 'equipment',
52+
itemType = 'Armor',
53+
subType = 'Headgear',
54+
sort = 1
55+
},
56+
{
57+
id = 'equip_backpack',
58+
type = 'equipment',
59+
itemType = 'Container',
60+
sort = 2
61+
},
62+
{
63+
id = 'equip_torso',
64+
type = 'equipment',
65+
itemType = 'Armor',
66+
subType = 'Jacket',
67+
sort = 3
68+
},
69+
{
70+
id = 'equip_hands',
71+
type = 'equipment',
72+
itemType = 'Weapon',
73+
sort = 4
74+
},
75+
{
76+
id = 'equip_legs',
77+
type = 'equipment',
78+
itemType = 'Armor',
79+
subType = 'Trousers',
80+
sort = 5
81+
},
82+
{
83+
id = 'equip_feet',
84+
type = 'equipment',
85+
itemType = 'Armor',
86+
subType = 'Footwear',
87+
sort = 6
88+
}
89+
}
90+
}

res/data/creatures/classes.lua

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
return {
2+
{
3+
id = 'class_stalker',
4+
body = {
5+
'body_human'
6+
},
7+
stats = {
8+
hp = 8
9+
}
10+
},
11+
{
12+
id = 'class_bandit',
13+
body = {
14+
'body_human'
15+
},
16+
stats = {
17+
hp = 5
18+
}
19+
},
20+
{
21+
id = 'class_dog',
22+
body = {
23+
'body_dog'
24+
},
25+
stats = {
26+
hp = 4
27+
}
28+
}
29+
}

0 commit comments

Comments
 (0)