User:Joshinils: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
Joshinils (talk | contribs)
mNo edit summary
Joshinils (talk | contribs)
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: 133
# Page Links to this page Length of the corresponding English page in bytes
1 Tree seeding (research)/de 222 245
2 Tungsten steel (research)/de 222 360
3 Yumako (research)/de 222 313
4 Advanced combinators (research)/de 221 187
5 Agricultural science pack (research)/de 221 282
6 Carbon fiber (research)/de 221 260
7 Epic quality (research)/de 221 313
8 Legendary quality (research)/de 221 320
9 Planet discovery Gleba (research)/de 221 335
10 Repair pack (research)/de 221 175
11 Toolbelt equipment (research)/de 221 264
12 Stellar discovery solar system edge (research)/de 220 1050
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 Landing pad unloading bay/de 34 1472
31 Advanced thruster fuel/de 33 26 (Redirect)
32 Advanced thruster oxidizer/de 33 30 (Redirect)
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 9507
37 Iron bacteria cultivation/de 8 47 (Redirect)
38 Oil ocean/de 8 1219
39 Copper bacteria cultivation/de 7 49 (Redirect)
40 Glossary/de 7 20372
41 Molten iron from lava/de 7 24 (Redirect)
42 Factorio:Translation guide/de 6 10441
43 Molten copper from lava/de 6 26 (Redirect)
44 Replay system/de 6 3869
45 Concrete from molten iron/de 5 42 (Redirect)
46 Copy and paste/de 5 7177
47 Rich text/de 5 9855
48 Scenario system/de 5 4570
49 Tutorial:Keyboard shortcuts/de 5 6665
50 Tutorial:Modding tutorial/de 5 3204
51 Casting pipe to ground/de 4 47 (Redirect)
52 Category:Screenshots/de 4 194
53 Command line parameters/de 4 14642
54 Fluoroketone (cold) barrel/de 4 20 (Redirect)
55 Fluoroketone (hot) barrel/de 4 20 (Redirect)
56 Nutrients from biter egg/de 4 23 (Redirect)
57 Nutrients from spoilage/de 4 23 (Redirect)
58 Planet/de 4 20 (Redirect)
59 Supply challenge/de 4 3178
60 Tutorial:Main bus/de 4 13695
61 Wood processing/de 4 23 (Redirect)
62 Archive:Advanced chemistry (research)/de 3 174 (Archived)
63 Archive:Alien technology (research)/de 3 463 (Archived)
64 Archive:Armor crafting (research)/de 3 249 (Archived)
65 Archive:Chemistry (research)/de 3 165 (Archived)
66 Archive:Curved rail/de 3 853 (Archived)
67 Behemoth biter/de 3 28 (Redirect)
68 Casting copper cable/de 3 45 (Redirect)
69 Casting copper/de 3 25 (Redirect)
70 Casting iron gear wheel/de 3 48 (Redirect)
71 Casting iron stick/de 3 43 (Redirect)
72 Casting iron/de 3 43 (Redirect)
73 Casting pipe/de 3 37 (Redirect)
74 Casting steel/de 3 44 (Redirect)
75 Category:Asteroids/de 3 81
76 Category:Candidates for deletion/de 3 267
77 Category:News/de 3 45
78 Category:Planets/de 3 88
79 Category:Space/de 3 105
80 Factorio:Editor noticeboard/de 3 3991
81 Galaxy of Fame/de 3 5261
82 Landing pad unloading bay (research)/de 3 409
83 Log file/de 3 2785
84 Nutrients from bioflux/de 3 23 (Redirect)
85 Nutrients from yumako mash/de 3 23 (Redirect)
86 Reactor/de 3 245 (Disambiguation)
87 Roadmap/History/de 3 7102
88 Tutorial:Quality upcycling math/de 3 40758
89 Tutorial:Transport use cases/de 3 15558
90 Archive:Automated construction (research)/de 2 466 (Archived)
91 Archive:Rocket defense (research)/de 2 516 (Archived)
92 Archive:Rocket defense/de 2 562 (Archived)
93 Archive:Smart inserter/de 2 3902 (Archived)
94 Behemoth spitter/de 2 30 (Redirect)
95 Category:Agriculture/de 2 95
96 Category:Environmental protection/de 2 107
97 Category:Modding/de 2 64
98 Category:Pages needing clean-up/de 2 118
99 Elevated rail/de 2 36 (Redirect)
100 Factorio:Style guide/de 2 10948
101 Heavy oil cracking to light oil/de 2 37 (Redirect)
102 Permissions/de 2 17826
103 Tutorial:Diagnosing performance issues/de 2 9400
104 Tutorial:Modding FAQ/de 2 6703
105 Tutorial:Script interfaces/de 2 5154
106 Tutorial:Solar power math/de 2 14286
107 Wire/de 2 165 (Disambiguation)
108 Behemoth worm/de 1 27 (Redirect)
109 Big biter/de 1 28 (Redirect)
110 Big lithium ice formation/de 1 34 (Redirect)
111 Big premature wriggler pentapod/de 1 30 (Redirect)
112 Big volcanic rock/de 1 17 (Redirect)
113 Biter nest/de 1 27 (Redirect)
114 Copper stromatolite/de 1 26 (Redirect)
115 Egg raft/de 1 27 (Redirect)
116 Factorio talk:Editor noticeboard/de 1 25250
117 Iron stromatolite/de 1 26 (Redirect)
118 Light oil cracking to petroleum gas/de 1 37 (Redirect)
119 Recycling/de 1 ---
120 Rocket rush/de 1 12225
121 Settings/de 1 3433 (Stub)
122 Speed/de 1 ---
123 Stomper big/de 1 ---
124 Strafer big/de 1 ---
125 Straight rail/de 1 18 (Redirect)
126 Template:Languages/de 1 1482
127 Tutorial:Inspecting a live mod/de 1 2623
128 Tutorial:Localisation/de 1 21293
129 Tutorial:Mod settings/de 1 15969
130 Tutorial:Modding tutorial/Gangsir/de 1 35358
131 Tutorial:Scripting/de 1 12296
132 Unrat/de 1 ---
133 Wave defense/de 1 8138