mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 14:01:49 +00:00
'ifnot' template property + hpp
This commit is contained in:
parent
8b1c102cfe
commit
9ea67deb13
59 changed files with 204 additions and 201 deletions
|
|
@ -64,7 +64,6 @@ function check_dependencies(packinfo)
|
|||
local depid = dep:sub(2,-1)
|
||||
if dep:sub(1,1) == '!' then
|
||||
if not table.has(packs_all, depid) then
|
||||
packinfo.description = ""
|
||||
return string.format(
|
||||
"%s (%s)", gui.str("error.dependency-not-found"), depid
|
||||
)
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
%{creator}
|
||||
</label>
|
||||
<label if='%{error}' pos='80,28' size='355,50' multiline='true' color='#FF4040'>%{error}</label>
|
||||
<label pos='80,28' size='355,50' multiline='true' color='#FFFFFFB2'>
|
||||
<label ifnot='%{error}' pos='80,28' size='355,50' multiline='true' color='#FFFFFFB2'>
|
||||
%{description}
|
||||
</label>
|
||||
<image pos='8,8' src='%{icon}' size='64'/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue