tpt.log("Nuclear bomb ready!!! Press J to launch.")
local ox = 318
local oy = 26
function Start(key_char)
local y = oy
local x = ox
local asd
local ask = key_char
if ask == "j" then
asd = tpt.input("Confirm the action", "Type 'Y' to confirm this action")
if (asd == "y" or asd == "Y") then
x = x - 1
for o=0,20 do
for i=0,4 do
tpt.delete (x+i,y-o)
end
end
x = ox
tpt.display_mode(6)
tpt.set_pause(0)
for i = 0, 2 do
tpt.create(x + i, y, "ice")
end
y = y - 1
x = x - 1
for i = 0, 4 do
tpt.create(x + i, y, "ice")
end
y = y - 1
x = ox
x = x - 1
tpt.create (x,y,"ice")
x = x + 1
tpt.create (x,y,"ice")
x = x + 1
tpt.create (x,y,"ice")
x = x + 1
tpt.create (x,y,"ice")
x = x + 1
tpt.create (x,y,"ice")
x = ox
y = y - 1
x = x - 1
tpt.create (x,y,"insl")
x = x + 1
tpt.create (x,y,"insl")
x = x + 1
tpt.create (x,y,"deut")
x = x + 1
tpt.create (x,y,"insl")
x = x + 1
tpt.create (x,y,"insl")
x = ox
y = y - 1
x = x - 1
tpt.create (x,y,"insl")
x = x + 2
tpt.create (x,y,"insl")
x = x + 2
tpt.create (x,y,"insl")
x = ox
y = y - 1
x = x - 1
x = x + 1
tpt.create (x,y,"insl")
x = x + 1
tpt.create (x,y,"insl")
x = x + 1
tpt.create (x,y,"insl")
x = x + 1
x = ox
y = y - 1
x = x - 1
for i = 0,10 do
tpt.create (x,y-i,"glas")
x = x + 1
tpt.create (x,y-i,"tnt")
x = x + 1
tpt.create (x,y-i,"tnt")
x = x + 1
tpt.create (x,y-i,"tnt")
x = x + 1
tpt.create (x,y-i,"glas")
x = ox
x = x - 1
end
x = ox
y = y - 11
x = x - 1
for i=0,4 do
tpt.create (x + i,y,"insl")
end
x = ox
y = y - 1
x = x + 1
tpt.create (x,y,"insl")
x = ox
y = y - 1
x = x - 1
for i=0,4 do
tpt.create (x + i,y,"insl")
end
x = ox
y = y - 1
x = x - 1
for i=0,4 do
tpt.create (x + i,y,"insl")
x = ox
x = x - 1
end
tpt.set_property("temp",-1000,319,23,1,1,"DEUT")
tpt.set_property("life",897465628753919,319,23,1,1,"DEUT")
tpt.set_property("temp",1273.15,317,9,5,12)
tpt.set_property("ctype","ligh",317,24,5,3,"ice")
end
end
end
tpt.register_keypress(Start)