mirror of
https://github.com/Xevion/project-cybersyn.git
synced 2025-12-12 20:12:37 -06:00
updated api
This commit is contained in:
4
.vscode/factorio/runtime-api-LuaEntity.lua
vendored
4
.vscode/factorio/runtime-api-LuaEntity.lua
vendored
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user