I have some .. problems here.
I basically placed all files form the non number folders into a project folder and got that message here.
Code: Select all
local bigSwitch = {}
local npcManager = require("npcManager")
local palaceSwitch = require("npcs/ai/palaceswitch")
local npcID = NPC_ID
local settings = {id=npcID, color="white", blockon=409, blockoff=410, iscustomswitch = true}
palaceSwitch.registerSwitch(settings)
return bigSwitch
From my testing experience however I do know these "switch palace" scripts, so somehow anything related to it, seem to cause problems as soon as you make a copy of them and try to modify them in your own project. I do not know why, but it seems to be the case for me.
The folders for "SMB2 Misc. Blocks - Sednaiur" and "SMB2 Switch Palace - Sednaiur" do share block IDs, for blocks 409, 410.
"SMB2 Vases Interior - Sednaiur" has only a txt file for 409 with "customhurt = true" (so this is a third folder which might cause problems).
In general it looks light you used several block IDs from the switch palace folders for something else. From what I understood this is not supposed to be. Can you check that?
For the coin counter replacement BTW
viewtopic.php?t=29361
...
I just realized it has been some time since your last visit here .. oh well.