forked from MTSR/techage_modpack
built on 01/08/2021 11:13:55
This commit is contained in:
parent
1ebe654d96
commit
56249130b4
@ -49,7 +49,7 @@ ta4_jetpack requires the modpack 3d_armor. 3d_armor is itself a modpack and can'
|
|||||||
|
|
||||||
#### 2021-08-01
|
#### 2021-08-01
|
||||||
|
|
||||||
Added Mods:
|
Newly added mods (must be activated!):
|
||||||
- networks
|
- networks
|
||||||
- ta4_addons (Touchscreen)
|
- ta4_addons (Touchscreen)
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ end
|
|||||||
|
|
||||||
local function add_chest_entity(pos, nvm)
|
local function add_chest_entity(pos, nvm)
|
||||||
local mem = techage.get_mem(pos)
|
local mem = techage.get_mem(pos)
|
||||||
local length = (nvm.length or MAX_ROPE_LEN) * (1 - nvm.load/nvm.capa)
|
local length = (nvm.length or MAX_ROPE_LEN) * (1 - (nvm.load or 0) / (nvm.capa or 1))
|
||||||
local y = pos.y - length - 1
|
local y = pos.y - length - 1
|
||||||
techage.renew_rope(pos, length, true)
|
techage.renew_rope(pos, length, true)
|
||||||
if mem.obj then
|
if mem.obj then
|
||||||
|
Loading…
Reference in New Issue
Block a user