Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
InventoryIconSprite -- representation of item in inventory bar. Takes same parameters as Sprite tag. Item will be present with main sprite as inventory icon once this tag is omitted.
Upgrade -- usually defines the game version item is defined to be used in with respective parameter gameversion=... as it's required for proper operation of game's equipment upgrade system.
Body -- definition of item hitbox and behavior once put in water. Takes three parameters: width, height and density, where density=10 makes item neutrally buoyant (staying still in water while idle). Not needed for stationary items such as machinery.
scale -- float number that indicates the size of item in-game compared to source sprite size. For example, scale=0.5 will make item two times smaller than sprite's initial size.
file -- used to define location of sprite. Without directory given, this parameter will refer to file with entered name in same directory as item file.
sourcerect -- array of four numbers used to define the section of image used as item's sprite. Source rect selection syntax is defined like this: [selection_start_left],[selection_start_top],[width_from_left],[height_from_top]. For example, sourcerect=0,64,64,64 will select area of 64x64 on left edge and 64 pixels down from top edge.
origin -- offset of sprite's central point. Consists of two float numbers: [origin_x],[origin_y], where value of 0 is left or top edge and value of 1 is right or bottom edge. Majority of sprites are considered to be displayed with sprites located in the middle, which is origin=0.5,0.5. Pay attention that float numbers are defined with dot as divider rather than comma, as comma plays role of value separation in array.