浏览代码

Allow a size to apply to every form of an entity

This reduces duplication for characters that have many equally-sized macro sizes for
their various forms.
master
Fen Dweller 3 年前
父节点
当前提交
31fb817aa8
共有 2 个文件被更改,包括 21 次插入1 次删除
  1. +1
    -1
      macrovision.js
  2. +20
    -0
      presets/characters.js

+ 1
- 1
macrovision.js 查看文件

@@ -2115,7 +2115,7 @@ function configSizeList(entity) {

entity.sizes.forEach((defaultInfo) => {
if (Object.keys(entity.forms).length > 0) {
if (defaultInfo.form !== entity.form) {
if (!defaultInfo.allForms && defaultInfo.form !== entity.form) {
return;
}
}


+ 20
- 0
presets/characters.js 查看文件

@@ -57632,6 +57632,26 @@ characterMakers.push(() => makeCharacter(
default: true,
form: "snivy"
},
{
name: "Macro",
height: math.unit(500, "feet"),
allForms: true
},
{
name: "Mega Macro",
height: math.unit(10, "earths"),
allForms: true
},
{
name: "Giga Macro",
height: math.unit(1, "galaxy"),
allForms: true
},
{
name: "Godly Macro",
height: math.unit(1e10, "multiverses"),
allForms: true
},
],
{
"snivy": {


正在加载...
取消
保存