Releases: way-zer/ContentsTweaker
Releases · way-zer/ContentsTweaker
v3.0.5 🌈
v3.0.4 🌈
v3.0.3 🌈
v3.0.2 🌈
v3.0.1 🌈
v3.0.0 🌈
v2.1.2 🌈
v2.1.1 🌈
更新内容
- 修复
ReflectNode
返回obj过时问题 - 修复
UIExt
在服务端运行报错问题
附使用patch
实现无中生有示例代码
{block.graphite-press.consumers:{clearItems:1,clearLiquids:1}
block.multi-press.consumers:{clearItems:1,clearLiquids:1}
block.silicon-smelter.consumers:{clearItems:1,clearLiquids:1}
block.silicon-crucible.consumers:{clearItems:1,clearLiquids:1}
block.kiln.consumers:{clearItems:1,clearLiquids:1}
block.plastanium-compressor.consumers:{clearItems:1,clearLiquids:1}
block.phase-weaver.consumers:{clearItems:1,clearLiquids:1}
block.surge-smelter.consumers:{clearItems:1,clearLiquids:1}
block.cryofluid-mixer.consumers:{clearItems:1,clearLiquids:1}
block.pyratite-mixer.consumers:{clearItems:1,clearLiquids:1}
block.blast-mixer.consumers:{clearItems:1,clearLiquids:1}
block.melter.consumers:{clearItems:1,clearLiquids:1}
block.separator.consumers:{clearItems:1,clearLiquids:1}
block.disassembler.consumers:{clearItems:1,clearLiquids:1}
block.spore-press.consumers:{clearItems:1,clearLiquids:1}
block.pulverizer.consumers:{clearItems:1,clearLiquids:1}
block.coal-centrifuge.consumers:{clearItems:1,clearLiquids:1}
block.silicon-arc-furnace.consumers:{clearItems:1,clearLiquids:1}
block.electrolyzer.consumers:{clearItems:1,clearLiquids:1}
block.atmospheric-concentrator.consumers:{clearItems:1,clearLiquids:1}
block.oxidation-chamber.consumers:{clearItems:1,clearLiquids:1}
block.electric-heater.consumers:{clearItems:1,clearLiquids:1}
block.slag-heater.consumers:{clearItems:1,clearLiquids:1}
block.phase-heater.consumers:{clearItems:1,clearLiquids:1}
block.carbide-crucible.consumers:{clearItems:1,clearLiquids:1}
block.slag-centrifuge.consumers:{clearItems:1,clearLiquids:1}
block.surge-crucible.consumers:{clearItems:1,clearLiquids:1}
block.cyanogen-synthesizer.consumers:{clearItems:1,clearLiquids:1}
block.phase-synthesizer.consumers:{clearItems:1,clearLiquids:1}
block.heat-reactor.consumers:{clearItems:1,clearLiquids:1}
block.cultivator.consumers:{clearItems:1,clearLiquids:1}
block.vent-condenser.consumers:{clearItems:1,clearLiquids:1}
block.heat-source.consumers:{clearItems:1,clearLiquids:1}}
v2.1.0 🌈
更新内容
✨ MOD更新
实验特性:UI扩展功能设计
UI节点类似一个Map<id,Component>
往节点下增加元素,即在scene新增UI组件
子节点
- #id -> 获取UINode
- +type#id 获取或创建UINode
- "-" #id 删除ui节点
实现可点击的infoPopup示例
{
"uiExt.+Table#scoreboard": {
fillParent: true
// touchable: childrenOnly
align: top
//"actions.+": [{delay:5},{remove:true}] //暂不支持
"+Table#bg": {
touchable: enabled
style: black3,
pad: [100,100,100,100],
onClick: "Hello world" //action为往服务器发送信息
margin: 4
"+Label#label": {
text: "Hello world"
style: outlineLabel
}
}
}
}
实现情况
- 支持组件Table和Label
- 支持基础可赋值属性和
align
margin
pad
text
style
onClick
v2.0.2 🌈
更新内容
- 添加
ContentsLoader|version
网络协议 - fix 当值为object时不能使用
sample code:
"unit.eclipse.abilities.+":{ "type": "StatusFieldAbility", "duration": 120, "effect": "overclock", "reload": 100, "range": 80 }