fixed all entities instanced an entity when grabbing functions from parent Entity. now it just sets metatable

This commit is contained in:
lustlion
2022-03-17 00:39:18 +01:00
parent 11a46e6227
commit d359afaf97
9 changed files with 83 additions and 53 deletions

View File

@@ -2,7 +2,7 @@ return {
name = "Dev Level",
tileset = tileset.library,
properties = {
darkness = false
darkness = true
},
tiles = {
{ 1, 4, 0, 0, 0, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
@@ -32,7 +32,8 @@ return {
spawns = {
{Fairy,{100,88}},
{HookAnchor,{200,89,100}},
{HookAnchor,{400,89,120}}
{HookAnchor,{400,89,120}},
{Candelabra,{328,297}}
},
rooms = {
{{96,64},{544,320}},