User:Joshinils: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
<div style="column-count:2;-moz-column-count:2;-webkit-column-count:2">
<div style="column-count:2;-moz-column-count:2;-webkit-column-count:2">


As I'm usig this bit so often, here it is to copy-paste:
== Subpages ==
 
{{Special:PrefixIndex/User:Joshinils}}
 
== copy-pasta ==
 
<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:
Line 25: Line 35:
/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}
</syntaxhighlight>
</syntaxhighlight>


Remaining research command:
Remaining research command:
Line 37: Line 48:
</syntaxhighlight>
</syntaxhighlight>


Reveal circular area around input (default <code>(x=0,y=0)</code>, can be exchanged with <code>game.player.position</code>)
 
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'>
<syntaxhighlight lang="lua" line='line'>
/c global.reveal=function(input)
/c global.reveal=function(input)
Line 62: Line 74:




Delete everything (when <code>input == nil</code>)
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'>
<syntaxhighlight lang="lua" line='line'>
/c global.delete=function(input)
/c global.delete = function(input, all)
local surface=game.players[1].surface
for surface in pairs(game.surfaces) do
for c in surface.get_chunks() do
for _, ent in pairs(surface.find_entities_filtered{type=input} do
for key, entity in pairs(surface.find_entities_filtered({area={{c.x*32, c.y*32}, {c.x*32+32, c.y*32+32}}, type=input})) do
if all or (ent.type ~= "player" and input ~= "player") then entity.destroy() end
entity.destroy()
end
end
end
end
end
end
</syntaxhighlight>
</syntaxhighlight>


[https://wiki.factorio.com/api.php?action=query&meta=siteinfo&siprop=statistics&format=jsonfm job que]
[https://wiki.factorio.com/api.php?action=query&meta=siteinfo&siprop=statistics&format=jsonfm job que]


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




Line 102: Line 110:
{|
{|
|-
|-
| [[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>

Revision as of 06:56, 5 September 2017

Subpages

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: 182
# Page Links to this page Length of the corresponding English page in bytes
1 Space Age/de 350 2628 (Stub)
2 Biter egg handling (research)/de 149 485 (Stub)
3 Overgrowth soil (research)/de 149 620
4 Quality/de 149 30841
5 Turbo splitter/de 73 938
6 Turbo transport belt/de 72 1233
7 Turbo underground belt/de 72 1017
8 Display panel/de 71 2866 (Stub)
9 Rail ramp/de 70 775 (Stub)
10 Rail support/de 70 1852
11 Overgrowth jellynut soil/de 69 797 (Stub)
12 Overgrowth yumako soil/de 69 800
13 Selector combinator/de 69 3608 (Stub)
14 Artificial jellynut soil/de 68 734 (Stub)
15 Artificial yumako soil/de 68 735
16 Foundation/de 68 671 (Stub)
17 Ice platform/de 68 597 (Stub)
18 Foundry/de 67 16763 (Stub)
19 Capture bot rocket/de 62 579 (Stub)
20 Rocket turret/de 62 1317 (Stub)
21 Mech armor/de 61 1578
22 Metallurgic science pack/de 61 419 (Stub)
23 Railgun/de 61 808
24 Tesla ammo/de 61 157
25 Tesla gun/de 61 657
26 Toolbelt equipment/de 61 338
27 Tungsten plate/de 61 400
28 Aquilo/de 60 10046 (Stub)
29 Calcite/de 60 887 (Stub)
30 Fulgora/de 60 11949 (Stub)
31 Gleba/de 60 8962 (Stub)
32 Personal battery MK3/de 60 792 (Stub)
33 Railgun ammo/de 60 742 (Stub)
34 Railgun turret/de 60 722 (Stub)
35 Spoilage/de 60 2555 (Stub)
36 Tesla turret/de 60 1419 (Stub)
37 Vulcanus/de 60 7114 (Stub)
38 Agricultural science pack/de 59 823 (Stub)
39 Bioflux/de 59 957 (Stub)
40 Biter egg/de 59 657 (Stub)
41 Carbon fiber/de 59 403 (Stub)
42 Coal synthesis/de 59 414
43 Electromagnetic science pack/de 59 425 (Stub)
44 Lava/de 59 825 (Stub)
45 Superconductor/de 59 376 (Stub)
46 Tungsten carbide/de 59 667 (Stub)
47 Ammonia/de 58 441 (Stub)
48 Ammoniacal solution/de 58 678 (Stub)
49 Carbon/de 58 1481 (Stub)
50 Cryogenic science pack/de 58 412 (Stub)
51 Electrolyte/de 58 835 (Stub)
52 Fluorine/de 58 651 (Stub)
53 Fluoroketone (cold)/de 58 983 (Stub)
54 Fluoroketone (hot)/de 58 536 (Stub)
55 Holmium ore/de 58 1500 (Stub)
56 Holmium plate/de 58 706 (Stub)
57 Ice/de 58 645 (Stub)
58 Jellynut seed/de 58 441 (Stub)
59 Lithium brine/de 58 927 (Stub)
60 Lithium plate/de 58 548 (Stub)
61 Molten copper/de 58 1446 (Stub)
62 Molten iron/de 58 1632
63 Nutrients/de 58 2025 (Stub)
64 Quantum processor/de 58 334 (Stub)
65 Scrap/de 58 2439 (Stub)
66 Supercapacitor/de 58 475 (Stub)
67 Tungsten ore/de 58 683 (Stub)
68 Yumako seed/de 58 948 (Stub)
69 Yumako/de 58 754 (Stub)
70 Copper bacteria/de 57 1412 (Stub)
71 Fusion power cell/de 57 852 (Stub)
72 Holmium solution/de 57 857 (Stub)
73 Iron bacteria/de 57 1399 (Stub)
74 Jelly/de 57 659 (Stub)
75 Jellynut/de 57 488 (Stub)
76 Lithium/de 57 521 (Stub)
77 Pentapod egg/de 57 873 (Stub)
78 Plasma/de 57 754 (Stub)
79 Promethium science pack/de 57 749 (Stub)
80 Thruster fuel/de 57 1073 (Stub)
81 Thruster oxidizer/de 57 1075 (Stub)
82 Tree seed/de 57 923 (Stub)
83 Yumako mash/de 57 1153 (Stub)
84 Electromagnetic plant/de 56 2648 (Stub)
85 Cryogenic plant/de 54 1609 (Stub)
86 Biochamber/de 51 7404 (Stub)
87 Heating tower/de 51 1880 (Stub)
88 Big mining drill/de 47 1711 (Stub)
89 Biolab/de 47 864 (Stub)
90 Lightning rod/de 47 873 (Stub)
91 Quality module 2/de 47 683
92 Agricultural tower/de 46 5119 (Stub)
93 Quality module 3/de 46 683
94 Captive biter spawner/de 45 4196 (Stub)
95 Fusion generator/de 45 717 (Stub)
96 Fusion reactor/de 45 3149 (Stub)
97 Lightning collector/de 45 694 (Stub)
98 Quality module/de 45 837
99 Debug mode/de 9 8533
100 Cargo landing pad/de 8 1954 (Stub)
101 Asteroid collector/de 7 749 (Stub)
102 Cargo bay/de 6 1634 (Stub)
103 Crusher/de 6 3485 (Stub)
104 Nauvis/de 6 6571 (Stub)
105 Production statistics/de 6 2490
106 Radar (research)/de 6 293
107 Replay system/de 6 3869
108 Space platform starter pack/de 6 1358 (Stub)
109 Thruster/de 6 4137 (Stub)
110 Factorio:Translation guide/de 5 10322
111 Scenario system/de 5 4391
112 Space platform foundation/de 5 890 (Stub)
113 Metallurgic science pack (research)/de 4 257 (Stub)
114 Oil gathering (research)/de 4 278 (Stub)
115 Space platform hub/de 4 1771
116 Supply challenge/de 4 3178
117 Tutorial:Keyboard shortcuts/de 4 6271
118 Tutorial:Modding tutorial/de 4 3011
119 Uranium mining (research)/de 4 284
120 Advanced combinators (research)/de 3 160
121 Archive:Alien technology (research)/de 3 463 (Archived)
122 Archive:Armor crafting (research)/de 3 249 (Archived)
123 Archive:Curved rail/de 3 853 (Archived)
124 Ashland tree/de 3 992
125 Boompuff/de 3 498
126 Carbonic asteroid chunk/de 3 1831 (Stub)
127 Category:Screenshots/de 3 194
128 Command line parameters/de 3 12608
129 Cuttlepop/de 3 556
130 Electric mining drill (research)/de 3 274
131 Glossary/de 3 18723
132 Hairy clubnub/de 3 350
133 Lickmaw/de 3 281
134 Lithium ice formation/de 3 629
135 Metallic asteroid chunk/de 3 1845 (Stub)
136 Oxide asteroid chunk/de 3 1813 (Stub)
137 Planet discovery Aquilo (research)/de 3 328 (Stub)
138 Promethium asteroid chunk/de 3 840 (Stub)
139 Repair pack (research)/de 3 246
140 Rich text/de 3 9749
141 Slipstack/de 3 580
142 Space platform/de 3 15381 (Stub)
143 Stingfrond/de 3 658 (Stub)
144 Stromatolite/de 3 553
145 Teflilly/de 3 302
146 Tutorial:Main bus/de 3 13635
147 Tutorial:Transport use cases/de 3 15488
148 Water cane/de 3 626
149 Yumako tree/de 3 1052 (Stub)
150 Acid neutralisation/de 2 1310 (Stub)
151 Advanced thruster fuel/de 2 835 (Stub)
152 Advanced thruster oxidizer/de 2 676 (Stub)
153 Ammonia rocket fuel/de 2 25 (Redirect)
154 Asteroids/de 2 5014 (Stub)
155 Biters/de 2 28 (Redirect)
156 Captive biter spawner (research)/de 2 184 (Stub)
157 Category:Candidates for deletion/de 2 267
158 Category:News/de 2 45
159 Factorio:Editor noticeboard/de 2 3987
160 Fish breeding/de 2 22 (Redirect)
161 Fluoroketone (cold) barrel/de 2 20 (Redirect)
162 Fluoroketone (hot) barrel/de 2 ---
163 Fulgoran lightning attractor/de 2 286 (Stub)
164 Fulgoran ruin/de 2 314 (Stub)
165 Fulgoran vault ruin/de 2 709 (Stub)
166 Fulgorite/de 2 445 (Stub)
167 Jellystem/de 2 785
168 Lava lake/de 2 821 (Stub)
169 Log file/de 2 2785
170 Pentapods/de 2 31 (Redirect)
171 Planetary science pack/de 2 351 (Disambiguation)
172 Plastic bar productivity (research)/de 2 358 (Stub)
173 Quality module (research)/de 2 385
174 Roadmap/History/de 2 7088
175 Rocket turret (research)/de 2 286 (Stub)
176 Shattered planet/de 2 2145 (Stub)
177 Simple coal liquefaction/de 2 28 (Redirect)
178 Solar system edge/de 2 1275 (Stub)
179 Space platform (research)/de 2 316
180 Space platform thruster (research)/de 2 176
181 Steam condensation/de 2 450 (Stub)
182 Template:About/Space age/de 2 114