local cfg1 = require("config.config-1")
data:extend
{
{
type = "flying-text",
name = cfg1.AC_flying_text,
flags = {"not-on-map", "placeable-off-grid"},
time_to_live = 300, --150,
speed = 0, --0.05,
text_alignment = "center"
},
}
이 부분에서
No loader found for "flying-text". "flying-text" is not a valid prototype type.
란 오류가 뜨는데 어떻게 해야 할까요?
Changed type of 'entity-unknown', 'tile-proxy', 'tree-dying-proxy', 'tree-proxy' from flying-text to entity-ghost. Removed the "flying-text" entity type. Use LuaPlayer::create_local_flying_text or LuaRendering::draw_text instead.
그냥 저 코드 자체를 지워야 하고 runtime에서 저 플라잉 텍스트를 create하는 부분의 코드도 수정해야할것같음
https://gall.dcinside.com/mgallery/board/view/?id=factorio&no=70913&page=1
이부분이
크리에이트 하는 부분인데 어케 바꿔야 하나요?
surface.create_entity{ name = "flying-text", position = position, text = {"description.Schall-AC-flying-text-linked"} } 이거의 경우 player.create_local_flying_text{ position = position, text = {"description.Schall-AC-flying-text-linked"} } 이런식으로 바꾸면 될것같은데
모드실행까진 되는데 상자 사용순간 오류 뱉어냄
링크보면 밑에 플라잉텍스트 더 있던데 다 바꿈?
그것도 바꾸어야함? player.create_local_flying_text{ position = position, text = {"description.Schall-AC-flying-text-linked"} } 이걸로 다 바꾸면 되나요?
__SchallAutolinkedChest__/lib/AClib.lua:19: attempt to index local 'player' (a nil value) 오류메시지
text의 속성은 각각에 맞게 해줘야지
속성은 무슨말인가요??
text={어쩌고저쩌고}부분이 라인마다 다름
계속같은오류 뜹니다 ㅜ
현재코드올려봐
에러메시지도같리
같이
https://gall.dcinside.com/mgallery/board/view/?id=factorio&no=70949&page=1