def dangerasteroid(): #type 5
imgloc = static('actionnews/dangerasteroid.gif')
data = """<center> \
Your fleet intelligence detects an asteroid on a collision course <br> \
directly for the planet! What should be done? \
<p class="halfline"> </p> \
<img src="%s" alt="dangerasteroid"> \
<p class="halfline"> </p> \
<table> \
<tr> \
<td class='center'><input type='submit' name='dasteroiddeflect' value='Deflect' class='button' \
title='Get your support ships to deflect it harmlessly into space, at the cost of 50 warpfuel.'/></td> \
<td class='center'><input type='submit' name='dasteroidsubcontract' value='Subcontract' class='button' \
title='Pay a civilian company to deflect it for you, at the cost of 500 GEU.'/></td> \
<td class='center'><input type='submit' name='dasteroidredirect' value='Redirect' class='button' \
title='Redirect it onto a rebel area on your planet at the cost of 20 warpfuel. \
Rebels will be heavily reduced but you will lose perception.'/></td> \
</tr> \
</table> \
</center>""" % imgloc
return data
评论列表
文章目录