User:Bilka/Sandbox: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(2 more)
No edit summary
 
(124 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Prototype pages that might be outdated ==
=== Packaging a scenario as a campaign ===
<div class="factorio-list">
* [[Prototype/AutoplaceControl]] '''autoplace-control'''


** [[Prototype/LegacyDecorative]] '''decorative''' probably exists for migration
Scenarios can also be included inside campaigns in mods. Folder structure? Is the level-01 naming required? is the lualib folder really a thing? mention image.png? ScenarioLocation::listScenarioLocations looks like no restriction on inner folder names - confirmed. well except locale and lualib


* [[Prototype/NoiseLayer]] '''noise-layer'''
=== description.json ===
</div>
A json file in the scenario folder that can have the following fields:
name
order string
description
starting-level string
multiplayer-compatible bool
is-main-game bool optional default false
dependencies array of string optional
difficulties array of string optional
 
'''The prototype docs have moved to a new website with an improved format.''' This documentation page can now be found here: [https://lua-api.factorio.com/latest/types/ActivateEquipmentCapsuleAction.html https://lua-api.factorio.com/latest/types/ActivateEquipmentCapsuleAction.html]
 
This wiki page '''will be removed at some point in the future''', so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback [https://forums.factorio.com/viewforum.php?f=233 on the forums].
 
Mapping of internal class names to wiki pages: [[Factorio:Class_to_page_mapping]]
 
== old stuff ==
 
<div class="toccolours mw-collapsible mw-collapsed">
Some queries for prototype property semantic mediawiki stuff (SMW)
<div class="mw-collapsible-content">
 
Note: Abstract prototypes have "Has prototype type" set to <nowiki>''abstract''</nowiki>.
 
Prototype all properties:
<nowiki>{{#ask:
[[Prototype property pagename::Prototype/Item]]
|?Prototype property name=Property name
|?Prototype property type=Type
|?Prototype property optional#tick=Optional
|mainlabel=-
|sort=Prototype property optional,Prototype property name
}}</nowiki>
 
One property:<nowiki>
{{#ask:  [[Prototype property name::durability]] |?Prototype property name |?Prototype property type }}</nowiki>
 
</div></div>


== Types ==
== Types ==

Latest revision as of 09:08, 3 April 2024

Packaging a scenario as a campaign

Scenarios can also be included inside campaigns in mods. Folder structure? Is the level-01 naming required? is the lualib folder really a thing? mention image.png? ScenarioLocation::listScenarioLocations looks like no restriction on inner folder names - confirmed. well except locale and lualib

description.json

A json file in the scenario folder that can have the following fields: name order string description starting-level string multiplayer-compatible bool is-main-game bool optional default false dependencies array of string optional difficulties array of string optional

The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/types/ActivateEquipmentCapsuleAction.html

This wiki page will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.

Mapping of internal class names to wiki pages: Factorio:Class_to_page_mapping

old stuff

Some queries for prototype property semantic mediawiki stuff (SMW)

Note: Abstract prototypes have "Has prototype type" set to ''abstract''.

Prototype all properties: {{#ask: [[Prototype property pagename::Prototype/Item]] |?Prototype property name=Property name |?Prototype property type=Type |?Prototype property optional#tick=Optional |mainlabel=- |sort=Prototype property optional,Prototype property name }}

One property: {{#ask: [[Prototype property name::durability]] |?Prototype property name |?Prototype property type }}

Types

Prototypes