aboutsummaryrefslogtreecommitdiff
path: root/gamemode/config/sv_newplayer.lua
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/config/sv_newplayer.lua')
-rw-r--r--gamemode/config/sv_newplayer.lua23
1 files changed, 23 insertions, 0 deletions
diff --git a/gamemode/config/sv_newplayer.lua b/gamemode/config/sv_newplayer.lua
new file mode 100644
index 0000000..9bb1420
--- /dev/null
+++ b/gamemode/config/sv_newplayer.lua
@@ -0,0 +1,23 @@
+local np = {}
+local inv = nrequire("inventory/inventory.lua")
+local itm = nrequire("inventory/item.lua")
+
+np.newdata = function()
+ return {
+ inventories = {
+ {"Equipment", inv.CreateInventory("Equipment"):Serialize()}
+ },
+ skills = {},
+ prayers = {},
+ quests = {},
+ }
+end
+
+np.newmeta = function()
+ return {
+ lastserver = "67.163.245.187:27015",
+ lastlocation = "185 310 524"
+ }
+end
+
+return np