Prototype/ProducePerHourAchievement: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.16)
(Added prototype type to page)
Line 1: Line 1:
== Basics ==
== Basics ==
Prototype type: '''produce-per-hour-achievement'''
This prototype definition is used for receiving an achievement when the player crafts a specified item a certain amount, in an hour. This is an extension of [[Prototype/Achievement]].
This prototype definition is used for receiving an achievement when the player crafts a specified item a certain amount, in an hour. This is an extension of [[Prototype/Achievement]].
== Mandatory properties ==
== Mandatory properties ==

Revision as of 16:27, 21 January 2019

Basics

Prototype type: produce-per-hour-achievement

This prototype definition is used for receiving an achievement when the player crafts a specified item a certain amount, in an hour. This is an extension of Prototype/Achievement.

Mandatory properties

item_product

Type: Types/string

This defines what the player needs to craft, to earn the achievement.

 item_product = "landfill",

amount

Type: Types/MaterialAmountType

This is how much the player has to craft in an hour, to receive the achievement.

 amount = 1000,