updated api

This commit is contained in:
Monica Moniot
2022-12-01 19:04:58 -05:00
parent 21abe6fb56
commit 30fe2946e6
104 changed files with 232 additions and 123 deletions

View File

@@ -1,7 +1,7 @@
---@meta
---@diagnostic disable
--$Factorio 1.1.70
--$Factorio 1.1.72
--$Overlay 5
--$Section LuaEntity
-- This file is automatically generated. Edits will be overwritten.
@@ -1307,7 +1307,7 @@ create_build_effect_smoke=function()end,
---_Can only be used if this is EntityWithHealth_
---@param damage float@The amount of damage to be done.
---@param force ForceIdentification@The force that will be doing the damage.
---@param type string?@The type of damage to be done, defaults to "impact".
---@param type string?@The type of damage to be done, defaults to "impact". Can't be `nil`.
---@param dealer LuaEntity?@The entity to consider as the damage dealer. Needs to be on the same surface as the entity being damaged.
---@return float@the total damage actually applied after resistances.
damage=function(damage,force,type,dealer)end,