#Lilia framework discussion

1 messages · Page 1 of 1 (latest)

jovial patrol
#

.

#
function lia.inventory.deleteByID(id)
    lia.db.delete(DATA_TABLE, "_invID = " .. id)
    lia.db.delete(INV_TABLE, "_invID = " .. id)
    lia.db.delete(ITEMS_TABLE, "_invID = " .. id)
    local instance = lia.inventory.instances[id]
    if instance then instance:destroy() end
end
wild nest
#

insane wtf

#

it looked like a pretty good codebase from the minimal skimming i did. (im basing this purely off the fact that they were using promises properly in parts, shocking how few gamemodes do this)

the file structure is mad though. literally a billion directories each containing a million sub directories with each containing 1-3 files usually

wild nest
#

still bad though ofc