소스 검색

Make custom entities have a consistent size when created

They'll always be 3/10ths as tall as the world is.
tags/v0.1.0
Fen Dweller 6 년 전
부모
커밋
f61a399553
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. +2
    -0
      macrovision.js

+ 2
- 0
macrovision.js 파일 보기

@@ -1941,6 +1941,8 @@ function makeCustomEntity(url, x=0.5, y=0.5) {

const entity = maker.constructor();

entity.scale = config.height.toNumber("feet") / 20;

entity.ephemeral = true;
displayEntity(entity, "custom", x, y, true, true);
}


불러오는 중...
취소
저장