71 |
def_image("sh-whiteball-small", {xoff=-4, yoff=-4}) |
def_image("sh-whiteball-small", {xoff=-4, yoff=-4}) |
72 |
fg=def_image(nil, {filename="ac-whiteball-small", xoff=-6, yoff=-6}) |
fg=def_image(nil, {filename="ac-whiteball-small", xoff=-6, yoff=-6}) |
73 |
def_shmodel("ac-whiteball-small", fg, "sh-whiteball-small") |
def_shmodel("ac-whiteball-small", fg, "sh-whiteball-small") |
74 |
def_alias ("ac-whiteball-small-shine", "ac-whiteball") |
def_alias ("ac-whiteball-small-shine", "ac-whiteball-small") |
75 |
|
|
76 |
-- Falling |
-- Falling |
77 |
img=def_subimages("ac-whiteball-small-fall", |
img=def_subimages("ac-whiteball-small-fall", |
545 |
def_alias("st-greenbrown_move", "st-greenbrown") |
def_alias("st-greenbrown_move", "st-greenbrown") |
546 |
|
|
547 |
def_stone("st-block") |
def_stone("st-block") |
|
def_stone("st-window") |
|
548 |
def_stone("st-brick") |
def_stone("st-brick") |
549 |
def_stone("st-woven") |
def_stone("st-woven") |
550 |
def_stone("st-brick_magic", nil, {filename="st-brick"}) |
def_stone("st-brick_magic", nil, {filename="st-brick"}) |
602 |
def_shmodel("st-pull-l", "st-pull-fg5", "sh-pull4") |
def_shmodel("st-pull-l", "st-pull-fg5", "sh-pull4") |
603 |
end |
end |
604 |
|
|
|
------------------ |
|
|
-- Death's head -- |
|
|
------------------ |
|
|
do |
|
|
def_stone("st-death") |
|
|
local img=def_subimages("st-death-munch", {h=3}) |
|
|
def_anim("st-death-munch-anim", buildframes(img, 140)) |
|
|
def_solidstone("st-death-munch", "st-death-munch-anim") |
|
|
end |
|
|
|
|
605 |
----------------- |
----------------- |
606 |
-- Oxyd Stones -- |
-- Oxyd Stones -- |
607 |
----------------- |
----------------- |
783 |
def_solidstone("st-thief-anim", "thief-anim") |
def_solidstone("st-thief-anim", "thief-anim") |
784 |
end |
end |
785 |
|
|
786 |
--------------- |
----------------- |
787 |
-- Timer stone -- |
-- Timer stone -- |
788 |
----------------- |
----------------- |
789 |
do |
do |
814 |
def_solidstone("st-mail-w", "st-mail3") |
def_solidstone("st-mail-w", "st-mail3") |
815 |
end |
end |
816 |
|
|
817 |
------------ |
function def_stone_with_anim(name, npictures, frametime) |
818 |
-- Window -- |
local n=def_subimages(name, {h=npictures}) |
819 |
------------ |
def_anim(name.."-anim", buildframes(n,frametime)) |
820 |
|
def_solidstone(name, n[1]) |
821 |
--def_image("st-window") |
end |
822 |
namelist=def_subimages("st-window", {h=4}) |
def_stone_with_anim ("st-window", 4, 80) |
823 |
frames = buildframes(namelist,80) |
def_stone_with_anim ("st-stone_break", 10, 50) |
824 |
def_anim("st-window-anim", frames) |
def_stone_with_anim ("st-break_acwhite", 10, 50) |
825 |
|
def_stone_with_anim ("st-break_acblack", 10, 50) |
826 |
----------------- |
def_stone_with_anim ("st-death", 3, 140) |
827 |
-- Stone_break -- |
def_stone_with_anim ("st-chargeplus", 2, 140) |
828 |
----------------- |
def_stone_with_anim ("st-chargeminus", 2, 140) |
|
|
|
|
do |
|
|
local n = def_subimages("st-break", {h=10}) |
|
|
def_anim("st-stone_break-anim", buildframes(n,50)) |
|
|
def_solidstone("st-stone_break", "st-break1") |
|
|
end |
|
|
|
|
|
------------------- |
|
|
-- Break_acwhite -- |
|
|
------------------- |
|
|
|
|
|
do |
|
|
local n = def_subimages("st-break_acwhite", {h=10}) |
|
|
def_anim("st-break_acwhite-anim", buildframes(n,50)) |
|
|
def_solidstone("st-break_acwhite", "st-break_acwhite1") |
|
|
end |
|
|
|
|
|
------------------- |
|
|
-- Break_acblack -- |
|
|
------------------- |
|
|
|
|
|
do |
|
|
local n = def_subimages("st-break_acblack", {h=10}) |
|
|
def_anim("st-break_acblack-anim", buildframes(n,50)) |
|
|
def_solidstone("st-break_acblack", "st-break_acblack1") |
|
|
end |
|
829 |
|
|
830 |
--------------- |
--------------- |
831 |
-- Turnstile -- |
-- Turnstile -- |