Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tales of MajEyal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
yutio888
Tales of MajEyal
Commits
122090cf
Commit
122090cf
authored
13 years ago
by
dg
Browse files
Options
Downloads
Patches
Plain Diff
erf
git-svn-id:
http://svn.net-core.org/repos/t-engine4@3839
51575b47-30f0-44d4-a5cc-537603b46e54
parent
b64b182b
No related branches found
Branches containing commit
Tags
tome-beta29
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
game/modules/tome/init.lua
+3
-3
3 additions, 3 deletions
game/modules/tome/init.lua
with
3 additions
and
3 deletions
game/modules/tome/init.lua
+
3
−
3
View file @
122090cf
...
...
@@ -54,9 +54,9 @@ profile_defs = {
allow_build
=
{
{
name
=
"index:string:30"
},
receive
=
function
(
data
,
save
)
save
[
data
.
name
]
=
true
end
,
export
=
function
(
env
)
for
k
,
_
in
pairs
(
env
)
do
add
{
name
=
k
}
end
end
},
lore
=
{
{
name
=
"index:string:30"
},
receive
=
function
(
data
,
save
)
save
.
lore
=
save
.
lore
or
{}
save
.
lore
[
data
.
name
]
=
true
end
,
export
=
function
(
env
)
for
k
,
v
in
pairs
(
env
.
lore
or
{})
do
add
{
name
=
k
}
end
end
},
escorts
=
{
{
fate
=
"index:enum(lost,betrayed,zigur,saved)"
},
{
nb
=
"number"
},
receive
=
function
(
data
,
save
)
inc_set
(
save
,
data
.
fate
,
data
,
"nb"
)
end
,
export
=
function
(
env
)
for
k
,
v
in
pairs
(
env
)
do
add
{
fate
=
k
,
nb
=
v
}
end
end
},
artifacts
=
{
{
cid
=
"index:string:50"
},
{
name
=
"index:string:40"
},
{
nb
=
"number"
},
receive
=
function
(
data
,
save
)
save
.
artifacts
=
save
.
artifacts
or
{}
save
.
artifacts
[
data
.
name
]
=
save
.
artifacts
[
data
.
name
]
or
{}
inc_set
(
save
.
artifacts
[
data
.
name
],
data
.
cid
,
data
,
"nb"
)
end
,
export
=
function
(
env
)
for
cid
,
d
in
pairs
(
env
.
artifacts
or
{})
do
for
name
,
v
in
pairs
(
d
)
do
add
{
cid
=
cid
,
name
=
name
,
nb
=
v
}
end
end
end
},
artifacts
=
{
{
cid
=
"index:string:50"
},
{
name
=
"index:string:40"
},
{
nb
=
"number"
},
receive
=
function
(
data
,
save
)
save
.
artifacts
=
save
.
artifacts
or
{}
save
.
artifacts
[
data
.
cid
]
=
save
.
artifacts
[
data
.
cid
]
or
{}
inc_set
(
save
.
artifacts
[
data
.
cid
],
data
.
name
,
data
,
"nb"
)
end
,
export
=
function
(
env
)
for
cid
,
d
in
pairs
(
env
.
artifacts
or
{})
do
for
name
,
v
in
pairs
(
d
)
do
add
{
cid
=
cid
,
name
=
name
,
nb
=
v
}
end
end
end
},
characters
=
{
{
cid
=
"index:string:50"
},
{
nb
=
"number"
},
receive
=
function
(
data
,
save
)
save
.
characters
=
save
.
characters
or
{}
inc_set
(
save
.
characters
,
data
.
cid
,
data
,
"nb"
)
end
,
export
=
function
(
env
)
for
k
,
v
in
pairs
(
env
.
characters
or
{})
do
add
{
cid
=
k
,
nb
=
v
}
end
end
},
uniques
=
{
{
cid
=
"index:string:50"
},
{
victim
=
"index:string:50"
},
{
nb
=
"number"
},
receive
=
function
(
data
,
save
)
save
.
uniques
=
save
.
uniques
or
{}
save
.
uniques
[
data
.
victim
]
=
save
.
uniques
[
data
.
victim
]
or
{}
inc_set
(
save
.
uniques
[
data
.
victim
],
data
.
cid
,
data
,
"nb"
)
end
,
export
=
function
(
env
)
for
cid
,
d
in
pairs
(
env
.
uniques
or
{})
do
for
name
,
v
in
pairs
(
d
)
do
add
{
cid
=
cid
,
victim
=
name
,
nb
=
v
}
end
end
end
},
deaths
=
{
{
cid
=
"index:string:50"
},
{
source
=
"index:string:50"
},
{
nb
=
"number"
},
receive
=
function
(
data
,
save
)
save
.
sources
=
save
.
sources
or
{}
save
.
sources
[
data
.
source
]
=
save
.
sources
[
data
.
source
]
or
{}
inc_set
(
save
.
sources
[
data
.
source
],
data
.
cid
,
data
,
"nb"
)
end
,
export
=
function
(
env
)
for
cid
,
d
in
pairs
(
env
.
sources
or
{})
do
for
name
,
v
in
pairs
(
d
)
do
add
{
cid
=
cid
,
source
=
name
,
nb
=
v
}
end
end
end
},
uniques
=
{
{
cid
=
"index:string:50"
},
{
victim
=
"index:string:50"
},
{
nb
=
"number"
},
receive
=
function
(
data
,
save
)
save
.
uniques
=
save
.
uniques
or
{}
save
.
uniques
[
data
.
cid
]
=
save
.
uniques
[
data
.
cid
]
or
{}
inc_set
(
save
.
uniques
[
data
.
cid
],
data
.
victim
,
data
,
"nb"
)
end
,
export
=
function
(
env
)
for
cid
,
d
in
pairs
(
env
.
uniques
or
{})
do
for
name
,
v
in
pairs
(
d
)
do
add
{
cid
=
cid
,
victim
=
name
,
nb
=
v
}
end
end
end
},
deaths
=
{
{
cid
=
"index:string:50"
},
{
source
=
"index:string:50"
},
{
nb
=
"number"
},
receive
=
function
(
data
,
save
)
save
.
sources
=
save
.
sources
or
{}
save
.
sources
[
data
.
cid
]
=
save
.
sources
[
data
.
cid
]
or
{}
inc_set
(
save
.
sources
[
data
.
cid
],
data
.
source
,
data
,
"nb"
)
end
,
export
=
function
(
env
)
for
cid
,
d
in
pairs
(
env
.
sources
or
{})
do
for
name
,
v
in
pairs
(
d
)
do
add
{
cid
=
cid
,
source
=
name
,
nb
=
v
}
end
end
end
},
achievements
=
{
{
id
=
"index:string:40"
},
{
gained_on
=
"timestamp"
},
{
who
=
"string:50"
},
{
turn
=
"number"
},
receive
=
function
(
data
,
save
)
save
[
data
.
id
]
=
{
who
=
data
.
who
,
when
=
data
.
gained_on
,
turn
=
data
.
turn
}
end
,
export
=
function
(
env
)
for
id
,
v
in
pairs
(
env
)
do
add
{
id
=
id
,
who
=
v
.
who
,
gained_on
=
v
.
when
,
turn
=
v
.
turn
}
end
end
},
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment