Skip to content

Commit

Permalink
Revised esctemplate_none.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
DragonWolfLeo committed Nov 1, 2018
1 parent cb05bdd commit 0ebe8e3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion modinfo.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "Extended Sample Character"
description = "A character template for Don't Starve Together."
author = "Dragon Wolf Leo"
version = "1.2.4" -- This is the version of the template. Change it to your own number.
version = "1.2.4.2" -- This is the version of the template. Change it to your own number.

-- This is the URL name of the mod's thread on the forum; the part after the ? and before the first & in the url
forumthread = "/files/file/950-extended-sample-character/"
Expand Down
1 change: 0 additions & 1 deletion scripts/prefabs/esctemplate.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

local MakePlayerCharacter = require "prefabs/player_common"


Expand Down
16 changes: 6 additions & 10 deletions scripts/prefabs/esctemplate_none.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,13 @@ local skins =
ghost_skin = "ghost_esctemplate_build",
}

local base_prefab = "esctemplate"

local tags = {"ESCTEMPLATE", "CHARACTER"}

return CreatePrefabSkin("esctemplate_none",
{
base_prefab = base_prefab,
skins = skins,
base_prefab = "esctemplate",
type = "base",
assets = assets,
tags = tags,

skip_item_gen = true,
skip_giftable_gen = true,
skins = skins,
skin_tags = {"ESCTEMPLATE", "CHARACTER", "BASE"},
build_name = "esctemplate",
rarity = "Common",
})

0 comments on commit 0ebe8e3

Please sign in to comment.