User:Joshinils: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
Joshinils (talk | contribs)
mNo edit summary
Joshinils (talk | contribs)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!-- copied from keyboard keybindings, I have no idea what exactly this does besides creating two collumns-->
<div style="column-width:600px;">
<div style="column-count:2;-moz-column-count:2;-webkit-column-count:2">
 
== Subpages ==
 
[[Special:Contributions/Joshinils]]
{{Special:PrefixIndex/User:Joshinils}}
 
== copy-pasta ==


As I'm usig this bit so often, here it is to copy-paste:
<pre>
<pre>
== Siehe auch ==
== Siehe auch ==
Line 8: Line 13:
* [[Technologies/de|Technologien]]
* [[Technologies/de|Technologien]]
</pre>
</pre>
<pre>
<pre>
! Technologie !! Kosten !! Auswirkung !! Aufaddierte <br/>Auswirkung
! Technologie !! Kosten !! Auswirkung !! Aufaddierte <br/>Auswirkung
Line 13: Line 20:




Block that puts ''foo'' and ''bar'' nex to each another if there is space, else it wraps and puts them underneath:
Block that puts ''foo'' and ''bar'' next to each another if there is space, else it wraps and puts them underneath:
<pre>
<pre>
<div><ul>
<div><ul>
Line 20: Line 27:
</ul></div>
</ul></div>
</pre>
</pre>
== Lua stuff ==


Screenshot command:
Screenshot command:
<pre>
<syntaxhighlight lang="lua" line='line'>
/c game.take_screenshot{resolution = {x = 1000, y = 1000}, zoom = 2, show_entity_info = true}
/c game.take_screenshot{resolution={x=1000, y=1000}, zoom=2, show_entity_info=true}
</pre>
</syntaxhighlight>
 


Remaining research command:
Remaining research command:
<pre>
<syntaxhighlight lang="lua" line='line'>
/c global.research = function(amount)
/c global.research=function(amount)
    if amount == nil then  
if amount==nil then  
        game.print(game.player.force.research_progress * 100 .. "% done")
game.print(game.player.force.research_progress*100 .."% done")
    else
else
        game.print(amount -game.player.force.research_progress * amount .. " packs needed")
game.print(amount -game.player.force.research_progress*amount.." packs needed")
    end
end
end
</syntaxhighlight>
 
 
Reveal circular area around input (default <syntaxhighlight lang="lua" inline>{x=0,y=0}</syntaxhighlight>, can be exchanged with <syntaxhighlight lang="lua" inline>game.player.position</syntaxhighlight>)
<syntaxhighlight lang="lua" line='line'>
/c global.reveal=function(input)
--[[set radius the first time this gets run]]
global=global or {}
global.radius=global.radius or 128
radius_squared=global.radius*global.radius
origin=input or {x=0, y=0}
 
for x=-global.radius, global.radius, 32 do
for y=-global.radius, global.radius, 32 do
if x*x+y*y<radius_squared then
game.player.force.chart(game.player.surface, {{origin.x+x, origin.y+y }, {origin.x+x, origin.y+y }})
end
end
end
game.print("r="..global.radius)
--[[increase radius every successive time it is run, may be set outside of this function]]
global.radius=global.radius+32
end
</syntaxhighlight>
 
 
Delete everything except the player character (when <syntaxhighlight lang="lua" inline>input==nil</syntaxhighlight>, when <syntaxhighlight lang="lua" inline>all</syntaxhighlight> is present, then everything including the player character gets deleted)
<syntaxhighlight lang="lua" line='line'>
/c global.delete=function(input, all)
for surface in pairs(game.surfaces) do
for _, ent in pairs(surface.find_entities_filtered{type=input} do
if all or (ent.type~="player" and input~="player") then entity.destroy() end
end
end
end
end
</pre>
</syntaxhighlight>
 
[https://wiki.factorio.com/api.php?action=query&meta=siteinfo&siprop=statistics&format=jsonfm job que]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 




{{Translation|items/s}}


== Subpages==
{{Special:PrefixIndex/User:Joshinils}}


{|
{|
|-
|-
| [[Factorio:Wanted_pages#German_Wanted_Pages|List Of German Wanted Pages]]
| [[Factorio:Wanted_pages#German_Wanted_Pages|List Of German Wanted Pages]] {{Factorio:Wanted_pages/de}}
{{Factorio:Wanted_pages/de}}
|}
|}
</div>

Latest revision as of 00:29, 4 February 2020

Subpages

Special:Contributions/Joshinils

copy-pasta

== Siehe auch ==
* [[Research/de|Forschung]]
* [[Technologies/de|Technologien]]


! Technologie !! Kosten !! Auswirkung !! Aufaddierte <br/>Auswirkung


Block that puts foo and bar next 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>


Lua stuff

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


Reveal circular area around input (default {x=0,y=0}, can be exchanged with game.player.position)

/c global.reveal=function(input)
	--[[set radius the first time this gets run]]
	global=global or {}
	global.radius=global.radius or 128
	
	radius_squared=global.radius*global.radius
	origin=input or {x=0, y=0}

	for x=-global.radius, global.radius, 32 do
		for y=-global.radius, global.radius, 32 do
			if x*x+y*y<radius_squared then
				game.player.force.chart(game.player.surface, {{origin.x+x, origin.y+y }, {origin.x+x, origin.y+y }})
			end
		end
	end
	game.print("r="..global.radius)
	
	--[[increase radius every successive time it is run, may be set outside of this function]]
	global.radius=global.radius+32
end


Delete everything except the player character (when input==nil, when all is present, then everything including the player character gets deleted)

/c global.delete=function(input, all)
	for surface in pairs(game.surfaces) do
		for _, ent in pairs(surface.find_entities_filtered{type=input} do
			if all or (ent.type~="player" and input~="player") then entity.destroy() end
		end
	end
end

job que












List Of German Wanted Pages Number of wanted pages: 59
# Page Links to this page Length of the corresponding English page in bytes
1 Tree seeding (research)/de 222 231
2 Tungsten steel (research)/de 222 339
3 Yumako (research)/de 222 300
4 Advanced combinators (research)/de 221 160
5 Agricultural science pack (research)/de 221 250
6 Carbon fiber (research)/de 221 241
7 Epic quality (research)/de 221 313
8 Legendary quality (research)/de 221 320
9 Planet discovery Gleba (research)/de 221 306
10 Repair pack (research)/de 221 192
11 Toolbelt equipment (research)/de 221 244
12 Stellar discovery solar system edge (research)/de 220 1009
13 Steam condensation/de 117 467
14 Acid neutralisation/de 116 684
15 Ice melting/de 116 366
16 Fish breeding/de 113 22 (Redirect)
17 Simple coal liquefaction/de 113 53 (Redirect)
18 Ammonia rocket fuel/de 112 25 (Redirect)
19 Ammoniacal solution separation/de 112 21 (Redirect)
20 Solid fuel from ammonia/de 112 24 (Redirect)
21 Biolubricant/de 111 23 (Redirect)
22 Bioplastic/de 111 25 (Redirect)
23 Biosulfur/de 111 20 (Redirect)
24 Rocket fuel from jelly/de 111 25 (Redirect)
25 Scrap recycling/de 111 18 (Redirect)
26 Burnt spoilage/de 110 40 (Redirect)
27 Jellynut processing/de 110 19 (Redirect)
28 Cooling hot fluoroketone/de 109 32 (Redirect)
29 Yumako processing/de 109 25 (Redirect)
30 Advanced thruster fuel/de 33 26 (Redirect)
31 Advanced thruster oxidizer/de 33 30 (Redirect)
32 Landing pad unloading bay/de 33 1472
33 Carbonic asteroid reprocessing/de 29 57 (Redirect)
34 Metallic asteroid reprocessing/de 29 57 (Redirect)
35 Oxide asteroid reprocessing/de 29 54 (Redirect)
36 Debug mode/de 9 8681
37 Iron bacteria cultivation/de 8 47 (Redirect)
38 Oil ocean/de 8 1219
39 Copper bacteria cultivation/de 7 49 (Redirect)
40 Molten iron from lava/de 7 24 (Redirect)
41 Factorio:Translation guide/de 6 10441
42 Glossary/de 6 20372
43 Molten copper from lava/de 6 26 (Redirect)
44 Nutrients from biter egg/de 6 23 (Redirect)
45 Nutrients from spoilage/de 6 23 (Redirect)
46 Replay system/de 6 3869
47 Concrete from molten iron/de 5 42 (Redirect)
48 Copy and paste/de 5 7177
49 Nutrients from bioflux/de 5 23 (Redirect)
50 Nutrients from yumako mash/de 5 23 (Redirect)
51 Rich text/de 5 9855
52 Scenario system/de 5 4570
53 Tutorial:Keyboard shortcuts/de 5 6665
54 Tutorial:Modding tutorial/de 5 3204
55 Wood processing/de 5 23 (Redirect)
56 Command line parameters/de 4 13158
57 Fluoroketone (cold) barrel/de 4 20 (Redirect)
58 Fluoroketone (hot) barrel/de 4 20 (Redirect)
59 Planet/de 4 20 (Redirect)