mcbbs mysql数据库_[娱乐|RPG]WEpicInventory —— 史诗背包!无限拓展!高度自由!MYSQL支持![1.12.2]...

background: 'file:WEpicInventory/主界面/背景2.png'

x: -1

y: -1

w: 205

h: 166

slotLeft: 6

slotTop: 86

#

#

#

# id 禁止使用的字段为 '   以及  . '

# 基础可用节点:

# x (整数) 坐标x

# y (整数) 坐标y

# w (整数) 宽度

# h (整数) 高度

# z (整数) 显示优先级(越大越前)

# id (文本) 组件的唯一id

# fallowOffset (true/false) 坐标偏移选择 true - 跟随默认上级容器偏移xy坐标,默认true, false - 以游戏左上角为原点偏移xy坐标

# tooltips (文本列表) 鼠标悬停提示 默认无

# commands (文本列表) 点击执行命令集 默认无

#

#

#

### 可加入的组件有(type):

#

# slot 槽位:

#   slot 特殊节点->

#   # slotType (0/1/2) 槽位类型 0 新增有属性槽位 1 新增无属性槽位 2 改动原版背包槽位

#   # scale (小数) 槽位大小 1.0 为原版大小,默认1.0

#   # emptyBackground (文本) 空槽位的背景图路径,默认无

#   # emptyTooltips (文本列表) 空槽位显示的鼠标悬停提示 默认无

#   # getLore (文本) 对放入的装备进行特定lore限制

#

# ScrollingContainer 滚动条

#   ScrollingContainer 特殊节点->

#   # background (文本) 滚动条背景图路径

#   # scrollBar (文本) 滚轮图路径

#   # scrollBarBack (文本) 滚轮背景图路径

#   # sh (整数) 滚动条深度(一般比高度大)

#   # barWidth (整数) 滚轮宽度 默认6(-1或不使用此节点为默认)

#   # showScrollBar (true/false) 是否显示滚动条的滚轮和背景

#   # container 包含的组件(和 components 内 写法一样)

#

# image 图像

#   image 特殊节点->

#   # url (文本) 图像的路径

#

# button 按钮

#   button 特殊节点->

#   # url1 (文本) 按钮平常状态图片路径

#   # url2 (文本) 鼠标按下状态图片路径

#   # url3 (文本) 鼠标悬停状态图片路径

#   # name (文本) 按钮上显示的文本

#

# playerDraw 立绘

#   playerDraw 特殊节点->

#   # scale (整数) 模型的大小, 30 为原版大小

#

# livingEntityDraw 立绘

#   livingEntityDraw 特殊节点->

#   # scale (整数) 模型的大小, 30 为原版大小

#   # entityType (文本) 生物类型

#   # name (文本) 生物名字

#

# health 血条

#   health 特殊节点->

#   # texture (文本) 血条背景链接

#   # cover (文本) 血条链接

#   # vertical (true/false) 是否竖向显示

#

# textlist 文本

#   textlist 特殊节点->

#   # scale (小数) 缩放大小 1.0为正常大小

#   # textList (文本列表) 展示的文本

#

# subScreen 子界面(伴随gui打开直接存在)

#   subScreen 特殊节点->

#   # background (文本) 子界面背景

#   # clickCloseId (文本) 子界面的点击关闭设定的组件索引id

#   # container 包含的组件(和 components 内 写法一样)

#

# dropField 丢物品框(拖拽物品点击,可丢)

#   dropField 特殊节点->

#   # url1 (文本) 平常状态图片(可空)

#   # url2 (文本) 鼠标悬停状态图片(可空)

#   # name (文本) 显示文本

#

#

#

#

# 下面 slotType节点 类型id释义

#   0 新增装备槽位(读取属性,存储物品) !!!!!注意: (增加原版装备槽位使用 2 )

#   1 新增容器槽位(不读取属性,存储物品)

#   2 修改原版槽位属性(坐标/大小/背景/鼠标提示)

#

#

#

#

components:

dropfield:

id: 'dropItem'

type: dropfield

x: 205

y: 0

w: 50

h: 166

dropfield:

id: 'dropItem2'

type: dropfield

x: -50

y: 0

w: 50

h: 166

#name: 丢弃物品

slot1:

# 头盔

id: '39'

type: slot

# 当 slotType 为 2 时,id只能为数字

# id从0-35为针对原版背包容器槽位的修改

# 从36-40分别为 36靴子,37裤腿 ,38护甲 ,39头盔 ,40副手。

# 当slotType 为 2 时,x或y值如果为 -999 则是保持原x或y坐标不变的意思

slotType: 2

x: 5

y: 6

# 大小 原版的1.5倍

scale: 1.5

# 空槽位背景

emptyBackground: 'file:WEpicInventory/头盔槽位.png'

emptyTooltips:

- '这个槽位放头盔'

slot2:

id: '38'

type: slot

slotType: 2

x: 5

y: 33

# 大小 原版的1.5倍

scale: 1.5

# 空槽位背景

emptyBackground: 'file:WEpicInventory/护甲槽位.png'

emptyTooltips:

- '这个槽位放护甲'

slot3:

id: '37'

type: slot

slotType: 2

x: 5

y: 60

# 大小 原版的1.5倍

scale: 1.5

# 空槽位背景

emptyBackground: 'file:WEpicInventory/护腿槽位.png'

emptyTooltips:

- '这个槽位放护腿'

slot4:

id: '36'

type: slot

slotType: 2

x: 32

y: 60

# 大小 原版的1.5倍

scale: 1.5

# 空槽位背景

emptyBackground: 'file:WEpicInventory/靴子槽位.png'

emptyTooltips:

- '这个槽位放靴子'

slot5:

id: '40'

type: slot

slotType: 2

x: 143

y: 60

# 大小 原版的1.5倍

scale: 1.5

# 空槽位背景

emptyBackground: 'file:WEpicInventory/副手槽位.png'

emptyTooltips:

- '这个槽位放副手'

slot6:

id: 'jiezhi'

type: slot

slotType: 0

x: 32

y: 33

# 大小 原版的1.5倍

scale: 1.5

getLore: '戒指'

# 空槽位背景

emptyBackground: 'file:WEpicInventory/主界面/戒指槽位.png'

emptyTooltips:

- '这个槽位放戒指'

slot7:

id: 'xianglian'

type: slot

slotType: 0

x: 32

y: 6

#大小 原版的1.5倍

scale: 1.5

getLore: '项链'

# 空槽位背景

emptyBackground: 'file:WEpicInventory/主界面/项链槽位.png'

emptyTooltips:

- '这个槽位放项链'

slot8:

id: 'shouzhuo'

type: slot

slotType: 0

x: 143

y: 6

#大小 原版的1.5倍

scale: 1.5

getLore: '手镯'

# 空槽位背景

emptyBackground: 'file:WEpicInventory/主界面/手镯槽位.png'

emptyTooltips:

- '这个槽位放手镯'

slot9:

id: 'shoutao'

type: slot

slotType: 0

x: 143

y: 33

#大小 原版的1.5倍

scale: 1.5

getLore: '手套'

# 空槽位背景

emptyBackground: 'file:WEpicInventory/主界面/手套槽位.png'

emptyTooltips:

- '这个槽位放手套'

scroll:

id: 'Scroll1'

type: ScrollingContainer

#background: ''

#scrollBar: ''

#scrollBarBack: ''

showScrollBar: false

x: 169

y: 5

w: 31

h: 78

sh: 189

container:

scrollslot1:

id: 'cun_1'

type: slot

# 组件容器内只能使用 0 和 1 暂时不能将原版槽位放进滚动条

# 如果使用 2 将只针对原版槽位进行改动(并不是将原版槽位放进滚动条)

slotType: 1

x: 7

y: 8

z: 101

# 大小 原版大小 1.0

scale: 1.0

scrollslot2:

id: 'cun_2'

type: slot

slotType: 1

x: 7

y: 35

z: 101

# 大小 原版大小 1.0

scale: 1.0

scrollslot3:

id: 'cun_3'

type: slot

slotType: 1

x: 7

y: 62

z: 101

# 大小 原版大小 1.0

scale: 1.0

scrollslot4:

id: 'cun_4'

type: slot

slotType: 1

x: 7

y: 89

z: 101

# 大小 原版大小 1.0

scale: 1.0

scrollslot5:

id: 'cun_5'

type: slot

slotType: 1

x: 7

y: 116

z: 101

# 大小 原版大小 1.0

scale: 1.0

scrollslot6:

id: 'cun_6'

type: slot

slotType: 1

x: 7

y: 143

z: 101

# 大小 原版大小 1.0

scale: 1.0

scrollslot7:

id: 'cun_7'

type: slot

slotType: 1

x: 7

y: 170

z: 101

# 大小 原版大小 1.0

scale: 1.0

scrollImage1:

id: 'img_1'

type: image

x: 4

y: 5

w: 22

h: 22

url: 'file:WEpicInventory/快捷消耗栏背景.png'

scrollImage2:

id: 'img_2'

type: image

x: 4

y: 32

w: 22

h: 22

url: 'file:WEpicInventory/快捷消耗栏背景.png'

scrollImage3:

id: 'img_3'

type: image

x: 4

y: 59

w: 22

h: 22

url: 'file:WEpicInventory/快捷消耗栏背景.png'

scrollImage4:

id: 'img_4'

type: image

x: 4

y: 86

w: 22

h: 22

url: 'file:WEpicInventory/快捷消耗栏背景.png'

scrollImage5:

id: 'img_5'

type: image

x: 4

y: 113

w: 22

h: 22

url: 'file:WEpicInventory/快捷消耗栏背景.png'

scrollImage6:

id: 'img_6'

type: image

x: 4

y: 140

w: 22

h: 22

url: 'file:WEpicInventory/快捷消耗栏背景.png'

scrollImage7:

id: 'img_7'

type: image

x: 4

y: 167

w: 22

h: 22

url: 'file:WEpicInventory/快捷消耗栏背景.png'

button1:

id: 'button1'

type: button

x: 169

y: 85

w: 31

h: 20

name: '§6§l测试1'

url1: 'file:WEpicInventory/主界面/测试按钮.png'

url2: 'file:WEpicInventory/主界面/测试按钮__.png'

url3: 'file:WEpicInventory/主界面/测试按钮_.png'

commands:

- 'kill %player_name%'

tooltips:

- '这是个测试按钮'

- '点一下就能杀死你'

button2:

id: 'button2'

type: button

x: 169

y: 112

w: 31

h: 20

name: '§6§l测试2'

url1: 'file:WEpicInventory/主界面/测试按钮.png'

url2: 'file:WEpicInventory/主界面/测试按钮__.png'

url3: 'file:WEpicInventory/主界面/测试按钮_.png'

commands:

- 'kill %player_name%'

tooltips:

- '这是个测试按钮'

- '点一下就能杀死你'

button3:

id: 'button3'

type: button

x: 169

y: 140

w: 31

h: 20

name: '§6§l测试3'

url1: 'file:WEpicInventory/主界面/测试按钮.png'

url2: 'file:WEpicInventory/主界面/测试按钮__.png'

url3: 'file:WEpicInventory/主界面/测试按钮_.png'

commands:

- 'kill %player_name%'

tooltips:

- '这是个测试按钮'

- '点一下就能杀死你'

# 玩家立绘 这里暂时只画自己

playerDraw1:

id: 'playerDraw1'

type: playerDraw

x: 100

y: 70

# 30 为原版大小

scale: 30

tooltips:

- '这就是你的丑样子'


版权声明:本文为weixin_29073241原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。