Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
klorpa authored Apr 3, 2020
2 parents 6601f35 + 47bbcf5 commit b467257
Show file tree
Hide file tree
Showing 192 changed files with 4,675 additions and 1,794 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ IF(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Debug)
ENDIF(NOT CMAKE_BUILD_TYPE)

ADD_DEFINITIONS(-DCMAKE)

if (NOT ${GIT_VERSION} MATCHES GIT-NOTFOUND)
string(REPLACE "-NOTFOUND" "" GIT_VERSION ${GIT_VERSION})
FILE(WRITE ${CMAKE_SOURCE_DIR}/src/version.h "\#define VERSION \"${GIT_VERSION}\"\n")
Expand Down
2 changes: 1 addition & 1 deletion build-scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ num_jobs=3

function run_tests
{
# The grep supresses lines that begin with "0.0## s:", which are timing lines for tests with a very short duration.
# The grep suppresses lines that begin with "0.0## s:", which are timing lines for tests with a very short duration.
$WINE "$@" -d yes --use-colour yes --rng-seed time $EXTRA_TEST_OPTS | grep -Ev "^0\.0[0-9]{2} s:"
}

Expand Down
7 changes: 7 additions & 0 deletions data/json/effects.json
Original file line number Diff line number Diff line change
Expand Up @@ -1686,6 +1686,13 @@
"desc": [ "The creature has been partially or fully milked." ],
"max_duration": "1 d"
},
{
"type": "effect_type",
"id": "sheared",
"name": [ "Sheared" ],
"desc": [ "The creature has been fully sheared." ],
"max_duration": "90d"
},
{
"type": "effect_type",
"id": "pkill",
Expand Down
15 changes: 15 additions & 0 deletions data/json/furniture_and_terrain/furniture-flora.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,21 @@
"harvest_by_season": [ { "seasons": [ "spring", "summer", "autumn" ], "entries": [ { "drop": "raw_dandelion", "base_num": [ 1, 4 ] } ] } ],
"bash": { "str_min": 2, "str_max": 6, "sound": "crunch.", "sound_fail": "whish." }
},
{
"type": "furniture",
"id": "f_burdock",
"name": "burdock",
"description": "A common weed with a purple thistle-like flower. Its seeds tend to stick to clothing and fur.",
"symbol": "f",
"color": "magenta",
"looks_like": "f_dandelion",
"move_cost_mod": 0,
"required_str": -1,
"flags": [ "TRANSPARENT", "TINY", "FLAMMABLE_ASH", "NOCOLLIDE", "FLOWER" ],
"examine_action": "harvest_furn_nectar",
"harvest_by_season": [ { "seasons": [ "spring", "summer", "autumn" ], "entries": [ { "drop": "raw_burdock", "base_num": [ 1, 4 ] } ] } ],
"bash": { "str_min": 2, "str_max": 6, "sound": "crunch.", "sound_fail": "whish." }
},
{
"type": "furniture",
"id": "f_chamomile",
Expand Down
12 changes: 6 additions & 6 deletions data/json/furniture_and_terrain/terrain-doors.json
Original file line number Diff line number Diff line change
Expand Up @@ -1761,7 +1761,7 @@
"move_cost": 0,
"coverage": 95,
"roof": "t_flat_roof",
"flags": [ "FLAMMABLE_ASH", "NOITEM", "WALL", "BLOCK_WIND" ],
"flags": [ "FLAMMABLE_ASH", "NOITEM", "WALL", "REDUCE_SCENT", "BLOCK_WIND" ],
"bash": {
"str_min": 15,
"str_max": 80,
Expand Down Expand Up @@ -1789,7 +1789,7 @@
"move_cost": 0,
"coverage": 95,
"roof": "t_flat_roof",
"flags": [ "FLAMMABLE_ASH", "NOITEM", "WALL" ],
"flags": [ "FLAMMABLE_ASH", "NOITEM", "WALL", "REDUCE_SCENT" ],
"bash": {
"str_min": 10,
"str_max": 40,
Expand Down Expand Up @@ -1818,7 +1818,7 @@
"coverage": 95,
"roof": "t_flat_roof",
"examine_action": "door_peephole",
"flags": [ "FLAMMABLE_ASH", "NOITEM", "WALL", "BLOCK_WIND" ],
"flags": [ "FLAMMABLE_ASH", "NOITEM", "WALL", "REDUCE_SCENT", "BLOCK_WIND" ],
"bash": {
"str_min": 15,
"str_max": 80,
Expand All @@ -1845,7 +1845,7 @@
"move_cost": 0,
"coverage": 95,
"roof": "t_flat_roof",
"flags": [ "FLAMMABLE_ASH", "NOITEM", "WALL", "BLOCK_WIND" ],
"flags": [ "FLAMMABLE_ASH", "NOITEM", "WALL", "NO_SCENT", "BLOCK_WIND" ],
"bash": {
"str_min": 25,
"str_max": 60,
Expand Down Expand Up @@ -1873,7 +1873,7 @@
"move_cost": 0,
"coverage": 95,
"roof": "t_flat_roof",
"flags": [ "FLAMMABLE_ASH", "NOITEM", "WALL" ],
"flags": [ "FLAMMABLE_ASH", "NOITEM", "WALL", "NO_SCENT" ],
"bash": {
"str_min": 20,
"str_max": 50,
Expand Down Expand Up @@ -1902,7 +1902,7 @@
"coverage": 95,
"roof": "t_flat_roof",
"examine_action": "door_peephole",
"flags": [ "FLAMMABLE_ASH", "NOITEM", "WALL" ],
"flags": [ "FLAMMABLE_ASH", "NOITEM", "WALL", "NO_SCENT" ],
"bash": {
"str_min": 10,
"str_max": 40,
Expand Down
2 changes: 1 addition & 1 deletion data/json/furniture_and_terrain/terrain-fences-gates.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"color": "light_red",
"move_cost": 0,
"coverage": 55,
"flags": [ "FLAMMABLE", "NOITEM", "DOOR", "CONNECT_TO_WALL", "WALL", "BLOCK_WIND", "BURROWABLE" ],
"flags": [ "FLAMMABLE", "NOITEM", "DOOR", "CONNECT_TO_WALL", "WALL", "REDUCE_SCENT", "BLOCK_WIND", "BURROWABLE" ],
"bash": {
"str_min": 24,
"str_max": 150,
Expand Down
4 changes: 2 additions & 2 deletions data/json/furniture_and_terrain/terrain-fungal.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"color": "dark_gray",
"move_cost": 0,
"coverage": 100,
"flags": [ "FLAMMABLE_ASH", "NOITEM", "SUPPORTS_ROOF", "FUNGUS", "WALL", "MINEABLE" ],
"flags": [ "FLAMMABLE_ASH", "NOITEM", "SUPPORTS_ROOF", "FUNGUS", "WALL", "REDUCE_SCENT", "MINEABLE" ],
"bash": { "str_min": 30, "str_max": 180, "sound": "crunch!", "sound_fail": "poof!", "ter_set": "t_fungus" }
},
{
Expand All @@ -88,7 +88,7 @@
"color": "dark_gray",
"move_cost": 0,
"coverage": 100,
"flags": [ "FLAMMABLE_ASH", "NOITEM", "SUPPORTS_ROOF", "FUNGUS", "WALL", "AUTO_WALL_SYMBOL", "MINEABLE" ],
"flags": [ "FLAMMABLE_ASH", "NOITEM", "SUPPORTS_ROOF", "FUNGUS", "WALL", "NO_SCENT", "AUTO_WALL_SYMBOL", "MINEABLE" ],
"bash": { "str_min": 30, "str_max": 180, "sound": "crunch!", "sound_fail": "poof!", "ter_set": "t_fungus" }
},
{
Expand Down
44 changes: 22 additions & 22 deletions data/json/furniture_and_terrain/terrain-liquids.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"symbol": "~",
"color": "light_blue",
"move_cost": 5,
"flags": [ "TRANSPARENT", "LIQUID", "SWIMMABLE", "FISHABLE" ],
"flags": [ "TRANSPARENT", "LIQUID", "NO_SCENT", "SWIMMABLE", "FISHABLE" ],
"connects_to": "WATER",
"examine_action": "water_source"
},
Expand All @@ -22,7 +22,7 @@
"color": "light_blue",
"move_cost": 5,
"roof": "t_rock_roof",
"flags": [ "TRANSPARENT", "LIQUID", "SWIMMABLE", "FISHABLE", "INDOORS" ],
"flags": [ "TRANSPARENT", "LIQUID", "NO_SCENT", "SWIMMABLE", "FISHABLE", "INDOORS" ],
"connects_to": "WATER",
"examine_action": "water_source"
},
Expand All @@ -35,7 +35,7 @@
"looks_like": "t_water_sh",
"color": "blue",
"move_cost": 8,
"flags": [ "TRANSPARENT", "LIQUID", "SWIMMABLE", "DEEP_WATER", "FISHABLE" ],
"flags": [ "TRANSPARENT", "LIQUID", "NO_SCENT", "SWIMMABLE", "DEEP_WATER", "FISHABLE" ],
"connects_to": "WATER",
"examine_action": "water_source"
},
Expand All @@ -50,7 +50,7 @@
"color": "blue",
"move_cost": 8,
"roof": "t_rock_roof",
"flags": [ "TRANSPARENT", "LIQUID", "SWIMMABLE", "DEEP_WATER", "FISHABLE", "INDOORS" ],
"flags": [ "TRANSPARENT", "LIQUID", "NO_SCENT", "SWIMMABLE", "DEEP_WATER", "FISHABLE", "INDOORS" ],
"connects_to": "WATER",
"examine_action": "water_source"
},
Expand All @@ -63,7 +63,7 @@
"color": "light_blue",
"looks_like": "t_water_sh",
"move_cost": 5,
"flags": [ "TRANSPARENT", "LIQUID", "SWIMMABLE", "FISHABLE" ],
"flags": [ "TRANSPARENT", "LIQUID", "NO_SCENT", "SWIMMABLE", "FISHABLE" ],
"connects_to": "WATER",
"examine_action": "water_source"
},
Expand All @@ -78,7 +78,7 @@
"looks_like": "t_water_sh",
"move_cost": 5,
"roof": "t_rock_roof",
"flags": [ "TRANSPARENT", "LIQUID", "SWIMMABLE", "FISHABLE", "INDOORS" ],
"flags": [ "TRANSPARENT", "LIQUID", "NO_SCENT", "SWIMMABLE", "FISHABLE", "INDOORS" ],
"connects_to": "WATER",
"examine_action": "water_source"
},
Expand All @@ -91,7 +91,7 @@
"symbol": "~",
"color": "light_blue",
"move_cost": 6,
"flags": [ "TRANSPARENT", "LIQUID", "SWIMMABLE", "FISHABLE", "CURRENT" ],
"flags": [ "TRANSPARENT", "LIQUID", "NO_SCENT", "SWIMMABLE", "FISHABLE", "CURRENT" ],
"connects_to": "WATER",
"examine_action": "water_source"
},
Expand All @@ -106,7 +106,7 @@
"color": "light_blue",
"move_cost": 6,
"roof": "t_rock_roof",
"flags": [ "TRANSPARENT", "LIQUID", "SWIMMABLE", "FISHABLE", "CURRENT", "INDOORS" ],
"flags": [ "TRANSPARENT", "LIQUID", "NO_SCENT", "SWIMMABLE", "FISHABLE", "CURRENT", "INDOORS" ],
"connects_to": "WATER",
"examine_action": "water_source"
},
Expand All @@ -119,7 +119,7 @@
"symbol": "~",
"color": "blue",
"move_cost": 10,
"flags": [ "TRANSPARENT", "LIQUID", "SWIMMABLE", "DEEP_WATER", "FISHABLE", "CURRENT" ],
"flags": [ "TRANSPARENT", "LIQUID", "NO_SCENT", "SWIMMABLE", "DEEP_WATER", "FISHABLE", "CURRENT" ],
"connects_to": "WATER",
"examine_action": "water_source"
},
Expand All @@ -134,7 +134,7 @@
"color": "blue",
"move_cost": 10,
"roof": "t_rock_roof",
"flags": [ "TRANSPARENT", "LIQUID", "SWIMMABLE", "DEEP_WATER", "FISHABLE", "CURRENT", "INDOORS" ],
"flags": [ "TRANSPARENT", "LIQUID", "NO_SCENT", "SWIMMABLE", "DEEP_WATER", "FISHABLE", "CURRENT", "INDOORS" ],
"connects_to": "WATER",
"examine_action": "water_source"
},
Expand All @@ -147,7 +147,7 @@
"looks_like": "t_water_sh",
"color": "light_blue",
"move_cost": 5,
"flags": [ "TRANSPARENT", "LIQUID", "SWIMMABLE", "SALT_WATER", "FISHABLE" ],
"flags": [ "TRANSPARENT", "LIQUID", "NO_SCENT", "SWIMMABLE", "SALT_WATER", "FISHABLE" ],
"connects_to": "WATER",
"examine_action": "water_source"
},
Expand All @@ -162,7 +162,7 @@
"looks_like": "t_swater_sh",
"move_cost": 5,
"roof": "t_rock_roof",
"flags": [ "TRANSPARENT", "LIQUID", "SWIMMABLE", "SALT_WATER", "FISHABLE", "INDOORS" ],
"flags": [ "TRANSPARENT", "LIQUID", "NO_SCENT", "SWIMMABLE", "SALT_WATER", "FISHABLE", "INDOORS" ],
"connects_to": "WATER",
"examine_action": "water_source"
},
Expand All @@ -175,7 +175,7 @@
"looks_like": "t_water_dp",
"color": "blue",
"move_cost": 8,
"flags": [ "TRANSPARENT", "LIQUID", "SWIMMABLE", "SALT_WATER", "DEEP_WATER", "FISHABLE" ],
"flags": [ "TRANSPARENT", "LIQUID", "NO_SCENT", "SWIMMABLE", "SALT_WATER", "DEEP_WATER", "FISHABLE" ],
"connects_to": "WATER",
"examine_action": "water_source"
},
Expand All @@ -190,7 +190,7 @@
"looks_like": "t_swater_dp",
"move_cost": 8,
"roof": "t_rock_roof",
"flags": [ "TRANSPARENT", "LIQUID", "SWIMMABLE", "SALT_WATER", "DEEP_WATER", "FISHABLE", "INDOORS" ],
"flags": [ "TRANSPARENT", "LIQUID", "NO_SCENT", "SWIMMABLE", "SALT_WATER", "DEEP_WATER", "FISHABLE", "INDOORS" ],
"connects_to": "WATER",
"examine_action": "water_source"
},
Expand All @@ -203,7 +203,7 @@
"looks_like": "t_water_dp",
"color": "light_blue",
"move_cost": 5,
"flags": [ "TRANSPARENT", "LIQUID", "SWIMMABLE", "INDOORS", "DEEP_WATER" ],
"flags": [ "TRANSPARENT", "LIQUID", "NO_SCENT", "SWIMMABLE", "INDOORS", "DEEP_WATER" ],
"examine_action": "water_source"
},
{
Expand All @@ -215,7 +215,7 @@
"looks_like": "t_water_pool",
"color": "light_blue",
"move_cost": 5,
"flags": [ "TRANSPARENT", "LIQUID", "SWIMMABLE", "INDOORS" ],
"flags": [ "TRANSPARENT", "LIQUID", "NO_SCENT", "SWIMMABLE", "INDOORS" ],
"examine_action": "water_source"
},
{
Expand All @@ -227,7 +227,7 @@
"looks_like": "t_water_pool",
"color": "light_blue",
"move_cost": 5,
"flags": [ "TRANSPARENT", "LIQUID", "SWIMMABLE", "DEEP_WATER" ],
"flags": [ "TRANSPARENT", "LIQUID", "NO_SCENT", "SWIMMABLE", "DEEP_WATER" ],
"examine_action": "water_source"
},
{
Expand All @@ -239,7 +239,7 @@
"looks_like": "t_water_pool",
"color": "light_blue",
"move_cost": 5,
"flags": [ "TRANSPARENT", "LIQUID", "SWIMMABLE" ],
"flags": [ "TRANSPARENT", "LIQUID", "NO_SCENT", "SWIMMABLE" ],
"examine_action": "water_source"
},
{
Expand All @@ -264,7 +264,7 @@
"move_cost": 4,
"light_emitted": 50,
"trap": "tr_lava",
"flags": [ "TRANSPARENT", "LIQUID", "DESTROY_ITEM", "USABLE_FIRE" ],
"flags": [ "TRANSPARENT", "LIQUID", "NO_SCENT", "DESTROY_ITEM", "USABLE_FIRE" ],
"//": "lava-seared moose meat? yes, please"
},
{
Expand All @@ -276,7 +276,7 @@
"symbol": "~",
"color": "blue",
"move_cost": 8,
"flags": [ "TRANSPARENT", "LIQUID", "SWIMMABLE", "DEEP_WATER", "GOES_DOWN", "GOES_UP" ],
"flags": [ "TRANSPARENT", "LIQUID", "NO_SCENT", "SWIMMABLE", "DEEP_WATER", "GOES_DOWN", "GOES_UP" ],
"connects_to": "WATER",
"examine_action": "water_source"
},
Expand All @@ -289,7 +289,7 @@
"symbol": "~",
"color": "blue",
"move_cost": 8,
"flags": [ "TRANSPARENT", "LIQUID", "SWIMMABLE", "DEEP_WATER", "GOES_UP" ],
"flags": [ "TRANSPARENT", "LIQUID", "NO_SCENT", "SWIMMABLE", "DEEP_WATER", "GOES_UP" ],
"connects_to": "WATER",
"examine_action": "water_source"
},
Expand All @@ -303,7 +303,7 @@
"looks_like": "t_sand",
"color": "blue",
"move_cost": 8,
"flags": [ "TRANSPARENT", "LIQUID", "SWIMMABLE", "DEEP_WATER", "GOES_UP" ],
"flags": [ "TRANSPARENT", "LIQUID", "NO_SCENT", "SWIMMABLE", "DEEP_WATER", "GOES_UP" ],
"connects_to": "WATER",
"examine_action": "water_source"
}
Expand Down
2 changes: 1 addition & 1 deletion data/json/furniture_and_terrain/terrain-manufactured.json
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@
"color": "dark_gray",
"move_cost": 0,
"coverage": 65,
"flags": [ "NOITEM", "WALL" ],
"flags": [ "NOITEM", "WALL", "PERMEABLE" ],
"bash": {
"str_min": 6,
"str_max": 150,
Expand Down
4 changes: 2 additions & 2 deletions data/json/furniture_and_terrain/terrain-migo.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"move_cost": 0,
"coverage": 100,
"roof": "t_resin_roof",
"flags": [ "NOITEM", "SUPPORTS_ROOF", "WALL", "AUTO_WALL_SYMBOL", "BLOCK_WIND" ],
"flags": [ "NOITEM", "SUPPORTS_ROOF", "WALL", "NO_SCENT", "AUTO_WALL_SYMBOL", "BLOCK_WIND" ],
"bash": {
"str_min": 250,
"str_max": 700,
Expand All @@ -29,7 +29,7 @@
"move_cost": 0,
"coverage": 100,
"roof": "t_resin_roof",
"flags": [ "NOITEM", "WALL", "TRANSPARENT", "INDOORS", "NONFLAMMABLE", "MINEABLE" ],
"flags": [ "NOITEM", "WALL", "PERMEABLE", "TRANSPARENT", "INDOORS", "NONFLAMMABLE", "MINEABLE" ],
"bash": {
"str_min": 70,
"str_max": 300,
Expand Down
Loading

0 comments on commit b467257

Please sign in to comment.