summaryrefslogtreecommitdiff
path: root/data/artery/global/sh_stranded_items.txt
blob: 5551f3ba5db51bc9a84586bed47f644ff7065baf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
--Some items from stranded
if not nrequire then return end
local reg = nrequire("item.lua")

local items = {
	{
		Name = "Stone",
		Description = "A bit of rock",
		pacname = "error.mdl",
	},
	{
		Name = "Copper",
		Description = "A dull orange metal",
		pacname = "error.mdl",
	},
	{
		Name = "Tin",
		Description = "A brittle shiny metal",
		pacname = "error.mdl",
	},
	{
		Name = "Iron",
		Description = "A strong gray metal",
		pacnme = "error.mdl",
	},
	{
		Name = "Coal",
		Description = "Compressed dead stuff",
		pacname = "error.mdl"
	},
	{
		Name = "Wood",
		Description = "It probably floats...",
		pacname = "error.mdl"
	},
	{
		Name = "Nail",
		Description = "Put things together!",
		pacname = "error.mdl"
	}
}

local base = {}

function base:Serialize()
	return ""
end

function base:DeSerialize(str)
	return self
end

base.Shape = {{true}}

for k,v in pairs(items) do
	local b = table.Copy(base)
	for i,j in pairs(v) do
		b[i] = j
	end
	reg.RegisterItem(b)
end