* feat: add extensible inventory/backpack module Introduce eve.Inventory with data-driven items, Bag containers, EquipmentSet, pluggable accept/capacity/stack rules, change events, script bindings, tests, docs, and a playable example. Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com> * fix: inventory tests for CHECK_EQ double-eval and never-stack slots Store side-effecting call results before CHECK_EQ (zeroerr evaluates LHS twice), and treat non-merging stack rules as per-slot capacity 1. Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
9 lines
190 B
Plaintext
9 lines
190 B
Plaintext
// examples/inventory 的窗口配置。
|
|
config = {
|
|
width = 960
|
|
height = 640
|
|
title = "EVEngine Inventory 示例 —— 背包与装备"
|
|
debug = false
|
|
hotReload = true
|
|
};
|