User:Joshinils: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (that's lua :P)
 
(2 intermediate revisions by the same user 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 ==
== Subpages ==


[[Special:Contributions/Joshinils]]
{{Special:PrefixIndex/User:Joshinils}}
{{Special:PrefixIndex/User:Joshinils}}


Line 33: Line 33:
Screenshot command:
Screenshot command:
<syntaxhighlight lang="lua" line='line'>
<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}
</syntaxhighlight>
</syntaxhighlight>


Line 39: Line 39:
Remaining research command:
Remaining research command:
<syntaxhighlight lang="lua" line='line'>
<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
end
Line 74: Line 74:




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

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: 189
# Page Links to this page Length of the corresponding English page in bytes
1 Space Age/de 369 2618 (Stub)
2 Biter egg handling (research)/de 149 457 (Stub)
3 Overgrowth soil (research)/de 149 620
4 Quality/de 149 30841
5 Turbo splitter/de 73 938
6 Display panel/de 72 2866 (Stub)
7 Turbo transport belt/de 72 1233
8 Turbo underground belt/de 72 1017
9 Overgrowth jellynut soil/de 70 797 (Stub)
10 Overgrowth yumako soil/de 70 800
11 Rail ramp/de 70 775 (Stub)
12 Rail support/de 70 1852
13 Selector combinator/de 70 3608 (Stub)
14 Artificial jellynut soil/de 69 734 (Stub)
15 Artificial yumako soil/de 69 735
16 Foundation/de 69 671 (Stub)
17 Foundry/de 69 16911
18 Ice platform/de 69 597 (Stub)
19 Capture bot rocket/de 63 633 (Stub)
20 Rocket turret/de 63 1800 (Stub)
21 Mech armor/de 62 1578
22 Railgun/de 62 808
23 Tesla gun/de 62 657
24 Toolbelt equipment/de 62 409
25 Tungsten plate/de 62 400
26 Calcite/de 61 887 (Stub)
27 Metallurgic science pack/de 61 419 (Stub)
28 Personal battery MK3/de 61 792 (Stub)
29 Railgun turret/de 61 722 (Stub)
30 Tesla ammo/de 61 157
31 Tesla turret/de 61 1409
32 Aquilo/de 60 12697 (Stub)
33 Fulgora/de 60 12651 (Stub)
34 Gleba/de 60 8962 (Stub)
35 Lava/de 60 825 (Stub)
36 Railgun ammo/de 60 742 (Stub)
37 Spoilage/de 60 2555 (Stub)
38 Vulcanus/de 60 7112 (Stub)
39 Agricultural science pack/de 59 763 (Stub)
40 Bioflux/de 59 957 (Stub)
41 Biter egg/de 59 657 (Stub)
42 Carbon fiber/de 59 403 (Stub)
43 Coal synthesis/de 59 414
44 Electromagnetic science pack/de 59 425 (Stub)
45 Ice/de 59 645 (Stub)
46 Superconductor/de 59 376 (Stub)
47 Tungsten carbide/de 59 667 (Stub)
48 Ammonia/de 58 441 (Stub)
49 Ammoniacal solution/de 58 678 (Stub)
50 Carbon/de 58 1826
51 Cryogenic science pack/de 58 412 (Stub)
52 Electrolyte/de 58 835 (Stub)
53 Fluorine/de 58 651 (Stub)
54 Fluoroketone (cold)/de 58 983 (Stub)
55 Fluoroketone (hot)/de 58 536 (Stub)
56 Holmium ore/de 58 1500 (Stub)
57 Holmium plate/de 58 706 (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 829
72 Holmium solution/de 57 857 (Stub)
73 Iron bacteria/de 57 1399 (Stub)
74 Jelly/de 57 738 (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 929
83 Yumako mash/de 57 1153 (Stub)
84 Electromagnetic plant/de 56 2526 (Stub)
85 Cryogenic plant/de 54 1483 (Stub)
86 Biochamber/de 51 7410 (Stub)
87 Heating tower/de 51 1908
88 Biolab/de 48 864 (Stub)
89 Big mining drill/de 47 1711 (Stub)
90 Lightning rod/de 47 873 (Stub)
91 Agricultural tower/de 46 3880 (Stub)
92 Captive biter spawner/de 46 4198 (Stub)
93 Quality module 2/de 46 683
94 Quality module 3/de 46 683
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 1703 (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 1744 (Stub)
136 Oxide asteroid chunk/de 3 1699 (Stub)
137 Planet discovery Aquilo (research)/de 3 309
138 Promethium asteroid chunk/de 3 727 (Stub)
139 Repair pack (research)/de 3 246
140 Rich text/de 3 9749
141 Slipstack/de 3 580
142 Space platform/de 3 15021 (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 asteroid processing (research)/de 2 1178
152 Advanced thruster fuel/de 2 835 (Stub)
153 Advanced thruster oxidizer/de 2 676 (Stub)
154 Ammonia rocket fuel/de 2 25 (Redirect)
155 Artificial soil (research)/de 2 178 (Stub)
156 Asteroids/de 2 4909 (Stub)
157 Biolab (research)/de 2 169 (Stub)
158 Biters/de 2 28 (Redirect)
159 Captive biter spawner (research)/de 2 184 (Stub)
160 Category:Candidates for deletion/de 2 267
161 Electric weapons damage (research)/de 2 2089
162 Epic quality (research)/de 2 348
163 Factorio:Editor noticeboard/de 2 3987
164 Fish breeding/de 2 22 (Redirect)
165 Fluoroketone (cold) barrel/de 2 20 (Redirect)
166 Fluoroketone (hot) barrel/de 2 ---
167 Fulgoran lightning attractor/de 2 286 (Stub)
168 Fulgoran ruin/de 2 314 (Stub)
169 Fulgoran vault ruin/de 2 709 (Stub)
170 Fulgorite/de 2 445 (Stub)
171 Health (research)/de 2 626 (Stub)
172 Jellystem/de 2 785
173 Lava lake/de 2 821 (Stub)
174 Log file/de 2 2785
175 Pentapods/de 2 31 (Redirect)
176 Planetary science pack/de 2 351 (Disambiguation)
177 Plastic bar productivity (research)/de 2 342 (Stub)
178 Quality module (research)/de 2 385
179 Quality module 2 (research)/de 2 126
180 Rail support foundations (research)/de 2 392 (Stub)
181 Roadmap/History/de 2 7088
182 Rocket turret (research)/de 2 255 (Stub)
183 Shattered planet/de 2 2145 (Stub)
184 Simple coal liquefaction/de 2 28 (Redirect)
185 Solar system edge/de 2 1275 (Stub)
186 Space platform (research)/de 2 316
187 Space platform thruster (research)/de 2 176
188 Steam condensation/de 2 450 (Stub)
189 Template:About/Space age/de 2 114