Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
jpanther committed Jan 28, 2020
2 parents 00c3224 + 2fce1da commit 70aa267
Show file tree
Hide file tree
Showing 14 changed files with 495 additions and 398 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,12 @@ Special thanks to the translators below (in no particular order).

* Chinese Simplified (80%) - [jessefjxm](https://crowdin.com/profile/jessefjxm).
* Chinese Traditional (34%) - [k98a](https://crowdin.com/profile/k98a).
* Czech (75%) - [dereksp](https://crowdin.com/profile/dereksp), [Meritic](https://crowdin.com/profile/Meritic) and [Treij](https://crowdin.com/profile/Treij).
* Czech (83%) - [dereksp](https://crowdin.com/profile/dereksp), [Meritic](https://crowdin.com/profile/Meritic) and [Treij](https://crowdin.com/profile/Treij).
* French (89%) - [Taniotoshi](https://crowdin.com/profile/Taniotoshi) and [daikyraraga](https://crowdin.com/profile/daikyraraga).
* German (92%) - [seeba8](https://github.com/seeba8), [ST-DDT](https://crowdin.com/profile/ST-DDT), [LastDawn](https://crowdin.com/profile/LastDawn), [lpzockerx](https://crowdin.com/profile/lpzockerx) and [Leridon](https://crowdin.com/profile/Leridon).
* Hungarian (92%) - [mmnetworkteam](https://crowdin.com/profile/mmnetworkteam).
* Korean (92%) - [GimoXagros](https://crowdin.com/profile/GimoXagros).
* Polish (99%) - [Tomirad](https://github.com/Tomirad), [Requelfade](https://crowdin.com/profile/Requelfade), [no_desired_username](https://crowdin.com/profile/no_desired_username) and [tomplus](https://crowdin.com/profile/tomplus).
* Polish (100%) - [Tomirad](https://github.com/Tomirad), [Requelfade](https://crowdin.com/profile/Requelfade), [no_desired_username](https://crowdin.com/profile/no_desired_username) and [tomplus](https://crowdin.com/profile/tomplus).
* Portuguese, Brazilian (91%) - [celaquila](https://crowdin.com/profile/celaquila).
* Russian (99%) - [nastyslave](https://crowdin.com/profile/nastyslave), [diraria](https://crowdin.com/profile/diraria), [scheugen86](https://crowdin.com/profile/scheugen86), [antonus777](https://crowdin.com/profile/antonus777), [schmarotzerltd](https://crowdin.com/profile/schmarotzerltd) and [1avek1](https://crowdin.com/profile/1avek1).
* Spanish (92%) - [notallme](https://crowdin.com/profile/notallme).
Expand Down
16 changes: 15 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
---------------------------------------------------------------------------------------------------
Version: 0.10.4
Date: 29. 01. 2020
Added:
- Support for Factorio 0.18.2 audio changes (thanks to AlienXAXS)
Changed:
- Adjusted the vehicle impact sounds of some entities and added more audio variation to match the wider variety now available in the base game
Bugfixes:
- Fixed signal icons not being drawn at the correct scale
- Fixed some items were not showing any icon when using Creative Mod mod
- Minor compatibility fixes to support version 0.5 of Alien Biomes mod
Locales:
- Updated Polish translation (thanks to tomplus)
- Updated Czech translation (thanks to Treij)
---------------------------------------------------------------------------------------------------
Version: 0.10.3
Date: 28. 01. 2020
Added:
Expand Down Expand Up @@ -144,7 +158,7 @@ Date: 12. 03. 2019
Removed:
- Removed custom Landfill tile as 0.17.10 adds this to the base game, existing tiles will be migrated
Bugfixes:
- Fixes compatibility with version 4 of Alien Biomes mod
- Fixes compatibility with version 0.4 of Alien Biomes mod
Locales:
- Added Portuguese, Brazilian translation (thanks to celaquila)
- Added Spanish translation (thanks to notallme)
Expand Down
6 changes: 3 additions & 3 deletions info.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "Dectorio",
"version": "0.10.3",
"version": "0.10.4",
"title": "Dectorio",
"author": "PantherX",
"contact": "",
"homepage": "https://github.com/jpanther/Dectorio",
"factorio_version": "0.18",
"dependencies": [
"base >= 0.18.0",
"? alien-biomes >= 0.4.1",
"base >= 0.18.2",
"? alien-biomes >= 0.5.1",
"!Expanded_Color_Lamps",
"!Thaumaturgic-Machinations"
],
Expand Down
7 changes: 7 additions & 0 deletions locale/cs/dectorio.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ dectorio-painted-concrete-speed-modifier=Upravuje základní rychlost chůze a j
dectorio-decorative-removal-probability=Pravděpodobnost že ozdoby, keřů a trávy, jsou odstraněny, když podlahové dlaždice jsou umístěny (budou odebrány 1 = 100 % (výchozí hodnota), 0,5 = 50 %, 0 = nebyly odebrány žádné)
dectorio-flooring-stack-size=Počet položek podlahy, které lze stohovat v jednom zásob patici (výchozí = 500)
dectorio-landscaping-stack-size=Počet terénní úpravy položek, které lze stohovat v jednom zásob patici (výchozí = 500)
dectorio-walls-stack-size=Počet zdí, které mohou být naskládány do jednoho slotu v inventáři (výchozí = 200)

[dect-cmd]
destroy-orphaned-signs=Odebere všechny osamocené značky z hráče současné povrchu.
Expand All @@ -53,7 +54,12 @@ sign-cancel=Zrušit
[dect-notify]
dectorio=Dectorio
version=[__1__] Verze __2__ nainstalována.
new-version=[__1__] Aktualizováno z verze __2__ na verzi __3__. Podrobnosti naleznete v protokolu změn (Mods > Dectorio > Changelog).
incompatible=[__1__] Varování: Byl detekován nekompatibilní mod!
reason-signals=[__1__] Důvod: "__2__" přepíše data signálu.
reason-tech=[__1__] Důvod: "__2__" duplikuje technologii, která se již nachází v módu Dectorio.
reason-item=[__1__] Důvod: "__2__" duplikuje technologii, která se již nachází v módu Dectorio.
reason-disable=[__1__] Důvod: "__2__" deaktivuje funkci, která je přidaná módem Dectorio.
mod-portal=[__1__] Přejděte na portál modu pro bližší informace.
supported-mod-added=[__1__] Přidána podpora pro __2__.
supported-mod-removed=[__1__] Odstraněna podpora pro __2__ .
Expand Down Expand Up @@ -122,6 +128,7 @@ dect-small-lamp-glow=Když tato lampa zaznamená signál, tak se rozsvítí siln

[recipe-name]
dect-concrete-wall-from-stone-wall=Betonová zeď z kamenné zdi
dect-concrete-gate-from-stone-gate=Betonová brána z kamenné brány

[entity-name]
dect-wood-wall=Dřevěná barikáda
Expand Down
1 change: 1 addition & 0 deletions locale/pl/dectorio.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ dect-lawnmower=Przeciągnij przytrzymując __CONTROL__select-for-blueprint__, ab

[recipe-name]
dect-concrete-wall-from-stone-wall=Betonowy mur z kamiennego muru
dect-concrete-gate-from-stone-gate=Betonowa brama z kamiennej bramy

[entity-name]
dect-wood-wall=Drewniana barykada
Expand Down
62 changes: 33 additions & 29 deletions prototypes/entity/decoratives.lua
Original file line number Diff line number Diff line change
@@ -1,41 +1,45 @@
-- entity/decoratives

if DECT.ENABLED["decoratives"] then
-- Pull in the base entity sounds
local sounds = require("__base__.prototypes.entity.demo-sounds")

data:extend({
data:extend(
{
type = "simple-entity-with-force",
name = "dect-traffic-bollard",
icon = "__Dectorio__/graphics/icons/traffic-bollard.png",
icon_size = 32,
flags = {"placeable-neutral", "placeable-player", "player-creation"},
render_layer = "object",
minable = {hardness = 0.2, mining_time = 0.3, result = "dect-traffic-bollard", count = 1},
max_health = 120,
corpse = "small-remnants",
collision_box = {{-0.15, -0.15}, {0.25, 0.15}},
selection_box = {{-0.25, -1.4}, {0.25, 0.16}},
repair_sound = { filename = "__base__/sound/manual-repair-simple.ogg" },
mined_sound = { filename = "__core__/sound/deconstruct-small.ogg" },
vehicle_impact_sound = {filename = "__base__/sound/car-metal-impact.ogg", volume = 0.7},
pictures = {
{
filename = "__Dectorio__/graphics/decoratives/traffic-bollard/traffic-bollard.png",
priority = "extra-high",
width = 35,
height = 42,
shift = {0.4, -0.6},
hr_version = {
filename = "__Dectorio__/graphics/decoratives/traffic-bollard/hr-traffic-bollard.png",
{
type = "simple-entity-with-force",
name = "dect-traffic-bollard",
icon = "__Dectorio__/graphics/icons/traffic-bollard.png",
icon_size = 64,
icon_mipmaps = 1,
flags = {"placeable-neutral", "placeable-player", "player-creation"},
render_layer = "object",
minable = {hardness = 0.2, mining_time = 0.3, result = "dect-traffic-bollard", count = 1},
max_health = 120,
corpse = "small-remnants",
collision_box = {{-0.15, -0.15}, {0.25, 0.15}},
selection_box = {{-0.25, -1.4}, {0.25, 0.16}},
repair_sound = {filename = "__base__/sound/manual-repair-simple.ogg"},
mined_sound = {filename = "__core__/sound/deconstruct-small.ogg"},
vehicle_impact_sound = sounds.generic_impact,
pictures = {
{
filename = "__Dectorio__/graphics/decoratives/traffic-bollard/traffic-bollard.png",
priority = "extra-high",
width = 70,
height = 84,
width = 35,
height = 42,
shift = {0.4, -0.6},
scale = 0.5
hr_version = {
filename = "__Dectorio__/graphics/decoratives/traffic-bollard/hr-traffic-bollard.png",
priority = "extra-high",
width = 70,
height = 84,
shift = {0.4, -0.6},
scale = 0.5
}
}
}
}
}
})

)
end
123 changes: 64 additions & 59 deletions prototypes/entity/signs.lua
Original file line number Diff line number Diff line change
@@ -1,74 +1,79 @@
-- entity/signs

if DECT.ENABLED["signs"] then
-- Pull in the base entity sounds
local sounds = require("__base__.prototypes.entity.demo-sounds")

data:extend({
data:extend(
{
type = "simple-entity",
name = "dect-sign-wood",
icon = "__Dectorio__/graphics/icons/sign-wood.png",
icon_size = 32,
flags = {"placeable-neutral"},
render_layer = "object",
minable = {mining_time = 0.2, result = "dect-sign-wood", count = 1},
max_health = 40,
collision_box = {{-0.15, -0.15}, {0.15, 0.15}},
selection_box = {{-0.5, -0.5}, {0.5, 0.5}},
drawing_box = {{-0.5, -1.6}, {0.5, 0.5}},
repair_sound = { filename = "__base__/sound/manual-repair-simple.ogg" },
mined_sound = { filename = "__Dectorio__/sound/deconstruct-wood.ogg" },
vehicle_impact_sound = {filename = "__base__/sound/car-wood-impact.ogg", volume = 1.0},
pictures = {
{
filename = "__Dectorio__/graphics/entity/sign-wood/sign-wood.png",
priority = "extra-high",
width = 85,
height = 65,
shift = {0.8, -0.45},
hr_version = {
filename = "__Dectorio__/graphics/entity/sign-wood/hr-sign-wood.png",
{
type = "simple-entity",
name = "dect-sign-wood",
icon = "__Dectorio__/graphics/icons/sign-wood.png",
icon_size = 64,
icon_mipmaps = 1,
flags = {"placeable-neutral"},
render_layer = "object",
minable = {mining_time = 0.2, result = "dect-sign-wood", count = 1},
max_health = 40,
collision_box = {{-0.15, -0.15}, {0.15, 0.15}},
selection_box = {{-0.5, -0.5}, {0.5, 0.5}},
drawing_box = {{-0.5, -1.6}, {0.5, 0.5}},
repair_sound = {filename = "__base__/sound/manual-repair-simple.ogg"},
mined_sound = {filename = "__Dectorio__/sound/deconstruct-wood.ogg"},
vehicle_impact_sound = {filename = "__base__/sound/car-wood-impact.ogg", volume = 1.0},
pictures = {
{
filename = "__Dectorio__/graphics/entity/sign-wood/sign-wood.png",
priority = "extra-high",
width = 170,
height = 130,
width = 85,
height = 65,
shift = {0.8, -0.45},
scale = 0.5
hr_version = {
filename = "__Dectorio__/graphics/entity/sign-wood/hr-sign-wood.png",
priority = "extra-high",
width = 170,
height = 130,
shift = {0.8, -0.45},
scale = 0.5
}
}
}
}
},
{
type = "simple-entity",
name = "dect-sign-steel",
icon = "__Dectorio__/graphics/icons/sign-steel.png",
icon_size = 32,
flags = {"placeable-neutral"},
render_layer = "object",
minable = {mining_time = 0.2, result = "dect-sign-steel", count = 1},
max_health = 65,
collision_box = {{-0.15, -0.15}, {0.15, 0.15}},
selection_box = {{-0.5, -0.5}, {0.5, 0.5}},
drawing_box = {{-0.5, -1.6}, {0.5, 0.5}},
repair_sound = { filename = "__base__/sound/manual-repair-simple.ogg" },
mined_sound = { filename = "__base__/sound/deconstruct-bricks.ogg" },
vehicle_impact_sound = {filename = "__base__/sound/car-metal-impact.ogg", volume = 1.0},
pictures = {
{
filename = "__Dectorio__/graphics/entity/sign-steel/sign-steel.png",
priority = "extra-high",
width = 85,
height = 65,
shift = {0.77, -0.45},
hr_version = {
filename = "__Dectorio__/graphics/entity/sign-steel/hr-sign-steel.png",
},
{
type = "simple-entity",
name = "dect-sign-steel",
icon = "__Dectorio__/graphics/icons/sign-steel.png",
icon_size = 64,
icon_mipmaps = 1,
flags = {"placeable-neutral"},
render_layer = "object",
minable = {mining_time = 0.2, result = "dect-sign-steel", count = 1},
max_health = 65,
collision_box = {{-0.15, -0.15}, {0.15, 0.15}},
selection_box = {{-0.5, -0.5}, {0.5, 0.5}},
drawing_box = {{-0.5, -1.6}, {0.5, 0.5}},
repair_sound = {filename = "__base__/sound/manual-repair-simple.ogg"},
mined_sound = {filename = "__base__/sound/deconstruct-bricks.ogg"},
vehicle_impact_sound = sounds.generic_impact,
pictures = {
{
filename = "__Dectorio__/graphics/entity/sign-steel/sign-steel.png",
priority = "extra-high",
width = 170,
height = 130,
shift = {0.77, -0.43},
scale = 0.5
width = 85,
height = 65,
shift = {0.77, -0.45},
hr_version = {
filename = "__Dectorio__/graphics/entity/sign-steel/hr-sign-steel.png",
priority = "extra-high",
width = 170,
height = 130,
shift = {0.77, -0.43},
scale = 0.5
}
}
}
}
}
})

)
end
13 changes: 8 additions & 5 deletions prototypes/entity/walls.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
-- entity/walls

if DECT.ENABLED["walls"] then
-- Pull in the base entity sounds
local sounds = require("__base__.prototypes.entity.demo-sounds")

-- Make a copy of the base stone wall before clearing it out
local base_stone_wall = data.raw["wall"]["stone-wall"]
data.raw["wall"]["stone-wall"] = nil
Expand All @@ -23,7 +26,7 @@ if DECT.ENABLED["walls"] then
corpse = "wall-remnants",
repair_sound = {filename = "__base__/sound/manual-repair-simple.ogg"},
mined_sound = {filename = "__base__/sound/deconstruct-bricks.ogg"},
vehicle_impact_sound = {filename = "__base__/sound/car-stone-impact.ogg", volume = 1.0},
vehicle_impact_sound = sounds.car_stone_impact,
connected_gate_visualization = {
filename = "__core__/graphics/arrows/underground-lines.png",
priority = "high",
Expand Down Expand Up @@ -514,7 +517,7 @@ if DECT.ENABLED["walls"] then
corpse = "wall-remnants",
repair_sound = {filename = "__base__/sound/manual-repair-simple.ogg"},
mined_sound = {filename = "__base__/sound/deconstruct-bricks.ogg"},
vehicle_impact_sound = {filename = "__base__/sound/car-stone-impact.ogg", volume = 1.0},
vehicle_impact_sound = sounds.car_stone_impact,
connected_gate_visualization = {
filename = "__core__/graphics/arrows/underground-lines.png",
priority = "high",
Expand Down Expand Up @@ -578,7 +581,7 @@ if DECT.ENABLED["walls"] then
corpse = "wall-remnants",
repair_sound = {filename = "__base__/sound/manual-repair-simple.ogg"},
mined_sound = {filename = "__base__/sound/deconstruct-bricks.ogg"},
vehicle_impact_sound = {filename = "__base__/sound/car-stone-impact.ogg", volume = 1.0},
vehicle_impact_sound = sounds.generic_impact,
connected_gate_visualization = {
filename = "__core__/graphics/arrows/underground-lines.png",
priority = "high",
Expand Down Expand Up @@ -1623,7 +1626,7 @@ if DECT.ENABLED["walls"] then
}
}
},
vehicle_impact_sound = generic_impact_sound(),
vehicle_impact_sound = sounds.car_stone_impact,
open_sound = base_gate.open_sound,
close_sound = base_gate.close_sound
},
Expand Down Expand Up @@ -1656,7 +1659,7 @@ if DECT.ENABLED["walls"] then
vertical_rail_base = base_gate.vertical_rail_base,
horizontal_rail_base = base_gate.horizontal_rail_base,
wall_patch = base_gate.wall_patch,
vehicle_impact_sound = generic_impact_sound(),
vehicle_impact_sound = sounds.generic_impact,
open_sound = base_gate.open_sound,
close_sound = base_gate.close_sound
}
Expand Down
Loading

0 comments on commit 70aa267

Please sign in to comment.