User:Bilka/Sandbox: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Parsing has to be called via module)
m (test edit)
 
Line 1: Line 1:
[[:Category:Pages with script errors]]
[[:Category:Pages with script errors]] a


=== Packaging a scenario as a campaign ===
=== Packaging a scenario as a campaign ===

Latest revision as of 11:41, 6 November 2024

Category:Pages with script errors a

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