Keen:Time Definition: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{SEO|image_url=http://www.medievalengineerswiki.com/images/e/eb/KeenLogo.png|description=To make it easier to define time in a human-readable and easily understandable format, we have introduced TimeDefinition.}}
{{SEO|image_url=http://www.medievalengineerswiki.com/images/b/b7/KeenLogoBig.png|description=To make it easier to define time in a human-readable and easily understandable format, we have introduced TimeDefinition.}}
{{Keen:OCH}}
{{Keen:OCH}}



Revision as of 12:51, 7 July 2018



Version: 0.6.1


To make it easier to define time in a human-readable and easily understandable format, we have introduced TimeDefinition. It is used in various definitions, including crafting, environment items, fuel, etc.

Examples:

<CraftingTime Seconds="7.5"/>

<CraftingTime Days="1" Hours="3" />

<CraftingTime Minutes="2" Seconds="2.2" Milliseconds="22" />

Real number attributes for TimeDefinition:

  • Days
  • Hours
  • Minutes
  • Seconds
  • Milliseconds


NOTICE: Avoid using unreasonably big numbers for most of the attributes, especially Days.