翻译成中文,保留原始代码格式
["meatpig"] = {["name"] = "meatpig", ["label"] = "Pig Meat", ["weight"] = 100, ["type"] = "item", ["image"] = "pigpelt.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Pig Meat"},
["meatboar"] = {["name"] = "meatboar", ["label"] = "Boar Tusks", ["weight"] = 100, ["type"] = "item", ["image"] = "boartusks.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Boar Tusks"},
["meatlion"] = {["name"] = "meatlion", ["label"] = "Cougar Claws", ["weight"] = 100, ["type"] = "item", ["image"] = "cougarclaw.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Cougar Claw"},
["meatcow"] = {["name"] = "meatcow", ["label"] = "Cow Pelt", ["weight"] = 100, ["type"] = "item", ["image"] = "cowpelt.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Cow Pelt"},
["meatrabbit"] = {["name"] = "meatrabbit", ["label"] = "Rabbit Fur", ["weight"] = 100, ["type"] = "item", ["image"] = "rabbitfur.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Rabbit Fur"},
["meatbird"] = {["name"] = "meatbird", ["label"] = "Bird Feather", ["weight"] = 100, ["type"] = "item", ["image"] = "birdfeather.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Bird Feather"},
["meatcoyote"] = {["name"] = "meatcoyote", ["label"] = "Coyote Pelt", ["weight"] = 100, ["type"] = "item", ["image"] = "coyotepelt.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Coyote Pelt"},
["huntingbait"] = {["name"] = "huntingbait", ["label"] = "Hunting Bait", ["weight"] = 150, ["type"] = "item", ["image"] = "huntingbait.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Hunting Bait"},
['drone'] = {['name'] = 'drone', ['label'] = 'drone', ['weight'] = 500, ['type'] = 'item', ['image'] = 'drone.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'I like drone'},
["spray"] = {["name"] = "spray", ["label"] = "Bomboletta Spray", ["weight"] = 300, ["type"] = "item", ["image"] = "spray.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Una bomboletta spray di vernice"},
["spray_remover"] = {["name"] = "spray_remover", ["label"] = "Kit rimozione Spray", ["weight"] = 300, ["type"] = "item", ["image"] = "spray_remover.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Un kit di rimozione vernice spray"},
['burner_phone'] = {['name'] = 'burner_phone', ['label'] = 'Burner Phone', ['weight'] = 10, ['type'] = 'item', ['image'] = 'burner_phone.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Use Burner Phone'},
['begging_box'] = {['name'] = 'begging_box', ['label'] = 'Begging Box', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'begging_box.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A box for begging money!'},
['begging_guitar'] = {['name'] = 'begging_guitar', ['label'] = 'Begging Guitar', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'begging_guitar.png', ['unique'] = true, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A musical guitar!'},
['vehiclekey'] = {['name'] = 'vehiclekey', ['label'] = 'Vehicle Key', ['weight'] = 0, ['type'] = 'item', ['image'] = 'vehiclekey.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'This is a car key, take good care of it, if you lose it you probably won\'t be able to use your car' },
-- jim mechanic
["mechanic_tools"] = {["name"] = "mechanic_tools", ["label"] = "Mechanic tools", ["weight"] = 0, ["type"] = "item", ["image"] = "mechanic_tools.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Needed for vehicle repairs"},
["toolbox"] = {["name"] = "toolbox", ["label"] = "Toolbox", ["weight"] = 0, ["type"] = "item", ["image"] = "toolbox.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Needed for Performance part removal"},
["ducttape"] = {["name"] = "ducttape", ["label"] = "Duct Tape", ["weight"] = 0, ["type"] = "item", ["image"] = "bodyrepair.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Good for quick fixes"},
["mechboard"] = {["name"] = "mechboard", ["label"] = "Mechanic Sheet", ["weight"] = 0, ["type"] = "item", ["image"] = "mechboard.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = ""},
["meatpig"] = {["name"] = "meatpig", ["label"] = "猪肉", ["weight"] = 100, ["type"] = "item", ["image"] = "pigpelt.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "猪肉"},
["meatboar"] = {["name"] = "meatboar", ["label"] = "野猪獠牙", ["weight"] = 100, ["type"] = "item", ["image"] = "boartusks.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "野猪獠牙"},
["meatlion"] = {["name"] = "meatlion", ["label"] = "美洲狮爪子", ["weight"] = 100, ["type"] = "item", ["image"] = "cougarclaw.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "美洲狮爪子"},
["meatcow"] = {["name"] = "meatcow", ["label"] = "牛皮", ["weight"] = 100, ["type"] = "item", ["image"] = "cowpelt.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "牛皮"},
["meatrabbit"] = {["name"] = "meatrabbit", ["label"] = "兔毛", ["weight"] = 100, ["type"] = "item", ["image"] = "rabbitfur.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "兔毛"},
["meatbird"] = {["name"] = "meatbird", ["label"] = "鸟羽毛", ["weight"] = 100, ["type"] = "item", ["image"] = "birdfeather.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "鸟羽毛"},
["meatcoyote"] = {["name"] = "meatcoyote", ["label"] = "土狼皮", ["weight"] = 100, ["type"] = "item", ["image"] = "coyotepelt.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "土狼皮"},
["huntingbait"] = {["name"] = "huntingbait", ["label"] = "狩猎诱饵", ["weight"] = 150, ["type"] = "item", ["image"] = "huntingbait.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "狩猎诱饵"},
['drone'] = {['name'] = 'drone', ['label'] = '无人机', ['weight'] = 500, ['type'] = 'item', ['image'] = 'drone.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '我喜欢无人机'},
["spray"] = {["name"] = "spray", ["label"] = "喷漆罐", ["weight"] = 300, ["type"] = "item", ["image"] = "spray.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "一罐喷漆"},
["spray_remover"] = {["name"] = "spray_remover", ["label"] = "喷漆去除工具", ["weight"] = 300, ["type"] = "item", ["image"] = "spray_remover.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "一个喷漆去除工具包"},
['burner_phone'] = {['name'] = 'burner_phone', ['label'] = '一次性手机', ['weight'] = 10, ['type'] = 'item', ['image'] = 'burner_phone.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '使用一次性手机'},
['begging_box'] = {['name'] = 'begging_box', ['label'] = '乞讨箱', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'begging_box.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '用来乞讨的钱箱'},
['begging_guitar'] = {['name'] = 'begging_guitar', ['label'] = '乞讨吉他', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'begging_guitar.png', ['unique'] = true, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '一把音乐吉他'},
['vehiclekey'] = {['name'] = 'vehiclekey', ['label'] = '车钥匙', ['weight'] = 0, ['type'] = 'item', ['image'] = 'vehiclekey.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '这是一把车钥匙,好好保管,如果丢失了可能无法使用你的车'},
-- jim mechanic
["mechanic_tools"] = {["name"] = "mechanic_tools", ["label"] = "机械工具", ["weight"] = 0, ["type"] = "item", ["image"] = "mechanic_tools.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "用于车辆维修"},
["toolbox"] = {["name"] = "toolbox", ["label"] = "工具箱", ["weight"] = 0, ["type"] = "item", ["image"] = "toolbox.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "用于拆卸性能部件"},
["ducttape"] = {["name"] = "ducttape", ["label"] = "胶带", ["weight"] = 0, ["type"] = "item", ["image"] = "bodyrepair.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "适合快速修复"},
["mechboard"] = {["name"] = "mechboard", ["label"] = "机械板", ["weight"] = 0, ["type"] = "item", ["image"] = "mechboard.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = ""}
此代码为物品定义列表,包含物品的名称、标签、重量、类型、图像、是否唯一、是否可使用、是否应关闭、可组合属性及描述。各个字段的含义如下:
- `["name"]`: 物品的内部名称
- `["label"]`: 物品的显示名称
- `["weight"]`: 物品的重量
- `["type"]`: 物品的类型
- `["image"]`: 物品的图像文件名
- `["unique"]`: 是否唯一
- `["useable"]`: 是否可使用
- `["shouldClose"]`: 使用后是否应关闭
- `["combinable"]`: 可组合属性(此处都为nil)
- `["description"]`: 物品的描述 ['classic_phone'] = {['name'] = 'classic_phone', ['label'] = 'Classic Phone', ['weight'] = 700, ['type'] = 'item', ['image'] = 'classic_phone.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'They say that Quasar Smartphone is the same as an iPhone, what do you think?'},
['black_phone'] = {['name'] = 'black_phone', ['label'] = 'Black Phone', ['weight'] = 700, ['type'] = 'item', ['image'] = 'black_phone.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'They say that Quasar Smartphone is the same as an iPhone, what do you think?'},
['blue_phone'] = {['name'] = 'blue_phone', ['label'] = 'Blue Phone', ['weight'] = 700, ['type'] = 'item', ['image'] = 'blue_phone.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'They say that Quasar Smartphone is the same as an iPhone, what do you think?'},
['gold_phone'] = {['name'] = 'gold_phone', ['label'] = 'Gold Phone', ['weight'] = 700, ['type'] = 'item', ['image'] = 'gold_phone.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'They say that Quasar Smartphone is the same as an iPhone, what do you think?'},
['purple_phone'] = {['name'] = 'purple_phone', ['label'] = 'Purple Phone', ['weight'] = 700, ['type'] = 'item', ['image'] = 'purple_phone.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'They say that Quasar Smartphone is the same as an iPhone, what do you think?'},
['red_phone'] = {['name'] = 'red_phone', ['label'] = 'Red Phone', ['weight'] = 700, ['type'] = 'item', ['image'] = 'red_phone.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'They say that Quasar Smartphone is the same as an iPhone, what do you think?'},
['green_phone'] = {['name'] = 'green_phone', ['label'] = 'Green Phone', ['weight'] = 700, ['type'] = 'item', ['image'] = 'green_phone.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'They say that Quasar Smartphone is the same as an iPhone, what do you think?'},
['greenlight_phone'] = {['name'] = 'greenlight_phone', ['label'] = 'Green Light Phone', ['weight'] = 700, ['type'] = 'item', ['image'] = 'greenlight_phone.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'They say that Quasar Smartphone is the same as an iPhone, what do you think?'},
['pink_phone'] = {['name'] = 'pink_phone', ['label'] = 'Pink Phone', ['weight'] = 700, ['type'] = 'item', ['image'] = 'pink_phone.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'They say that Quasar Smartphone is the same as an iPhone, what do you think?'},
['white_phone'] = {['name'] = 'white_phone', ['label'] = 'White Phone', ['weight'] = 700, ['type'] = 'item', ['image'] = 'white_phone.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'They say that Quasar Smartphone is the same as an iPhone, what do you think?'},
['wet_classic_phone'] = {['name'] = 'wet_classic_phone', ['label'] = 'Wet Classic Phone', ['weight'] = 700, ['type'] = 'item', ['image'] = 'wet_classic_phone.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Did you really think that swimming in the ocean with your phone was a good idea?'},
['wet_black_phone'] = {['name'] = 'wet_black_phone', ['label'] = 'Wet Black Phone', ['weight'] = 700, ['type'] = 'item', ['image'] = 'wet_black_phone.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Did you really think that swimming in the ocean with your phone was a good idea?'},
['wet_blue_phone'] = {['name'] = 'wet_blue_phone', ['label'] = 'Wet Blue Phone', ['weight'] = 700, ['type'] = 'item', ['image'] = 'wet_blue_phone.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Did you really think that swimming in the ocean with your phone was a good idea?'},
['wet_gold_phone'] = {['name'] = 'wet_gold_phone', ['label'] = 'Wet Gold Phone', ['weight'] = 700, ['type'] = 'item', ['image'] = 'wet_gold_phone.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Did you really think that swimming in the ocean with your phone was a good idea?'},
['wet_purple_phone'] = {['name'] = 'wet_purple_phone', ['label'] = 'Wet Purple Phone', ['weight'] = 700, ['type'] = 'item', ['image'] = 'wet_purple_phone.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Did you really think that swimming in the ocean with your phone was a good idea?'},
['wet_red_phone'] = {['name'] = 'wet_red_phone', ['label'] = 'Wet Red Phone', ['weight'] = 700, ['type'] = 'item', ['image'] = 'wet_red_phone.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Did you really think that swimming in the ocean with your phone was a good idea?'},
['wet_green_phone'] = {['name'] = 'wet_green_phone', ['label'] = 'Wet Green Phone', ['weight'] = 700, ['type'] = 'item', ['image'] = 'wet_green_phone.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'They say that Quasar Smartphone is the same as an iPhone, what do you think?'},
['wet_greenlight_phone'] = {['name'] = 'wet_greenlight_phone', ['label'] = 'Wet Green Light Phone', ['weight'] = 700, ['type'] = 'item', ['image'] = 'wet_greenlight_phone.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'They say that Quasar Smartphone is the same as an iPhone, what do you think?'},
['wet_pink_phone'] = {['name'] = 'wet_pink_phone', ['label'] = 'Wet Pink Phone', ['weight'] = 700, ['type'] = 'item', ['image'] = 'wet_pink_phone.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'They say that Quasar Smartphone is the same as an iPhone, what do you think?'},
['wet_white_phone'] = {['name'] = 'wet_white_phone', ['label'] = 'Wet White Phone', ['weight'] = 700, ['type'] = 'item', ['image'] = 'wet_white_phone.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'They say that Quasar Smartphone is the same as an iPhone, what do you think?'},
['phone_hack'] = {['name'] = 'phone_hack', ['label'] = 'Phone Hack', ['weight'] = 300, ['type'] = 'item', ['image'] = 'phone_hack.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'With this chip, you can access hidden areas of Discord.'},
['phone_module'] = {['name'] = 'phone_module', ['label'] = 'Phone Module', ['weight'] = 300, ['type'] = 'item', ['image'] = 'phone_module.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'It seems that we can fix a wet phone with this module, interesting.'},
["carteyp"] = {["name"] = "carteyp", ["label"] = "Car Teyp", ["weight"] = 300, ["type"] = "item", ["image"] = "carteyp.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "You can sell it to black marketeers"},
["carbonnet"] = {["name"] = "carbonnet", ["label"] = "Car Bonnet", ["weight"] = 300, ["type"] = "item", ["image"] = "carbonnet.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "You can sell it to black marketeers"},
['carengine'] = {['name'] = 'carengine', ['label'] = 'Car Engine', ['weight'] = 10, ['type'] = 'item', ['image'] = 'carengine.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'You can sell it to black marketeers'},
['tirerim'] = {['name'] = 'tirerim', ['label'] = 'Tire Rim', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'tirerim.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'You can sell it to black marketeers'},
['cardoor'] = {['name'] = 'cardoor', ['label'] = 'Car Door', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'cardoor.png', ['unique'] = true, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'You can sell it to black marketeers'},
['brakedisc'] = {['name'] = 'brakedisc', ['label'] = 'Brake Discs', ['weight'] = 0, ['type'] = 'item', ['image'] = 'brakedisc.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'You can sell it to black marketeers' },
-- Taco Food
["beef-taco"] = {["name"] = "beef-taco", ["label"] = "Beef Taco", ["weight"] = 250, ["type"] = "item", ["image"] = "beef-taco.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Beef Taco!"},
["quesadilla"] = {["name"] = "quesadilla", ["label"] = "Quesadilla", ["weight"] = 250, ["type"] = "item", ["image"] = "quesadilla.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Quesadilla!"},
["chicken-burrito"] = {["name"] = "chicken-burrito", ["label"] = "Chicken Burrito", ["weight"] = 250, ["type"] = "item", ["image"] = "chicken-burrito.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Chicken Burrito!"},
["nachos"] = {["name"] = "nachos", ["label"] = "Nachos", ["weight"] = 250, ["type"] = "item", ["image"] = "nachos.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Nachos!"},
-- Taco Drinks
["coke-soda"] = {["name"] = "coke-soda", ["label"] = "Coke Soda", ["weight"] = 180, ["type"] = "item", ["image"] = "coke-soda.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Coke Soda!"},
["fanta"] = {["name"] = "fanta", ["label"] = "Fanta", ["weight"] = 180, ["type"] = "item", ["image"] = "fanta.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Fanta!"},
wx363880556 发表于 2024-08-19 21:16
= { = 'classic_phone', = 'Classic Phone', ...
["classic_phone"] = {["name"] = "classic_phone", ["label"] = "经典手机", ["weight"] = 700, ["type"] = "item", ["image"] = "classic_phone.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "有人说Quasar智能手机和iPhone一样,你怎么看?"},
["black_phone"] = {["name"] = "black_phone", ["label"] = "黑色手机", ["weight"] = 700, ["type"] = "item", ["image"] = "black_phone.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "有人说Quasar智能手机和iPhone一样,你怎么看?"},
["blue_phone"] = {["name"] = "blue_phone", ["label"] = "蓝色手机", ["weight"] = 700, ["type"] = "item", ["image"] = "blue_phone.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "有人说Quasar智能手机和iPhone一样,你怎么看?"},
["gold_phone"] = {["name"] = "gold_phone", ["label"] = "金色手机", ["weight"] = 700, ["type"] = "item", ["image"] = "gold_phone.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "有人说Quasar智能手机和iPhone一样,你怎么看?"},
["purple_phone"] = {["name"] = "purple_phone", ["label"] = "紫色手机", ["weight"] = 700, ["type"] = "item", ["image"] = "purple_phone.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "有人说Quasar智能手机和iPhone一样,你怎么看?"},
["red_phone"] = {["name"] = "red_phone", ["label"] = "红色手机", ["weight"] = 700, ["type"] = "item", ["image"] = "red_phone.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "有人说Quasar智能手机和iPhone一样,你怎么看?"},
["green_phone"] = {["name"] = "green_phone", ["label"] = "绿色手机", ["weight"] = 700, ["type"] = "item", ["image"] = "green_phone.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "有人说Quasar智能手机和iPhone一样,你怎么看?"},
["greenlight_phone"] = {["name"] = "greenlight_phone", ["label"] = "绿光手机", ["weight"] = 700, ["type"] = "item", ["image"] = "greenlight_phone.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "有人说Quasar智能手机和iPhone一样,你怎么看?"},
["pink_phone"] = {["name"] = "pink_phone", ["label"] = "粉色手机", ["weight"] = 700, ["type"] = "item", ["image"] = "pink_phone.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "有人说Quasar智能手机和iPhone一样,你怎么看?"},
["white_phone"] = {["name"] = "white_phone", ["label"] = "白色手机", ["weight"] = 700, ["type"] = "item", ["image"] = "white_phone.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "有人说Quasar智能手机和iPhone一样,你怎么看?"},
["wet_classic_phone"] = {["name"] = "wet_classic_phone", ["label"] = "湿的经典手机", ["weight"] = 700, ["type"] = "item", ["image"] = "wet_classic_phone.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "你真的认为带着手机游泳是个好主意吗?"},
["wet_black_phone"] = {["name"] = "wet_black_phone", ["label"] = "湿的黑色手机", ["weight"] = 700, ["type"] = "item", ["image"] = "wet_black_phone.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "你真的认为带着手机游泳是个好主意吗?"},
["wet_blue_phone"] = {["name"] = "wet_blue_phone", ["label"] = "湿的蓝色手机", ["weight"] = 700, ["type"] = "item", ["image"] = "wet_blue_phone.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "你真的认为带着手机游泳是个好主意吗?"},
["wet_gold_phone"] = {["name"] = "wet_gold_phone", ["label"] = "湿的金色手机", ["weight"] = 700, ["type"] = "item", ["image"] = "wet_gold_phone.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "你真的认为带着手机游泳是个好主意吗?"},
["wet_purple_phone"] = {["name"] = "wet_purple_phone", ["label"] = "湿的紫色手机", ["weight"] = 700, ["type"] = "item", ["image"] = "wet_purple_phone.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "你真的认为带着手机游泳是个好主意吗?"},
["wet_red_phone"] = {["name"] = "wet_red_phone", ["label"] = "湿的红色手机", ["weight"] = 700, ["type"] = "item", ["image"] = "wet_red_phone.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "你真的认为带着手机游泳是个好主意吗?"},
["wet_green_phone"] = {["name"] = "wet_green_phone", ["label"] = "湿的绿色手机", ["weight"] = 700, ["type"] = "item", ["image"] = "wet_green_phone.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "有人说Quasar智能手机和iPhone一样,你怎么看?"},
["wet_greenlight_phone"] = {["name"] = "wet_greenlight_phone", ["label"] = "湿的绿光手机", ["weight"] = 700, ["type"] = "item", ["image"] = "wet_greenlight_phone.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "有人说Quasar智能手机和iPhone一样,你怎么看?"},
["wet_pink_phone"] = {["name"] = "wet_pink_phone", ["label"] = "湿的粉色手机", ["weight"] = 700, ["type"] = "item", ["image"] = "wet_pink_phone.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "有人说Quasar智能手机和iPhone一样,你怎么看?"},
["wet_white_phone"] = {["name"] = "wet_white_phone", ["label"] = "湿的白色手机", ["weight"] = 700, ["type"] = "item", ["image"] = "wet_white_phone.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "有人说Quasar智能手机和iPhone一样,你怎么看?"},
["phone_hack"] = {["name"] = "phone_hack", ["label"] = "手机破解芯片", ["weight"] = 300, ["type"] = "item", ["image"] = "phone_hack.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "用这个芯片,你可以访问Discord的隐藏区域。"},
["phone_module"] = {["name"] = "phone_module", ["label"] = "手机模块", ["weight"] = 300, ["type"] = "item", ["image"] = "phone_module.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "看起来我们可以用这个模块修复湿的手机,很有趣。"},
["carteyp"] = {["name"] = "carteyp", ["label"] = "车用磁带", ["weight"] = 300, ["type"] = "item", ["image"] = "carteyp.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false,["combinable"] = nil, ["description"] = "你可以把它卖给黑市商人"},
["carbonnet"] = {["name"] = "carbonnet", ["label"] = "车用引擎罩", ["weight"] = 300, ["type"] = "item", ["image"] = "carbonnet.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "你可以把它卖给黑市商人"},
["carengine"] = {["name"] = "carengine", ["label"] = "汽车引擎", ["weight"] = 10, ["type"] = "item", ["image"] = "carengine.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "你可以把它卖给黑市商人"},
["tirerim"] = {["name"] = "tirerim", ["label"] = "轮胎边缘", ["weight"] = 1000, ["type"] = "item", ["image"] = "tirerim.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "你可以把它卖给黑市商人"},
["cardoor"] = {["name"] = "cardoor", ["label"] = "车门", ["weight"] = 1000, ["type"] = "item", ["image"] = "cardoor.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "你可以把它卖给黑市商人"},
["brakedisc"] = {["name"] = "brakedisc", ["label"] = "刹车盘", ["weight"] = 0, ["type"] = "item", ["image"] = "brakedisc.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "你可以把它卖给黑市商人"},
-- Taco Food
["beef-taco"] = {["name"] = "beef-taco", ["label"] = "牛肉塔可", ["weight"] = 250, ["type"] = "item", ["image"] = "beef-taco.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "牛肉塔可!"},
["quesadilla"] = {["name"] = "quesadilla", ["label"] = "玉米饼", ["weight"] = 250, ["type"] = "item", ["image"] = "quesadilla.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "玉米饼!"},
["chicken-burrito"] = {["name"] = "chicken-burrito", ["label"] = "鸡肉卷饼", ["weight"] = 250, ["type"] = "item", ["image"] = "chicken-burrito.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "鸡肉卷饼!"},
["nachos"] = {["name"] = "nachos", ["label"] = "玉米片", ["weight"] = 250, ["type"] = "item", ["image"] = "nachos.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "玉米片!"},
-- Taco Drinks
["coke-soda"] = {["name"] = "coke-soda", ["label"] = "可乐汽水", ["weight"] = 180, ["type"] = "item", ["image"] = "coke-soda.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "可乐汽水!"},
["fanta"] = {["name"] = "fanta", ["label"] = "芬达", ["weight"] = 180, ["type"] = "item", ["image"] = "fanta.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "芬达!"}
此代码为物品定义列表,包含物品的名称、标签、重量、类型、图像、是否唯一、是否可使用、是否应关闭、可组合属性及描述。各个字段的含义如下:
- `name`: 物品的内部名称
- `label`: 物品的显示名称
- `weight`: 物品的重量
- `type`: 物品的类型
- `image`: 物品的图像文件名
- `unique`: 是否唯一
- `useable`: 是否可使用
- `shouldClose`: 使用后是否应关闭
- `combinable`: 可组合属性(此处都为nil)
- `description`: 物品的描述 -- Items like backpack
["backpack1"] = {
["name"] = "backpack1",
["label"] = "Backpack 1",
["created"] = nil,
["decay"] = 7.0,
["weight"] = 10000,
["type"] = "item",
["image"] = "backpack_girl.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Backpack"
},
["backpack2"] = {
["name"] = "backpack2",
["label"] = "Backpack 2",
["created"] = nil,
["decay"] = 7.0,
["weight"] = 10000,
["type"] = "item",
["image"] = "backpack_boy.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Backpack"
},
['rope'] = {['name'] = 'rope', ['label'] = 'Rope', ["created"] = nil, ["decay"] = 3.0, ['weight'] = 200, ['type'] = 'item', ['image'] = 'rope.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Rope'},
['headbag'] = {['name'] = 'headbag', ['label'] = 'Head bag', ["created"] = nil, ["decay"] = 3.0, ['weight'] = 200, ['type'] = 'item', ['image'] = 'headbag.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Head bag'},
['keys'] = {['name'] = 'keys', ['label'] = 'Vehicle Key', ["created"] = nil, ["decay"] = 3.0, ['weight'] = 200, ['type'] = 'item', ['image'] = 'keys.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Vehicle key'},
--// Atm Robbery
['towingrope'] = {['name'] = 'towingrope', ['label'] = 'Towing Rope', ["created"] = nil, ["decay"] = 3.0, ['weight'] = 200, ['type'] = 'item', ['image'] = 'towingrope.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Towing Rope'},
['atmobject'] = {['name'] = 'atmobject', ['label'] = 'ATM', ["created"] = nil, ["decay"] = 14.0, ['weight'] = 200, ['type'] = 'item', ['image'] = 'atmobject.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'ATM'},
------ House robbery ---
["tv"] = {["name"] = "tv", ["label"] = "TV", ["weight"] = 10, ["type"] = "item", ["image"] = "np_stolentv.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["art"] = {["name"] = "art", ["label"] = "Art", ["weight"] = 10, ["type"] = "item", ["image"] = "np_stolenart.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["microwave"] = {["name"] = "microwave", ["label"] = "Microwave", ["weight"] = 10, ["type"] = "item", ["image"] = "np_stolenmicrowave.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["telescope"] = {["name"] = "telescope", ["label"] = "Telescope", ["weight"] = 10, ["type"] = "item", ["image"] = "tel.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["coffeemaker"] = {["name"] = "coffeemaker", ["label"] = "Coffee Maker", ["weight"] = 10, ["type"] = "item", ["image"] = "np_stolencoffee.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["toy-egg"] = {["name"] = "toy-egg", ["label"] = "Burgershot Toy Egg", ["weight"] = 1000, ["type"] = "item", ["image"] = "toy-egg.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Gives Random Toys"},
["toy-eggg"] = {["name"] = "toy-eggg", ["label"] = "RoosterRest Toy Egg", ["weight"] = 1000, ["type"] = "item", ["image"] = "toy-eggg.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Gives Random Toys"},
wx363880556 发表于 2024-08-19 21:19
-- Items like backpack
= {
= "backpack1",
...
-- Items like backpack
["backpack1"] = {
["name"] = "backpack1",
["label"] = "背包1",
["weight"] = nil,
["size"] = 7.0,
["capacity"] = 10000,
["type"] = "item",
["image"] = "backpack_girl.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "背包"
},
["backpack2"] = {
["name"] = "backpack2",
["label"] = "背包2",
["weight"] = nil,
["size"] = 7.0,
["capacity"] = 10000,
["type"] = "item",
["image"] = "backpack_boy.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "背包"
},
["rope"] = {
["name"] = "rope",
["label"] = "绳子",
["weight"] = nil,
["size"] = 3.0,
["capacity"] = 200,
["type"] = "item",
["image"] = "rope.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "绳子"
},
["headbag"] = {
["name"] = "headbag",
["label"] = "头套",
["weight"] = nil,
["size"] = 3.0,
["capacity"] = 200,
["type"] = "item",
["image"] = "headbag.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "头套"
},
["keys"] = {
["name"] = "keys",
["label"] = "车钥匙",
["weight"] = nil,
["size"] = 3.0,
["capacity"] = 200,
["type"] = "item",
["image"] = "keys.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "车钥匙"
},
--// Atm Robbery
["towingrope"] = {
["name"] = "towingrope",
["label"] = "牵引绳",
["weight"] = nil,
["size"] = 3.0,
["capacity"] = 200,
["type"] = "item",
["image"] = "towingrope.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "牵引绳"
},
["atmobject"] = {
["name"] = "atmobject",
["label"] = "ATM机",
["weight"] = nil,
["size"] = 14.0,
["capacity"] = 200,
["type"] = "item",
["image"] = "atmobject.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "ATM机"
},
------ House robbery ---
["tv"] = {
["name"] = "tv",
["label"] = "电视",
["weight"] = 10,
["type"] = "item",
["image"] = "np_stolentv.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = ""
},
["art"] = {
["name"] = "art",
["label"] = "艺术品",
["weight"] = 10,
["type"] = "item",
["image"] = "np_stolenart.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = ""
},
["microwave"] = {
["name"] = "microwave",
["label"] = "微波炉",
["weight"] = 10,
["type"] = "item",
["image"] = "np_stolenmicrowave.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = ""
},
["telescope"] = {
["name"] = "telescope",
["label"] = "望远镜",
["weight"] = 10,
["type"] = "item",
["image"] = "tel.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = ""
},
["coffeemaker"] = {
["name"] = "coffeemaker",
["label"] = "咖啡机",
["weight"] = 10,
["type"] = "item",
["image"] = "np_stolencoffee.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = ""
},
["toy-egg"] = {
["name"] = "toy-egg",
["label"] = "汉堡店玩具蛋",
["weight"] = 1000,
["type"] = "item",
["image"] = "toy-egg.png",
["unique"] = false,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "随机赠送玩具"
},
["toy-eggg"] = {
["name"] = "toy-eggg",
["label"] = "公鸡餐厅玩具蛋",
["weight"] = 1000,
["type"] = "item",
["image"] = "toy-eggg.png",
["unique"] = false,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "随机赠送玩具"
}
此代码为物品定义列表,包含物品的名称、标签、重量、类型、图像、是否唯一、是否可使用、是否应关闭、可组合属性及描述。各个字段的含义如下:
- `name`: 物品的内部名称
- `label`: 物品的显示名称
- `weight`: 物品的重量
- `size`: 物品的大小
- `capacity`: 物品的容量
- `type`: 物品的类型
- `image`: 物品的图像文件名
- `unique`: 是否唯一
- `useable`: 是否可使用
- `shouldClose`: 使用后是否应关闭
- `combinable`: 可组合属性(此处都为nil)
- `description`: 物品的描述 ['rope'] = {['name'] = 'rope', ['label'] = 'Rope', ["created"] = nil, ["decay"] = 3.0, ['weight'] = 200, ['type'] = 'item', ['image'] = 'rope.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Rope'},
['headbag'] = {['name'] = 'headbag', ['label'] = 'Head bag', ["created"] = nil, ["decay"] = 3.0, ['weight'] = 200, ['type'] = 'item', ['image'] = 'headbag.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Head bag'},
['keys'] = {['name'] = 'keys', ['label'] = 'Vehicle Key', ["created"] = nil, ["decay"] = 3.0, ['weight'] = 200, ['type'] = 'item', ['image'] = 'keys.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Vehicle key'},
--// Atm Robbery
['towingrope'] = {['name'] = 'towingrope', ['label'] = 'Towing Rope', ["created"] = nil, ["decay"] = 3.0, ['weight'] = 200, ['type'] = 'item', ['image'] = 'towingrope.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Towing Rope'},
['atmobject'] = {['name'] = 'atmobject', ['label'] = 'ATM', ["created"] = nil, ["decay"] = 14.0, ['weight'] = 200, ['type'] = 'item', ['image'] = 'atmobject.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'ATM'},
------ House robbery ---
["tv"] = {["name"] = "tv", ["label"] = "TV", ["weight"] = 10, ["type"] = "item", ["image"] = "np_stolentv.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["art"] = {["name"] = "art", ["label"] = "Art", ["weight"] = 10, ["type"] = "item", ["image"] = "np_stolenart.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["microwave"] = {["name"] = "microwave", ["label"] = "Microwave", ["weight"] = 10, ["type"] = "item", ["image"] = "np_stolenmicrowave.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["telescope"] = {["name"] = "telescope", ["label"] = "Telescope", ["weight"] = 10, ["type"] = "item", ["image"] = "tel.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["coffeemaker"] = {["name"] = "coffeemaker", ["label"] = "Coffee Maker", ["weight"] = 10, ["type"] = "item", ["image"] = "np_stolencoffee.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["toy-egg"] = {["name"] = "toy-egg", ["label"] = "Burgershot Toy Egg", ["weight"] = 1000, ["type"] = "item", ["image"] = "toy-egg.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Gives Random Toys"},
["toy-eggg"] = {["name"] = "toy-eggg", ["label"] = "RoosterRest Toy Egg", ["weight"] = 1000, ["type"] = "item", ["image"] = "toy-eggg.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Gives Random Toys"},
wx363880556 发表于 2024-08-19 21:20
= { = 'rope', = 'Rope', = nil, = 3 ...
= { = 'rope', = '绳子', = nil, = 3.0, = 200, = 'item', = 'rope.png', = true, = true, = true, = nil, = '绳子'},
= { = 'headbag', = '头套', = nil, = 3.0, = 200, = 'item', = 'headbag.png', = true, = true, = true, = nil, = '头套'},
= { = 'keys', = '车钥匙', = nil, = 3.0, = 200, = 'item', = 'keys.png', = true, = true, = true, = nil, = '车钥匙'},
--// Atm Robbery
= { = 'towingrope', = '牵引绳', = nil, = 3.0, = 200, = 'item', = 'towingrope.png', = true, = true, = true, = nil, = '牵引绳'},
= { = 'atmobject', = 'ATM机', = nil, = 14.0, = 200, = 'item', = 'atmobject.png', = true, = true, = true, = nil, = 'ATM机'},
------ House robbery ---
= { = "tv", = "电视", = 10, = "item", = "np_stolentv.png", = true, = false, = false, = nil, = ""},
= { = "art", = "艺术品", = 10, = "item", = "np_stolenart.png", = true, = false, = false, = nil, = ""},
= { = "microwave", = "微波炉", = 10, = "item", = "np_stolenmicrowave.png",= true, = false, = false, = nil, = ""},
= { = "telescope", = "望远镜", = 10, = "item", = "tel.png", = true, = false, = false, = nil, = ""},
= { = "coffeemaker", = "咖啡机", = 10, = "item", = "np_stolencoffee.png",= true, = false, = false, = nil, = ""},
= { = "toy-egg", = "汉堡店玩具蛋", = 1000, = "item", = "toy-egg.png", = false, = true, = true, = nil, = "随机赠送玩具"},
= { = "toy-eggg", = "公鸡餐厅玩具蛋", = 1000, = "item", = "toy-eggg.png", = false, = true, = true, = nil, = "随机赠送玩具"}
此代码为物品定义列表,包含物品的名称、标签、重量、大小、容量、类型、图像、是否唯一、是否可使用、是否应关闭、可组合属性及描述。各个字段的含义如下:
- `name`: 物品的内部名称
- `label`: 物品的显示名称
- `weight`: 物品的重量
- `size`: 物品的大小
- `capacity`: 物品的容量
- `type`: 物品的类型
- `image`: 物品的图像文件名
- `unique`: 是否唯一
- `useable`: 是否可使用
- `shouldClose`: 使用后是否应关闭
- `combinable`: 可组合属性(此处都为nil)
- `description`: 物品的描述
页:
[1]