Barotrauma
Lua Component
Hiển thị 1-3 trong 3 mục
Cập nhật: 4 Thg08, 2022 @ 12:17am

new logic, 100x less unnecessary load
scripts now run on server or in singleplayer only
memory can use whatever indices
memory is saved to component on round end, loaded from component on round start; can be done manually with msave() and mload()
renamed i, o, m to inp, out, mem, scripts need to be updated
memory can hold numbers, strings and booleans, could do simple functions later
number inputs are now numbers indeed, not strings
input cache lifetime reduced to 1 frame from 15
removed third memory component as it is no longer used
lua components might need to be rewired

Cập nhật: 24 Thg05, 2022 @ 12:52pm

first try used too naive approach, rewrite using statuseffect
* added memory feature
* added tonumber() where appropriate
* code cleanup
* now it actually works, yay

Cập nhật: 23 Thg05, 2022 @ 2:03pm