Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
magicseteditor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
magicseteditor
Commits
496cda13
Commit
496cda13
authored
Jul 05, 2007
by
twanvl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated default image script to new color system
parent
8804888d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
45 deletions
+27
-45
data/magic-default-image.mse-include/scripts
data/magic-default-image.mse-include/scripts
+27
-45
No files found.
data/magic-default-image.mse-include/scripts
View file @
496cda13
# default image if there is none
# default image if there is none
default_image_1 := {"/magic-default-image.mse-include/" + input}
default_image_2 := {
default_images := [
combine_blend(
c: "/magic-default-image.mse-include/colorless.jpg"
image1: default_image_1(image1),
a: "/magic-default-image.mse-include/artifact.jpg"
image2: default_image_1(image2),
m: "/magic-default-image.mse-include/multicolor.jpg"
combine: "symmetric overlay"
w: "/magic-default-image.mse-include/white.jpg"
)
u: "/magic-default-image.mse-include/blue.jpg"
}
b: "/magic-default-image.mse-include/black.jpg"
r: "/magic-default-image.mse-include/red.jpg"
g: "/magic-default-image.mse-include/green.jpg"
]
default_image := {
default_image := {
if input == "white" then default_image_1("white.jpg")
color_background(color_combination: {
else if input == "blue" then default_image_1("blue.jpg")
combine := "symmetric overlay"
else if input == "red" then default_image_1("red.jpg")
base :=
else if input == "black" then default_image_1("black.jpg")
if color_count == 0 then if land then default_images.a else default_images.c
else if input == "green" then default_image_1("green.jpg")
else if color_count == 1 then default_images[colors]
else if input == "land" then default_image_2(image1:"colorless.jpg", image2:"artifact.jpg")
else if color_count == 2 then combine_blend(
else if input == "land 1 color white" then default_image_2(image1:"colorless.jpg", image2:"white.jpg")
image1: default_images[colors.0],
else if input == "land 1 color blue" then default_image_2(image1:"colorless.jpg", image2:"blue.jpg")
image2: default_images[colors.1],
else if input == "land 1 color red" then default_image_2(image1:"colorless.jpg", image2:"red.jpg")
)
else if input == "land 1 color black" then default_image_2(image1:"colorless.jpg", image2:"black.jpg")
else default_images.m
else if input == "land 1 color green" then default_image_2(image1:"colorless.jpg", image2:"green.jpg")
else if input == "land 1 color multicolor" then default_image_2(image1:"colorless.jpg", image2:"multicolor.jpg")
if land then combine_blend(image1: default_images.c, image2: base)
else if is_land() then default_image_2(image1:"colorless.jpg", image2:"multicolor.jpg")
else if multi then combine_blend(image1: default_images.m, image2: base)
else if input == "hybrid 2 color white / blue" then default_image_2(image1:"white.jpg", image2:"blue.jpg" )
else if artifact then combine_blend(image1: default_images.a, image2: base)
else if input == "hybrid 2 color blue / black" then default_image_2(image1:"blue.jpg", image2:"black.jpg")
else base
else if input == "hybrid 2 color black / red" then default_image_2(image1:"black.jpg", image2:"red.jpg" )
})
else if input == "hybrid 2 color red / green" then default_image_2(image1:"red.jpg", image2:"green.jpg")
}
else if input == "hybrid 2 color green / white" then default_image_2(image1:"green.jpg", image2:"white.jpg")
else if input == "hybrid 2 color white / black" then default_image_2(image1:"white.jpg", image2:"black.jpg")
else if input == "hybrid 2 color blue / red" then default_image_2(image1:"blue.jpg", image2:"red.jpg" )
else if input == "hybrid 2 color black / green" then default_image_2(image1:"black.jpg", image2:"green.jpg")
else if input == "hybrid 2 color red / white" then default_image_2(image1:"red.jpg", image2:"white.jpg")
else if input == "hybrid 2 color overlay green / blue" then default_image_2(image1:"green.jpg", image2:"blue.jpg" )
else if input == "hybrid 2 color overlay white / blue" then default_image_2(image1:"white.jpg", image2:"blue.jpg" )
else if input == "hybrid 2 color overlay blue / black" then default_image_2(image1:"blue.jpg", image2:"black.jpg")
else if input == "hybrid 2 color overlay black / red" then default_image_2(image1:"black.jpg", image2:"red.jpg" )
else if input == "hybrid 2 color overlay red / green" then default_image_2(image1:"red.jpg", image2:"green.jpg")
else if input == "hybrid 2 color overlay green / white" then default_image_2(image1:"green.jpg", image2:"white.jpg")
else if input == "hybrid 2 color overlay white / black" then default_image_2(image1:"white.jpg", image2:"black.jpg")
else if input == "hybrid 2 color overlay blue / red" then default_image_2(image1:"blue.jpg", image2:"red.jpg" )
else if input == "hybrid 2 color overlay black / green" then default_image_2(image1:"black.jpg", image2:"green.jpg")
else if input == "hybrid 2 color overlay red / white" then default_image_2(image1:"red.jpg", image2:"white.jpg")
else if input == "hybrid 2 color overlay green / blue" then default_image_2(image1:"green.jpg", image2:"blue.jpg" )
else if is_artifact() then default_image_1("artifact.jpg")
else if is_colorless() then default_image_1("colorless.jpg")
else default_image_1("multicolor.jpg")
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment