Skip to content

Commit

Permalink
Version 0.1.4 for Factorio 0.14.x
Browse files Browse the repository at this point in the history
  • Loading branch information
s-lindenau committed Sep 17, 2016
1 parent 729e84e commit 812c1fa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion autodestroy/player.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ end
function getPowerArmor(armor_inventory)
if (armor_inventory.is_empty() == false) then
local armor = armor_inventory[1];
if (armor.has_grid == true) then
if (armor.grid ~= nil) then
return armor;
end
end
Expand Down
4 changes: 2 additions & 2 deletions info.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "Auto_Deploy_Destroyers",
"version": "0.1.3",
"version": "0.1.4",
"title": "Auto Deploy Destroyers",
"author": "slindenau",
"contact": "https://forums.factorio.com/ucp.php?i=pm&mode=compose&u=16823",
"homepage": "https://forums.factorio.com/memberlist.php?mode=viewprofile&u=16823",
"description": "Automatically deploys destroyer drones based on enemies around the player",
"factorio_version": "0.13"
"factorio_version": "0.14"
}
3 changes: 2 additions & 1 deletion prototypes/equipment/equipment.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ data:extend({
usage_priority = "secondary-input"
},
energy_consumption = "50kW",
movement_bonus = 0
movement_bonus = 0,
categories = {"armor"}
}
});

0 comments on commit 812c1fa

Please sign in to comment.