User:Bilka/Sandbox: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
No edit summary
(Parsing has to be called via module)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
[[:Category:Pages with script errors]]
{{#invoke:Infobox|item_parsing|Iron plate, 2}}
{{#invoke:Infobox|technology_parsing|military 4 + advanced oil processing}}
{{#invoke:Infobox|technology_parsing|logistic science pack + steel axe|color=444}}


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

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