User:Bilka/Sandbox: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Another dummy edit)
(Parsing has to be called via module)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Another dummy edit
[[:Category:Pages with script errors]]
 
=== 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 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]]
Mapping of internal class names to wiki pages: [[Factorio:Class_to_page_mapping]]
== old stuff ==


<div class="toccolours mw-collapsible mw-collapsed">
<div class="toccolours mw-collapsible mw-collapsed">
Line 23: Line 44:


</div></div>
</div></div>
== Types pages that will be missing docs forever ==
* [[Types/AutoplaceSpecification]]
* [[Types/NoiseExpression]]


== Types ==
== Types ==

Latest revision as of 15:05, 25 October 2024

Category:Pages with script errors

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