Code: Select all
for counter=1,6 do
local plate = findEntity("beach_pressure_plate_" .. counter);
for e in plate.map:entitiesAt(plate.x,plate.y) do
for gem,door in pairs(matches) do
if e.name == gem then
findEntity(door).door:open()
findEntity("invisible_teleporter_" .. counter).controller:activate();
break
end
end
end
end
Your approach was only 50% useful but your attitude is 100% garbage. Consider lightening up some, being arrogant because you know a "script" is absurd. Some of us are here to have fun and share ideas. You get agitated any time someone offers a suggestion that you do not approve, but lately your silence is more valuable than your code. You may find this hard to believe, but Mod's will be made successfully without your guidance.