User:Joshinils: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 23: | Line 23: | ||
</ul></div> | </ul></div> | ||
</pre> | </pre> | ||
Screenshot command: | |||
<pre> | |||
/c game.take_screenshot{resolution = {x = 1000, y = 1000}, zoom = 2, show_entity_info = true} | |||
</pre> | |||
Remaining research command: | |||
<pre> | |||
/c global.research = function(amount) | |||
if amount == nil then | |||
game.print(game.player.force.research_progress * 100 .. "% done") | |||
else | |||
game.print(amount -game.player.force.research_progress * amount .. " packs needed") | |||
end | |||
end | |||
</pre> | |||
Revision as of 00:08, 29 August 2017
my sandbox page I may be using for translating
As I'm usig this bit so often, here it is to copy-paste:
== Siehe auch == * [[Research/de|Forschung]] * [[Technologies/de|Technologien]]
! Technologie !! Kosten !! Auswirkung !! Aufaddierte <br/>Auswirkung
Block that puts foo and bar nex to each another if there is space, else it wraps and puts them underneath:
<div><ul> <li style="display:inline-block;"> foo </li> <li style="display:inline-block;"> bar </li> </ul></div>
Screenshot command:
/c game.take_screenshot{resolution = {x = 1000, y = 1000}, zoom = 2, show_entity_info = true}
Remaining research command:
/c global.research = function(amount) if amount == nil then game.print(game.player.force.research_progress * 100 .. "% done") else game.print(amount -game.player.force.research_progress * amount .. " packs needed") end end